
234
43-TV-25-35 GLO Iss.4 Dec 06 UK
A5E01001767-04
Full Maths & Script Processing
Scripting firmware credit option will allow the Full math functions plus the scripting func-
tions in
Table 14.3 on page 237, Table 14.4 on page 237, Table 14.5 on page 238,
and
Maths Variable and Function Tables
Table 14.1 : Maths Variable Table
Maths Variables
Syntax
Description
Alarm Level
PnAxL
Gets the Alarm Level, n is Pen number 1 to 96
and x is alarm number 1 to 6
Analogue Input (Eng values)
An
Get the value of Analogue n (1 to 48) in Engi-
neering units
Analogue Raw (Electrical
values)
RAn
Get the value of Raw Analogue n (1 to 48) in
Electrical values
Batch Mode
BATMD
Returns 1= batch running, 2 = batch stopped or
3 = batch paused
Blkv
BLKVx
Get the local variable x. This variable is local to
this script. There is a maximum of 20 local var-
iables per script.
Compact Flash free storage
space*
CFFREE
Returns the percentage of free storage space
available on the Compact Flash card
CJC
CJCn
Get the Board CJC value. N = 1 to 6 (Returns
value in Degrees F, C or K depending on the
localisation setting
CJC in Degrees C
CJCnC
Get the Board CJC value. N = 1 to 6 (Always
returns value in degrees C)
Comms Variables**
CVn
Get the Comms variable n = 1 to 96
Digitals
Dn
Get the value of Digital Input n (1 to 48)
Digital Input bit pattern
DIOn
Get the 16 bit pattern from the DIO slots, where
n= 1,2 or 3 (Slot G, H & I respectively).
Returned as a 16 bit word (0 to 65535). A
channel configured as an output is set to 0.
EC1 to EC 20
EC1
Event Counters 1 to 20
File Transfer Protocol
recording hours left
FTPHRS
Returns the number of hours of “safe” record-
ing time available
Glbv
GLBVx
Get the global variable x. This is a global varia-
ble accessible to all scripts. There is a maxi-
mum of 200 global variables.
HPC1 to HPC48
HPC1
High Pulse count using Pulse cards
Internal memory hours left
INTHRS
Returns the amount of hours left until the inter-
nal memory starts to recycle (over-write).
IOC1 to IOC48
IOC1
Digital Input/Output counters for Digital in and
relay out
Summary of Contents for SIREC D200
Page 2: ......
Page 176: ...170 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 Firmware Credit System ...
Page 222: ...216 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Page 238: ...232 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Page 258: ...252 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Page 270: ...264 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Page 274: ...268 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 Modbus Function Codes ...
Page 284: ...278 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Page 285: ......