![Fuji Electric SPF Series Скачать руководство пользователя страница 121](http://html1.mh-extra.com/html/fuji-electric/spf-series/spf-series_user-manual_2341814121.webp)
2-47
Section 2 Programming Languages
Instruction Name
Data type Description
No. of
steps
Related
section
EQ
Comparison
(=)
elementary
(excluding
STRING)
(Note)
Operates the comparison of the current operation result as the left-
hand side of the “=” operator with the operand value as the right-
hand side, and sets the result (BOOL value) to the operation result.
1
EQ(
Operates the comparison of the current operation result as the left-
hand side of the “=” operator with the operation result specified
in parentheses as the right-hand side, and sets the result (BOOL
value) to the operation result.
1
NE
Comparison
( )
elementary
(excluding
STRING)
(Note)
Operates the comparison of the current operation result as the left-
hand side of the “ ” operator with the operand value as the right-
hand side, and sets the result (BOOL value) to the operation result.
1
NE(
Operates the comparison of the current operation result as the left-
hand side of the “ ” operator with the operation result specified
in parentheses as the right-hand side, and sets the result (BOOL
value) to the operation result.
1
LE
Comparison
(<=)
elementary
(excluding
STRING)
Operates the comparison of the current operation result as the left-
hand side of the “<=” operator with the operand value as the right-
hand side, and sets the result (BOOL value) to the operation result.
1
LE(
Operates the comparison of the current operation result as the left-
hand side of the “<=” operator with the operation result specified
in parentheses as the right-hand side, and sets the result (BOOL
value) to the operation result.
1
LT
Comparison
(<)
elementary
(excluding
STRING)
Operates the comparison of the current operation result as the left-
hand side of the “<” operator with the operand value as the right-
hand side, and sets the result (BOOL value) to the operation result.
1
LT(
Operates the comparison of the current operation result as the left-
hand side of the “<” operator with the operation result specified
in parentheses as the right-hand side, and sets the result (BOOL
value) to the operation result.
1
JMP
Unconditional
jump
–
Jumps to the step specified by the label of the operand.
1
JMPC
TRUE
conditional
jump
–
Jumps to the step specified by the label of the operand when the
current operation result is TRUE (nonzero).
1
JMPCN
FALSE
conditional
jump
–
Jumps to the step specified by the label of the operand when the
current operation result is FALSE (zero).
1
Label_name
Label of the
destination
address
–
Indicates the destination address.
0
CAL
Unconditional
call
–
Calls the function block specified in the operand.
1
CALC
TRUE
conditional
call
–
Calls the function block specified in the operand if the current
operation result is TRUE (nonzero).
1
CALCN
FALSE
conditional
call
–
Calls the function block specified in the operand if the current
operation result is FALSE (zero).
1
RET
Unconditional
return
–
Returns to the calling program.
1
)
Closing
parenthesis
–
Performs the deferred operation.
1
FEH200
2-6-3
G
Key points:
The number of steps depends on the operand used. The number of steps for a variable that holds an array may be large.