Create user-defined function blocks – Rockwell Automation 1752-L24BBBE SmartGuard 600 Controllers User Manual User Manual

Page 153

Advertising
background image

Rockwell Automation Publication 1752-UM001E-EN-P - June 2014

153

Create Your Application Program

Chapter 10

Create User-defined Function Blocks

Follow these steps to create a user-defined function block.

1.

Open the Logic Editor by right-clicking the controller, choosing
Properties, and clicking Edit on the Logic tab.

2.

Choose FunctionBlock>Create.

3.

On the IOProperty dialog box, define the number of inputs and outputs
for the function block.

4.

Assign names to each input and output.

5.

Click OK to open the Function Block Logic Editor.

6.

Write the logic for the function block.

7.

Choose File>Save and type a name for the function block, when
prompted.

Advertising
This manual is related to the following products: