3 ) work register – Yaskawa MP2300S Basic Module User Manual
Page 162

5.2 User Programs
5.2.3 Sequence Program
5-29
Outline of Motion Control Systems
( 3 ) Work Register
Monitor a sequence program through a work register.
A work register, similar to the motion program registered in M-EXECUTOR, has status flags in the M-EXECUTOR
control register.
The following table shows the work register configuration of the sequence program.
[ a ] Status Flag of Sequence Program
The status flags of a sequence program allow you to know the execution status of the sequence program.
The following table explains the detailed contents of status flags.
[Status]
Sequence program alarm
When referencing a sub sequence program (SSEE command execution) and an error is detected, “Bit8: Program alarm is occur-
ring” is turned ON. If the error is cleared, it is turned OFF.
Error details are as follows:
Work Register
Content
Status
Status flag of a sequence program
Table 5.3 Status
Bit No.
Status
0
Program running
1
(Reserved)
2
(Reserved)
3
(Reserved)
4
(Reserved)
5
(Reserved)
6
(Reserved)
7
(Reserved)
8
Program alarm is occurring
9
Stopping at breakpoint
A
(reserved)
B
In debug mode (EWS debug operation)
C
Program type 1: Sequence program
D
Start request history
E
(Reserved)
F
(Reserved)
Error Details
Called program is unregistered
Called program is not a sequence program
Called program is not a sub program (main program is called)
Called program number is over
Nest over error