Publication 1756-UM001A-EN-P - September 2000
Communicate with an RSView32
™
Project over an Ethernet
™
Network
3-13
The following examples show how to use a buffer of INTs
EXAMPLE
Read integers from an RSView32 project
When
condition
turns on, reads 16-bit integer values (INTs) and stores them in
int_buffer
. Then the FAL instruction moves the values to
dint_array
. This converts the
values to 32-bit integers (DINTs), for use by other instructions in the ControlLogix
controller.
EXAMPLE
Write integers to an RSView32 project
When
condition
turns on, moves the values in
dint_array
to
int_buffer
. This converts the
values to 16-bit integers (INTs). Then the message instruction sends
int_buffer
to the
RSView32 project.
condition
/
message.EN
EN
DN
ER
Type - Unconfigured
Message Control
message ...
MSG
message.DN
RES
fal_control
EN
DN
ER
File Arith/Logical
Control
fal_control
Length
?
Position
0
Mode
all
Dest
dint_array[fal_control.pos]
Expression
int_buffer[fal_control.pos]
FAL
e
condition
RES
fal_control
EN
DN
ER
File Arith/Logical
Control
fal_control
Length
?
Position
0
Mode
all
Dest
int_buffer[fal_control.pos]
Expression
dint_array[fal_control.pos]
FAL
fal_control.DN
/
message.EN
EN
DN
ER
Type - Unconfigured
Message Control
message ...
MSG
42424
Where:
Is an:
dint_array
array of DINTs that are used in the ControlLogix controller
int_buffer
array of INTs with the same number of elements as
dint_array
Содержание 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 ...