Datalink programming, Explicit messaging – Rockwell Automation 20D PowerFlex 700S with Phase I Control Reference Manual User Manual

Page 32

Advertising
background image

32

Rockwell Automation Publication PFLEX-RM002D-EN-E - August 2013

Chapter 1

Detail Drive Configuration and Operation

Datalink Programming

In the ControlLogix system, Datalinks are transmitted over ControlNet as 32 bit
integers (DINT). In order to send or receive floating point a COP (copy)
instruction must be utilized. The copy instruction in ControlLogix performs a
bitwise copy. Set the length of the copy instruction to a value appropriate for the
destination data type. For example, when copying a DINT data type to a REAL
data type, the length would be one since both data types contain 32 bits of data.

Figure 5

is for all Datalinks selected.

Figure 5 - All Datalinks Selected

Explicit Messaging

When using explicit messaging in the ControlLogix system, the message type
CIP Generic is used. The data is transferred over ControlNet in the same data
type as the parameter in the PowerFlex 700S. Make sure the data type for the
Source and Destination tags in your ControlLogix message instruction matches
the data type in the PowerFlex 700S. Also, the Number of Elements in the
ControlLogix message instruction must match the size of the Source data.

For example, to send an explicit message to write to parameter 12 [Speed Ref 2],
which is a floating point:

1.

The Source and Destination tags should be of type REAL.

2.

The Number of Elements should be 4 bytes since a REAL data type takes
up 4 bytes of data.

COP

Copy data from ControlLogix Processor to 20-COMM-C for 700S Data Links

Copy File
Source

PF700_Float_Data[10]

Dest

PowerFlex700S_02:O.Data[2]

Length

8

COP

Copy File
Source

PowerFlex700S_02:I.Data[3]

Dest

PF700_Float_Data[0]

Length

8

Copy data from 20-COMM-C to Floating Point data file.

Parameter 723 must be set to real data links on the 700S

Advertising