
5-2
IM XL100C-E
• Channel number:
2 characters or ‘CH’ + 2 characters for an analog channel
‘PL’ + 2 characters for a pulse channel
‘DI’ + 2 characters for a logic channel
‘CA’ + 2 characters for a calculation channel
‘CO’ + 2 characters for a communication channel
• Alarm output number: 3 characters
‘I’ + 2 characters
• 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 section 5.2.
• 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 commands and queries cannot be
specified one after another. Use them independently.
*
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 ;
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 alarm output number that is not available on the XL100. 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 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.
5.1 Command Syntax