beautypg.com

Trusted – Rockwell Automation T80011 Application Note Application Variable Limit Check User Manual

Page 3

background image

Trusted

TM

AN-T80011 Application Variable Limit Check

Issue 1 Dec 07

AN-T80011

3

In the example below, all variables addressed from 0X0000 onwards will overwrite other data.

#define _SCC_TMA0252CF 0XFFFB

#define _SCC_TMA0252D0 0XFFFC

#define _SCC_TMA0252D1 0XFFFD

#define _SCC_TMA0252D2 0XFFFE

#define _SCC_TMA0252D3 0XFFFF

#define _SCC_TMA0252D4 0X0000

#define _SCC_TMA0252D5 0X0001

#define _SCC_TMA0252D6 0X0002

#define _SCC_TMA0252D7 0X0003

#define _SCC_TMA0252D8 0X0004

If an address overrun is discovered, follow the advice given in Technical Alert TA20004.

If the application has not exceeded the limit, a guide to the size of the largest list can be obtained by
finding the end of the Booleans list. Searching for ‘Analogs’ will find the beginning of the next list.
Check the address of the last variable in the list; in this example it is 887A, which is a little over half
way to FFFF.