Specifications

Table Of Contents
7 - 2
7.2 List of operation control and transition commands
Usable
program
Usable expression
Division Symbol Function Format
Number
of basic
steps
F/FS G
Calcula-
tion
expres-
sion
Bit condi-
tional
expres-
sion
Relation
condition
expres-
sion
Y/N
transition
conditional
expression
= Substitute (D) = (S) 4 ¡ ¡ ¡
+ Addition (S1) + (S2) 4 ¡ ¡ ¡
Subtraction (S1) (S2) 4 ¡ ¡ ¡
* Multiplication (S1) * (S2) 4 ¡ ¡ ¡
/ Division (S1) / (S2) 4 ¡ ¡ ¡
Dyadic
operation
% Remainder (S1) % (S2) 4 ¡ ¡ ¡
¯ Bit inversion (complement) ¯ (S) 2 ¡ ¡ ¡
& Bit logical product (S1) & (S2) 4 ¡ ¡ ¡
| Bit logical sum (S1) | (S2) 4 ¡ ¡ ¡
^ Bit exclusive logical sum (S1) ^ (S2) 4 ¡ ¡ ¡
>> Bit right shift (S1) >> (S2) 4 ¡ ¡ ¡
Bit
operation
<< Bit left shift (S1) << (S2) 4 ¡ ¡ ¡
Code
Code inversion (complement
of 2)
(S) 4 ¡ ¡ ¡
SIN Sine SIN (S) 2 ¡ ¡ ¡
COS Cosine COS (S) 2 ¡ ¡ ¡
TAN Tangent TAN (S) 2 ¡ ¡ ¡
ASIN Inverse sine ASIN (S) 2 ¡ ¡ ¡
ACOS Inverse cosine ACOS (S) 2 ¡ ¡ ¡
ATAN Inverse tangent ATAN (S) 2 ¡ ¡ ¡
SQRT Square root SQRT (S) 2 ¡ ¡ ¡
LN Natural logarithm LN (S) 2 ¡ ¡ ¡
EXP Exponential operation EXP (S) 2 ¡ ¡ ¡
ABS Absolute value ABS (S) 2 ¡ ¡ ¡
RND Round off RND (S) 2 ¡ ¡ ¡
FIX Round down FIX (S) 2 ¡ ¡ ¡
FUP Round up FUP (S) 2 ¡ ¡ ¡
BIN BCD to BIN conversion BIN (S) 2 ¡ ¡ ¡
Standard
function
BCD BIN to BCD conversion BCD (S) 2 ¡ ¡ ¡
SHORT
Conversion to 16-bit integer
type (with code)
SHORT (S) 2 ¡ ¡ ¡
USHORT
Conversion to 16-bit integer
type (without code)
USHORT (S) 2 ¡ ¡ ¡
LONG
Conversion to 32-bit integer
type (with code)
LONG (S) 2 ¡ ¡ ¡
ULONG
Conversion to 32-bit integer
type (without code)
ULONG (S) 2 ¡ ¡ ¡
FLOAT
Conversion 64-bit floating
decimal type with data
regarded as "Data with code"
FLOAT (S) 2 ¡ ¡ ¡
Type
conver-
sion
UFLOAT
Conversion of 64-bit floating
decimal type with data
regarded as "Data without
code"
UFLOAT (S) 2 ¡ ¡ ¡
(None) ON (A contact)
(Bit conditional
expression)
2 ¡ ¡ ¡ ¡
Bit device
status
! OFF (B contact)
! (Bit conditional
expression)
2 ¡ ¡ ¡ ¡