![background image](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241146.webp)
120
Procedures
Section 3-2
Example:
Returning from an ST Program to the Calling Program or Instance
Note
The Step Out command can be executed only in a ladder/ST program within
an instance.
■
Display when Operation is Paused by the Simulation Function
The color of the cursor (or arrow in an ST program) indicates whether an
operation has been paused in the Simulation Function Window, as well as
which operation has been paused.
Note
(1) When
Tools - Simulation - Always Display Current Execution Point
has been selected, the Simulator automatically scrolls the display to show
the paused point in the instance when performing Step Run or Continu-
ous Step Run operation.
(2) The color of the cursor (or arrow in an ST program), which indicates when
an operation has been paused in the Simulation Function Window, can
be changed from its default color.
To change the color, select
Tools - Options
and click the
Appearance
Tab. Select
Pause Simulator
,
Simulator Instruction Break
, or
Simulator IO
Break
, and change the color for that condition.
■
Break Point Operation in an Instance
Execution can be paused automatically at the preset break point in the
instance. (In this case, the Step In operation cannot be used.)
Note
When a break point is set for an instance, the break point is valid for that
instance only. (The break point is not valid for other instances created from
the same function block definition.)
Stopped here.
Moves to here.
Click the
Step Out
Icon to
return to the calling program.
Debug
operation
Color (default)
Program execution
status
Details
Step Run or
Continuous
Step Run
Pink
Simulator paused
status
Paused by Step Run
operation or the
Pause
Button
Regular color
Not executed due to
interlock or other
function.
Step is not being exe-
cuted because of an
instruction such as IL,
MILR/MILH, JMP0, or
FOR/BREAK.
Break point
Blue
Simulator instruction
break
Paused (break status) by
a break point.
Summary of Contents for SYSMAC CX-Programmer 9
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 8: ......
Page 16: ...xvi ...
Page 20: ...xx ...
Page 26: ...xxvi Application Precautions 4 ...
Page 27: ...Part 1 Function Blocks ...
Page 28: ......
Page 154: ...128 Procedures Section 3 2 ...
Page 155: ...Part 2 Structured Text ST ...
Page 156: ......
Page 160: ...134 CX Programmer Specifications Section 4 2 ...
Page 206: ...180 Procedures Section 6 1 ...
Page 208: ...182 System defined external variables supported in function blocks Appendix A ...
Page 230: ...204 Revision History ...
Page 231: ......