Setting the i/o configuration – Rockwell Automation 20-COMM-ER 20-COMM-ER Dual-Port EtherNet/IP Communication Adapter User Manual User Manual

Page 35

Advertising
background image

Rockwell Automation Publication 20COMM-UM015B-EN-P - July 2013

35

Configuring the Adapter Chapter 3

Setting the I/O

Configuration

The I/O configuration determines the data that is sent to and from the drive.
Logic Command/Status, Reference/Feedback, and Datalinks may be enabled or
disabled. (Datalinks allow you to read/write directly to parameters in the drive
using implicit I/O.) A ‘1’ enables the I/O and a ‘0’ disables the I/O.

1.

Set the bits in Parameter 25 - [DPI I/O Cfg].

Bit 0 is the right-most bit. It is highlighted above and equals ‘1’.

2.

If a controller is used to control the drive, set adapter Parameters 37 - [M-
S Input]

and 38 - [M-S Output] for Master-Slave Hierarchy.

For details, see

Setting a Master-Slave Hierarchy (Scanner-to-Drive

Communication) on page 36

.

3.

If Logic Command/Reference is enabled, configure the parameters in the
drive to accept the Logic Command and Reference from the adapter.

For example, set Parameter 90 - [Speed Ref A Sel] in a PowerFlex 70 or
700 drive to ‘22’ (DPI Port 5) so that the drive uses the Reference from
the adapter. Also, verify that the mask parameters (for example,
Parameter 276 - [Logic Mask]) in the drive are configured to receive the
desired logic from the adapter. See the documentation for your drive for
details.

The the SMC devices do not currently use the reference data sent in the
IO frame. No reference configuration is required. Refer to the
applicable SMC user manual for the latest reference configuration
information.

4.

If you enabled one or more Datalinks, configure parameters in the drive to
determine the source and destination of data in the Datalink(s).

When using Datalinks, up to 8 [Data In xx] parameters and/or up to 8
[Data Out xx] parameters must be assigned to point to the appropriate
parameters for your application. See

Chapter 4

for an example.

5.

Reset the adapter; see

Resetting the Adapter on page 43

.

The adapter is ready to receive I/O. You must now configure the adapter to
receive I/O from a master or peer device. See

Selecting Master-Slave or Peer-to-

Peer

. If you select a Master-Slave hierarchy, you must also configure the master to

communicate with the adapter. See

Chapter 4

,

Configuring the I/O

.

Bit

Description

0

Logic Command/Reference (Default)

1

Datalink A

2

Datalink B

3

Datalink C

4

Datalink D

5…15 Not Used

Port 5 Device
20-COMM-ER
Parameter #: 25

DPI I/O Cfg

x x x x x x x x x x x 0 0 0 0

1

Cmd/Ref

b00

Advertising