Chapter 6 command, 1 command syntax, Command syntax – Yokogawa Data Acquisition with PID Control CX2000 User Manual

Page 130: Command syntax -1 command syntax -1

Advertising
background image

6-1

IM 04L31A01-17E

Command

6

6.1

Command Syntax

Command Syntax

The syntax of the setting/basic setting/control/output commands (see sections 6.4 to
6.12) used by the CX is given below. ASCII codes (see appendix 1) are used for the
character codes. For the syntax of the maintenance/test commands (see section 6.13)
and instrument information output commands (see section 6.14), see the corresponding
sections or the examples for each command.

Command name

Parameter

?

Terminator

Delimiter

Sub delimiter

SR 02,SKIP;SR 03,VOLT,2V,-1500,1800

Parameter (02 SKIP ... 1800)

Delimiter (,)

Command name (SR)

Sub delimiter (;)

Command example

Command Name

Defined using two alphabet characters.

Parameters

• Command parameters.
• Set using alphabet characters or numerical values.
• Parameters are separated by delimiters (commas).
• All numerical values are specified using integers.
• When the parameter is a numerical value, the valid range of the value varies

depending on the command.

• Spaces before and after of the parameter are ignored (except for parameters that

are specified using an ASCII character string (unit), in which case spaces are
valid.)

• You can omit the parameters that do not need to be changed from their current

settings. However, delimiters cannot be omitted.

Example

SR01,,2V<terminator>

If multiple parameters are omitted and delimiters occur at the end of the command,
those delimiters can be omitted.

Example

SR01,VOLT,,,<terminator → SR01,VOLT<terminator>

• The number of digits of the following parameters is fixed. If the number is

exceeded when entering the command, a syntax error results.
• Date

YY/MM/DD (8 characters)
YY: Enter the lower two digits of the year.
MM: Month
DD: Day

• Time

HH:MM:SS (8 characters)
HH: Hour
MM: Minute
SS: Second

Chapter 6 Command

Advertising