Download Chapter 5

Transcript
Chapter 7
Serial Communication
Explanation of direct control commands
The following describe direct control commands in details.
Read operation control
This command specifies the data read timing.
● Trigger on
Command: LON
Response: None
● Trigger off
Command: LOFF
Response: None
•
Even when the read operation is controlled with these commands, the BL-600
performs the same operation as with the trigger input. ➮ See pages 86 to 93.
“Trigger input: on” corresponds to LON, and “trigger input: off” corresponds to
LOFF.
•
The BL-600 Series starts reading bar codes on receipt of LON and stops
reading on receipt of LOFF.
If the bar codes are properly read and the read data is sent back, you do not
need to send LOFF.
•
The command characters can be freely changed (within 8 characters).
Test mode control
Starts or quits the test mode.
● Reading rate check
Command: TEST1
Response: None
● Tact check
Command: TEST2
Response: None
7
● 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.
● Turning the OK output on
Command: OKON
Response: OK
● Turning the NG output on
Command: NGON
Response: OK
● Turning the OK/NG outputs off
Command: ALLOFF
Response: OK
115