You are on page 1of 3

Fuel dispenser communication protocol

HongYang Group Co.,Ltd.

lue@uilec
Introduction

O*

A*

LTDA.

Fluidos, equipos, Interventorias, Tecnologas, Conocimiento


NIT. 860,513.132-6

1.

Port Parameter: "4800 , 8, E,"

2.

fuel dispenser address introduction: FlFF

3.

command format: address + command +parameter +terminator [B0]

4.

return data format: Status query retums a single byte of state parameters directlyEOEF;

00-0F

totally 32 address

Other commands return address +


5.

Digital transmission to be increased in the EO to distinguish between the address code and
orderso EOandO, E9and9o
Hexadecimal code

meaning

remark

FlFF

address code

The mximum number of 32

E0-E9

numberO9

Each byte represents a number

E0--EF

Hexadecimal 0-A--F

Used when check code

BO

terminator

Down the command terminator

AO

terminator

Up the data terminator

Dl-DF

Return address of

00-0F--10

Command format 10-

code

6. Price data format: the original number: D3D2D1D0, followed by transfer DO DI D2D3 high after
the first low
7.

form data of oil amount: original number: D5D4D3D2D1D0 transferred by turns


D0D1D2D3D4D5

8.

the data issued by all orders retumed by the hardware automatically, and then answer the
corresponding data from the device<,

9.

SW4select switch for free refueling mode or the authorization mode of central management

10. if the power shut downf when it is refueling, the former record will be useless after power
comes again. the record should start again
11. After Authorization, you must read OXE8 for confirmation, or there will be abnormal error

1/3

Fuel dispenser communication protocol


HongYang Group Co,

12. Specific communication

Fluidos, equipos, Interventoras, Tecnologas, Conocimiento


NIT. 860.513.132-6

Query status:
Command: F l 10 BO
return: F l 10 BO parameter
parameter E7 E6
E5

E4

E3

E2

meaning

refueling

Pick up the

Return

nozzle

the

remark

Oil

In the state

Refueling

leak

of

is

non-control

completed
?

E-L
Leak

parameter

EF

EE

ED

EC

El

EO

nozzle
Oil

Wait

for

bleeding

authorization

EB

EA

meaning

E9

E8

Stop

Starting up

but

Ready

not
return
the
gun
Return

remark

data

the
when

autorization
confirmation
and no state
of

oil

bleeding
2.

read the refueling amount: the amount is BCD code EO


command: F116B0
return: F l 16 BO DI

El[E2ElE4El]

[E9 EO E4 E3 E2 E l ] [ E 0 E4 E7 E8 EO EO] EO

AO
check code EO: l+l+2+l+4+l+9+0+4+3+2+l+0+4+7+8+0+0=30[Hex]
the refueling amount that time s 87.40 Liter*1412RMB=123409RMB
I * ****************************************

command: F316B0
return: F3 16 BO D3 E l [ E 9 E 7 E 4 E 1 ]

[EO E l E l E4 E l EO]

[ E 4 E5 E9 EO EO EOl E2A0

the refueling amount that time is: 9.54 ;ff *1479 ,'1=14110 jt
3.

set unit price:


the unit price is : 1478RMB
Command: F l 17 E8 E7 E4 E l ED BO
return: F l 17 E8 E7 E4 E l ED BO

y****************************^
2/3

Fuel dispenser communication protocoi


HongYang Group Co.,Ltd.
The unit price is: 1479 7G
command: F l 17 E9 E7 E4 E l EE BO
return: F l 17 E9 E7 E4 E l EE BO
command: F2 17 E9 E7 E4 E l EF BO
return: F2 17 E9 E7 E4 E l EF BO
^**************************^

Fluidos, equipos, Interventoras, Tecnologas, Conocimiento

Set the unit price is: 2479RMB

NIT. 860.513.132-6

command: F l 17 E9 E7 E4 E2 EF BO
return: F l 17 E9 E7 E4 E2 EF BO
Set the unit price is: 2579RMB
command: F l 17 E9 E7 E5 E2 EO BO

//EO is check code

return: F l 17 E9 E7 E5 E2 EO BO
Check code EO: 1+7+9+7+5+2+1=
read the accumulated liter:
command: F3 19 BO
return: [ F 3 19 BO]
check ED calcuiation:

D3 E l E 2 E5 E2 EO EO EO]

ED AO

3+1+2+5+2+0+0+0=0

Accumulated amount: L000252


5,

read amount: only read amount when it is refurling


command: F118B0
return: F118B0

6.

[E9 EOE4 E3 E2 E l ]

[amount] =123409RMB

authorization: central management start the command of refueling


command: F l 11 BO
return: F111B0

7,

stop: central management start the command of stop


command: F11CB0
return: F11CB0

8.

preset the amount to refuei:

preset 1356RMB

command: F l 13 E6 E5 E3 E l EO EO E4 BO

//E4 is check code

return F l 13 E6 E5 E3 E l EO EO E4 BO
check code E4:

1+3+6+5+3+1+0+0+1=14

3/3

You might also like