Gram ZFOC Serie Manual De Utilización página 15

Ocultar thumbs Ver también para ZFOC Serie:
Tabla de contenido

Publicidad

Idiomas disponibles

Idiomas disponibles

Start package, fixed 6 bytes: 11 00 00 00 00 EF5
End package, fixed 6 bytes: 33 00 00 00 00 CD
Command package command response package, format is as follows:
Cmd type adr1 adr0 datlen [dat] checksum
cmd: Only 55 read command or 77 write command.
Type: Operating data type is as follows:
f9: Unit price or PLU
f4: Total price
adr1,adr0: Form 2 bytes integer adr=adr1*100+adr0
When adr is 0, stands for operating current unit price or total price
When adr is not 0, stands for operating memory area PLU, at this time adr
is PLU's positon.
adr1 = (DC+pluN*4)/100
adr0 = (DC+pluN*4)%100
datlen: Data length of reading or writing. Data length of PLU is 4
[dat]:
The data of writing command,length is decided by datlen
checksum:
(cmd+type+dar1+dar0+datalen+[dat])%100
If set current unit price 111.00:
DO
DI
DO
DI
DO
DI
DO
DI
checksum,
checksum = 100-
44
02
11 00 00 00 00 ef
02
77 f9 00 00 04 00 00 2b 5c 01
02
33 00 00 00 00 cd
02
15

Hide quick links:

Publicidad

Tabla de contenido
loading

Este manual también es adecuado para:

Zfoc-rs serieZfoc serie, zfocZfoc-rs

Tabla de contenido