Instruction Manual

6-7
6-3 Command Communication with BL/SR/RF Series Devices
Serial Communication
6
This section describes command communication examples. (The N-410 Series is in the Auto-polling
mode)
[Example 1] The trigger input ON command (LON) is sent to the BL Series device that has an ID
number 3 and data to read (KEYENCE) is received.
* The time between (2) and (3) fluctuates due to reading conditions of the BL Series
until the N-410 Series receives data.
[Example 2] The trigger input ON command (LON) is sent to the BL Series device that has an ID
number 3, but the read data is not returned within a certain period. Therefore, the
trigger input OFF command (LOFF) is sent.
* Determine the interval of sending the command for timing OFF (between (2) and (3))
according to operation.
[Example 3] The trigger input ON command (LON) is sent to the BL Series device that has an ID
number 3 but the connection of the ID number 3 (BL Series device) is not confirmed.
* It takes approximately 10 to 15 seconds between (1) and (2) according to the
connection condition.
Operation Command/Response
(1) Send the trigger input ON command %T03-LON
(2) Respond to (1) %T03-OK
(3) Receive read data %P03-0011KEYENCE
CR
CR
CR
Operation Command/Response
(1) Send the trigger input ON command %T03-LON
(2) Respond to (1) %T03-OK
(3)
Send the trigger input OFF command
%T03-LOFF
(4)
Respond to (3)
%T03-OK
(5)
Receiving a read error
%P03-0009ERROR
CR
CR
CR
CR
CR
Operation Command/Response
(1) Send the trigger input ON command %T03-LON
(2) Error due to a connection is not confirmed %T03-NC
CR
CR