beautypg.com

Gasboy CFN III Manager Manual V3.6 User Manual

Page 208

background image

Making Your Own Commands

Variables for Use in Command Files

Page 19-10 MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010

%B#

Current drawer balance for drawer #

%I

Site ID of the site

%A

Number of input lines from command terminal waiting to be read (to test if user
pressed Enter)

%V

Site version number

%J

Journal state:

0 = normal
1 = tmp.log on RAM drive has not been flushed to journal.log on the PC drive.

%L

Locale name:

0 = locale code
1 = quantity power
2 = money power
3 = fuel price power
4 = date format
5 = money character
6 = decimal character
7 = separation character

%K

Position of console keyswitch:

0 = off
1 = on
4 = supervisor
8 = manager

%E

Last error code from last command. A 00 means the command was completed
successfully, greater than 00 usually means the command failed. (Note that FIND uses
the error code in a special way.)

00 = completed
01 = transaction(s) in progress
02 = not found (does not exist)
03 = invalid data
04 = card is valid
05 = card is not valid
06 = device is out of service
07 = pump is in use
08 = pump is not on
09 = illegal command
10 = completed, failed
11 = file full
12 = command is protected
13 = site is stopped
14 = invalid option
15 = valid card, bit-mapped
16 = valid card, limited
17 = invalid card, bit-mapped
18 = invalid card, limited
19 = expecting NC, NW
20 = string too long
21 = print a heading before this record
22 = some valid, some not
23 = print a subtotal before this record
24 = no price
25 = cannot open file
26 = site not stopped
27 = cannot activate

Name

Definition

This manual is related to the following products: