7.1 User Program Types and Execution Timing
7.1.2 Motion Programs
7-14
Work Registers
Work registers are used to set and monitor motion programs.
The first work register for a motion program that is called with an MSEE instruction is specified
in the MSEE instruction in the ladder program. The following figure shows the structure of the
work registers.
Motion Program Status Flags
The Motion Program Status Flags give the execution condition of the motion program. The fol-
lowing table describes the meanings of the Status Flags.
Note: If a program alarm occurs, motion program error information is provided in the Motion Alarm Dialog Box and
in the S registers.
Bit No.
Status
0
Program is being executed.
1
Program is paused.
2
Program is stopped due to a stop request (for system use).
3
Reserved.
4
Program single-block execution is stopped.
5
Reserved.
6
Reserved.
7
Reserved.
8
There is a program alarm.
9
Execution is stopped at a breakpoint.
A
Reserved.
B
The program is in Debug Mode (EWS debugging).
C
Program Type, 0: Motion Program
D
Start Request History
E
No System Work Available Error
Execution Scan Error
F
Main Program Number Limit Exceeded Error
Work Regi
s
ter
Fir
s
t work regi
s
ter
(M regi
s
ter or D regi
s
ter)
S
y
s
tem Work Number
4th regi
s
ter
Interpolation Override
3
rd regi
s
ter
Motion Program Control
S
ignal
s
2nd regi
s
ter
Motion Program
S
tatu
s
Flag
s
1
s
t regi
s
ter
De
s
cription