Omron cx-programmer 5.0-function block operation 사용자 설명서
114
Procedures
Section 3-2
3-2
Procedures
3-2-1
Creating a Project
Creating New Projects
with CX-Programmer
with CX-Programmer
1,2,3...
1.
Start the CX-Programmer and select New from the File Menu.
2.
In the Change PLC Window, select a Device Type that supports function
blocks. These are listed in the following table.
blocks. These are listed in the following table.
Press the Settings Button and select the CPU Type. For details on other
settings, refer to the CX-Programmer Ver. 5.0 Operation Manual (W414).
settings, refer to the CX-Programmer Ver. 5.0 Operation Manual (W414).
3-2-2
Creating a New Function Block Definition
1,2,3...
1.
When a project is created, a Function Blocks icon will appear in the project
workspace as shown below.
workspace as shown below.
2.
Function block definitions are created by inserting function block defini-
tions after the Function Blocks icon.
tions after the Function Blocks icon.
Creating Function Block
Definitions
Definitions
Function blocks can be defined by the user using either ladder programming
or structured text.
or structured text.
Creating (Inserting) Function Block Definitions with Ladders
1.
Select Function Blocks in the project workspace, right-click, and select
Insert Function Blocks - Ladder from the popup menu. (Or select Func-
tion Block - Ladder from the Insert Menu.)
Insert Function Blocks - Ladder from the popup menu. (Or select Func-
tion Block - Ladder from the Insert Menu.)
Creating (Inserting) Function Block Definitions with Structured Text
1.
Select Function Blocks in the project workspace, right-click, and select
Insert Function Blocks - Structured Text from the popup menu. (Or se-
lect Function Block - Structured Text from the Insert Menu.)
Insert Function Blocks - Structured Text from the popup menu. (Or se-
lect Function Block - Structured Text from the Insert Menu.)
Device
CPU
CS1G-H
CPU42H/43H/44H/45H
CS1H-H
CPU63H/64H/65H/66H/67H
CJ1G-H
CPU42H/43H/44H/45H
CJ1H-H
CPU65H/66H/67H
CJ1M
CPU11/12/13/21/22/23
Function Blocks will appear under the PLC.