Rockwell Automation 1753-PCS-PAR Using RSLogix Guard PLUS! with GuardPLC Controllers User Manual

Page 91

Advertising
background image

Publication 1753-PM001A-EN-P - November 2005

Create User-Defined Function Blocks 8-5

You can either define the variable here or use the Derivation Type
buttons (recommended). The Derivation Type buttons activate dialogs
to help declare a variable of the chosen type. Use these buttons to
ensure accurate syntax.

This button

Defines a variable type

Direct

derived directly from another variable type

Array

array of one or more dimensions

For example:

ARRAY:array[1..10] of INT

• one-dimensional array of INT values

• ARRAY[7] accesses the 7th element

ARRAY:array[1..10,1..10] of REAL

• two-dimensional array of REAL values

• ARRAY[3,5] accesses the 3rd element of the 5th row

Advertising
This manual is related to the following products: