2 explanation of direct control commands, 3 command communication – KEYENCE BL-180 User Manual

Page 59

Advertising
background image

4.3 Command Communication

51

4.3.2

Explanation of Direct Control Commands

The following describe direct control commands in details.

Read operation control

This command specifies the data read timing.

[LON]

Trigger on

Command:

LON

Response: None

[LOFF]

Trigger off

Command:

LOFF

Response: None

• Even when the read operation is controlled with these commands, the BL-180

performs the same operation as with the trigger input (see page 10 to 12).

• “Trigger input: on” corresponds to

LON

, and “trigger input: off” corresponds to

LOFF

.

• The BL-180 starts read operation on receipt of

LON

and stops it on receipt of

LOFF

.

• When a bar code can be correctly read and the read data has already been

set, you need not send

LOFF

.

• The command characters can be freely changed (within 8 characters).

Test mode control

Starts or quits the test mode.

[TEST1]

Reading rate check

Command:

TEST1

Response: None

[TEST2]

Tact check

Command:

TEST2

Response: None

[QUIT]

Resetting test

Command:

QUIT

Response: None

• After using the test mode, be sure to reset it.

OK/NG output control

Directly turns on/off the OK/NG output.
This enables you to easily check wiring.

[OKON]

Turning the OK output on

Command:

OKON

Response:

OK

[NGON]

Turning the NG output on

Command:

NGON

Response:

OK

[ALLOFF]

Turning the OK/NG outputs off

Command:

ALLOFF

Response:

OK

Advertising