
3.1 Basic Functionality
3.1.1 Programs
3-10
Note: If a program alarm occurs, motion program error information is provided in the Error Information Dialog Box
and given in the S registers.
•
Control Signals
To control the execution of a motion program, you must input program control signals (Request
for Start of Program Operation, or Request for Stop of Program, etc.). The following table
describes the control signals for motion programs.
: This mark indicates that the signal must be kept ON until the system acknowledges it.
: This mark indicates that the signal needs to be turned ON only for one high-speed scan.
Bit D
Start Request History
This bit is set to 1 when the Request for Start of Program Operation is ON.
0: Request for Start of Program Operation is OFF.
1: Request for Start of Program Operation is ON.
Bit E
No System Work Error
or Execution Scan
Error
This bit is set to 1 when a system work number that was needed to execute
a motion program could not be obtained, or when an MSEE instruction is
programmed in a drawing other than a DWG.H.
0: There is no system work error or execution scan error.
1: A no system work error or execution scan error occurred.
Bit F
Main Program Number
Limit Exceeded Error
This bit is set to 1 when the specified motion program number is out of
range.
Motion program number range:1 to 512
0: There is no motion program number error.
1: A motion program number error occurred.
Bit No.
Name
Description
Bit 0
Request for Start
of Program
Operation
This bit makes a request to start execution of a motion program. The motion
program starts when this bit changes from 0 to 1. This bit is ignored when there
is a motion program alarm.
0: Turn OFF the request to start the program.
1: Turn ON the request to start the program.
Bit 1
Request for
Pause of Program
This bit makes a request to pause execution of a motion program.
Execution of the program that was paused will resume when the pause request
is turned OFF.
0: Turn OFF the request to pause the program (i.e., cancel the pause).
1: Turn ON the request to pause the program.
Bit 2
Request for Stop
of Program
This bit makes a request to stop execution of a motion program.
A motion program alarm occurs if this bit is set to 1 while the axis is in motion.
0: Turn OFF the request to stop the program.
1: Turn ON the request to stop the program.
Bit 3
Program
Single-block
Mode Selection
This bit makes a request to select Program Single-block Execution Mode.
This mode can be used in place of Debug Operation Mode.
0: Turn OFF the request to select single-block mode.
1: Turn ON the request to select single-block mode.
Bit 4
Program
Single-block Start
Request
When this bit is changed from 0 to 1, program execution changes to single-
block execution (step execution). This bit is valid only when bit 3 (Program Sin-
gle-block Mode Selection) in the control signals is set to 1.
0: Turn OFF the request to start the program in single-block mode.
1: Turn ON the request to start the program in single-block mode.
Bit 5
Program Reset
and Alarm Reset
Request
This bit resets motion programs and alarms.
0: Turn OFF the request to reset the program and alarms.
1: Turn ON the request to reset the program and alarms.
Bit 6
Request for Start
of Continuous
Program
Operation
This bit makes a request to resume execution of a program that was stopped
by a Request for Stop of Program.
0: Turn OFF the request to resume the program.
1: Turn ON the request to resume the program.
Bit 7
Reserved for
system.
−
Continued on next page.
Continued from previous page.
Bit No.
Name
Description