52
21. APPENDIX F - Communication with barcode scanners
1. For communication with barcode scanners RADWAG scales use RS232
interfaces and simplex transmission (one direction) without handshaking.
Only two wires are required for assuring such a transmission. Used
scanners should be equipped in such interface with disabled both
hardware and software handshaking.
2. Both scales and scanners have the possibility of setting of transmission
parameters. Both devices are required to have the same parameters set:
baud rate, number of data bits, parity control, stop bits. e.g. 9600,8,N,1
– baud rate 9600 bit/s, data 8-bits, no parity control, 1 stop bit.
3. Barcode scanners can send additional information apart from the
expected barcode e.g. symbology (type of barcode). It is advisable
to disable such information because RADWAG devices and
software do not use it.
4. Some RADWAG systems can omit unnecessary information by
using parameters that mark the beginning and the length of the
code required to analyse.
5. A special protocol is required in order the code be received by
RADWAG equipment. It is required to program an appropriate
prefix and suffix. Prefix – one byte 01 hexadecimally, suffix one
byte 0D hexadecimally.
6. Most barcode scanners allow to enable/disable different
symbologies (barcode types).
7. Programming of scanners is usually performed by reading
special barcodes or by using an external software tool.
8. Scanners marketed together with RADWAG systems are
always configured according to the rules above.
Barcode with required prefix and
suffix in hexadecimal format
Barcode without
required –fixes in
ASCII format
Code type
01 30 30 32 31 30 31 32 36 0D
00210126
EAN-8
01 30 31 32 33 34 35 36 37 38 39 0D
0123456789
2 of 5
01 43 4F 44 45 20 33 39 20 54 45 53 54 0D
CODE 39 TEST
CODE 39
01 31 31 30 31 32 33 34 35 36 37 38 39 31 0D
1101234567891
EAN-13
01 43 6F 64 65 20 31 32 38 20 54 65 73 74 0D
CODE 128 Test
CODE 128
Summary of Contents for Y/KTPS Series
Page 2: ...2 JANUARY 2011...