beautypg.com

KEYENCE N-410 User Manual

Page 113

background image

6-17

6-5

Setting Commands for the N-410 Series

S

er

ia

l Com

m

u

n

icat
ion

6

Protocol settings

Protocol settings (only available when using PLC link)

Function

Command sent

Response

Explanation

Communication protocol
settings
* Use the next command for

handshake details

Change

WP07n

OK

n = 0: No handshake
1: PASS/RTRY
2: ACK/NAK

Confirm

RP07

07n

Header settings

Change WP51hhh...

OK

hhh... = Header (Up to 5 characters)
*Settings are specified in hexadecimal

(up to 10 characters).

*If nothing is specified, hhh... = FF

Confirm

RP51

51hhh...

Delimiter settings

Change WP52hhh...

OK

hhh... = Delimiter (Up to 5 characters)
*Settings are specified in hexadecimal

(up to 10 characters).

*If nothing is specified, hhh... = FF

Confirm

RP52

52hhh...

ID number addition

Change

WP09n

OK

n = 0: Do not add anything
1: Add

Confirm

RP09

09n

Add checksum

Change

WP39n

OK

n = 0: Do not add anything
1: Add

Confirm

RP39

39n

Function

Command sent

Response

Explanation

PLC link device

Change

WP36n

OK

n = 0: No PLC link
1: SYSMAC Series
2: MELSEC Series
3: KV Series

Confirm

RP36

36n

Trigger input via PLC link

Change

WP37n

OK

n = 0: Do not use
1: Use

Confirm

RP37

37n

DM head address

Change

WP40nn

OK

nn = 00 to 99
(0000 to 9900)

Confirm

RP40

40nn

PLC device / station number

Change

WP43nn

OK

nn = 00 to 31

Confirm

RP43

43nn