![Omron SYSMAC CX-Programmer 9 Operation Manual Download Page 198](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241198.webp)
172
Procedures
Section 6-1
2.
Click the
General
Tab in the displayed Program Properties Dialog box, and
select the task from the
Task Type
List. To set a program name, input the
program name in the
Name
Text Box in this tab page.
3.
Click the
Close
Button to close the Program Properties Dialog Box.
4.
When the program is allocated to a task, the check mark over the ST pro-
gram’s icon will be deleted. The allocated task number will be shown in pa-
rentheses after the program name.
6-1-4
Creating the ST Program
There are two ways to create the ST program’s content.
• Input the ST language after registering the variables.
• Register the variables as you input the ST language.
Inputting the ST
Language after
Registering Variables
There are two kinds of variables: global variables and local variables. This
section explains how to set local variables. For details on setting global vari-
ables, refer to the
CX-Programmer Operation Manual
(W446).
1. Registering Variables (with Local Addresses)
1,2,3...
1.
Double-click the inserted ST program’s
Symbols
in the project workspace.
2.
The symbol table will be displayed. Right-click to display the pop-up menu,
and select
Insert Symbol
from the pop-up menu.
(It is also possible to select
Insert - Symbol
.)
3.
The New Symbol Dialog Box will be displayed. Set the following items, and
click the
OK
Button.
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: ......