Yokogawa Data Acquisition with PID Control CX2000 User Manual

Page 131

Advertising
background image

6-2

IM 04L31A01-17E

• Channel number

01 to 20:

Measurement channels (01 to 06 on the CX1000)

31 to 60:

Computation channels (31 to 42 on the CX1000)

101 to 118: Internal control channels (101 to 106 on the CX1000)

Example

Loop1 PV = 101
Loop1 SP = 102
Loop1 OUT = 103

201 to 248: External control channels (201 to 212 on the CX1000)

Example

Loop EXT1 PV = 201
Loop EXT1 SP=202
Loop EXT1 OUT = 203

• Relay number: 3 characters

Query

• A question mark is used to specify a query.
• By placing a query after a command or parameter, the setup information of the

corresponding command can be queried. Some commands cannot execute
queries. For the query syntax of each command, see sections 6.4 to 6.7.
Example 1 SR[ p1]?

SR? or SR p1? can be executed.

Example 2 SA[ p1[,p2]]?

SA?, SA p1?, or SA p1,p2? can be executed.

Delimiter

• A comma is used as a delimiter.
• Parameters are separated by delimiters.

Sub Delimiter

• A semicolon is used as a sub delimiter.
• By separating each command with a sub delimiter, up to 10 commands can be

specified one after another. However, the following commands and queries cannot
be specified one after another. Use them independently.
• Output commands other than BO, CS, and IF commands.
• YO command
• Queries

* If there are consecutive sub delimiters, they are considered to be single. In addition, sub

delimiters at the front and at the end of the command are ignored.

Example ;SR01,VOLT;;;SR02,VOLT;<terminator> is taken to be

SR01,VOLT;SR02,VOLT<terminator>.

Terminator

Use either of the following two characters for the terminator.
• CR+LF (0DH 0AH in ASCII code)
• LF (0AH in ASCII code)

Note

• Do not specify a channel or relay number that is not available on the CX. An error will occur.
• The total data length from the first character to the terminator must be less than or equal to

2047 bytes.

• Commands are not case sensitive (with the exception of user-specified character strings).
• All the commands that are listed using sub delimiters are executed even if any of the

commands in the middle is erroneous.

• Spaces that are inserted before and after a parameter are ignored. However, if spaces are

inserted before a command, after a sub delimiter, or after a query, an error occurs.

6.1 Command Syntax

Advertising