Publication 1756-UM001E-EN-P - August 2002
Communicate with Another Controller over a ControlNet
™
Network
11-13
The following examples show how to use a buffer of INTs
EXAMPLE
Read integers from a PLC-5 controller
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 a PLC-5 controller
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
other controller.
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
Содержание controllogix 1756-L63
Страница 1: ...ControlLogix System 1756 L1 L1Mx L55Mxx L63 User Manual Allen Bradley HMIs...
Страница 4: ...Publication 1756 UM001E EN P August 2002 Summary of Changes 2 Notes...
Страница 16: ...Publication 1756 UM001E EN P August 2002 Table of Contents x...
Страница 46: ...Publication 1756 UM001E EN P August 2002 2 4 Download and Go Online over an EtherNet IP Network Notes...
Страница 116: ...Publication 1756 UM001E EN P August 2002 6 16 Communicate with a PanelView Terminal Over a EtherNet IP Network Notes...
Страница 156: ...Publication 1756 UM001E EN P August 2002 8 16 Communicate with 1756 I O over a ControlNet Network Notes...
Страница 184: ...Publication 1756 UM001E EN P August 2002 9 28 Communicate with 1771 I O Over a ControlNet Network Notes...
Страница 200: ...Publication 1756 UM001E EN P August 2002 10 16 Communicate with 1794 I O Over a ControlNet Network Notes...
Страница 218: ...Publication 1756 UM001E EN P August 2002 11 18 Communicate with Another Controller over a ControlNet Network Notes...
Страница 222: ...Publication 1756 UM001E EN P August 2002 12 4 Route PLC 5 Messages Between ControlNet Networks Notes...
Страница 268: ...Publication 1756 UM001E EN P August 2002 15 4 Monitor Connections Notes...
Страница 276: ...Publication 1756 UM001E EN P August 2002 16 8 Communicate with a DeviceNet Device Notes...
Страница 306: ...Publication 1756 UM001E EN P August 2002 18 8 Route PLC 5 or SLC 500 Messages From a DH Network Notes...
Страница 368: ...Publication 1756 UM001E EN P August 2002 22 18 Configure DF1 Master and Slave Communications Notes...
Страница 402: ...Publication 1756 UM001E EN P August 2002 24 22 Program Motion Control Notes...
Страница 408: ...Publication 1756 UM001E EN P August 2002 25 6 Maintain the 1756 BA1 Battery Notes...
Страница 418: ...Publication 1756 UM001E EN P August 2002 B 2 Estimate Execution Time...
Страница 420: ...Publication 1756 UM001E EN P August 2002 C 2 Estimate Memory Use...
Страница 422: ...Publication 1756 UM001E EN P August 2002 D 2 Determine When Data Is Updated Notes...
Страница 424: ...Publication 1756 UM001E EN P August 2002 E 2 Reconfigure an I O module Notes...
Страница 428: ...Publication 1756 UM001E EN P August 2002 4 Index...
Страница 429: ...Publication 1756 UM001E EN P August 2002 Index 5 Allen Bradley HMIs...
Страница 430: ...Publication 1756 UM001E EN P August 2002 6 Index...
Страница 435: ...ControlLogix System User Manual Allen Bradley HMIs...