EasyManua.ls Logo

Fuji Electric SPH Series - Page 121

Fuji Electric SPH Series
151 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 specied
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 specied
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 specied
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 specied
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 specied by the label of the operand.
1
JMPC
TRUE
conditional
jump
Jumps to the step specied by the label of the operand when the
current operation result is TRUE (nonzero).
1
JMPCN
FALSE
conditional
jump
Jumps to the step specied 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 specied in the operand.
1
CALC
TRUE
conditional
call
Calls the function block specied in the operand if the current
operation result is TRUE (nonzero).
1
CALCN
FALSE
conditional
call
Calls the function block specied 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.

Table of Contents

Related product manuals