Mitsubishi Electric MR-MQ100 User Manual page 201

Motion controller
Table of Contents

Advertisement

10 MOTION SFC PROGRAMS
Classification
Symbol
=
Substitution
+
Addition
-
Subtraction
Binary operation
*
Multiplication
/
Division
%
Remainder
~
Bit inversion (complement)
&
Bit logical AND
|
Bit logical OR
Bit operation
^
Bit exclusive logical OR
>>
Bit right shift
<<
Bit left shift
Sign
-
Sign inversion (complement of 2)
SIN
Sine
COS
Cosine
TAN
Tangent
ASIN
Arcsine
ACOS
Arccosine
ATAN
Arctangent
SQRT
Square root
Standard function
LN
Natural logarithm
EXP
Exponential operation
ABS
Absolute value
RND
Round-off
FIX
Round-down
FUP
Round-up
BCD
BIN
BIN
BCD
SHORT Convert into 16-bit integer type (signed)
USHORT Convert into 16-bit integer type (unsigned)
LONG
Convert into 32-bit integer type (signed)
ULONG Convert into 32-bit integer type (unsigned)
Type conversion
Regard as signed data and convert into 64-
FLOAT
bit floating point type
Regard as unsigned data and convert into
UFLOAT
64-bit floating point type
(None)
ON (normally open contact)
Bit device status
!
OFF (normally closed contact)
SET
Device set
RST
Device reset
Bit device control
DOUT
Device output
DIN
Device input
OUT
Bit device output
(2) Table of the operation control/transition instruction
Function
BIN conversion
BCD conversion
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)
USHORT(S)
LONG(S)
ULONG(S)
FLOAT(S)
UFLOAT(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)
10 - 12
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
3
4
3
4
4
4
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents