Send a msg instruction – Rockwell Automation 1789-L10_L30_L60 SoftLogix 5800 System User Manual User Manual

Page 225

Advertising
background image

Rockwell Automation Publication 1789-UM002J-EN-P - December 2012

225

Communicate with Devices on a ControlNet Network

Appendix B

Send a MSG Instruction

You configure an MSG instruction to a ControlLogix and FlexLogix controller
the same as you do for a SoftLogix controller. All Logix-based controllers follow
the same MSG configuration requirements. Configuring an MSG instruction for
a PLC-5 controller depends on the originating controller.

For MSG instructions originating from the SoftLogix controller to the PLC-5
controller for the ControlNet network, follow these guidelines.

The PLC-5 controller supports logical ASCII addressing. Place the SoftLogix
tag name in double quotes (“).

Type of Logix MSG Instruction

Source

Destination

PLC-5 Typed Read

Any integer element (such as B3:0, T4:0.ACC, C5:0.ACC,
N7:0, and so forth)

SINT, INT, or DINT tag

Any floating point element (such as F8:0, PD10:0.SP, and
so forth)

REAL tag

PLC-5 Typed Write

SINT or INT tag

Any integer element (such as B3:0, T4:0.ACC, C5:0.ACC,
N7:0, and so forth)

REAL tag

Any floating point element (such as F8:0, PD10:0.SP, and
so forth)

PLC-5 Word Range Read

Any data type (such as B3:0, T4:0, C5:0, R6:0, N7:0, F8:0,
and so forth)

SINT, INT, DINT, or REAL

PLC-5 Word Range Write

SINT, INT, DINT, or REAL

Any data type (such as B3:0, T4:0, C5:0, R6:0, N7:0, F8:0,
and so forth)

Type of PLC-5 MSG Instruction

Source

Destination

PLC-5 Typed Write to SoftLogix

Source element

N7:10

Destination tag

’array_1’

PLC-5 Typed Read from SoftLogix

Source tag

’array_1’

Destination element

N7:10

TIP

You can also do PLC-5 Typed Read and Writes messages to a Logix controller
without using logical ASCII addressing by creating a PLC-5 compatibility file in
the Logix controller for MSG instructions initiated by a PLC-5 controller.

Advertising