Comparing St Programs; Monitoring And Debugging The St Program - Omron CX-PROGRAMMER V8.1 Operation Manual

Function blocks/ structured text
Table of Contents

Advertisement

Procedures
6-1-7

Comparing ST Programs

6-1-8

Monitoring and Debugging the ST Program

Monitoring the ST
Program's Variables
1,2,3...
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).
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.
Select the variable.
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. 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.
Section 6-1
175

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-cxpc1-v8Sysmac cx-programmer 8.1

Table of Contents