Allen-Bradley ControlLogix System 1756-L1 User Manual page 328

Hide thumbs Also See for ControlLogix System 1756-L1:
Table of Contents

Advertisement

20-12
Communicate Over a Remote I/O Network
When msg_read is done, the FAL instruction moves the values in int_buffer_read to dints_input. This converts the values to 32-bit
integers (DINTs), for use by other instructions in the controller.
msg_read.DN
Tag Name:
Description:
int_buffer_read
array that stores the data from the BT module
ints_to_dints
converts the 16-bit integers from the BT module
to 32-bit integers for the Logix5000 controller
FAL Length
number of elements to convert
dint_inputs
array that stores the input data from the module
for use by the controller
Publication 1756-UM001E-EN-P - August 2002
2. Enter the following rung:
ints_to_dints
RES
File Arith/Logical
Control
Length
Position
Mode
Dest
Expression
Where:
length
FAL
dints_input[ints_to_dints.POS]
int_buffer_read[ints_to_dints.POS]
Data Type:
INT [length ]
CONTROL
immediate value equal to
length
DINT [length ]
Is the:
number of elements to transfer
EN
ints_to_dints
DN
0
ALL
ER
42463
Scope:
name_of_controller
(controller)
name_of_controller
(controller)
name_of_controller
(controller)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents