beautypg.com

Rs-232 character framing, Host-site mode, Raw mode – Gasboy CFN Series CFN II Quick Reference User Manual

Page 54

background image

CFN II Quick Reference

50

C09159 Rev. 2238

RS-232 Character

Framing

ASCII, 8 data bits, no parity, 1 stop bit.

Print Transaction

Host-Site Mode

Code = PT; options = A

aaPTb

The Site Controller response is:

aaPTbrrssss0ddddddxyffggggqqqqqqqqoooooo
oppttttyymmddhhnneennnnnnvvvvvvvvaa...aa,[00..00]
tdwkii...iikeeeepppp

Raw Mode

The table on the following page explains the PRINT
TRANSACTION fields.

These fields are the same for GET TRANSACTION
except:

the first GET TRANSACTION field is the 6-
digit system ID.

because of the 6-digit system ID, all subsequent
GET TRANSACTION fields are offset by 6
more than the offset number shown below for
each PRINT TRANSACTION field.

if you enter the GET TRANSACTION command
without the A option, the resulting display will
stop with the 1-digit account field terminator.

In the table, fields [00...00] through pppp apply to
Site Controller IIs only.

Field

Offs
et

Lgt
h.

Description

ssss

0

4

sequence number assigned by Site
Controller

0

4

1

status code; always 0 for completed
transaction

ddddd
d

5

6

total dollar amount, in hundredths; if
negative, most significant ASCII character
has its sixth bit set; the equivalent
meanings are:
p = -0

u = -5

q = -1

w = -6

r = -2

w = -7

s = -3

x = -8

t = -4

y = -9

x 11

1

account

to

charge:

0 = club card

3 = bank card

1 = checking

4 = cash

2 = savings

5 = unpaid

y 12

1

transaction

type:

0 = fuel 4 = like 0, from console
1 = fuel, preauthorized 5 = like 1,
from console

2 = non=fuel 6 = like 2, from console
3 = non-fuel, preauthorized 7 = like 3,
from console

ff 13

2

product

code

gggg

15

4

price in thousandths of dollars

qqqqq
qqq

19

8

quantity, in thousandths; if negative, most
significant ASCII character has its sixth bit
set, see description of dollar amount field
above

ooooo
oo

27

7

odometer reading, in tenths; if no odometer
was entered, the first digit is p or zero,
depending on configuration

pp

34

2

pump number (register number for non-fuel
sale)

tttt

36

4

transaction number assigned by Site
Controller

Yymm
dd

40

6

date completed, from Site Controller (year,
day, month)

hhmm

46

4

time completed, from Site Controller (hour,
minute)

ee

50

2

error code (see table below)

nnnnn
n

52

6

authorization number (if site authorized,
this is Sceeee, where eeee is the card
expiration date; if expiration date is two
digits, format is SCeeFF)

Vvvvv
vvv

58

8

vehicle number; if no vehicle number was
entered, the first digit is p or zero,
depending on configuration

aa...aa 66 1-

19

account number from transaction table

,

V

1

account field terminator

[00...0
0]

V 0-

18

zeros if account field is less than 19 digits;
optional, needed only if account number is
less than 19 digits;

field length = 19 - no.

of digits in account field.

t

86

1

device type (0-9, A-F valid):
1 = Site Controller 7 = tank gauge
3 = card reader terminal 9 = remote site
4 = console chain activation
5 = FPR

A = full serve

6 = gate reader

d

87

1

device drop (0-9, A-F valid)

w

88

1

number of digits after the decimal point in
the quantity (for weights and measures,
allows transaction printout to match
resolution of the pulsers)

k

89

1

kind of transaction:
0 = ordinary 2 = return
1 = refund 3 = payout

ii...ii

90

20

issuer field (0-9, A-F valid digits)

eeee

90

4

expiration date (read from card)

pppp 114

4 physical

record

number;

with A option only