beautypg.com

3 command transmission to bl series – KEYENCE N-400 User Manual

Page 75

background image

67

Chapter 4 Multi-Drop Link Mode Control Procedure

4

4.3

Command Transmission To BL Series

All the serial commands that can be used for the BL series can be sent from the
host computer through the N-400 to the BL series. Send these commands in the
following sequence and format:

1. Send a command in the following format from the host computer.

2. When the command is received by the BL series, the BL series sends back a

response in the following format:

mm = 01 to 31: ID number of BL series

(Response) = Response to the command (“OK”, “ERROR”, etc.)

NC: “Disconnection” error. This error occurs when the BL series with the speci-
fied ID number does not exist.

SERR: Communication error

*

For the serial commands, the response to the serial commands, and the error
codes, see the BL series User’s Manual. The BL series does not send any
response to some of the direct control commands (TEST1, LON, etc.). How-
ever, the BL series always send back a response when they are used in multi-
drop link mode.

• OK: Normal processing
• ERR00: Incorrect command

N-400

Header % T 03 – TEST1 Terminator

Header % T 03 – OK Terminator

• • •

The BL series with ID No. 3
starts the reading rate
measurement test mode.

Header % T mm –

Serial command

Terminator

Header % T mm –

Terminator

Response