Mitsubishi Electric Melsec Q Series Programming Manual page 33

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

1 OVERVIEW
Classification
Symbol
=
+
-
Binary operation
*
/
%
~
&
|
Bit operation
^
>>
<<
Sign
-
SIN
COS
TAN
ASIN
ACOS
ATAN
SQRT
Standard function
LN
EXP
ABS
RND
FIX
FUP
BIN
BCD
SHORT
USHORT Convert into 16-bit integer type (unsigned) USHORT(S)
LONG
ULONG
FLOAT
Type conversion
UFLOAT
DFLT
SFLT
(None)
Bit device status
!
SET
RST
Bit device control
DOUT
DIN
OUT
(2) Table of the operation control/transition instruction
Function
Substitution
Addition
Subtraction
Multiplication
Division
Remainder
Bit inversion (complement)
Bit logical AND
Bit logical OR
Bit exclusive logical OR
Bit right shift
Bit left shift
Sign inversion (complement of 2)
Sine
Cosine
Tangent
Arcsine
Arccosine
Arctangent
Square root
Natural logarithm
Exponential operation
Absolute value
Round-off
Round-down
Round-up
BCD
BIN conversion
BIN
BCD conversion
Convert into 16-bit integer type (signed)
Convert into 32-bit integer type (signed)
Convert into 32-bit integer type (unsigned) ULONG(S)
Regard as signed data and convert into
64-bit floating point type
Regard as unsigned data and convert into
64-bit floating point type
Floating-point value conversion 32-bit into
64-bit
Floating-point value conversion 64-bit into
32-bit
ON (normally open contact)
OFF (normally closed contact)
Device set
Device reset
Device output
Device input
Bit device output
Format
Basic steps
(D)=(S)
(S1)+(S2)
(S1)-(S2)
(S1)*(S2)
(S1)/(S2)
(S1)%(S2)
~ (S)
(S1)&(S2)
(S1)|(S2)
(S1)^(S2)
(S1)>>(S2)
(S1)<<(S2)
-(S)
SIN(S)
COS(S)
TAN(S)
ASIN(S)
ACOS(S)
ATAN(S)
SQRT(S)
LN(S)
EXP(S)
ABS(S)
RND(S)
FIX(S)
FUP(S)
BIN(S)
BCD(S)
SHORT(S)
LONG(S)
FLOAT(S)
UFLOAT(S)
DFLT(S)
SFLT(S)
(S)
!(S)
SET(D)
SET(D)= (conditional
expression)
RST(D)
RST(D)=(conditional
expression)
DOUT(D),(S)
DIN(D),(S)
OUT(D)=(conditional
expression)
1 - 10
Usable step
Y/N
transition's
conditional
F/FS
G
expression
4
4
4
4
4
4
2
4
4
4
4
4
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
3
4
3
4
4
4
4
Section of
reference
5.4.1
5.4.2
5.4.3
5.4.4
5.4.5
5.4.6
5.5.1
5.5.2
5.5.3
5.5.4
5.5.5
5.5.6
5.5.7
5.6.1
5.6.2
5.6.3
5.6.4
5.6.5
5.6.6
5.6.7
5.6.8
5.6.9
5.6.10
5.6.11
5.6.12
5.6.13
5.6.14
5.6.15
5.7.1
5.7.2
5.7.3
5.7.4
5.7.5
5.7.6
5.7.7
5.7.8
5.8.1
5.8.2
5.9.1
5.9.2
5.9.3
5.9.4
5.9.5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents