![Omron CS1W-MCH71 - Скачать руководство пользователя страница 598](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367598.webp)
553
Debugging the Program
Section 9-2
9-2
Debugging the Program
The debug function is described here, and the following functions are used for
debugging the programs.
9-2-1
Single Block Operation
Function
• 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.
Operation
• 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.
Timing Chart
• 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.
Debug function
Debugged
program
Operation
Debugging unit
Single Block Operation
Motion program
Ladder, the Support
Tool
Motion task
Machine Lock
Motion program
Ladder, the Support
Tool
Axis
Breakpoint
Motion program
The Support Tool
Motion task
Start Mode
Behavior in the single block operation
mode
Envisioned case
0, 3
Returns to the top of the program, and stops
after executing the first line of the program.
Reconfirmation of a
specified program
1
Executes the program from the top of the
block currently being stopped, and stops at
the end of the block.
Confirmation of a spec-
ified program
2
Executes from the top of the next block, and
stops at the end of the block.
Confirmation for indi-
vidual block.
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...