Publication 1756-UM001E-EN-P - August 2002
Communicate Over a Remote I/O Network
20-13
Write Configuration or Output Data To a Block Transfer Module
1.
Enter the following rung:
2.
Enter the following rung:
The application writes configuration and output data to
dints_output
, which is an array of DINTs. Before the controller sends the data
to the module, the FAL instruction moves the values to
int_buffer_write
. This converts them to 16-bit integers (INTs). (Only include the
msg_read.EN
tag and associated instruction if you also send a block transfer read message to the same module.)
42463
Tag Name:
Description:
Data Type:
Scope:
msg_read
block transfer read message to the same
module
MESSAGE
name_of_controller
(controller)
msg_write
block transfer write message
MESSAGE
name_of_controller
(controller)
dints_to_ints
converts the 32-bit integers from the Logix5000
controller to 16-bit integers for the BT module
CONTROL
name_of_controller
(controller)
FAL Length
number of elements to convert
immediate value equal to
length
int_buffer_write
array that stores the data to send to the BT
module as 16-bit integers
INT [
length
]
name_of_controller
(controller)
dints_output
array that stores the output data that other
instructions produce for the module
DINT [
length
]
name_of_controller
(controller)
/
msg_read.EN
/
msg_write.EN
RES
dints_to_ints
EN
DN
ER
File Arith/Logical
Control
dints_to_ints
Length
Position
0
Mode
ALL
Dest
int_buffer_write[dints_to_ints.POS]
Expression
dints_output[dints_to_ints.POS]
FAL
Where:
Is the:
length
number of elements to transfer
After the FAL instruction converts the DINTs to INTs, the MSG instruction sends the data in
int_buffer_write
to the module.
42463
dints_to_ints.DN
EN
DN
ER
Type - Block Transfer Write
Message Control
msg_write ...
MSG
Summary of Contents for controllogix 1756-L63
Page 1: ...ControlLogix System 1756 L1 L1Mx L55Mxx L63 User Manual Allen Bradley HMIs...
Page 4: ...Publication 1756 UM001E EN P August 2002 Summary of Changes 2 Notes...
Page 16: ...Publication 1756 UM001E EN P August 2002 Table of Contents x...
Page 268: ...Publication 1756 UM001E EN P August 2002 15 4 Monitor Connections Notes...
Page 276: ...Publication 1756 UM001E EN P August 2002 16 8 Communicate with a DeviceNet Device Notes...
Page 402: ...Publication 1756 UM001E EN P August 2002 24 22 Program Motion Control Notes...
Page 408: ...Publication 1756 UM001E EN P August 2002 25 6 Maintain the 1756 BA1 Battery Notes...
Page 418: ...Publication 1756 UM001E EN P August 2002 B 2 Estimate Execution Time...
Page 420: ...Publication 1756 UM001E EN P August 2002 C 2 Estimate Memory Use...
Page 422: ...Publication 1756 UM001E EN P August 2002 D 2 Determine When Data Is Updated Notes...
Page 424: ...Publication 1756 UM001E EN P August 2002 E 2 Reconfigure an I O module Notes...
Page 428: ...Publication 1756 UM001E EN P August 2002 4 Index...
Page 429: ...Publication 1756 UM001E EN P August 2002 Index 5 Allen Bradley HMIs...
Page 430: ...Publication 1756 UM001E EN P August 2002 6 Index...
Page 435: ...ControlLogix System User Manual Allen Bradley HMIs...