Configure the macro instruction – Rockwell Automation DeviceLogix System User Manual User Manual

Page 146

Advertising
background image

146

Publication RA-UM003B-EN-P - February 2010

Chapter 7 Create Logic in the New Ladder Editor

The first three items - logic, ladder layout, and Tag Database
information - are required for download to the device. If the device
memory cannot store these items, then an error message will appear
during logic verification, indicating that the download cannot be
completed. The last two items - comments and Properties page
content - are optional for download to the device. If the device
memory cannot store these items, then you can opt not to download
them.

Choose Tools > Screen Format to open the Screen Format
Download Option dialog box, where you can indicate which items
you want to include in the download. After you complete the logic
verification, this dialog box shows the percentage of total screen
format memory that is used by each item; if the device does not have
enough memory to store all of the items, use this information to help
you determine which items to download.

Configure the Macro
Instruction

Beginning with DeviceLogix revision 4, certain devices support the
Macro instruction, which defines a set of logic routines. Once defined,
the Macro instruction behaves like other instructions in logic.

A Macro definition contains an instruction and may reference any
output inside this logic and wiring. It does not contain any product
scope I/O. The name of a Macro definition cannot duplicate any
existing DeviceLogix instruction name or another existing Macro
definition name.

The maximum number of Macro definitions permitted is defined in
the DeviceLogix capability information, which is included in the EDS
files.

Advertising