Plc-5 example, Formatting a message to read a parameter, Plc-5 example -6 – Rockwell Automation 22-COMM-C ControlNet Adapter User Manual

Page 66

Advertising
background image

6-6

Using Explicit Messaging

Important: Due to controller limitations, explicit messaging can only

be performed on drive parameters up to Parameter 256.

The ControlNet I/O Transfer (CIO) instruction is used for PLC-5
controllers to send explicit messages.

Formatting a Message to Read a Parameter

This read message example is for parameter d003 - [Output Current] for
a PowerFlex 4-Class drive.

For supported classes, instances, and attributes, refer to

Appendix C

,

ControlNet Objects

.

PLC-5 Example

Configuration Box

Example Value Description

Communication

Command

Service Code
Class Number
Instance Number

Attribute Number
PLC-5 Data Table

Address

Size in Elements
Port Number
Local ControlNet Node

CIP Generic

e (Hex.)
f (Hex.)
3 (Hex.)

1 (Hex.)
N7:2

1
2
2

CIP messages are used to access the Parameter object in

the 22-COMM-C.

The code for the Get_Attribute_Single service.
The Class ID for the CIP Parameter object.
The instance number is the same as the parameter number

in Single mode operation.

The attribute number for the Parameter Value attribute.
The user-defined address for any response service data

received by the controller.

The number of elements in the response data.
The channel on the PLC-5 used for the ControlNet network.
The node address of the 22-COMM-C adapter.

Advertising