2 description of commands – KEYENCE N-400 User Manual
Page 78

Chapter 4 Multi-Drop Link Mode Control Procedure
70
4
Example: When the “Polling ON” command is sent to the N-400
When “POLE00 [CR]” is sent to the N-400, the response is “OK [CR]”.
When “[STX] POLE00 [ETX]” is sent to the N-400, the response is “[STX]
OK [ETX]”.
When “[ESC] POLE00 [CR]” is sent to the N-400, the response is “OK
[CR].”
4.4.2 Description of commands
The following is a description of each command.
Registering and checking the ID numbers of the BL series
for which auto polling is performed.
Registers ID numbers for auto polling and checks which ID numbers are registered.
*
The following commands are intended for the N-400. These commands do not
check whether the BL series of the registered ID number is connected.
●
Registering all ID numbers
Command: ID00nnnnn...
n = 0: Do not register
n = 1: Register
Response: OK
ERR07... :“n” is any value other than “0” or “1”.
Description:
“n” corresponds to the ID number (1 to 31) in ascending order. (Thirty-one “n”s
are required.) If you need to register ID numbers 2, 3 and 4, the command is
ID000111000.....
●
Checking all ID numbers
Command: IDCHK
Response: nnnnn...
n = 0: Not registered
n = 1: Registered
Description:
“n” corresponds to the ID number (1 to 31) in ascending order. (Thirty-one “n”s
are required.)
●
Registering individual ID number
Command: IDmmn...
mm = 01 to 31 (ID number)
n = 0: Do not register
n = 1: Register
Response: OK
ERR01...: “mm” exceeds the range of “01” to “31”.
ERR07: “n” is any value other than “0” or “1”.