173
Procedures
Section 6-1
• Name: Input the variable name.
• Data type: Select the data type.
• Address or Value: Input the address.
4.
The variables set in the symbol table will be registered.
Note
When variables are being registered without specifying addresses, the CX-
Programmer can be set to allocate addresses automatically. For details on
Automatic Allocation, refer to the
CX-Programmer Operation Manual
(W446).
2. Creating the ST Program
1,2,3...
1.
The ST language can be input directly in the ST Editor Window, or the ST
data can be created in a text editor and then pasted in the ST Editor Win-
dow by selecting
Edit - Paste
.
If the symbol table with the registered variables is displayed while inputting
the ST program, it is easy to reference the variable names for program-
ming.
Note
(1) Tabs or spaces can be input to create indents. They will not affect the al-
gorithm.
(2) The display size can be changed by holding down the
Ctrl
Key and turn-
ing the scrolling wheel on a wheel mouse.
(3) When an ST language program is input or pasted into the ST input area,
syntax keywords reserved words will be automatically displayed in blue,
Input the name.
The default is BOOL.
Change the data type if required.
Input the address.
Symbol table
ST Editor Window
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: ......