CST BrandsHelpdesk Linux Site ControllerSC Evnironmental Variables

SC Evnironmental Variables

This lesson will teach you about the sitecontroller environmental variables.

 

Once connected to the site controller, go to the /home/sitecon/sc directory.

Type nano environ.dat and press enter.

Example of SC Environ.dat

Example of SC Environ.dat

Below is a list of sc evnironmental variables and their explainations:

AUTOEXIT

Used to control a feature of automatically exiting and installing updates (NewServer3.tgz) when they appear. Two modes are supported, controlled by the value "1" or "2". In mode "1", the SC exits (with an "exit3" status) as soon as it sees a "NewServer3.tgz" file in its working directory. In mode "2", the SC looks for "NewServer3.tgz" as well as the file "taupdate.dat", and in addition, checks that the clock reads 1:00, 2:00, or 3:00 am. When this criteria is met, the SC will also exit with an "exit3" status. Mode "0" can be used to turn the feature off, which is the default behavior if this variable is not set. Acceptable values: any integer. Default value: "0" (no automatic exiting). Example environ.dat entry: "AUTOEXIT 2" 09.00.00-06dbs

DEBUG

Sets the initial debug level of the Site Controller.

CCLTCP

Sets CCL interface parameters, in the format of "IPAddress:PortNumber". Should always be set to "127.0.0.1:4558".

DST

Forces daylight savings time.

GUIPORT

Sets the TCP port for remote GUI support program.

HUPWAIT

Sets modem hang-up wait before the modem can be dialed again.

LOGARCHIVE

Sets number of full logs archived.

LOGMAX

Sets maximum log size.

NOCLOCK

Prevents time from being set by the Master POS.

OUTLINE

Prepends “9,” to dialed phone numbers. This variable is unused since the splitting of the SC and CCL code.

REWRITE

Controls whether the log file should be archived or continually overwritten. This should always be set to "1".

SITEID

Sets ID for support logon. Example environ.dat: "SITEID SomeText".

SUPPORT

Overrides the Support comm port specified in the SC Setup program.

SUPPORTBAUD

Overrides the Support baud rate specified in the SC Setup program.

TLSSECCODE

TLS meter security code.

USBPORTS

Allows COM5 and COM6 to be USB serial ports.

_____________________________________

Gas Variables

IDLEPREPAY

Sets idle prepay mode.

MAXGASLIMIT

If set this will be the maximum gas in dollars that will be dispensed. If not set it defaults to 999.00. Example setting below:

MAXGASLIMIT 10.00

GILSPLIT

Specifies first dispenser for 2nd Gilbarco current loop port. Example environ.dat: "GILSPLIT 8" for starting with the 8th dispenser.

MECHANICAL

Specifies UDC mechanical dispensers.

NOGTP

Disables Wayne grade to position. File gaswyn.conf can set values.

ONETIER

Single tier public protocol dispensers.

PAMBUFFER

Gilbarco PAM in buffered price mode.

PRICEHANDLE

Attempts Tokheim price load with handle off hook.

VRDIM

Sets the COM port for the Veeder-Root interface with Vapor Recovery. Note that only the number for the port should be used. Example environ.dat entry: "VRDIM 2" to use COM2.

WRAOSP

Set Warren-Rogers TCP/IP port. Example environ.dat entry: "WRAOPS 5000"

WYNPRODS

Sets Wayne products. Example: "WYNPRODS TEXT"

____________________________________

Crind Variables

DEBIT_CCL

Defers the debit question to the CCL set in the SC's environ.dat.

An example of setting this variable is presented below. DEBIT_CCL 1

Note

This option must be include if the site is planning to run Metrosplash, and the site needs to take debit cards.

IGNOREPRINTSTAT

Allows the site controller to ignore an out of paper status on tokheim dispensers. To set enter into the site controller's enviorn.dat as shown below.

IGNOREPRINTSTAT 1

AUTHLIMIT

Overrides credit card auth limit specified in the SC Setup. Note that the CCL can override this value.

BIGBILLS

Allows Gilbarco Cash Acceptors to take $50 and $100 bills.

CASHLIMIT

Specifies cash limit for Cash Acceptor transactions.

CLOSED

Terminals are initially closed.

CRD2PORT

COM port for second type of dispenser.

CRDTHREADS

Number of Crind device threads.

CRDTYPE

Overrides the Crind terminal type.

DSMPORT

Wayne DSM (Debit security module) serial port.

GILVERSION

Specifies Gilbarco CRIND firmware version.

GSMPORT

GSM (Gilbarco Security Module, for encrypting debit pins) serial port.

NOGRAPHICS

Forces text mode.

NOSMFPRINT

Specifies Smart Fuel terminals without printers.

NOSMFPRON

Disables Smart Fuel printer online logic.

NOSTART

No Tokheim start key.

PRINTPORT

Sets serial printer port for propane media log.

PRFISO

Sets proprietary fleet card ISO range.

PRFLEET

Activates proprietary fleet.

SCHMOD

Specifies Schlumberger modified keypad layout.

SMFADDR

Smart Fuel Daemon (SFD) TCPIP address and port. Example environ.dat entry: "SMFADDR 127.0.0.1:60000"

TWODBOX

Specifies first CRIND for 2nd Gilbarco DBox (Distribution Box) serial port.

VIDEO

Sets initial video state.

______________________________

Testing Variables

The Following environment variables are for testing and/or debugging and should never be present in the field.

FISCAL

Allows Gas Test Mode.

FLOWRATE

Sets flow rate for simulated dispensers.

RYKOSIM

Used with Ryko simulator.

SIMGAS

Sale amount for simulated dispensers.

TESTFLAG

Sets initial test flag value.

USEHANDLE

Use number keys for handle on/off toggling on simulated dispensers.

0 Comments

Add your comment

E-Mail me when someone replies to this comment