174
Procedures
Section 6-1
comments in green, tex strings in brown, errors in red, and everything
else in black.
(4) To change the font size or colors, select
Options
from the Tools Menu
and then click the
ST Font
Button on the Appearance Tab Page. The font
names, font size (default is 8 point) and color can be changed.
(5) For details on ST language specifications, refer to
SECTION 5 Structured
Text (ST) Language Specifications
in
Part 2: Structured Text (ST)
in this
manual.
Registering Variables
While Using
Structured Text
When using structured text, a dialog box will not be displayed to register the
variable whenever a variable name that has not been registered is input. Be
sure to always register variables used in standard text programming in the
variable table, either as you need them or after completing the program.
6-1-5
Compiling the ST Program (Checking Program)
The ST program can be compiled to perform a program check on it. Use the
following procedure.
1,2,3...
1.
Select the ST program, right-click, and select
Compile
from the pop-up
menu. (Alternately, press the
Ctrl + F7
Keys.)
2.
The ST program will be compiled and the results of the program check will
be automatically displayed on the Compile Table Page of the Output Win-
dow.
6-1-6
Downloading/Uploading Programs to the Actual CPU Unit
After a program containing the ST programs has been created, the CX-Pro-
grammer can be connected online to the actual PLC, and the program down-
loaded to the actual PLC. Conversely, the program can be uploaded from an
actual PLC.
Program tasks cannot be downloaded or uploaded individually in task units.
Results of program check
displayed.
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: ......