![background image](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241201.webp)
175
Procedures
Section 6-1
6-1-7
Comparing ST Programs
It is possible to compare the edited ST program with an ST program block in
the actual PLC or another project file to check whether the two ST programs
are identical. For details on comparing programs, refer to the
CX-Programmer
Operation Manual
(W446).
6-1-8
Monitoring and Debugging the ST Program
Monitoring the ST
Program’s Variables
The ST program can be monitored.
The ST program is displayed in the left side of the window (called the ST pro-
gram monitor window).
The values of variables used in the ST program are displayed in the right side
of the window (called the ST variable monitor window).
At this point, it is possible to monitor variable values, change PVs, force-set or
force-reset bits, and copy/paste variables in the Watch Window. (These oper-
ations are described below.)
■
Monitoring Variables
Variable values are displayed in blue in the ST variable monitor window.
■
Changing PVs
To change a PV, select the desired variable in the ST variable monitor window
(displayed in reverse video when selected), right-click, and select
Set - Value
from the pop-up menu.
The Set New Value Dialog Box will be displayed. Input the new value in the
Value
field.
■
Force-setting and Force-resetting Bits
To force-set, force-reset, or clear the forced status, select the desired variable
in the ST variable monitor window (displayed in reverse video when selected),
right-click, and select
Force - On
,
Force - Off
,
Force - Cancel
, or
Force -
Cancel All Forces
from the pop-up menu.
■
Copying and Pasting in the Watch Window
1,2,3...
1.
To copy a variable to the Watch Window, select the desired variable in the
ST variable monitor window (displayed in reverse video when selected),
right-click, and select
Copy
from the pop-up menu.
Select the variable.
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: ......