User Variables

See also : ACR Memory Usage

 Products: ACR9000, 9030,9040,9600,9630,9640, Aries Controller (AR-xxCE), IPA

The Acrobasic language in the ACR9xxx, IPA and Aries Controller offers nearly 5000 pre-defined global user variable addresses in a variety of data types. Some of the variables are retained when the controller powers down. The ACR9xxx controllers utilize both FLASH memory and Battery Backed RAM (BBRAM). The Aries Controller utilizes FLASH and non-volatile USER RAM. BBRAM and NV User RAM store values automatically. Storing variable values in FLASH memory requires the use of the FLASH IMAGE command while programs are stopped.

All of the variable types are accessible via:

  • Any AcroBasic program global variables

  • Parker HMI products Interact Xpress and InteractX

  • ComACRserver for PC applications

  • IEC_PLC programs as direct variables or thru function blocks (9600,9630,9640 only)

  • EtherNet/IP

Parameter Range

ACR Data type

IEC Data Type

Retained

Notes

ACR9xx0

IPA, AriesCE

P0-P4095

64-Bit float

REAL

BBRAM or Flash

Flash

Must be dimensioned prior to use. Dimensioning included in ACR-View Configuration Wizard

P4100-P4103

32-Bit Long

DINT, DWORD

No

No

Each parameter contains 32 user flags (BIT128-255)

P4156-P4159

32-Bit Long

DINT, DWORD

No

No

Each parameter contains 32 user flags (BIT1920-2047)

P38912-P39167

32-Bit Long

DINT, DWORD

BBRAM

P38912-38975 saved in User RAM

Available in ACR9000 OS 1.24 and greater. AriesCE OS1.13 or greater

P39168-P39423

32-Bit float

REAL

BBRAM

P39168-39231 saved in User RAM

Available in ACR9000 OS 1.24 and greater. AriesCE OS1.13 or greater

BIT128-255

Bit

BOOL

No

No

Also accessible as P4100-P4103

BIT1920-2047

Bit

BOOL

No

No

Also accessible as P4156-P4159

 

User Variables-HMI

  • Tag addressing for variables follow the basic pattern of Channel.Device. Pxxxx for parameters and Channel.Device. BITxxxx

  • When creating the tag Data Type can be left as Default. The driver will assign the correct type automatically

  • 64-bit floats (P0-P4095) will be sent to and from the HMI as 32-bit floats which can result in a loss of precision in some cases.

User Variables-ComAcrServer

  • The ComACRServer library supports controller communications to PC applications in VB, C++, .Net and Labview.

  • Methods included in the ComACRServer allow for reading and writing of parameters individually or in blocks:

  • SetFlag,SetParmFloat,SetParmLong,SetParmLongMask,GetACRCustom,GetACRGroup,GetACRMemory,GetParmAddr