Publication 1756-UM523F-EN-P - December 2006
Configure and Program the Controller
81
8. Group your data by how often you need it. To update the secondary controller, the primary controller divides its memory into blocks of
256 bytes. Anytime an instruction writes a value, the primary controller crossloads the
entire block that contained the value. For example, if your logic writes only 1 BOOL value
to a block, the controller crossloads the entire block (256 bytes).
To minimize crossload time, group your data by how often you need it.
Suppose that you have some DINTs that you use only as constants to initialize your logic.
You have some BOOLs that you update every scan. And you have some REALs that you
update every second.
9. Use DINT tags instead of SINT or INT
tags
To keep your logic as efficient as possible, use the DINT data type instead of the SINT or
INT data types.
A ControlLogix controller usually works with 32-bit values (DINTs or REALs). If you use a
SINT or INT value:
•
the controller usually changes a SINT or INT value to a DINT or REAL value before it
uses the value.
•
if the destination is a SINT or INT tag, the controller usually changes the value back to
a SINT or INT value.
•
you do not have to program the controller to change values to or from SINTs or INTs.
The controller does it automatically. But it takes extra execution time and memory.
Action
Details
This is better
One user-defined data type for the DINTs.
The controller crossloads these 12 bytes
only once.
One user-defined data type for the
BOOLs. The controller crossloads these
4 bytes every scan.
One user-defined data type for the REALs.
The controller crossloads these 12 bytes
every second.
Than this
One user-defined data type for all the
data. The controller crossloads these
28 bytes every scan.
Содержание 1756-CNB/E
Страница 4: ...Publication 1756 UM523F EN P December 2006 Summary of Changes 4 Notes...
Страница 10: ...Publication 1756 UM523F EN P December 2006 10 Table of Contents...
Страница 26: ...Publication 1756 UM523F EN P December 2006 26 ControlLogix Redundancy System Overview Notes...
Страница 42: ...Publication 1756 UM523F EN P December 2006 42 Design the System Notes...
Страница 64: ...Publication 1756 UM523F EN P December 2006 64 Configure the System Redundancy Module Notes...
Страница 102: ...Publication 1756 UM523F EN P December 2006 102 Configure and Program the Controller Notes...
Страница 146: ...Publication 1756 UM523F EN P December 2006 146 Update Modules and Redundant Systems Notes...
Страница 162: ...Publication 1756 UM523F EN P December 2006 162 Set Up EtherNet IP Communication Across Subnets Notes...
Страница 168: ...Publication 1756 UM523F EN P December 2006 168 Convert an Existing System to Redundancy Notes...
Страница 178: ...Publication 1756 UM523F EN P December 2006 178 Redundant System Restrictions Notes...
Страница 185: ......