KEYENCE BL-600 Series User Manual

Page 134

Advertising
background image

Chapter 7 Serial Communication

124

7

Setting trigger input (Starting test mode)

Function

Command being

Response

Description

Error

sent

code

Setting signal type

Change

WP05n

OK

n=0: Level

Confirm

RP05

05n

1: One-shot

14

Change

WP42nnn

OK

nnn=001 to 225

Confirm

RP42

42nnn

(by 100 ms step)

14

Change

WP04n

OK

n=0: 2 ms

00, 02,

Confirm

RP04

04n

1: 10 ms

05, 07,

14

Change

WP03n

OK

n=0: Normal-open

Confirm

RP03

03n

1: Normal-close

Change

WP02n

OK

n=0: OFF

Confirm

RP02

02n

1: ON

Change

WP06n

OK

n=0: Disable

Confirm

RP06

06n

1: Enable

Change

TRGTn

OK

n=1: Reading rate

00, 02,

Confirm

TRGT

TRGTn

check mode

05, 08,

2: Tact check mode 14

Change

TESTn

OK

n=0: Reset

Confirm

TEST

TESTn

1: Reading rate

check mode

2: Tact check mode

Change

WP56hhh...

OK

hhh...=Trigger on

00, 02,

Confirm

RP56

56hhh...

command (Up to 8

05, 11,

characters)

14

* Specify characters

in HEX (hexadecimal)

code.

Change

WP57hhh...

OK

hhh...=Trigger off

Confirm

RP57

57hhh...

command (Up to 8

characters)

* Specify characters

in HEX (hexadecimal)

code.

Setting one-shot
input time

Setting time
constant of trigger
input

Setting state of
trigger input

Starting test mode
when trigger input
turns on. (To
specify the test
mode, use the
command below.)

Specifying the test
mode to be started
when trigger input
turns on.

Starting test mode
when power is
turned on.

Setting characters
of trigger on
command

Setting characters
of trigger off
command

00, 02,

05, 07,

00, 02,

05, 09,

To set the reading error code, send the following command:

Example 1

Set the reading error code to “BR”.

WP554252
* B = 42h, R = 52h

Example 2

Set no reading error code.
WP55FF

Tips

B R

Trigger the input
status at power-on

Advertising