1 - 11
1 OVERVIEW
(2) Table of the operation control/transition instruction
Usable step
Classification Symbol Function Format Basic steps
F/FS G
Y/N
transition's
conditional
expression
Section of
reference
= Substitution (D)=(S)
4
— 7.4.1
+ Addition (S1)+(S2)
4
— 7.4.2
- Subtraction (S1)-(S2)
4
— 7.4.3
* Multiplication (S1)*(S2)
4
— 7.4.4
/ Division (S1)/(S2)
4
— 7.4.5
Binary operation
% Remainder (S1)%(S2)
4
— 7.4.6
~
Bit inversion (complement)
~
(S) 2
— 7.5.1
& Bit logical AND (S1)&(S2) 4
— 7.5.2
| Bit logical OR (S1)|(S2) 4
— 7.5.3
^ Bit exclusive OR (S1)^(S2) 4
— 7.5.4
>> Bit right shift (S1)>>(S2) 4
— 7.5.5
Bit operation
<< Bit left shift (S1)<<(S2) 4
— 7.5.6
Sign - Sign inversion (complement of 2) -(S) 2
— 7.5.7
SIN Sine SIN(S) 2
— 7.6.1
COS Cosine COS(S) 2
— 7.6.2
TAN Tangent TAN(S) 2
— 7.6.3
ASIN Arcsine ASIN(S) 2
— 7.6.4
ACOS Arccosine ACOS(S) 2
— 7.6.5
ATAN Arctangent ATAN(S) 2
— 7.6.6
SQRT Square root SQRT(S) 2
— 7.6.7
LN Natural logarithm LN(S) 2
— 7.6.8
EXP Exponential operation EXP(S) 2
— 7.6.9
ABS Absolute value ABS(S) 2
— 7.6.10
RND Round-off RND(S) 2
— 7.6.11
FIX Round-down FIX(S) 2
— 7.6.12
FUP Round-up FUP(S) 2
— 7.6.13
BIN
BCD
BIN conversion
BIN(S) 2
— 7.6.14
Standard function
BCD
BIN
BCD conversion
BCD(S) 2
— 7.6.15
SHORT Convert into 16-bit integer type (signed) SHORT(S) 2
— 7.7.1
USHORT Convert into 16-bit integer type (unsigned) USHORT(S) 2
— 7.7.2
LONG Convert into 32-bit integer type (signed) LONG(S) 2
— 7.7.3
ULONG Convert into 32-bit integer type (unsigned) ULONG(S) 2
— 7.7.4
FLOAT
Regard as signed data and convert into 64-
bit floating point type
FLOAT(S) 2
— 7.7.5
Type conversion
UFLOAT
Regard as unsigned data and convert into
64-bit floating point type
UFLOAT(S) 2
— 7.7.6
(None) ON (normally open contact) (S) 2
7.8.1
Bit device status
! OFF (normally closed contact) !(S) 2
7.8.2
SET(D) 3
—
SET Device set
SET(D)= (conditional
expression)
4
—
7.9.1
RST(D) 3
—
RST Device reset
RST(D)=(conditional
expression)
4
—
7.9.2
DOUT Device output DOUT(D),(S) 4
— 7.9.3
DIN Device input DIN(D),(S) 4
— 7.9.4
Bit device control
OUT Bit device output
OUT(D)=(conditional
expression)
4
— 7.9.5