Omron CX-PROGRAMMER V8.1 Operation Manual page 106

Function blocks/ structured text
Table of Contents

Advertisement

Procedural Flow
Allocate External I/O to
the Function Block
1,2,3...
Set the Function Block
Memory Allocations
(Instance Areas)
1,2,3...
Printing, Saving, and Reusing Function Block Files
Compile the Function
Block Definition and Save
It as a Library File
1,2,3...
Transferring the Program to the PLC
Monitoring and Debugging the Function Block
3. Select the name of the instance that was registered from the pull-down
menu on the FB Instance Field.
Refer to 3-2-5 Setting Function Block Parameters Using the Enter Key for
details.
1. Place the cursor at the position of the input variable or output variable and
press the P Key.
2. Input the source address for the input variable or the destination address
for the output variable.
Refer to 3-2-6 Setting the FB Instance Areas for details.
1. Select the instance and select Function Block/SFC Memory - Function
Block/SFC Memory Allocation from the PLC Menu.
2. Set the function block memory allocations.
Refer to 3-2-12 Compiling Function Block Definitions (Checking Program) and
3-2-16 Saving and Reusing Function Block Definition Files for details.
1. Compile the function block that has been saved.
2. Print the function block.
3. Save the function block as a function block definition file (.cxf).
4. Read the file into another PLC project.
Refer to 3-2-17 Downloading/Uploading Programs to the Actual CPU Unit.
Refer to 3-2-18 Monitoring and Debugging Function Blocks.
Section 3-1
81

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