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

Page 160

Advertising
background image

6-34

Using Explicit Messaging

20-COMM-E EtherNet/IP Adapter User Manual

Publication 20COMM-UM010G-EN-P

SLC 500 Controller – Formatting a Message to Write a Single Parameter Using
Read/Write Parameter Service

Figure 6.39 Write Parameter 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

Size in Words

Data Table Address

Service

(1)

Instance

(2)

1

(3)

N50:0

Write Parameter

140 (Dec.)

Number of words to be transferred. Each word size is a 16-bit integer.

An unused controller data table address containing the message

instruction. This address is the starting word of the source file.

Code for the requested service.

Instance number is the same as the parameter number.

MultiHop Tab

Example Value

Description

To Address

10.91.100.79

IP address of the adapter connected to the drive.

(1)

The default setting for Service is ‘Custom’, enabling entry of a Service Code not available from the Service pull-down menu.

When choosing a Service other than ‘Custom’ from the pull-down menu, an appropriate Hex. value is automatically assigned to

the Service Code box which is dimmed (unavailable).

(2)

Only drive parameters (Port 0) can be written to using Parameter Object Class code 0x0F. To write to a parameter of a peripheral

in another port, use DPI Parameter Object Class code 0x93 (see

page 6-39

).

(3)

In this example, Accel Time 1 is a 16-bit integer parameter requiring the Size in Words field to be set to ‘1’. If the parameter being

written to is a 32-bit integer, the Size in Words must be set to ‘2’. When using a PowerFlex 700S or PowerFlex 750-Series drive,

Accel Time 1 is a floating point number requiring the Size in Words to be set to ‘2’. See the drive documentation to determine the

size of the parameter and its data type (16-bit or 32-bit integer or REAL).

Advertising