![Omron CX-PROGRAMMER V8.1 Скачать руководство пользователя страница 200](http://html1.mh-extra.com/html/omron/cx-programmer-v8-1/cx-programmer-v8-1_operation-manual_744203200.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.
Содержание CX-PROGRAMMER V8.1
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ......
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 25: ...xxvi Application Precautions 4...
Страница 26: ...Part 1 Function Blocks...
Страница 27: ......
Страница 153: ...128 Procedures Section 3 2...
Страница 154: ...Part 2 Structured Text ST...
Страница 155: ......
Страница 159: ...134 CX Programmer Specifications Section 4 2...
Страница 205: ...180 Procedures Section 6 1...
Страница 207: ...182 System defined external variables supported in function blocks Appendix A...
Страница 229: ...204 Revision History...
Страница 230: ......