beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 284

background image

AĆ12

A.3.2

Global Variables

Global variables can be referenced by ladder, Control Block, or BASIC programs in a

rack. These variables can refer to memory locations, physical I/O locations, or network

locations. Global memory variables can be of any data type supported by the Editor. If

you type in the first letter of a variable name using upper case, the default scope will be

global.
Global variables used for physical I/O must be simple variables. They can be either

Boolean, integer, or double integer.

Global I/O variables repĆ

resenting this:

Can be:

inputs

read but not written to

outputs

read or written to

Within BASIC or Control Block programs, use the statement COMMON to access global

variables.