Rockwell Automation Logix5000 Controllers Messages Programming Manual User Manual
Page 17

Controller messages Chapter 1
Write 16-bit integers
DINTs from the project
Buffer of INTs
Data for the
device
DINT_Array[0]
INT_Buffer[0]
Word 1
DINT_Array[1]
INT_Buffer[1]
Word 2
DINT_Array[2]
INT_Buffer[2]
Word 3
Description
An FAL instruction converts the DINTs from the Logix5000 controller to INTs.
The MSG instruction writes the INTs from the temporary array to the device.
Example: Read integer values from a PLC-5 controller
If Condition_1 = 1
and Msg_1.EN = 0 (MSG instruction is not enabled)
then read 3 integers from the PLC-5 controller and store them in INT_Buffer (3 INTs).
If Msg_1.DN =1 (MSG instruction has read the data)
then reset the FAL instruction.
The FAL instruction sets DINT_Array = INT_Buffer. This converts the values to 32-bit integers (DINTs).
Rockwell Automation Publication 1756-PM012F-EN-P - October 2014
17