beautypg.com

Details of direct control commands, Details of direct control commands -9, Batch registration of id numbers – KEYENCE N-410 User Manual

Page 105: Batch check of id numbers, Individual registration of id numbers, Individual check of id numbers, Registration of serial id numbers, Check of serial id numbers, Saving a registered id number

background image

6-9

6-4

Direct Control Command of the N-410 Series

S

er

ia

l Com

m

u

n

icat
ion

6

Details of Direct Control Commands

Registering and checking an ID number for auto-polling.

A direct control command allows for registering and checking an ID number for auto-polling.
* Register a slave type to connect by using a setting command beforehand.

Batch registration of ID numbers

Command sent

: ID00nnnnnnnn···

Response

: OK

Explanation

: n = 0: Do not register

1: Register

* nnnn are the ID numbers between from 1 to 31 in sequence

Batch check of ID numbers

Command sent

: IDCHK

Response

: nnnnnnnn···

Explanation

: n = 0: Not registered

1: Registered

* nnnn are the ID numbers between from 1 to 31 in sequence

Individual registration of ID numbers

Command sent

: IDmmn

Response

: OK

Explanation

: mm = 01 to 31: ID number

n

= 0: Do not register

1: Register

Individual check of ID numbers

Command sent

: IDCHKmm

Response

: OK

Explanation

: mm = 01 to 31: ID number

n

= 0: Not registered

1: Registered

Registration of serial ID numbers

Command sent

: IDMAXmm

Response

: OK

Explanation

: mm = 00: Do not register serial ID numbers

01 to 31: ID number

All ID numbers after mm are registered.

Check of serial ID numbers

Command sent

: IDMAX

Response

: MAXmm

Explanation

: mm = 00: Not registered

01 to 31: ID number
99: Registered ID numbers are not serial numbers

Saving a registered ID number

Command sent

: IDSAVE

Response

: OK

Explanation

: A registered ID number is saved.