Figure 6.31 – Rockwell Automation 20-COMM-E PowerFlex EtherNet/IP Adapter User Manual

Page 153

Advertising
background image

Using Explicit Messaging

6-27

20-COMM-E EtherNet/IP Adapter User Manual

Publication 20COMM-UM010G-EN-P

PLC-5 Controller – Formatting a Message to Write a Single Parameter

Figure 6.31 Write Single Message Configuration Screens

The following table identifies the data that is required in each box to
configure a message to write a single parameter.

General Tab

Example Value

Description

Communication Command

Data Table Address

Size in Elements

Port Number

Data Table Address

MultiHop

PLC-5 Typed Write

N50:0

2

(1)

2

N151:30

(2)

Yes

Controller type and command type for controller to write data to the drive.

An unused controller data table address containing the message instruction. This

address is the starting word of the source file.

Number of elements (words) to be transferred. Each element size is a 16-bit integer.

Controller port to which the network is connected.

Specific starting address of the destination file in the drive.

Enables communication to allow network messaging to be routed to the drive.

MultiHop Tab

Example Value

Description

To Address

10.91.100.79

IP address of the adapter connected to the drive.

(1)

In this example, Accel Time 1 is a 16-bit integer parameter. Because the N151 file used for the data transfer occupies two contiguous 16-bit words, the Size

in Elements must always be set to 2 regardless of whether the parameter being written to is a 16-bit integer or a 32-bit integer.

(2)

See

page C-11

for N-file addressing. Below are some examples of how to address N-files:

N-File Address

Data Type

Description

Notes

N151:30

16-bit integer

Parameter 140 of PowerFlex 70 drive

Example ladder logic

rungs are shown in

Figure 6.33

for these three

different data types.

N150:50

32-bit REAL

Parameter 25 of PowerFlex 750-Series drive

N155:200

32-bit integer

Parameter 725 of PowerFlex 750-Series drive

N209:156

32-bit REAL

Port 5: Parameter 78 of 24V I/O module in

PowerFlex 750-Series drive

N201:14

16-bit integer

Port 1: Parameter 7 of 20-HIM-A6 HIM in

PowerFlex 750-Series drive

Advertising