Download OPERATION MANUAL Motion Control Unit

Transcript
Section 7-4
Interface Specifics
• In [Start Mode] = 1, the operation at resuming an interrupted program varies depending on the command being executed as shown below:
Command
MOVE/MOVEL/MOVEC/
MOVEI/MOVET
Operation
See 7-2-3 Automatic Mode (page 358).
MOVETRAV/MOVELINK/ When interrupted midway of a block, resumes to finCAMBOX (1 cycle)
ish the remaining travel distance. When interrupted
at the end of a block, the entire program will be executed from the beginning again.
DATUM/CAM
The entire program is executed again from the beginning regardless of whether it was interrupted midway
or at the end.
Status Condition
Name
Specifications
Start Bit (supported
in Unit Ver. 3.0 or
later)
0: Motion Program Operating Bit OFF (0)
1: Motion Program Operating Bit ON (1)
Motion Program
Operating
0: Motion task is not executing program operation.
1: Motion task is executing program operation (turned OFF
after deceleration or block stop completion).
Motion Program
Operation Completed
Executing Motion
Program Number
0: When program operation is started
1: END command was executed
Executing Motion
Block Number
(Single execution
command)
• Outputs the block number of the single execution command
currently being executed with motion task, or temporarily
being stopped.
• During execution of parallel branching, the block number of
the leftmost block is output.
• Outputs the block number of the multiple execution command currently being executed with motion task, or temporarily being stopped.
• During execution of parallel branching, the block number of
the leftmost block is output.
Executing Motion
Block Number
(Multiple execution
command)
Outputs the program number of the program currently being
executed with motion task or temporarily being stopped.
• The bit [Start] returns the ON/OFF status of the bit [Motion Program Operating] from the CPU Unit as is.
When a program with a short execution time is executed, detection by the
ladder program of whether the bit [Motion Program Operation Completed]
at the end of the program has turned ON may not be possible. In this situation, perform the following processing in the ladder program to detect
whether the program has completed.
Bit [Start] is ON and bit [Motion Program Operation Completed] is ON.
• The bit [Motion Program Operating] indicates the execution status of the
motion program. It will be turned ON during program execution, and OFF
when deceleration stop or block stop is completed, or when the operation
is completed with END command execution.
• The bit [Motion Program Operation Completed] indicates the status of
whether the program has been executed to the end or not. It will be turned
ON when the operation is completed with END command execution, and
it will be turned OFF when the next program operation is started.
• [Executing Program Number] indicates the program number of the program being executed. It will be updated when a new program execution is
started. If program operation is interrupted or completed, the value immediately before will be held.
416