Omron CX-PROGRAMMER V8.1 Operation Manual page 198

Function blocks/ structured text
Table of Contents

Advertisement

Procedures
Note
2. Creating the ST Program
1,2,3...
Note
• Name: Input the variable name.
• Data type: Select the data type.
• Address or Value: Input the address.
Input the name.
4. The variables set in the symbol table will be registered.
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).
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.
(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,
Section 6-1
The default is BOOL.
Change the data type if required.
Input the address.
Symbol table
ST Editor Window
173

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