6.3 User Programs
6-15
6
(3) Motion Program Control Signals
To execute a motion program called from a DWG.H by the MSEE instruction, program control signals (such as
program start requests and program stop requests) must be input. The second word in the MSEE work registers
contains the control signals. The signals used to control motion programs are shown in the following table.
* 1. System Work Number Setting
OFF: The system work number is automatically defined by the system. The system work number may be different each
time.
ON: The system work number can be set with the fourth word of MSEE work register.
* 2. Interpolation Override Setting
OFF: Interpolation override fixed at 100%.
ON: The interpolation override set with third word of MSEE work register is used.
For the ladder program inputs, make sure the signals are in accordance with the signal type.
The program will be executed if the program start request signal has been turned ON when the power is
turned ON.
The following illustration shows the method of executing a motion program.
Bit No.
Signal Name
Signal Type
0
Program start request
Differential or NO contact input
1
Program pause request
NO contact
2
Program stop request
NO contact
3
Program single block mode selection
NO contact
4
Program single block start request
Differential or NO contact input
5
Alarm reset request
NO contact
6
Program continuous operation start request
Differential or NO contact input
8
Skip 1 information
NO contact
9
Skip 2 information
NO contact
D
System work number setting
*1
NO contact
E
Interpolation override setting
*2
NO contact
IMPORTANT
Status
Control signals
DW
DW
+1
DW
+2
DW
+3
Interpolation override
System work number
DWG.H
External control signals
•
Operation start
•
Pause
•
Stop
Ladder program for
motion program
control
MSEE MPM001 DA00000
DEND
Motion program
number
MSEE work
register address
MPM001
VEL [a1] 5000 [b1]..
FMX T10000000;
IAC T25;
IDC T30;
MOV [a1] 300. [b1]..
MVS [a1] 200. [b1]..
END
Program control
signals
•
Program start
•
Program pause
•
Program stop
MSEE work register
Motion management functions
Ladder program
Motion program
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.