beautypg.com

Auto polling control, Turns on auto-polling, Turns on auto-polling for a specific id – KEYENCE N-410 User Manual

Page 106: Checks auto-polling, Turns off auto-polling, Specifying an id that a command is sent, Unspecifying an id number that a command is sent

background image

6-10

S

er

ia

l Com

m

u

n

icat
ion

6

6-4

Direct Control Command of the N-410 Series

Auto polling control

Starts or quits auto-polling.

Turns on auto-polling

Command sent

: POLE00

Response

: OK

Turns on auto-polling for a specific ID

Command sent

: POLEmm

Response

: MAXmm

Explanation

: mm = 01 to 31: ID number

Auto-polling operates only for ID numbers specified for mm. When a large
amount of data is continuously sent, if polling operates on multiple ID
numbers, a buffer overflow may occur due to insufficient time for processing.
Use auto-polling for specific ID numbers when dealing with a large amount of
data.

Checks auto-polling

Command sent

: POLE

Response

: mm

Explanation

: mm = 00

: Auto-polling is on

01 to 31 : Auto-polling for only ID number mm.
OFF

: Auto-polling is off

Turns off auto-polling

Command sent

: POFF

Response

: OK

Explanation

: Turns off auto-polling.

Moves to manual polling mode by sending this command.

Hotline commands (Specifying an ID that a command is sent)

When sending operational commands to a BL/SR/RF Series device via the N-410 Series, usually
an ID number is added. It is possible to send operational commands without adding the ID
number of a specified BL/SR/RF Series device by sending the following command.
Make sure to cancel the setting after using the hotline command.

Specifying an ID that a command is sent

Command sent

: TRCOMmm

Response

: OK

Explanation

: mm = 01 to 31: ID number

Unspecifying an ID number that a command is sent

Command sent

: TROFF

Response

: OK

Check the specified an ID number that a command is sent

Command sent

: TRCOM

Response

: mm

Explanation

: mm = 00: An ID is not specified

01 to 31: ID number