Yokogawa Value Series FX1000 User Manual

Page 84

Advertising
background image

3-2

IM 04L21B01-17EN

Query

• A question mark is used to specify a query.
• By placing a query after a command or parameter, you can query the corresponding

command’s setting. Some commands cannot be executed as queries. For the query
syntax of each command, see sections 3.4 to 3.7.

Example 1

SR[p1]?

SR? or SRp1? can be executed.

Example 2

SA[p1[p2]]? SA?, SAp1?, and SAp1,p2? can be executed.

Delimiter

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

Sub Delimiter

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

commands one after another. However, the following commands and queries must be
used independently. You cannot specify them as part of a sequence of commands.

• Output commands other than

BO, CS, IF, and CB.

• The

YO command.

• Queries

Note: Consecutive sub delimiters are seen to be a single sub delimiter. In addition, sub

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

Example

;SR001,VOLT;;;SR002,VOLT;<terminator> is taken to be
SR001,VOLT;SR002,VOLT<terminator>.

Terminator

Use either of the following as 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 FX. If you do, 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 there are

erroneous commands within the list.

• 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 will occur.

3.1 Command Syntax

Advertising