170
Procedures
Section 6-1
6-1
Procedures
This section explains how to create ST programs. For details on creating a
function block with ST language, refer to
SECTION 3 Creating Function
Blocks
in
Part 1: Function Blocks
of this manual.
6-1-1
Creating a Project
1,2,3...
1.
Start the CX-Programmer and select
File -New
.
2.
In the Change PLC Dialog Box, select a PLC model that supports ST pro-
grams from the
Device Type
list. Refer to
4-2-1 PLC Models Compatible
with ST Programs (ST Tasks)
for a table of the PLC models that support
ST programs.
3.
Click the
Settings
Button, and select the
CPU Type.
For details on other
settings, refer to the
CX-Programmer Operation Manual
(W446).
6-1-2
Creating a New ST Program
Use the following procedure to create an ST program in a project.
1,2,3...
1.
Right-click the
Programs
Item in the project workspace to display the pop-
up menu.
2.
Select
Insert Program - ST
from the pop-up menu.
An ST program will be inserted in the project workspace, and the ST Editor
will be displayed on the right side of the workspace.
Note
(1) Ladder and SFC programs can also be created. To create these pro-
grams, right-click the
Programs
Item in the project workspace to display
the pop-up menu, and select
Insert Program - Ladder
or
Insert Pro-
gram - SFC
.
For details on ladder programming, refer to the
CX-Programmer Opera-
tion Manual
(W446).
For details on SFC programming, refer to the
CX-Programmer Operation
Manual: SFC
(W469).
Содержание CX-PROGRAMMER V8.1
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ......
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 25: ...xxvi Application Precautions 4...
Страница 26: ...Part 1 Function Blocks...
Страница 27: ......
Страница 153: ...128 Procedures Section 3 2...
Страница 154: ...Part 2 Structured Text ST...
Страница 155: ......
Страница 159: ...134 CX Programmer Specifications Section 4 2...
Страница 205: ...180 Procedures Section 6 1...
Страница 207: ...182 System defined external variables supported in function blocks Appendix A...
Страница 229: ...204 Revision History...
Страница 230: ......