beautypg.com

KEYENCE N-410 User Manual

Page 112

background image

6-16

S

er

ia

l Com

m

u

n

icat
ion

6

6-5

Setting Commands for the N-410 Series

Trigger input settings (only available when using multi-head mode)

Send the following commands for trigger input on/off command character settings.
(Example) Changing the trigger input on command to S

or

S

S

WP5653 *S = 53h

Function

Command sent

Response

Explanation

Measurement method
settings
(Trigger mode)

Change

WP05n

OK

n = 0: Synchronize levels
1: One-shot synchronization

Confirm

RP05

05n

Settings for one-shot
synchronization measurement

Change

WP42nnn

OK

nnn = 001 to 255
(units: 100 ms)

Confirm

RP42

42nnn

Settings for trigger input at
input time

Change

WP04n

OK

n = 0: 2 ms
1: 10 ms

Confirm

RP04

04n

Trigger input polarity settings

Change

WP03n

OK

n = 0: Normal open point
1: Normal close point

Confirm

RP03

03n

Trigger input on command
character settings

Change WP56hhh...

OK

hhh... = Trigger input on command
(Up to 8 characters)
* Settings are specified in hexadecimal

(up to 16 characters).

Confirm

RP56

56hhh...

Trigger input off command
character settings

Change WP57hhh...

OK

hhh... = Trigger input off command
(Up to 8 characters)
* Settings are specified in hexadecimal

(up to 16 characters).

Confirm

RP57

57hhh...

Reference

CR

STX

ETX