4.5 Motion Language Instructions
4-194
Pro-
gram
Control
END Program End END; Ends the program.
RET
Subprogram
Return
RET; Ends the subprogram.
TIM Dwell Time TIM T − ;
Waits for the period of time
specified by T, and then pro-
ceeds to the next block.
TIM1M
S
One-ms Dwell
Time
TIM1MS T − ;
Waits for the period of time
specified by T, and then pro-
ceeds to the next block.
IOW
I/O Variable
Wait
IOW MB − = =...;
Stops execution of the motion
program until the conditional
expression is satisfied.
EOX One Scan Wait EOX;
Divides the execution of con-
secutive sequence instruc-
tions.
The instruction block after EOX
is executed in the next scan.
SNGD/
SNGE
Disable Sin-
gle-block Sig-
nal (SNGD)
and Enable
Single-block
Signal (SNGE)
SNGD;
...;
SNGE;
Specifies whether to enable or
disable single step operation
during debugging.
Numeric
Opera-
tions
= Substitute Result = Math_expression
Substitutes the results of an
operation. Calculations are
performed from left to right
with no order of priority.
+AddMW = MW + MW;
Performs integer and real num-
ber addition. If both integers
and real numbers are included,
calculations are performed with
real numbers.
- Subtract MW = MW - MW;
Performs integer and real num-
ber subtraction. If both inte-
gers and real numbers are
included, calculations are per-
formed with real numbers.
+ + Extended Add MW = MW + + MW;
Performs extended addition of
integers.
- -
Extended
Subtract
MW = MW - - MW;
Performs extended subtrac-
tion of integers.
∗ Mu
ltiply MW = MW ∗ MW;
Performs integer and r
eal num-
ber multiplication. If both inte-
gers and real numbers are
included, calculations are per-
formed with real numbers.
/ Divide MW = MW / MW;
Performs integer and real num-
ber division. If both integers
and real numbers are included,
calculations are performed with
real numbers.
MOD Modulo
MW = MW / MW;
MW = MOD;
When programmed in the next
block after a division, MOD
stores the remainder in the
designated register.
Continued on next page.
Continued from previous page.
Instruc-
tion
Typ e
Instruc-
tion
Name Format Description