3 data communication in multi-head mode, 1 communication format, 2 handshaking protocol – KEYENCE N-400 User Manual

Page 103: 3 read error code

Advertising
background image

95

Chapter 5 Multi-Head Mode Control Procedure

5

5.3

Data Communication in Multi-Head Mode

5.3.1 Communication format

The communication format for multi-head mode is as follows:

The communication format does not include an ID number. However, to assign ID
numbers to the connected BL series, make sure that the same ID number is not
assigned to different units.

The header and delimiter can be selected from the following formats: (The header
and delimiter can be changed to any string of up to five characters.) To change the
header and delimiter format, change the settings of the N-400.

Header: [ESC]/[STX]/None
Delimiter: [CR]/[CR][LF]/[ETX]

You can change the communication format so that an ID number is included. The
communication format including an ID number is the same as that for multi-drop
link mode.

[mm = 01 to 31 (ID number)]

5.3.2 Handshaking protocol

The handshaking protocol and the capacity of the transmission buffer for multi-
head mode is the same as that for multi-drop link mode. For details, see the
descriptions for multi-drop link mode.

5.3.3 Read error code

If the BL series fails to read bar code data, a read error code is sent. However,
since the read error code can be easily changed on the BL series, the code indicat-
ing a read error must be specified on the N-400.

Therefore, the read error code setting of the N-400 must be the same as that of all
connected BL series.
The default setting of the read error code is as follows:

The read error code can be easily changed. However, you must ensure that the
same error code is specified for all connected BL series.

Tips

Header Reading Data Delimiter

Header

P mm

Reading Data Terminator

Header ERROR Delimiter

Advertising