Siemens SIREC D200 Manual page 244

Display recorders
Hide thumbs Also See for SIREC D200:
Table of Contents

Advertisement

238
Full Maths & Script Processing
Accessors
Ai
Alamct
Alamsl
Alamst
Di
Glbv
Locv
Pen
Tot
Boolean Operators
AND
Assign
Equal to
Greater than
Greater than or equal to
Less than
Less than and equal to
NOT
Table 14.5 :
Syntax
Ai[x]
Get the value of Analogue Input number x
Almct[x,y]
Get the current alarm count for Pen x, Alarm y
(the alarm number as identified in alarm mes-
sages)
Almcl[x,y,z]
Get the current alarm level set . Pen = x (1-96),
Alarm = y (1-6), New level to set = z.
Eg. P3 = almsl[1,1,A3] will set Pen 1 alarm1
and show A3 pen P3.
Almst[x,y]
Get the current alarm state for Pen x, Alarm y
(I = active 0 = inactive)
Di[x]
Get the state of Digital input number x
Glbv[x]
Get the value of global variable number x
Locv[x]
Get the value of local variable number x
Pen[x]
Get the value of Pen number x
TOT[x]
Get the current value of totaliser x
Table 14.6 :
Syntax
&&
Returns a true or false result from testing if two
tests are both true. e.g. IF (A1==GLBV1) &&
(A2!=GLBV2)
=
Assigns one variable to another.
e.g.GLBV1=A1. (GLBV1 becomes the value of
A1).
==
Returns a true or false result from testing if two
variables are equal to each other. e.g. IF
(A1==GLBV1)
>
Returns a true or false result from testing if one
variable is greater than another
>=
Returns a true or false result from testing if one
variable is greater or equal to than another
<
Returns a true or false result from testing if one
variable is less than another
<=
Returns a true or false result from testing if one
variable is less than or equal to another
!
Returns true if the result is 0, otherwise returns
false.
Description
Description
43-TV-25-35 GLO Iss.4 Dec 06 UK
A5E01001767-04

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sirec d300Sirec d400

Table of Contents