Publication 1756-UM001A-EN-P - September 2000
C-12
Estimate Memory Use
•
The worst-case scenario occurs when you have multiple
references to non-DINT, multidimensional arrays with non-DINT
indexes into those arrays.
For example:
•
You can optimize this instruction by making both arrays DINT
type with DINT tag indexes. For example:
TagC
INT
TagD
SINT
TagE
INT
TableD
SINT[2,4,6]
TableE
INT[2,4,6]
Example:
Additional Memory Used:
MOV instruction
Source
Destination
TableD[TagC, TagD, TagE]
TableE[TagC, tagD, TagE]
24 bytes for MOV instruction
60 bytes for INT to DINT conversion (TagC)
48 bytes for SINT to DINT conversion (TagD)
60 bytes for INT to DINT conversion (TagE)
152 bytes for DINT tag index (TableD)
60 bytes for INT to DINT conversion (TagC)
48 bytes for SINT to DINT conversion (TagD)
60 bytes for INT to DINT conversion (TagE)
152 bytes for DINT tag index (TableE)
92 bytes for SINT to INT conversion (TableD to TableE)
756 bytes total
TagA
DINT
TagB
DINT
TagF
DINT
TableB
DINT[2,4,6]
TableF
DINT[2,4,6]
Example:
Additional Memory Used:
MOV instruction
Source
Destination
TableB[TagA, TagB, TagF]
TableF[TagA, TagB, TagF}
24 bytes for MOV instruction
152 bytes for DINT tag index (TableB)
152 bytes for DINT tag index (TableE)
328 bytes total
Содержание Allen-Bradley ControlLogix 1756-L Series
Страница 1: ...ControlLogix System 1756 Lx User Manual ...
Страница 10: ...Publication 1756 UM001A EN P September 2000 Table of Contents vi ...
Страница 64: ...Publication 1756 UM001A EN P September 2000 4 16 Communicate with 1756 I O Notes ...
Страница 90: ...Publication 1756 UM001A EN P September 2000 6 16 Communicate with 1794 I O Over a ControlNet Network Notes ...
Страница 108: ...Publication 1756 UM001A EN P September 2000 7 18 Communicate with Another Controller over a ControlNet Network Notes ...
Страница 112: ...Publication 1756 UM001A EN P September 2000 8 4 Route PLC 5 Messages Between ControlNet Networks Notes ...
Страница 119: ...Publication 1756 UM001A EN P September 2000 Communicate with a PanelView Terminal Over a ControlNet Network 9 7 ...
Страница 152: ...Publication 1756 UM001A EN P September 2000 11 4 Monitor Connections Notes ...
Страница 160: ...Publication 1756 UM001A EN P September 2000 12 8 Communicate with a DeviceNet Device Notes ...
Страница 188: ...Publication 1756 UM001A EN P September 2000 14 8 Route PLC 5 or SLC 500 Messages From a DH Network Notes ...
Страница 204: ...Publication 1756 UM001A EN P September 2000 15 16 Communicate Over a Remote I O Network Notes ...
Страница 232: ...Publication 1756 UM001A EN P September 2000 18 18 Configure DF1 Master and Slave Communications Notes ...
Страница 266: ...Publication 1756 UM001A EN P September 2000 21 10 Maintain the Battery Notes ...
Страница 286: ...Publication 1756 UM001A EN P September 2000 B 18 Estimate Execution Time Notes ...
Страница 300: ...Publication 1756 UM001A EN P September 2000 C 14 Estimate Memory Use Notes ...
Страница 305: ......
Страница 307: ...ControlLogix System User Manual ...