Debugging The Program - Omron CS1W-MCH71 Operation Manual

Sysmac cs/cj-series
Hide thumbs Also See for CS1W-MCH71:
Table of Contents

Advertisement

Debugging the Program

9-2
Debugging the Program
9-2-1
Single Block Operation
Function
Operation
Timing Chart
The debug function is described here, and the following functions are used for
debugging the programs.
Debug function
Single Block Operation
Motion program
Machine Lock
Motion program
Breakpoint
Motion program
• 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.
Debugged
Operation
program
Ladder, the Support
Tool
Ladder, the Support
Tool
The Support Tool
mode
Section 9-2
Debugging unit
Motion task
Axis
Motion task
Envisioned case
Reconfirmation of a
specified program
Confirmation of a spec-
ified program
Confirmation for indi-
vidual block.
553

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents