Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Operation Manual page 128

Function blocks
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
Refer to 3-2-5 Setting Function Block Parameters Using the P 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 Memory - Function Block
Memory Allocation from the PLC Menu.
2. Set the function block memory allocations.
Refer to 3-2-11 Compiling Function Block Definitions (Checking Program) and
3-2-13 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-14 Downloading/Uploading Programs to the Actual CPU Unit.
Refer to 3-2-15 Monitoring and Debugging Function Blocks.
Section 3-1
113

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-programmer 5.0Sysmac ws02-cxpc1-e-v50Cs1-hCj1-hCj1m

Table of Contents