3-25
TI04L55B01-01EN
Classification
Operator
Syntax
Explanation
Special operation
CLOG.AVE( )
CLOG.AVE
(e1.e2.e4-e6)
Determines the average value among the specified group of
channels (e1, e2, e4, e5, e6).
CLOG.SUM( )
CLOG.SUM
(e1.e2.e4-e6)
Determines the sum among the specified group of channels (e1,
e2, e4, e5, e6).
CLOG.P-P( )
CLOG.P-P
(e1.e2.e4-e6)
Determines the maximum - minimum value among the specified
group of channels (e1, e2, e4, e5, e6).
PRE( )
PRE(e1)
Determines the previous value of e1.
HOLD( )
HOLD(a):b
When a is zero, b is carried out to derive the computed value.
Otherwise, the previous computed value is held.
RESET( )
RESET(a):b
When a is zero, b is carried out to derive the computed value.
Otherwise, the previous computed value of b is reset, and b is
carried out to derive the computed value.
CARRY( )
CARRY(a):b
Only TLOG.SUM can be specified for b. If the computed value X
of b is less than a, the computed result is X. If X is greater than
or equal to a, the computed result is the excess (X – a).
Conditional
expression
[a?b:c]
[a?b:c]
If the value of expression a is true, expression b is executed;
otherwise expression c is executed.
Remainder
extracting operation
.MOD.
a.MOD.b
Determines the remainder when a is divided by b.
Integer extracting
operation
INT( )
INT(a)
Determines the maximum integer that does not exceed a
Trigonometric
function
SIN( )
SIN(a)
Determines the sine value assuming the data of a to be an
angle in degrees.
COS( )
COS(a)
Determines the cosine value assuming the data of a to be an
angle in degrees.
Bit output
BIT.Bnn(a)
Outputs the value of the specified bit (Bnn) from bit data a
(positive integer)
Recording status
REC1
REC1
Set to 1 if recording is in progress and 0 if recording is stopped.
Data That Can Be Used in Expressions
Data
Range
I/O channel data
0001 to 6950
Math channel data (/MT)
GM10-1: A001 to A100
GM10-2: A001 to A200
Constant
K001 to K100
Variable constant
W001 to W100
Communication channel data (/MC)
GM10-1: C001 to C300
GM10-2: C001 to C500
Communication channel raw datat (/MC)
GM10-1: RC001 to RC300
GM10-2: RC001 to RC500
Internal switch status
S001 to S100
Flag
F01 to F20
Recording status
REC1
to REC12
Integer data
Z001 to Z999
3
Functions
Summary of Contents for SMARTDAC+ GM
Page 2: ...Blank Page...