Appendix f – communication with barcode scanners – RADWAG MYA 5.3Y.F1 Microbalance User Manual

Page 193

Advertising
background image

- 193 -

43. APPENDIX F – Communication with barcode scanners

1. For communication with barcode scanners RADWAG balances 3Y series use

RS232 interfaces and simplex transmission (one direction) without

handshaking. Only two wires are required for assuring such a transmission.

Therefore, used scanners should be equipped in such interface with disabled

both hardware and software handshaking.

2. Both balances 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. 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. Should a barcode be recognized by a balance, it needs to have some

particular features. A code requires programming a characteristics prefix and

suffix. In a standard accepted by RADWAG, a prefix is a sign (byte) 01

hexadecimal and a suffix is a sign (byte) 0D hexadecimal.

6. Most barcode scanners allow to enable/disable different barcode types.

7. Programming of scanners is usually performed by reading special barcodes

or by using an external software tool.

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

KOD 2 Z 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


Advertising