Function of the example program – Rockwell Automation 25-COMM-E2P PowerFlex 25-COMM-E2P Dual-Port EtherNet/IP Adapter User Manual
Page 102

102
Rockwell Automation Publication 520COM-UM003A-EN-E - June 2013
Chapter 7
Using Multi-Drive Mode
Multi-Drive Ladder Logic
Program for Generic Profile
The following is an example of the ladder logic program for the Generic Profile
and demonstrates using Multi-drive mode with five drives. See
Mode Example for Network on page 88
for an example of a system layout
diagram. If you have not set-up your drive using the Generic Profile, see
RSLogix 5000 or Logix Designer Generic Profile on page 56
for instructions.
Multi-Drive Example of I/O Image on page 90
for the number of 16-bit
input and output words to use for your application. In this example, the number
of input words is 12 and the number of output words is 10.
Function of the Example Program
The example program provided is for the CompactLogix family of controllers,
but other Logix-based controllers can also be used similarly. This example
program enables you to:
•
View status information from the drives such as Ready, Fault, At Speed,
and Feedback.
•
Control the drives using various Logic Command bits (Stop, Start, etc.)
and Reference.
•
Perform a single parameter read and write for each drive. The example uses
PowerFlex 4M drive parameter P109 [Accel Time 1] for both so you can
see (read) the change after a write is performed.
The same programming approach can be used with the tags generated by the
Multi-drive Add-On Profile. Note that the tags used in this example will be
different from those created by the Multi-drive Add-On Profile.
Drive 0 (PowerFlex 525) Settings for the Example Program
•
Parameter C169 [MultiDrv Sel] is set to 1“Network Opt”.
•
The following parameters are set:
Parameter
Value
Description
P046 [Start Source1]
4
“Network Opt”
P047 [Speed Reference1]
4
“Network Opt”
C175 [DSI I/O Cfg]
4
“Drive 0-4” (5 drives on 1 node)
C171 [Drv 1 Addr]
(1)
(1) The settings for these parameters must match the node address settings in the respective daisy-chained drives.
1
Modbus address of Drive 1
C172 [Drv 2 Addr]
2
Modbus address of Drive 2
C173 [Drv 3 Addr]
3
Modbus address of Drive 3
C174 [Drv 4 Addr]
4
Modbus address of Drive 4