3.1 Basic Functionality
Programs
3-10
Work Registers
Work registers are used to set and monitor motion programs.
The address of the first work register for the 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.
• Status Flags
The Motion Program Status Flags give the execution condition of the motion program. The following
table describes the meanings of the Status Flags.
Work Register Contents Reference
1st register Motion Program Status Flags Page 3-10
2nd register Motion Program Control Signals Page 3-12
3rd register Interpolation Override Page 3-15
4th register System Work Number Page 3-15
Bit No. Name Description
Bit 0 Program Executing
This bit is set to 1 when a motion program is running.
0: Motion program is stopped.
1: Motion program is running.
Bit 1 Program Paused
This bit is set to 1 when execution of a motion program is paused by a Request
for Pause of Program.
After a Request for Pause of Program control signal is input, it is confirmed
that the axis decelerated to a stop and then the status flag is turned ON.
0: Program is not stopped by a pause request.
1: Program is stopped by a pause request.
Bit 2
Program Stopped for
Stop Request
This bit is set to 1 when execution of a motion program is stopped by a Request
for Stop of Program.
0: Program is not stopped by a stop request.
1: Program is stopped by a stop request.
Bit 3 Reserved for system. −
Bit 4
Program Single-block
Execution Stopped
This bit is set to 1 when execution of a single block is stopped in Debug Opera-
tion Mode.
0: Single block execution is not stopped.
1: Single block execution is stopped.
Bit 5 Reserved for system. −
Continued on next page.
0 3
ABS;
IOW MB0001
.
.
.
MOV[X] _ [Y] _
MOV[X] _ [Y] _
MVS[X] _ [Y] _ F
* MW00200 = 3
MPM003
Setting device
The value is stored
in the MW00200
register.
MSEE Instruction
Register address
Ladder Program Motion Program
Address of first work register
(M register or D register)