Publication 1756-UM001A-EN-P - September 2000
Estimate Memory Use
C-3
Examples:
Ladder Instructions
The following table shows the memory use of the ladder instructions.
For those instructions that use an expression (CMP, CPT, FAL, FSC),
add memory for each operation within the expression. For each
operation, use the value for the corresponding instruction.
Example:
Instruction:
Data Type:
Memory (bytes):
ADD
REAL
44 bytes for the ADD instruction
Source A
DINT
52 bytes for DINT to REAL conversion
by sign-extension
Source B
REAL
Destination
REAL
96 bytes total
MUL
REAL
44 bytes for MUL instruction
Source A
REAL
Source B
DINT
52 bytes for DINT to REAL conversion
by sign-extension
Destination
DINT
48 bytes for REAL to DINT conversion
by sign-extension
144 bytes total
Instruction:
Data Type:
Memory:
CMP (
tag_a * tag_b / 100)
76 bytes overhead
* (MUL)
REAL
44 bytes for the MUL operation
/ (DIV)
REAL
44 bytes for the DIV operation
164 bytes total
Table C.3 Memory Size of Ladder Instructions
Mnemonic: Title:
Memory for DINT
(bytes):
Memory for REAL
(bytes):
ABL
ASCII Test For Buffer Line
44
ABS
Absolute Value
32
56
ACB
ASCII Chars in Buffer
44
ACL
ASCII Clear Buffer
56
ACS
Arc Cosine
140
48
ADD
Add
28
44
Содержание 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 ...