beautypg.com

Reference – KEYENCE N-410 User Manual

Page 81

background image

4-7

4-2

Multi-drop Link Mode Data Communication

Con

trollin

g Mu

lti-
drop

Lin
k Mod

e

4

1. A "polling request" is sent from the host computer.

2. The BL/SR/RF Series device responds with its read data.

• mm = 01 to 31: The BL/SR/RF Series device ID number
• nnnn = the number of characters in the data (4 ASCII characters)

* the total of character count for the data is part 1 + part 2.

• (Data) = Data read

ERROR

: A read error has occurred.

e

: Nothing has been read

OVER

: A buffer overflow has occurred.

"Send Buffer Capacity" (Page 4-9)

NC

: No BL/SR/RF Series device bears the specified ID number or the

communication has not been established with that device.

ERR**

: Error code (**: Error code)

• The polling command formats are both possible.

At the end of the command,

may be added. At the head of the command,

may

be added to clear the N-410 receive buffer.

• Read data must be set to be formatted in one of the following ways ("header" and "delimiter"

settings).

"Selecting a protocol" (Page A-16)

Read data can be formatted in the following manners or in any other manner desired.

Header :

,

, None

Delimiter :

,

,

(About settings)
Manual polling can be used if no ID number has been registered with the AutoID Navigator (once
ID numbers have been recorded, be sure to activate auto-polling mode).

"Auto-polling" does not send "manual polling" commands from the host computer, but rather
has the N-410 send the data received from BL/SR/RF Series devices to the host computer
as needed, thus reducing the load on the host computer.

%

P mm

Header

Delimiter

%

P mm -

Header

Delimiter

(Data)

ID addition

(1) (2)

nnnn

,

%

P mm CR

%

P mm

STX

ETX

LF

ESC

ESC

STX

CR

CR

LF

ETX

Reference