Here a example. I left only drive comm logic, I put a lot of comment for describe how program work. For be able to control drive thru logic command word, parameter #36 must be set at 5-comm. Same for speed ref, parameter #38 must be set to comm for be able to control speed ref thru comm. 22COM-E manual is good start :
http://literature.rockwellautomation.com/i...um004_-en-p.pdfUse one 22COMM-E per drive is easy to program and comm is faster but more expensive. In multidrive mode 22COMM-E can control up to five drive, a good way to reduce cost. In multidrive mode, drive are connected together in DSI modus protocol as powerflex manual describe. One of these drive have ethernet adapter 22COMM-E. All comm use the same adapter so comm is slower (depend how drive is connected) see page 7-2 in 22COMM-E manual.
In the controller, I created a user-Define Data type name Powerflex40. I use it for put all data I need for control drive, you can add you own tag.
I configure the drive and adapter thru ethernet with drive executive lite, (created RSLink ethernet device driver). Drive explorer lite cannot communicate on ethernet. Like I say in previous post, don't forget to configure drive in single drive mode before turn the DIP sw in multidrive...I lost many hour to found how to configure drive! Really easy to do, all parameter of 22COMM-E is listed as a drive in drive executive software.
In multidrive mode, you must use ethernet module CIP-Generic. Chapter 4 explain in detail how to configure ethernet adapter.
If you change controller, you must reenter path in communication tab in all msg box.
The project work, I test it. Rockwell don't recommend to write parameter in Eeprom too ofter, can cause dammage to Eeprom when reach maximum write cycle.Put 1 in paramter 207 Comm write mode in RAM instead save. This warning is not for Speed reference and logic command write.
Wish help a bit, don't hesitate if you have any question.