3 command communication – KEYENCE BL-180 User Manual
Page 62

4.3 Command Communication
54
Setting Bar Code Type and Number of Readable Digits for Codes 1 to 4
The following describes the parameter setting commands for Codes 1 to 4.
Be sure to send “Bar code type setting command” first before setting other param-
eters.
When “Bar code type setting command” is newly sent, all other parameters for the
specified code will return to the default settings.
In this case, set all other parameters again.
Setting change commands and setting confirmation commands are described on
the following pages.
Note
Function
command being sent
Respons
e
Description
Error
Code
Setting bar code type for
codes 1 to 4.
Change
CODEm=n
OK
m= 0 to 3:Codes 1 to 4
n= 0:CODE 39
1:ITF
2:Industrial2-of-5
3: Codabar
4: UPC/EAN
5: CODE128
6: COOP2-of-5
7: None
00, 01
03, 05
08, 14
Confirm
CODEm
mn
Setting Max. No. of readable
digits
Change
MAXm=nn
OK
m= 0 to 3: Codes 1 to 4
nn= 01 to 32
* For CODE39, Codabar: 03 to 32
* For ITF: 02 to 32
* For CODE128: 01 to 64
Note:
With EAN code, this command causes error.
00, 01
03, 04
05, 09
14
Confirm
MAXm
mnn
Setting Min. No. of readable
digits
Change
MINm=nn
OK
Confirm
MINm
mnn
Sending start/stop character.
Change
WCm00n
OK
m= 0 to 3: Codes 1 to 4
n= 0: Disable
1: Enable
00, 02
03, 04
05, 07
14
Confirm
RCm00
00n
Inspection of check digit
(Modulus 43)
Change
WCm01n
OK
m= 0 to 3: Codes 1 to 4
n= 0: Disable
1: Enable
Confirm
RCm01
01n
Function
Command being sent
Respons
e
Description
Error
Code
Sending check digit.
Change
WCm02n
OK
m= 0 to 3: Codes 1 to 4
n= 0: Disable
1: Enable
00, 02
03, 04
05, 07
14
Confirm
RCm02
02n
Inspection of check digit
(Modulus 10)
Change
WCm10n
OK
m= 0 to 3: Codes 1 to 4
n= 0: Disable
1: Enable
Confirm
WCm10
10n
Sending check digit.
Change
WCm11n
OK
m= 0 to 3: Codes 1 to 4
n= 0: Disable
1: Enable
Confirm
RCm11
11n
Sending start/stop character.
Change
WCm30n
OK
m= 0 to 3: Codes 1 to 4
n= 0: Disable
1: Enable
Confirm
RCm30
30n
Start/Stop character type
Change
WCm31n
OK
m= 0 to 3: Codes 1 to 4
n= 0: Lower case
1: Upper case
Confirm
RCm31
31n
Inspection of check digit
Change
WCm32n
OK
m= 0 to 3: Codes 1 to 4
n= 0: Disable
1: Enable
Confirm
RCm32
32n
Sending check digit
Change
WCm33n
OK
m= 0 to 3: Codes 1 to 4
n= 0: Disable
1: Enable
Confirm
RCm33
33n
CODE39
CODE39
CODE39
ITF
ITF
Codabar
Codabar
Codabar
Codabar