The text of a manual · part 16 of 16
BL-V35E Instruction Manual: Bar Code Display Interface: Appendix
Pages 143 to 156 of 156, from BL-V35E Instruction Manual: Bar Code Display Interface
The original document is the PDF (1.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Keyence BL-V35E
Page 143
Appendix The appendix describes the outer dimensions, factory default settings and BLV35E error screens.
Appendix 1. Specifications ....................................................... 134 Appendix 2. Dimensions ........................................................... 135 Appendix 3. PLC Link Program Examples ............................... 136 Appendix 4. Error Display List .................................................. 139 Appendix 5. ASCII Code Table .................................................. 140 Appendix 6. Setting Parameter List .......................................... 141 Appendix 7. List of Settings at Shipment ................................ 144 Appendix 8. Index ...................................................................... 145
Page 144
Appendix
Appendix 1.
Specifications This section provides the specifications of the BL-V35E main unit. Model Number of saved data presets Memory backup Parallel interface
Serial interface
Input 1. (7 points) Output (12 points) • OK output (verification OK) • NG output (verification NG) • OUT1 to OUT10 output (output No.) • Serial port 1 (for connection of external unit 2. or bar code reader) • Serial port 2 (dedicated to connection of bar code reader)
External power supply for bar code reader Ambient operating Environtemperature mental resistance Ambient operating humidity Operating atmosphere Vibration resistance Rating
Supply voltage Power consumption
Appendix
Weight Basic functions
BL-V35E 399 maximum Lithium battery (service life: approx. 10 years at 25°C) No-voltage input (with/without contact) Output format NPN open connector output Rated load
30 VDC, 100 mA
Leak current at OFF
0.1 mA or less
Residual voltage at ON Less than 1 V Applicable standard Synchronization method Transmission code Baud rate
Data bit length Parity check Stop bit length 5 V ± 5%, 750 mA max.
In conformance to EIA RS-232C Start-stop method (full duplex) ASCII code 600, 1200, 2400, 4800, 9600, 19200, 31250 or 38400 bits 7 or 8 bits None, odd or even 1 or 2 bit
0 to 50°C 35 to 85%RH Free from dust and corrosive gas 10 to 55 Hz, double amplitude 1.5 mm, 2 hours in each of X, Y and Z directions 100 to 120 VAC, 50/60 Hz 20 VA Approx. 600 g The bar code data verifier BL-V35E stores (presets) up to 399 types of bar code data, and compares them to the bar code data read by a bar code reader connected to the BL-V35E. When the readout data matches the preset data, the BL-V35E outputs the output No. assigned to the matching preset data using a bit, binary value or BCD number from the parallel port.
1. There are timing inputs (2 points) to bar code readers connected to serial ports 1 and 2 and inputs (5 points) to effect the operations assigned to the main keys ([PRESET], ▼ , ▲ , [CANCEL] and [ENTER]). 2. A personal computer, programmable controller (PLC) or printer (DPU-414 manufactured by SEIKO DENSHI KOGYO) can be connected.
134
Page 145
Appendix
Dimensions The outline drawing below shows the outer dimensions of the BL-V35E main unit. 10.5
10.5 192
67.5
150 1
10
51 1.6 to 6 mm*
90
4-ø5 (mounting hole)
(40)
110 98 96
100 to 120 VAC (with plug) Code length: 2 m *
The resin panel thickness must be 3 mm or more.
186
Pane cut size 92 +0.8 0
188 +10
The panel thickness must be 6 mm or less.
Appendix
Appendix 2.
135
Page 146
Appendix
Appendix 3.
PLC Link Program Examples In the programs below, the readout data is written after D105 (DM105). Perform processing according to your application. ● Settings in the BL-V35E • ”PLC Tim Area” is set to “ON”. •
”DM Address” is set to “0000”.
● Handling of the data write flag: Sequence processing In this program example, processing using the “+02 timing input response area” to confirm whether the BL-V35E has recognized the “+01 read timing area” normally is not performed. ■ In the case of the MELSEC-A series M9038 MOV
K100
D0
Specifies the head address of the data write destination.
MOV
K2
D100
Writes “2” to the data write flag. (The sequence processing is used to handle the flag.)
MOV
K1
D1
MOV
K0
D1
XO XO
LD=
D100
K3
Performs program processing of data written in D105 and later.
MOV
K2
Appendix
END
136
D100
Sets “X0” to the read timing input.
Performs the specified program processing when D100 becomes “3”. Writes “2” to D100 when processing is completed.
Page 147
Appendix ■ In the case of the SYSMAC-C series 25315 (A50015)
0000
MOV #0064 DM0000
Specifies the head address of the data write destination (DM100). Enters a binary value into a DM because the BL-V35E processes the data as binary data.
MOV #0002 DM0100
Writes “2” to the data write flag. (The sequence processing is used to handle the flag.)
MOV #0001 DM0001 Sets “0000” to the read timing input.
0000
MOV #0000 DM0001
25313 (A50013)
CMP DM0100 #0003 Performs the specified program processing when DM0100 becomes “3”. Writes “2” to DM0100 when processing is completed.
25506 (A50006) Performs program processing of data written in D105 and later.
MOV #0002 DM0100 *
( ) indicates the case in which the CV series is used.
Appendix
END
137
Page 148
Appendix ■ In the case of the KV series
2008
Specifies the head address of the data write destination.
#0002 <DW> DM0100
Writes “2” to the data write flag. (The sequence processing is used to handle the flag.)
#0001 <DW> DM0001
0000
#0000 <DW> DM0001
0000
2002
#0100 <DW> DM0000
DM0100 <LDA>
#0003 <CMP>
2010 Performs program processing of data written in D105 and later.
#0002 <DW> DM0100 END
Appendix
ENDH
138
Sets “0000” to the read timing input.
Performs the specified program processing when DM0100 becomes “3”. Writes “2” to DM0100 when processing is completed.
Page 149
Appendix
Error Display List This section describes BL-V35E error messages. •
This error occurs when the memory of the main RAM is lost or when incorrect data is saved. B a c k U p CHECK e r r C l ea r t o I n i t
•
This error occurs when the memory of the main RAM is lost or when incorrect data is saved. P r e s e t CHECK e r r C l ea r =A l l C l ea r
•
When the [CLEAR] key is pressed, the error status is reset and all settings are initialized to the factory default values.
This error occurs when the send buffer capacity (99 pieces of data) is insufficient for the data to be stored (➮ See p. 102). Send Bu f f e r Ov e r C l ea r t o Re s e t
•
When the [CLEAR] key is pressed, the error status is reset.
E r r o r Re s e t
This error occurs when data with more than 32 digits is received as bar code data. The error status is reset when correct data Ba r Code Da t a with 32 digits or less is received. 32By t e
•
When the [CLEAR] key is pressed, the error status is reset and all data stored in the send buffer is cleared.
This error occurs when the PLC link is not performed correctly. PLC L i n k C l ea r t o
•
When the [CLEAR] key is pressed, the error status is reset and all settings are initialized to the factory default values.
This error occurs when the memory of the main RAM is lost or when incorrect data is saved. Re f Da t a E r r C l ea r =A l l C l ea r
•
When the [CLEAR] key is pressed, the error status is reset and all settings are initialized to the factory default values.
Ov e r
This error occurs when the serial No. target digits are not set correctly. Ve r i f y Se r i a l Se t t i ng E r r o r
No
After the error message is displayed for a while, the BL-V35E automatically enters set mode.
Note: While “18 NG Output” in the option set mode is set to “1) At Error”, the NG output in the parallel interface turns ON when an error occurs (except when the message “Bar Code Data 32 Byte Over” or “Serial No Digit Setting Error” is displayed).
139
Appendix
Appendix 4.
Page 150
Appendix
Appendix 5.
ASCII Code Table The table below shows ASCII codes.
High-order 4 bits Hexadecimal
0
1
2
3
4
5
6
7
Appendix
Low-order 4 bits
Binary 0000 0001 0010 0011 0100 0101 0110 0111
140
0
0000
DLE (SP)
0
@
P
' p
1
0001 SOH DC1
!
1
A
Q a q
2
0010 STX DC2
”
2
B
R b r
3
0011 ETX DC3
#
3
C
S c s
4
0100 EOT NAK
$
4
D
T d t
5
0101 ENQ DC4
%
5
E
U e u
6
0110 ACK SYN
&
6
F
V f v
7
0111 BEL ETB
’
7
G
W g w
8
1000 BS CAN
(
8
H
X h x
9
1001 HT
EM
)
9
I
Y i y
A
1010 LF
SUB
✽
:
J
Z j z
B
1011 HM ESC
+
;
K
[ k
{
C
1100 CL
,
<
L
\
I
D
1101 CR
–
=
M
]
M
}
E
1110 SO
.
>
N n
~
F
1111 SI
/
?
O o del
_
Page 151
Appendix
Setting Parameter List The table below shows the setting parameters available in the BL-V35E, ■ Communication settings for serial port 1 Port 1 Baud ( )bit/s Port 1 Form Data length: 7 or 8 Connect ❏ PC Unit
Parity check: n, e or o Send Form
Send Data
Protocol
RTS/CTS Rcv 1 Timer Enter Key= ❏ BL Reader
Send Form
Rcv 1 Timer ❏ PLC Link
Connected PLC
Station No./PLC Unit No. Support Unit Block No. DM Address PLC Tim Area Enter Key= ❏ Printer
Auto Print
Auto Print=
❏ Port 2 Direct
Rcv 1 Timer Direct Read Enter Key=
Stop bit length: 1 or 2 ❏ No Sending ❏ stx+[data]+etx ❏ [data]+CR ❏ [data]+CRLF ❏ esc+[data]+CR ❏ esc+[data]+CRLF ❏ Bar Code Data ❏ Preset No. ❏ Out No. ❏ Ref Data ❏ No Handshaking ❏ PASS/RTRY ❏ ACK/NAK ❏ OFF ❏ ON ❏ Infinite ( )S ❏ Out Port 1 ❏ Out OFF ❏ stx+[data]+etx ❏ [data]+CR ❏ esc+[data]+CR ❏ Infinite ( )S ❏ MELSEC-A ❏ SYSMAC-C ❏ KEYENCE KV ( ) ❏ Data Register ❏ File Register ( ) ( )OO ❏ OFF ❏ ON ❏ Out Port 1 ❏ Out OFF ❏ OFF ❏ OK only ❏ NG only ❏ ON ❏ No. + Data ❏ No. only ❏ Data Only ❏ Infinite ( )S Port 2 Port 1, 2 ❏ Out Port 1 ❏ Out OFF ❏ Out Port 2
141
Appendix
Appendix 6.
Page 152
Appendix ■ Communication settings for serial port 2 Port 2 Baud Data Form Receive Form Rcv 2 Timer
( )bit/s Data length: 7 or 8 ❏ stx+[data]+etx ❏ [data]+CR ❏ esc+[data]+CR ( )S
Parity check: n, e or o
Stop bit length: 1 or 2
❏ Normal
❏ Out
❏ Bit ❏ Binary ❏ BCD
❏ Active ❏ Verify Step ❏ Serial No.
No. Direction
❏ Forward ❏ Reverse ( ) ( ) ( ) ❏ Reset ❏ Continue ❏ Repeat
■ Main settings Mode Setup
Start Digit Max Digits No. Change No. Protect
Max Preset No. AutoIncrement Counter
❏ ON ❏ OFF ❏ ON
Counter Mode 1 Counter Mode 2 Counter Mode 3
❏ Reset @ OFF ❏ Hold @ OFF ❏ Reset @ Preset ❏ Hold @ Preset ❏ Reset @ Print ❏ Hold @ Print
❏ OFF
Appendix
* The parameters “Max Preset No.”, “AutoIncrement” and “Counter” are available while “Mode Setup” is not set to “Serial No.”
142
Page 153
Appendix ■ Optional settings ❏ ON ❏ OFF ❏ Forward
❏ Key Only
❏ Reverse Key (Preset) Key (Cancel) Key (Enter) Input (Preset) Input (Cancel) Input (Enter) Input Type Input Time Input User Out ON Timer Out Delay OUT1-10 User NG Output Preset Output
❏ 0 sec ❏ 1 sec ❏ 0 sec ❏ 1 sec ❏ 0 sec ❏ 1 sec ❏ 0 sec ❏ 1 sec ❏ 0 sec ❏ 1 sec ❏ 0 sec ❏ 1 sec ❏ N.O. ❏ N.C. ( )ms ❏ IN 5 ❏ IN 4 ( )ms ( )ms ❏ OUT10 ❏ OUT9 ❏ OUT5 ❏ OUT4 ❏ At Verify NG ❏ At Error ❏ OFF ❏ ON at Update ❏ ON in Preset
❏ OFF
Max. Digits Start Digit Max. Digits Start Digit ❏ 3 sec ❏ 3 sec ❏ 3 sec ❏ 3 sec ❏ 3 sec ❏ 3 sec
( ( ( ( ❏ 5 sec ❏ 5 sec ❏ 5 sec ❏ 5 sec ❏ 5 sec ❏ 5 sec
) ) ) ) ❏ OFF ❏ OFF ❏ OFF ❏ OFF ❏ OFF ❏ OFF
❏ IN 3
❏ IN 2
❏ IN 1
❏ OUT8 ❏ OUT3
❏ OUT7 ❏ OUT2
❏ OUT6 ❏ OUT1
Appendix
Beep Digit Specify
143
Page 154
Appendix
Appendix 7.
List of Settings at Shipment The tables below shows the BL-V35E settings at the time of shipment. ■ Communication settings for serial port 1 Port 1 Baud Port 1 Form Connect Unit
9600 bits/s 7e1 (data length: 7 bits, parity check: even, stop bit length: 1 bit) PC Send Form [data]+CR Send Data Bar Code Data Protocol No Handshaking RTS/CTS OFF Rcv 1 Timer 5.0 s Enter Key= ut Port 1
■ Communication settings for serial port 2 Port 2 Baud Port 2 Form Receive Form Rcv 2 Timer
9600 bits/s 7e1 (data length: 7 bits, parity check: even, stop bit length: 1 bit) [data]+CR 5.0S
■ Main settings Mode Setup Out Max Preset No. AutoIncrement Counter
Normal Bit 10 ON OFF
■ Optional settings
Appendix
Beep Digit Specify Key (Preset) Key (Cancel) Key (Enter) Input (Preset) Input (Cancel) Input (Enter) Input Type Input Time Input User Out ON Timer Out Delay OUT 5-1 User OUT 10-6 User NG Output Preset Output
144
ON OFF 0 sec 0 sec 0 sec 0 sec 0 sec 0 sec N.O. 10 ms 00000 (No input is released.) 500 ms 5 ms 00000 00000 (No output is released.) At Verify NG OFF
Page 155
Appendix
Appendix 8.
Index
A
Digit designation function .................................................. 68 Digit designation start digit ................................................ 68
ACK/NAK protocol ........................................................... 101 All data printout ............................................................... 131 Alternative input .................................................................. 6 Alternative read ................................................................... 6 ASCII code ...................................................................... 130 Application of digit designation function to preset function 70
Dimensions ..................................................................... 135 Direct communication .................................................. 10, 89 Direct control of parallel I/O ............................................... 73 DM assignment in PLC link when the serial No. check function is used ............................................................. 120
Attachment ........................................................................ 20
DM assignment in PLC link when the step verification function is used ............................................................. 120
Automatic increment function ...................................... 33, 92
DM head address ............................................................ 116
Automatic printout format ................................................ 128 Automatic printout function .............................................. 128 Automatic printout timing ................................................. 128 Automatic printout when the serial No. check function is used ........................................................................... 130 Automatic printout when the step verification function is used ........................................................................... 129
B Baud rate ........................................................................... 85 BCD number output .......................................................... 45 Binary value output ........................................................... 45 Bit output ........................................................................... 45 Block No. ................................................................... 88, 113
C Command communication .............................................. 100 Command list .................................................................. 104 Communication protocol ........................................... 86, 101 Communication time in PLC link ..................................... 122
I Initialization mode ............................................................. 97
K Key input method .............................................................. 61 Key protect ........................................................................ 95
M Main set mode ................................................................... 91 Manual printout function .................................................. 129 Monitor mode .................................................................... 17 Multi-preset function ...................................................... 4, 32
N NG output selection ........................................................... 96 No handshaking .............................................................. 101 Number of data presets ............................................... 33, 92
Communication set mode for serial port 1 ........................ 84
O
Connectable unit ................................................................. 8
OK/NG output delay time ............................................ 45, 96
Connection of bar code reader ......................................... 25
One data printout ............................................................ 131
Connection of external unit ............................................... 27
Option set mode ................................................................ 94
Connection of two BL-V35E units ..................................... 28
Output data type ............................................................. 102
Copying settings between two BL-V35E units .................. 74
Output data when the serial No. check function is used . 103
Counter function ................................................................ 42
Output data when the step verification function is used .. 103
Counter value input ........................................................... 43
Overview of functions of BL-V35E ...................................... 4
Counter value reset ..................................................... 43, 44
P D
Parallel input ..................................................................... 64
Data communication ....................................................... 100
Parallel input polarity ......................................................... 95
Data format ....................................................................... 85
Parallel input time constant ............................................... 96
Data reference function ..................................................... 66
Parallel output format ........................................................ 45
Data write destination area ............................................. 116
Parallel output ON time ............................................... 45, 96
Data write head area ....................................................... 116
PASS/RTRY protocol ...................................................... 101
Device assignment .......................................................... 116
PLC available in link ........................................................ 112
Digit designation direction ................................................. 68
PLC link ........................................................................... 112
Digit designation effective digits ........................................ 68
PLC link error .................................................................. 133
145
Appendix
Communication set mode for serial port 2 ........................ 90
Page 156
Appendix
PLC link program example .............................................. 136 PLC timing area ........................................................ 88, 117 Printout function .............................................................. 126 Procedure for selecting preset data to be verified by the preset active function ...................................................... 48 Preset-active function ........................................................ 46 Preset wild card function ................................................... 39 Procedure for confirming preset data ................................ 41 Procedure for deleting preset data .................................... 38 Procedure for entering preset data from any preset No. ... 37 Procedure for entering preset data using key operation ... 35 Procedure for saving preset data ...................................... 33
R Real-time processing ...................................................... 118 Receive format ............................................................ 87, 90 Release of parallel I/O to outside ...................................... 73 RTS/CTS protocol ..................................................... 86, 102 RUN mode ........................................................................ 39
S Selection of preset output ................................................. 96 Send buffer ........................................................................ 84 Send data .......................................................................... 86 Send format ............................................................... 86, 102 Serial No. check function .................................................. 54 Serial No. direction ............................................................ 55 Serial No. effective digits ................................................... 55 Serial No. increment .......................................................... 56 Serial No. protect .............................................................. 57 Serial No. start digit ........................................................... 55 Serial port 1 receive timer ................................................. 86 Serial port 2 receive timer ................................................. 90
Appendix
Serial communication ...................................................... 100 Serial communication command ..................................... 104 Step verification function ................................................... 50 Set mode ........................................................................... 80 Set mode start procedure .................................................. 80 Set mode exit procedure ................................................... 82 Setting initialization procedure .......................................... 97 Setting of serial communication ...................................... 100 Setting with setting software ............................................. 14 Setting with the BL-P1E .................................................... 15 Sequence processing ..................................................... 118 Shift key function description label ...................................... 3 Specifications .................................................................. 124 Supported device ...................................................... 88,113
146
W Wiring of parallel interface ................................................. 23 Wiring of serial interface .................................................... 25 When using two bar code readers ...................................... 8