Yokogawa Removable Chassis DX1000N User Manual
Page 119
3-2
IM 04L41B01-17E
Query
• A question mark is used to specify a query.
• By placing a query after a command or parameter, the setting information of the
corresponding command can be queried. Some commands cannot execute 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 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, IF, or CB
•
YO command
• Query
* If there are consecutive sub delimiters, they are considered to be single. In addition, sub
delimiters at the front and at the end are ignored.
Example ;SR001,VOLT;;;SR002,VOLT;
SR001,VOLT;SR002,VOLT
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 DX. If you do, an error
will occur.
• The total data length from the first character to the terminator must be less than 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 one of the
commands 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.
3.1 Command Syntax