Omron SYSMAC CS1G Operation Manual page 534

Motion control unit
Table of Contents

Advertisement

Debugging the Program
9-2-1
Single Block Operation
Function
Operation
Timing Chart
Single Block
Operation Mode
Motion
Program Start
Program
execution status
In Block Stop
Effect on Other Tasks
• Single Block Operation is a motion program-debugging function that exe-
cutes the motion program in block units so that program execution stops
after each block.
• When the bit [Single Block Operation Mode] is ON, blocks not involving
operations (program numbers or parallel branching labels) will be
stopped.
• Single Block Operation can be executed by turning ON/OFF the bit [Sin-
gle Block Operation Mode] from the ladder program or the support tool.
• Single Block Operation Mode will be started when the bit [Single Block
Operation Mode] is turned ON. After a block is stopped, the next block
can be executed by turning ON the bit [Motion Program Start].
• The bit [Start Mode] affects the bit [Motion Program Start] in the single
block operation mode. Therefore, select Start Mode 2 to execute the pro-
gram block by block.
Start Mode
Behavior in the single block operation
0, 3
Returns to the top of the program, and stops
after executing the first line of the program.
1
Executes the program from the top of the
block currently being stopped, and stops at
the end of the block.
2
Executes from the top of the next block, and
stops at the end of the block.
• The Unit checks ON/OFF of the bit [Single Block Operation Mode]
between blocks, i.e. timing after end of the current block execution and
before start of the next block execution.
• The same timing is used in Pass Mode. The program will be stopped at
the end of the current block if the bit [Single Block Operation Mode] is ON
before start of the next block execution. The program will not be stopped
until the next block ends if execution of the next block has already started
before the bit turns ON.
Single Block Operation Mode is a function independent for each task, so there
is no effect on other tasks.
mode
Reconfirmation of a
specified program
Confirmation of a spec-
ified program
Confirmation for indi-
vidual block.
Section 9-2
Envisioned case
511

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs1w-mch71Sysmac cs seriesSysmac cs1h

Table of Contents