1 serial communication – KEYENCE BL-600 Series User Manual
Page 120

Chapter 7 Serial Communication
110
7
7.1
Serial Communication
Serial communication allows you to send the bar code read data from the BL-600
Series to a personal computer, or change the BL-600 Series settings from a per-
sonal computer without using the setup software.
Communication types
The BL-600 provides the following two communication types:
•
Data communication
Sends read bar code data from the BL-600 to the PC.
•
Command communication
Changes the BL-600’s settings by sending a command from the PC to the BL-
600.
*
All communication is performed using ASCII codes on page Appendix 26.
Communication setup
Configure the setup for BL-600 and the PC before attempting serial communica-
tion.
•
Setup of BL-600
Set the following parameters for the BL-600 using the setup software.
• Baud rate, Data bits, Parity, Stop bits
➮ See page 45.
• Communication protocol
➮ See pages 45 and 46.
• Header/Delimiter
➮ See page 46.
• Read error code
➮ See page 43.
•
PC setup
Based on the BL-600’s settings, set the communication parameters on the PC
using the “Ports” setting in the Windows Control Panel/System/Device Manager.
•
The following communication parameters are the default settings for the BL-600:
• Baud rate: 9600 bps
• Data bits: 7 bits
• Parity: Even
• Stop bit: 1 bit
Set the PC according to the above settings before attempting communication.
•
The BL-600 is set, temporarily, to the default settings for 5 seconds after the power
switch is turned on.
When the current settings of BL-600 is not certain, send the command “SSET”
(
➮
See
page 116.)
and a [CR] to the BL-600 from your PC with 5 seconds after power-up. This
causes the BL-600 to remain at its default settings and you can communicate with the
BL-600 at the default settings. For information on checking the BL-600’s current
settings, see “Sift to setting mode” on page 116.
For information on changing the above communication parameters see “Details on
parameter setting commands” on page 118.
•
When the BL-600 TEST switch is pressed for 8 seconds, the 1st, 3rd and 5th STABIL-
ITY LEDs from the top flash, indicating that the communication parameters are set as
above. (Press the TEST switch again to reset the settings.)
Note: All commands should be entered in all uppercase characters. The BL cannot
accept lowercase characters.
Tips