
3.1 Basic Functionality
3.1.1 Programs
3-14
Monitoring Motion Program Execution Information
The execution information for motion programs can be monitored using the S registers
(SW03200 to SW05119 and SW08192 to SW09125).
The execution information is monitored differently, depending on whether the motion program
is called from a ladder program with an MSEE instruction, or the motion program is registered
in the M-EXECUTOR program execution definitions.
This section describes these two monitoring methods.
•
When the Motion Program Is Called from the Ladder Program with an MSEE Instruction
When a motion program is called from the ladder program with an MSEE instruction, the moni-
toring method depends on the setting of bit D (System Work Number Setting) in the Motion
Program Control Signals.
•
When the Motion Program Is Registered in the M-EXECUTOR Program Execution Defini-
tions:
When the motion program is registered in the M-EXECUTOR program execution definitions, the
system work number used will be the same as the program execution registration number in
the M-EXECUTOR.
For example, if the motion program is registered for execution as number 3, system work num-
ber 3 is used. You can therefore monitor the execution information of the motion program with
the Work 3 Program Information registers (SW03380 to SW03437).
You cannot set the system work numbers when you use the M-EXECUTOR. The system will
use system work numbers that are the same as the definition numbers.
Bit D (System Work Number Set-
ting) in the Control Signal Word
for Motion Programs
Monitoring
ON
The execution information is reported in the Work n Program Information
registers (SW03264 to SW05119 and SW08192 to SW09125).
For example, if the system work number is 1, you can monitor the execu-
tion information of the motion program with the Work 1 Program Informa-
tion registers (SW03264 to SW03321).
OFF
The system automatically determines the system work number to use.
You can check the work numbers that are in use in the Active Program
Numbers registers (SW03200 to SW03231).
For example, if MPM001 is the motion program to be monitored and
SW03202 contains a 1, the system work number is 3. You can therefore
monitor the execution information of the motion program with the Work 3
Program Information registers (SW03380 to SW03437).
Information