Home
PowerFlex 22-COMM-P Profibus Adapter User Manual
Contents
1. Par Prot Station 2 Messaging RESPONSE Station 2 Request PCA Word PCA Word B3 19 EQU MOV Equal Move 0 Source A N10 8 Source N7 31 0 lt 77 lt Source B 0 Dest 0 lt PCA Word RCbit 0 RC bit 0 N7 30 N20 8 J F a 0 12 PCA Word RCbit 1 N20 8 JE a 1 13 PCA Word RC bit 2 RCbit 2 N7 30 N20 8 J E a 2 14 IND Word Subindex COP Copy File Source N7 32 Dest N20 9 Length 3 D 8 SLC Ladder Logic Examples 12 13 Figure D 3 Drive 1 Control Reference Parameter Access Routine continued N10 8 is the Station 2 Response Parameter Access Word 1 It is lt gt 0 when a message has been received in response to a message request If the response is gt 7000 hex 28672 decimal then the adapter is responding that an error has occured In this case the returned data in the response will contain a fault code and not the parameter value data The response message can be found at N7 40 PCA Word contains RC and PNU N7 41 Subindex the DPI port 0 Host or PowerFlex drive 5 22 COMM P etc N7 42 PVA 1 the parameter value high word N7 43 PVA 2 the parameter value low word The PVA s will either contain parameter read data echo the parameter write data or contain an error code if unsuccessful Station 2 Par Prot Station 2 Messaging RESPONSE RESPONSE Message Request PCA Word PCA Word B3 19 NEQ COP tJ Not Equal Copy File 0 Source A N10 8 Source N10 8 0 lt De
2. 0 0 esai aapa eee eee C 2 SLC Ladder Logic Examples Single Drive Example 0 00 000000 D 2 Multi Drive Example 0 00 00 0000 000 D 9 About This Manual Topic Page Related Documentation P 1 Conventions Used in this Manual P 2 Rockwell Automation Support P 2 Related Documentation Preface For See Publication DriveExplorer http www ab com drives driveexplorer and DriveExplorer online help DriveTools SP includes http www ab com drives drivetools and DriveExecutive DriveExecutive online help PowerFlex 4 Class HIM PowerFlex 4 Class HIM Quick Reference 22HIM QR001 22 HIM xx PowerFlex 4 Drive PowerFlex 4 User Manual 22A UM001 PowerFlex 4 Quick Start 22A QS001 PowerFlex 40 Drive PowerFlex 40 User Manual 22B UM001 PowerFlex 40 Quick Start 22B QS001 PowerFlex 40P Drive PowerFlex 40P User Manual 22D UM001 PowerFlex 40P Quick Start 22D QS001 PowerFlex 400 Drive PowerFlex 400 User Manual 22C UM001 PowerFlex 400 Quick Start 22C QS001 RSLinx Classic Getting Results with RSLinx Guide and online help LINX GR001 RSLogix 5 RSLogix 5 Getting Results Guide and online help LG5 GR002 RSLogix 500 RSLogix 500 Getting Results Guide and online help LG500 GR002 Scanner SST PFB SLC User s Guide Version 2 03 SLC 500 SLC 500 Modular Hardware Style User Manual 1747 UM011 SLC 500 Instruction Set 1747 RM001 You c
3. Double click the SST PFB SLC MASTER in the Masters folder in the Library window to add the scanner to the network A user defined Name and Description can be given to the scanner In our example the scanner will be Station 0 on the network as shown in Figure 4 7 Figure 4 7 SST PFB SLC Master General Dialog Box SST SST PFB SLC MASTER SST PFB SLC MASTER Click on the Parameters tab to view the Scan Cycle Times In our example use the default settings as shown in Figure 4 8 Figure 4 8 Scan Cycle Times Dialog Box SST SST PFB SLC MASTER x a ox cme Hee Connection and Baud Rate settings configure how the software tool will communicate with the CONFIG RS232 port on the scanner Click on the COM Port tab Accept the settings in our example COM1 on the PC 115200 bps baud rate as shown in Figure 4 9 Configuring the Profibus Scanner 4 7 Figure 4 9 COM Port Default Settings SST SST PFB SLC MASTER x General Parameters COM Port Connection z Baud Rate 115 200 bps 8 The scanner will appear in the network window as shown in Figure 4 10 Double click on the scanner in the network window Figure 4 10 Scanner Network Window PROFIBUS_DP 000 Disconnected SST_PFB_SLC_MASTER 9 Double click on the 22 COMM P listed in the Allen Bradley 22 COMM P library folder A user defined Name and Description can be given to this 22 COMM P In our example this de
4. Installing the Adapter OPEN 1 Off Figure 2 2 Node Address Switch Settings UP v ss oO alm lol olNnilolo o aly elo ajoj ojo nje Sal Snol 22 eE a E a a ea N o olololololololololololojlo elele l elel el elele elelee wn o o o olololololololololololo el el elel elelee lel e eee n ir o SClolofofefefeHel ef eJefefefele l ef efele lele l elefel e ej l wn Dl a l lolololololololojl olololololololol ooN wn Slo Oo Tiree flr OOo Slm er m OJO E K J HE iE m a aE aE m I E l oaa Prk N olol H H lolo Hloloj Hlojo olol l lolol l lolol l lolo wn oO oe ee a ee Os ee a ar a ee oe a Se sW 1 2 4 Installing the Adapter 2 Verify the Network Baud rate which is set by the network master and depends on cable length see Glossary The 22 COMM P adapter uses the Auto Baud function which enables the adapter to recognize the present baud rate and automatically sets itself to the transmission rate used by the master The adapter supports the following data rates 9 6 Kbps 19 2 Kbps 45 45 Kbps 93 75 Kbps 187 5 Kbps 500 Kbps 1 5 Mbps 3 Mbps 6 Mbps and 12 Mbps After detecting the correct baud rate the baud rate that was found is monitored continuously 3 Set the byte SWAP Jumper
5. 4 6 1 Running the Parameter Messaging 6 2 Parameter Protocol 0 0 00 cece eee eee 6 3 Using Multi Drive Mode Single Mode versus Multi Drive Mode 7 1 Additional Information 0 0000000082 7 5 System Wiring 0 cece ce ee eee teens 7 5 Understanding the I O Image 00 7 7 Configuring the RS 485 DSI Network 7 8 Multi Drive Mode Parameter Data 7 10 Troubleshooting Locating the Status Indicators 00 8 1 PORT Status Indicator 0 000000 e eee eee 8 2 MOD Status Indicator 00 c ee eee eee 8 3 NET A Status Indicator 0 0 000000008 8 4 Adapter Diagnostic Items in Single Mode 8 4 Adapter Diagnostic Items in Multi Drive Mode 8 5 Viewing and Clearing Events 00 004 8 6 Specifications Communications 0 0 00 cece eee eee A 1 Blectrical orrore drt A n A e te ee A 1 Mechanical se aeea dla oes be EE cage ats aed A 1 Environmental 00 0 0 cee cece eee eee A 2 Regulatory Compliance 00 000000 A 2 Adapter Parameters About Parameter Numbers 0 00000 e ee eeee B 1 Parameter Lists i al xia ee ede Sally kale Mate St ate Mien Ses B 1 PowerFlex 4 Class Drives Logic Command Status Words Logic Command Word 0 00000 beeen eee C 1 Logic Status Word
6. 10 Figure D 6 Drive 0 1 Control Reference Routine Controlling the Logic Command word in the drive B3 21 bits are controlled elsewhere in the user program Station 1 Station 1 Stop Logic Command Command STOP B3 21 N20 2 J gt 0 0 Station 1 Station 1 Start Logic Command Command START B3 21 N20 2 m 1 1 Station 1 Station 1 Jog Logic Command Command JOG B3 21 N20 2 J E gt 2 2 Station 1 Station 1 Clear Faults Logic Command Command CLEAR FAULTS B3 21 N20 2 a m 3 Station 1 Station 1 Reverse Logic Command Command FORWARD B3 21 N20 2 E gt 4 4 Station 1 Station 1 Reverse Logic Command Command REVERSE B3 21 N20 2 a oy lt gt 5 To control the speed reference over the Profibus the three Reference Select bits bits 14 12 need to have the values 011 Station 1 Logic Command REFERENCE SELECT 0 N20 2 oC CC_C_C amp _ amp _ amp amp _ _ _ _ oo 12 Station 1 Logic Command REFERENCE SELECT 1 N20 2 13 Station 1 Logic Command Never Closed REFERENCE SELECT 2 B3 21 N20 2 in ol pa ee 5 14 Station 1 Speed Reference The PowerFlex 40 parameter 38 Speed Reference needs to be set to 5 RS485 DSI Port N19 3 is controlled elsewhere in the user program Station 1 Speed Reference Write MOV Move Source Dest END gt 10 SLC Ladder Logic Examples D 13 Figure D 7 Drive 0 2 Control Reference Routine Controlling the Logic Command word in the dri
7. 8 4 node address definition G 4 setting with switches 2 2 Non Volatile Storage NVS definition G 4 in adapter 3 1 in drive 6 1 O operating status of adapter 1 7 P Parameter messaging about 6 1 definition G 4 running 6 2 Parameter Protocol 6 3 Index 3 parameters accessing 3 1 active configuration 3 9 convention P 2 list of B 1 to B 5 numbering scheme B 1 P DP Addr Actual parameter B 1 P DP Rate Actual Parameter B 2 P DP State parameter B 4 PORT status indicator locating 8 1 troubleshooting with 8 2 power consumption A 1 PowerFlex 4 Class drives compatible with adapter 1 3 definition G 4 installing adapter on 2 5 Logic Command Status C 1 PowerFlex 4 Class HIM Human Interface Module accessing parameters with 3 2 definition G 3 preparing for an installation 2 1 processor see controller Profibus 9 pin D shell plug 2 9 cable 2 9 connector on adapter 1 1 programmable logic controller see controller Q Quick Start 1 6 R Reference Feedback definition G 4 in I O image 5 2 7 7 using 5 3 Index 4 regulatory compliance A 1 related documentation P 1 Reset Module parameter B 2 ribbon cable see Internal Interface cable S safety precautions 1 5 scanner definition G 5 Single mode setting with the jumper 2 4 versus Multi Drive mode 7 1 specifications A 1 SST Profibus scanner configuration software 4 2 configuring 4 5 status in
8. A 16 bit value sent to the drive for Logic Command 14 Fit Cfg Ref A 16 bit value 0 4000 sent to the drive as a Reference Changes to these parameters take effect immediately A reset is not required Setting DSI Loss Action When the adapter detects that DSI communication with the drive has been lost Parameter 25 DSI Loss Action sets the action that the adapter will take for the Logic Status and Feedback words Important Parameter 25 DSI Loss Action is available only with adapter firmware revision 4 001 or later and only applies when the adapter is operated in Single mode When operated in Multi Drive mode the Logic Status and Feedback words are zeroed for any drive that loses DSI communication Configuring the Adapter 3 7 ATTENTION Risk of injury or equipment damage exists Parameter 25 DSI Loss Action lets you determine the action of the adapter when DSI communication with the drive has been lost By default this parameter maintains the Logic Status and Feedback word values sent to the controller at the time DSI communication between the adapter and drive was lost that is hold last state Alternatively you can set this parameter so that the Logic Status and Feedback word values are zeroed after a DSI communication loss Whether the drive faults or takes a different action is determined by the setting of the following drive parameter Drive Parameter Number Name PowerFlex 4 40 and 40P A105 Co
9. Drv 2 Reference Reference from Profibus returned to DSI Drive 0 2 12 Drv 2 Logic Cmd Command from Profibus returned to DSI Drive 0 2 13 Drv 2 Logic Sts Status of the Drive 0 2 returned to Profibus 14 Drv 2 Feedback Feedback from Drive 0 2 returned to Profibus 15 Drv 3 Reference Reference from Profibus returned to DSI Drive 0 3 16 Drv 3 Logic Cmd Command from Profibus returned to DSI Drive 0 3 17 Drv 3 Logic Sts Status of the Drive 0 3 returned to Profibus 18 Drv 3 Feedback Feedback from Drive 0 3 returned to Profibus 19 Drv 4 Reference Reference from Profibus returned to DSI Drive 0 4 20 Drv 4 Logic Cmd Command from Profibus returned to DSI Drive 0 4 21 Drv 4 Logic Sts Status of the Drive 0 4 returned to Profibus 22 Drv 4 Feedback Feedback from Drive 0 4 returned to Profibus 23 Profibus Rx Errors Present value of the Profibus Receive Error Counter register 24 Profibus Tx Errors Present value of the Profibus Transmit Error Counter register 25 Active drives number The number of active slave drives 8 6 Troubleshooting Viewing and Clearing Events The adapter maintains an event queue that reports the history of its actions You can view the event queue using DriveExplorer 3 01 Figure 8 2 DriveExplorer Event View Clear Screen x General Details Adapter Events Diagnostics Node Q Code Event Text No Event No Event No Event Host Sent Reset Elapsed Time
10. If the Set Parameter 08 Reset Module to 1 Reset Module Figure 3 5 Example Reset HIM Screen Reset Module Value Description Parameter 0 Ready Default 1 Reset Module 2 Set Defaults VARS LIMITS When you enter 1 Reset Module the adapter will be immediately reset When you enter 2 Set Defaults the adapter will set all adapter parameters to their factory default settings After performing a Set Defaults enter 1 Reset Module so that the new values take effect The value of this parameter will be restored to 0 Ready after the adapter is reset Configuring the Adapter 3 9 Viewing the Adapter Configuration The following parameters provide information about how the adapter is configured You can view these parameters at any time Adapter Parameter 01 Mode Description Displays the adapter operating mode selected with the Mode Jumper J2 Values 0 Single Drv operation 1 Multiple Drv operation 04 P DP Addr Actual Profibus Node Address actually used by the adapter 05 P DP Rate Actual Profibus actual operating data rate 12 DSI 0 Act Indicates the Drives that are active Bit Definitions Single Mode Multi Drive Mode Bit 0 Drive Bit 0 Drive 0 Bits 1 7 NotUsed Bit 1 Drive 1 Bit 2 Drive 2 Bit 3 Drive 3 Bit 4 Drive 4 Bits 5 7 Not Used 3 10 Configuring the Adapter Notes Chap
11. Off The adapter is not powered e Securely connect the adapter to the drive using the Internal Interface ribbon cable and to the network using a Profibus cable Screw D shell to the adapter or is not connected properly to the network or the Node Address is incorrect Check the SW8 of DIP Switches and set it to one Normal operating state e Check the DIP Switches SW1 SW7 node address and the Scanner setting e Apply power to the drive cable or adapter if mounted in a DSI External Comms Kit Flashing Error in Profibus Re configure the Profibus module Red configuration Solid Not used Red Flashing Not used Green Solid The adapter is properly No action required Green connected and communicating on the network NOTE For the Multi Drive mode disconnecting a DSI cable from a daisy chained drive does not lead to an error There is no indication in the adapter that a drive is missing except that commands to the missing drive have no effect Adapter Diagnostic Items in Single Mode The following diagnostic items can be accessed using a PowerFelx 4 Class HIM DriveExplorer or DriveExecutive version 3 01 or higher No Name Description 1 Field Flash Cnt The number of Firmware Updates 2 Adapter Events The number of events in the event queue 3 Reference Reference from Profibus returned to DSI drive 4 Logic Cmd Command from Profibus
12. Rev 1 7 m 5136 PFB YME MASTER Rev 1 4 f 55T PFB CLX MASTER Rev 1 1 SST PFB PLCS MASTER Rev 1 5 SST PFB REL MASTER Rev 1 5 SST PFB SLC MASTER Rev 1 5 Gy ucs El gay Slaves H Allen Bradley H SST W 5136 PBMS 2 Click on the New Device icon j to add GSD files to the software library tool 3 An Add Profibus devices Applet window will appear Figure 4 4 Prompts for the location of the Profibus data files to be added to the library will follow Configuring the Profibus Scanner Figure 4 4 Add Profibus Devices Applet Window Look in a Phe z ce Gsd Files of type PROFIBUS Data Files gs x Cancel 4 Find the directory location of the data file s you wish to add typically the source location is a floppy disk in drive A A_B_07FF gsd is the GSD file for the 22 COMM P as shown in Figure 4 5 Figure 4 5 Adding the GSD File for the Adapter aixi Suchen in E 3 Diskette 4 e mee a A_B_07FF gsd Dateiname 2_B_07FF gsd Dateityp PROFIBUS Data Files gs x Abbrechen ly bi 5 Select A_B_O7FF gsd for the 22 COMM P and click Open Configuring the Profibus Scanner 4 5 6 Click on the sign of the Slaves folder as shown in Figure 4 6 Figure 4 6 Masters Slaves Library Window x PE ILE E Masters a SST S 5136 PFB 104 MASTER Rev 1 3 B 5136 PFB ISA MASTER Rev 1 4 5136 PFB PCI MASTER Rev 1 3 5136 PFB PCM MASTER
13. Speed Feedback Drive 0 M1 1 2 N10 2 Logic Status Drive 1 M1 1 3 N10 3 Speed Feedback Drive 1 M1 1 4 N10 4 Logic Status Drive 2 M1 1 5 N10 5 Speed Feedback Drive 2 M1 1 6 N10 6 Parameter Access Word 1 PCA M1 1 7 N10 7 Parameter Access Word 2 IND M1 1 8 M1 1 9 Parameter Access Word 3 PVA 1 Parameter Access Word 4 PVA 2 Execute LAD 3 Station 0 Drive Logic Execute LAD 4 Station 1 Drive Logic COP Copy File Source M1 1 0 Dest N10 0 Length 10 JSR Jump To Subroutine r SBR File Number U 3 JSR Jump To Subroutine SBR File Number U 4 D 10 SLC Ladder Logic Examples Figure D 4 Main Routine continued Execute LAD 5 Station 2 Drive Logic JSR 5 Jump To Subroutine SBR File Number U 5 Execute LAD 6 Parameter Protocol rp JSR 6 Wem To Subroutine r SBR File Number U6 Write the drives data to the profibus scanner File N20 contains the actual write data generated elsewhere in the ladder program Station File No Description MO0 1 0 N20 0 Logic Command Drive 0 MO 1 1 N20 1 Speed Reference Drive 0 MO0 1 2 N20 2 Logic Command Drive 1 M0 1 3 N20 3 Speed Reference Drive 1 MO0 1 4 N20 4 Logic Command Drive 2 M0 1 5 N20 5 Speed Reference Drive 2 MO 1 6 N20 6 Parameter Access Word 1 PCA M0 1 7 N20 7 Parameter Access Word 2 IND MO 1 8 N20 8 Parameter Access Word 3 PVA 1 M0 1 9 N20 9 P
14. This chapter provides information for diagnosing and troubleshooting potential problems with the adapter and network Topic Page Locating the Status Indicators 8 1 PORT Status Indicator 8 2 MOD Status Indicator 8 3 NET A Status Indicator 8 4 Adapter Diagnostic Items in Single Mode 8 4 Adapter Diagnostic Items in Multi Drive Mode 8 5 Viewing and Clearing Events 8 6 Locating the Status Indicators The adapter has three status indicators They can be viewed on the adapter or through the drive cover See Figure 8 1 Figure 8 1 Status Indicators location on drive may vary O U F Series A adapter shown Number Status Indicator Description Page 1 PORT DSI Connection Status 8 2 2 MOD Adapter Status 8 3 NET A Profibus Status 8 4 4 NET B Not Used for Profibus 8 2 Troubleshooting PORT Status Indicator Status Off Cause The adapter is not powered or is not properly connected to the drive Corrective Action e Securely connect the adapter to the drive using the ribbon cable e Apply power to the drive or adapter if mounted in a DSI External Comms Kit Flashing Red In Single mode the adapter is not receiving a ping message from the drive In Multi Drive mode the adapter is not receiving a ping message from the drive or the adapter is connected to
15. Two adapter operating modes Single or Multi Drive are possible Single mode is a typical network installation where a single Profibus node consists of a single drive with a 22 COMM P adapter Figure 7 1 In this mode the adapter can talk to one host and the host can support one additional external peripheral HIM or 22 SCM 232 or 1203 USB over DSI 7 2 Using Multi Drive Mode Figure 7 1 Single Mode Example With Adapter in Drive 1 drive per node Profibus PowerFlex 40 40P 400 PowerFlex 40 40P 400 PowerFlex 40 40P 400 Drive with 22 COMM P Drive with 22 COMM P Drive with 22 COMM P When the adapter cannot be installed in the drive for example a PowerFlex 4 or PowerFlex 4M drive but operated in Single mode the adapter can be installed in a DSI External Comms Kit Figure 7 2 Figure 7 2 Single Mode Example With Adapter in DSI External Comms Kit up to 4 drives per node Profibus PowerFlex 4 Class Drive Ca lodobo eon 22 COMM P Adapter RS 485 NOTE A terminating resistor is not A AK U0 RJ45 TB2P AK U0 RJ45 TB2P required for this end of the wiring The resistor is built into the circuitry Kit Connector K rata wih of the DSI External Comms Kit ermine LSI OsIsior Figure 7 3 shows that the Single operating mode provides the possibility of connecting one additional external peripheral Figure 7 3 DS
16. lolx Device eee E etd oor CAE a CTE EN PFB_SLC_MASTER Library e miee le non a SA Network Window TE iers Configuration A Window l th Sa Station Number Device Id G50 File Vendor Model I f nial Online Browse Window Configuring the Profibus Scanner 4 3 Installing 22 COMM P GSD File in Software Tool Library GSD files are used by software tools to configure the network i e to map and define the I O in a Profibus scanner A GSD file is required for each type of adapter on the network For example The 22 COMM P GSD file is A_B_0O7FF gsd and a copy of the file is provided on a floppy disk with each 22 COMM P The file can also be downloaded from the Internet by going to www ab com support abdrives webupdate and also www profibus com Follow the steps outlined below only when a new GSD file needs to be added to the SST Profibus Configuration Software Tool Typically this is only done once after the software tool is initially installed or if configuring a 22 COMM P on the network for the very first time with this software tool 1 The software tool comes with standard data files as shown in Figure 4 3 Additional data files such as the 22 COMM P GSD file will need to be added to configure the 22 COMM P in the scanner Figure 4 3 Standard Data Files C EJILJEJ E SST 5136 PFB 104 MASTER Rev 1 3 5136 PFB ISA MASTER Rev 1 4 5136 PFB PCI MASTER Rev 1 3 5136 PFB PCM MASTER
17. 0 This circuit utilizes the Parameter Protocol A REQUEST to the Profibus adapter is processed only once at a time and after each RESPONSE from the adapter a zero must be sent and received to handshake before the next REQUEST RESPONSE transaction can take place For example Send a param read request gt Receive a param read response gt Send a 0 gt Receive a 0 gt Transaction complete If the RESPONSE PCA Word 1 N10 6 is then a REQUEST can be initiated Elsewhere in the user program these words must be loaded with message data prior to initiating the REQUEST N7 10 RC the operation to be performed 1 Read 2 16 bit Write N7 11 PNU the parameter number to read or write N7 12 Subindex the DPI port 0 Station 0 1 Station 1 2 Station 2 5 22 COMM P etc N7 13 PVA 1 the parameter value high word only used when writing parameters N7 14 PVA 2 the parameter value low word only used when writing parameters The four Parameter Protocol Words set up in the scanner are used to perform the Parameter Protocol N20 6 contains RC the operation to be performed and PNU the parameter number to read or write combined N20 7 Subindex the DPI port N20 8 PVA 1 the parameter value high word N20 9 PVA 2 the parameter value low word B3 19 0 is turned ON elsewhere in the program after a REQUEST message N7 10 14 is loaded This causes one Paramete
18. 6 viewing clearing 8 6 F fault action configuring the adapter for 3 5 definition G 2 fault configuration configuring the adapter for 3 5 definition G 2 faults see events features 1 2 firmware release P 2 flash update G 3 Fit Cfg Logic parameter B 3 Fit Cfg Ref parameter B 4 G grounding the adapter 2 5 2 7 GSD file installing 4 3 H HIM see PowerFlex 4 Class HIM Human Interface Module hold last configuring the adapter for 3 5 definition G 3 I O about 5 1 configuring the adapter for 3 4 definition G 3 image 5 2 7 7 Idle Fit Action parameter B 3 installation applying power to the adapter 2 11 commissioning the adapter 2 1 connecting to the drive 2 5 connecting to the network 2 8 preparing for 2 1 Internal Interface cable connecting to the adapter 2 6 connecting to the drive 2 6 2 7 L LEDs see status indicators Logic Command Status bit definitions for PowerFlex 4 Class drives C 1 definition G 3 in I O image 5 2 7 7 using 5 3 M manual conventions P 2 related documentation P 1 web site P 1 Masters Slaves Library 4 5 mechanical dimensions A 1 MOD status indicator locating 8 1 troubleshooting with 8 3 mounting the adapter 2 5 to 2 7 Multi Drive mode additional information 7 5 Parameter data 7 10 setting with the jumper 2 4 system wiring 7 5 using 7 1 versus Single mode 7 1 N NET A status indicator locating 8 1 troubleshooting with
19. BPE Getting Started 1 5 Safety Precautions Please read the following safety precautions carefully ATTENTION Risk of injury or death exists The PowerFlex drive may contain high voltages that can cause injury or death Remove all power from the PowerFlex drive and then verify power has been removed before installing or removing an adapter ATTENTION Risk of injury or equipment damage exists Only personnel familiar with drive and power products and the associated machinery should plan or implement the installation start up configuration and subsequent maintenance of the product using a Profibus adapter Failure to comply may result in injury and or equipment damage ATTENTION Risk of injury or equipment damage exists If the Profibus adapter is transmitting control I O to the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting an adapter ATTENTION Risk of injury or equipment damage exists Parameters 9 Comm FIt Action and 10 Idle Flt Action let you determine the action of the adapter and connected drive if communications are disrupted or the controller is idle By default these parameters fault the PowerFlex drive You can set these parameters so that the PowerFlex drive continues to run Precautions should be taken to ensure that the settings of these parameters do not create a hazard of injury or equipment damage ATTENTION Hazard of injury or equipment da
20. C105 does not create a risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations for example a faulty drive DSI cable or excessive electrical noise interference B 6 Adapter Parameters Notes Appendix C PowerFlex 4 Class Drives Logic Command Status Words Appendix C presents the definitions of the Logic Command and Logic Status words that are used for some products that can be connected to the adapter If you do not see the Logic Command Logic Status for the product that you are using refer to your product s documentation Logic Command Word Logic Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command Description x Stop 0 Not Stop 1 Stop x Start 0 Not Start 1 Start X Jog 0 Not Jog 1 Jog X Clear Faults 0 Not Clear Faults 1 Clear Faults X X Direction 00 No Command 01 Forward Command 10 Reverse Command 11 Hold Direction Control x B X 2 x x Accel Rate 00 No Command 01 Accel Rate 1 Command 10 Accel Rate 2 Command 11 Hold Accel Rate x x Decel Rate 3 00 No Command 01 Decel Rate 1 Command 10 Decel Rate 2 Command 11 Hold Decel Rate x x Jx Reference 000 No Command Select 001 Freq Source Speed Ref par 010 Freq Source Int Freq par 011 Freq Source Comm 100 Preset Freq
21. Figure 4 15 Figure 4 15 Modules Parameter Access Viewing Window Allen Bradley 22 COMM P xi General Modules SLC Address Std Pms Diagnostics Desciptin 0 InDut4b 1 InOut8b Ctrl Stat amp Ret Fb DrvO Remove Parameter Access 8B x Properties IZ Modular Station Module 2 of 6 Input 12 of 46 Output 12 of 46 Data 24 of 92 OK Abbrechen Hilfe 14 Click on the SLC Address tab as shown in Figure 4 16 Settings can be chosen to map Station modules to SLC addresses In our example M1 M0 files are used for Input Output Note that the Reference Feedback Drive 0 Ctrl Stat amp Ref Fdbk starts at word 0 4 10 Configuring the Profibus Scanner Figure 4 16 SLC Address M1 M0 Ctrl Stat amp Ref Fdbk Allen Bradley 22 COMM P SS xi General Modules SLC Address Sta Prms Diagnostics r Input Configured Data Areas id C lType I High Byte 000 InOut4bytes Ctrl Stat amp Ret F M1 001 InOut8bytes Parameter Acce Offset 0 Output C OType T High Byte MO Offset fo Abbrechen Hilfe 15 Parameter Access starts at word 2 in the M1 M0 files Note that Parameter Access utilizes 4 words Click OK when finished Figure 4 17 SLC Address M1 M0 Parameter Access Allen Bradley 22 COMM P x General Modules SLC Address Sta Pms Diagnostics r Input Configured Data Areas 9 C lType High Byte 000
22. HIM or 22 SCM 232 over DSI In Multi Drive mode the adapter represents up to 5 drives on one node daisy chained over the RS 485 interface In this case the unit will not operate with DSI peripheral devices such as the HIM or the 22 SCM 232 Status indicators report the status of the drive communications the adapter and network User defined fault actions to determine how the adapter and connected drive respond to Communication disruptions Comm Fit Action Controller in idle mode Idle Flt Action T O messages that is Control Status Reference Feedback that are exchanged with the Profibus master in every bus cycle The Synch amp Freeze modes are supported I O configuration is fixed and no Datalinks is supported Configuration and monitoring using Parameter Messaging for slave device s parameters on the Profibus network Also when operated in Single mode the slave device s parameters on the Profibus network can be configured and monitored using drive software tools Drive Explorer or DriveTools SP via DSI Getting Started 1 3 Compatible Products The adapter is compatible with Allen Bradley PowerFlex 4 Class drives and other products that support an internal DSI adapter At the time of publication compatible products include e PowerFlex 4 drives when used with DSI External Comms Kit e PowerFlex 4M drives when used with DSI External Comms Kit e PowerFlex 40 drives e PowerFlex 40P drives e PowerFl
23. InOut4bytes Ctrl Stat amp Ref F MI 001 InOut8bytes Parameter Acc Offset 2 Output C OType High Byte MO Offset fe Abbrechen Hilfe 16 Station 1 is now displayed in the network window Figure 4 18 Station 1 Network Window E PROFIBUS_DP 2 000 Disconnected SST_PFB_SLC_MASTER Station 1 is configured as follows Module M1 MO Offset Ctrl Stat amp Ref Fdbk Drive 0 0 Parameter Access 2 Note that Station 1 occupies 6 words 17 18 19 Configuring the Profibus Scanner 4 11 The same steps for configuring Station 1 will be used for configuring Station 2 See previous steps starting at step 9 Page 4 7 for Configuring the SST PFB SLC Profibus Scanner Station 2 see Figure 4 19 Figure 4 19 Station 2 Network Window EEE PROFIBUS_DP 1 3 000 Disconnected SST_PFB_SLC_MASTER re is 001 _22_COMM_P si Station 2 is configured as follows Module M1 MO Offset Ctrl Stat amp Ref Fdbk Drive 0 6 Parameter Access 8 Note that Station 2 occupies 6 words Use the null modem cable that came with the scanner to connect COM 1 on the PC and the CONFIG RS232 port on the scanner Note The processor needs to be in program mode before proceeding Right click on the scanner in the network window and select Connect Then right click again on the scanner in the network window and select Load Configuration If a mini
24. O Image The Profibus specification requires that the terms input and output be defined from the scanner s point of view Therefore Output I O is data that is output from the scanner and consumed by the Profibus adapter Input T O is status data that is produced by the adapter and consumed as input by the scanner The I O image table will vary based on the configuration of the adapter Mode Jumper J2 and adapter Parameter 11 DSI I O Cfg The image table always uses consecutive words starting at word 0 Figure 7 9 illustrates an example of an I O image 16 bit words for the adapter operated in Multi Drive mode Figure 7 9 Multi Drive Example of I O Image Profibus DSI Controller Scanner Adapter Word and I O elec j e n ie b Seales EE hice Pecans Scar treason f fe H Sees Li reece ea Sea Hien me Hance e e 7 8 Using Multi Drive Mode Configuring the RS 485 DSI Network Properly configure the adapter Single mode operation and only the Ist drive as shown in Figure 7 4 or Figure 7 5 on the node so that they are communicating with each other Communication has been established when the adapter PORT indicator is solid green When the PORT indicator is red communication between the adapter and the drive i
25. Rev 1 7 5136 PFB VME MASTER Rev 1 4 A 55T PFB CLX MASTER Rev 1 1 SST PFB PLCS MASTER Rev 1 5 MR SST PFB REL MASTER Rev 1 5 GH SST PFB SLC MASTER Rev 1 5 aq UCS a Slaves E Allen Bradley O 22 comm P 2 002 00 H SST Ej 5136 PBMS The software tool will automatically create an Allen Bradley sub folder in the Slaves folder if it does not already exist The 22 COMM P is now shown in the library and the software tool is now ready to configure a 22 COMM P on a Profibus network Configuring the SST PFB SLC Profibus Scanner The following steps are performed to configure the SST PFB SLC scanner using the SST Profibus Configuration Software Tool In our example the Profibus network will consist of a SLC master and two PowerFlex 40 drives working in Single Drive mode The configuration example is e Drive 0 Ctrl Stat amp Ref Fdbk enabled Parameter Access enabled e Drive 1 Ctrl Stat amp Ref Fdbk enabled Parameter Access enabled The SLC processor must be in Program mode to configure the scanner 1 Click on the sign of the Masters folder in the Library window to open the SST sub folder Available Profibus DP masters are displayed in this sub folder 2 Click on the sign of the Slaves folder in the Library window and the Allen Bradley sub folder to display the available Profibus DP slaves or the 22 COMM P slave Refer to Figure 4 6 4 6 Configuring the Profibus Scanner 3 4 5 6 7
26. St Help Clear Event M Clear Queue Events Many events in the Event queue occur under normal operation If you encounter unexpected communications problems the events may help you or Rockwell Automation personnel troubleshoot the problem The following events may appear in the event queue Code Event Description 0 No Event Text displayed in an empty event queue entry 1 EEPROM Sum Fit Startup sequence detected corrupt EEPROM storage in the adapter Slave Detected A DSI slave was detected on the slave 1 0 line Slave Removed A DSI slave was removed on the slave 1 0 line Bad I O Config The actual connected drives are different from I O configuration Adapter Parameter 11 8 Host Timeout An Parameter Data to a Drive Host timed out waiting for a response 9 Slave Timeout An Param Data to a Slave timed out waiting for a response 10 Bad Host Fit The adapter was connected to an incompatible product 11 DSI Bus Off Fit A bus off condition was detected on DSI This event may be caused by loose or broken cables or by noise 13 P DP Idle The Profibus Adapter received a Network Clear from the Profibus Master 14 P DP Online The Profibus adapter has gone on line the Profibus Network 15 P DP Offline The Profibus adapter has gone off line the Profibus Network 17 DSI Fault Msg The Host drive faulted 18 DSI Fault Clear The user cleared a fault in the adapter 19 Not COMM Fit The a
27. UL UL508C CE EN50178 and EN61800 3 Adapter Parameters Appendix B Appendix B provides information about the adapter parameters Topic Page About Parameter Numbers B 1 Parameter List B 1 About Parameter Numbers The parameters in the adapter are numbered consecutively However depending on which configuration tool you use they may have different numbers Configuration Tool e HIM e DriveExplorer DriveTools SP Parameter List Parameter No Name and Description 01 02 03 04 Mode Displays the Single or Multi Drive operating mode selected with the jumper J2 on the adapter Reserved Reserved P DP Addr Actual Profibus Node Address actually used by the adapter Numbering Scheme The adapter parameters begin with parameter 1 For example Parameter 04 P DP Addr Actual is parameter 04 as indicated by this manual Details Default Values Type Default Minimum Maximum Type N A 0 Single Drv 1 Multiple Drv Read Only N A 0 127 Read Only B 2 Adapter Parameters Parameter No Name and Description 05 06 07 08 09 P DP Rate Actual PROFIBUS actual operating data rate NOTE The value of this parameter will show 9 12 Mbps when not yet communicating to the scanner This parameter will update when communication is established Reserved Reserved Reset Module No action if set to Ready Resets the adap
28. at a time and after each RESPONSE from Station 2 a zero must be sent and received to handshake before the next REQUEST RESPONSE transaction can take place For example Send a parameter read request gt Receive a param read response gt Send a 0 gt Receive a 0 gt Transaction compl If the RESPONSE PCA Word 1 N10 8 is 0 then a REQUEST can be initiated Elsewhere in the user program these words must be loaded with message data prior to initiating the REQUEST N7 30 RC the operation to be performed 1 Read 2 16 bit Write N7 31 PNU the parameter number to read or write N7 32 Subindex the DPI port 0 Host or PowerFlex drive 5 22 COMM P etc 33 PVA 1 the parameter value high word only used when writing parameters PVA 2 the parameter value low word only used when writing parameters The four Parameter Protocol Words set up in the scanner are used to perform the Parameter Protocol N20 8 contains RC the operation to be performed and PNU the parameter number to read or write combined N20 9 Subindex the DPI port N20 10 PVA 1 the parameter value high word N20 11 PVA 2 the parameter value low word B3 19 0 is turned ON elsewhere in the program after a REQUEST message N7 30 34 is loaded This causes one Parameter Protocol read or write to occur and B3 19 0 is turned OFF when the transaction is complete Station 2
29. for this end of the wiring AK U0 RJ45 TB2P AK U0 RJ45 TB2P The resistor is built into the circuitry of the DSI External Comms Kit Kit Connector Kit Connector with Terminating Resistor Connecting the Adapter to the Network ATTENTION Risk of injury or death exists The PowerFlex drive may contain high voltages that can cause injury or death Remove all power from the PowerFlex drive and then verify power has been removed before installing or removing an adapter Remove power from the drive Use static control precautions Remove the drive cover Connect a Profibus connector to the cable See Figure 2 7 and Figure 2 8 Only use cable that conforms to Profibus cable standards Belden 3079A Profibus cable or equivalent is recommended Note Profibus connectors are available from a variety of sources and in various sizes As such there may be mechanical limitations that prohibit the use of some connectors ERNI Profibus vertical Node Part 103658 and Termination Part 103659 or Phoenix Installing the Adapter 2 9 Subcon Plus M1 Part 2761826 are recommended for use with PowerFlex 40 PowerFlex 40P and PowerFlex 400 drives Figure 2 7 Connecting to the Cable ERNI Connector Figure 2 8 Network Wiring Diagram Bi A BIA Bjaj B a B lle A 3 A R aas A H j I Loa tit tot i ot I 1 1 ae j
30. ka Lo 1 J I ni N HK lt k Figure 2 9 22 COMM P DB 9 Pin Layout Terminal Signal Function Housing Shield 1and2 Not connected 3 B LINE Positive RxD TxD according to RS485 specification 4 RTS 5 GND BUS Isolated GND from bus 6 5V BUS Isolated 5V from bus 7and9 Not connected 8 A LINE Negative RxD TxD according to RS485 specification 5 Connect the Profibus cable to the network secure it with the two retaining screws on the connector and route it through the bottom of the PowerFlex drive see Figure 2 8 Notes a The screws on some connectors tie the Profibus cable ground shield to the metal of the socket In some cases Profibus will not operate correctly without this connector b Keep wiring away from high noise sources such as motor cables 2 10 Installing the Adapter 6 Depending on the switching frequency of the drive it is optional to use the ferrite cable clamp around the communication cables next to the D Sub connector to reduce high frequency emission See Figure 2 10 Figure 2 10 Optional Clamp On Ferrite Cable Clamp Install ferrite core within 10 cm 4 in of Profibus connector To meet the requirements of EN55011 Class A or B the conditions listed below must be satisfied Switching Frequency of PowerFlex Drive 4 kHz 6 kHz 8 kHz EN55011 Class A EN55011 Class B Use one ferrite Ferrishiel
31. uses three status indicators to report its operating status They can be viewed through the drive cover See Figure 1 2 Figure 1 2 Status Indicators location on drive may vary Item Status Status Description Indicator PORT Green Normal Operation The adapter is properly connected and is communicating with the drive Flashing Not used Green IMOD Green Normal Operation The adapter is operational and is transferring I O data Flashing Normal Operation The adapter is operational but is not Green transferring I O data NETA Green Normal Operation The adapter is properly connected and communicating on the network Flashing Not used Green NETB Off Not used for Profibus adapter 1 ifall status indicators are off the adapter is not receiving power See Chapter 2 Installing the Adapter for instructions on installing the adapter If any other conditions occur see Chapter 8 Troubleshooting 1 8 Getting Started Notes Chapter 2 Installing the Adapter This chapter provides instructions for installing the adapter in a PowerFlex 40 PowerFlex 40P or PowerFlex 400 drive This adapter can also be installed in a DSI External Comms Kit In this case refer to the 22 XCOMM DC BASE Installation Instructions publication 22COMM IN001 supplied with the kit Topic Pag
32. write data generated elsewhere in the ladder program Station 1 Station Description M0 1 0 N20 0 MO0 1 6 N20 6 Logic Command M0 1 1 N20 1 M0 1 7 N20 7 Speed Reference M0 1 2 N20 2 M0 1 8 N20 8 Parameter Protocol Word 1 PCA M0 1 3 N20 3 M0 1 9 N20 9 Parameter Protocol Word 2 IND M0 1 4 N20 4 MO0 1 10 N20 10 Parameter Protocol Word 3 PVA1 M0 1 5 N20 5 M0 1 11 N20 11 Parameter Protocol Word 4 PVA2 COP 5 Copy File Source N20 0 Dest M0 1 0 Length 12 SLC Ladder Logic Examples D 3 Figure D 2 Drive 0 Control Reference Parameter Access Routine Controlling the Logic Command word in the drive B3 20 bits are controlled elsewhere in the user program 1 PS _ I Station 1 Station 1 Stop Logic Command Command STOP B3 20 N20 0 d E KS 0 0 Station 1 Station 1 Start Logic Command Command START B3 20 N20 0 Station 1 Station 1 Jog Logic Command Command JOG B3 20 N20 0 J E C 2 2 Station 1 Station 1 Clear Faults Logic Command Command CLEAR FAULTS B3 20 N20 0 dE L 3 3 Station 1 Station 1 Reverse Logic Command Command FORWARD B3 20 N20 0 4 4 Station 1 Station 1 Reverse Logic Command Command REVERSE B3 20 N20 0 JE KS 4 5 To control the speed reference over the Profibus the three Reference Select bits bits 14 12 need to have the values 011 Station 1 Logic Command REFERENCE SELECT 0 N20 0 12 Station 1 Logic Command REFER
33. 0 101 Preset Freq 1 110 Preset Freq 2 111 Preset Freq 3 x Q 0 A O Not Stop condition logic 0 must first be present before a 1 Start condition will start the drive The Start command acts as a momentary Start command A 1 will start the drive but returning to 0 will not stop the drive Depending on the PowerFlex 4 Class drive the functions for bits 6 7 and 15 change Refer to Appendix C in the PowerFlex 4 PowerFlex 4M PowerFlex 40 or PowerFlex 40P drive User Manual or Appendix E for the PowerFlex 400 drive bit functions 8 The functions for these bits are the same for all PowerFlex 4 Class drives including the PowerFlex 40P when it is used in the Velocity mode When using the PowerFlex 40P in the Position mode the bit functions are different For details see Appendix C in the PowerFlex 40P User Manual C 2 Logic Status Word PowerFlex 4 Class Drives Logic Command Status Words Logic Bits 15 14 13 12 11 109 8 7654 2 1 0 Status Description x Ready 0 Not Ready 1 Ready xX Active 0 Not Active 1 Active X Command 0 Reverse Direction 1 Forward Actual 0 Reverse Direction 1 Forward X Accel 0 Not Accelerating 1 Accelerating X Decel 0 Not Decelerating 1 Decelerating X Alarm 0 No Alarm 1 Alarm X Fault 0 No Fault 1 Fault xX At Speed 0 No
34. 1 features 1 2 grounding 2 5 2 7 illustration 1 1 installing 2 1 to 2 11 mounting on drive 2 5 to 2 7 parameters B 1 to B 5 resetting 3 8 setting DSI loss action 3 6 Single Multi Drive mode of operation 2 4 specifications A 1 tools to configure 3 1 troubleshooting 8 1 viewing the active configuration 3 9 applying power to the adapter 2 11 attentions 1 5 5 1 6 1 baud rate see data rate bit definitions for Logic Command Status word for PowerFlex 4 Class drives C 1 Index C cables clamp on ferrite cable clamp 2 10 DSI Internal Interface 2 6 Profibus 2 9 Comm Fit Action parameter B 2 commissioning the adapter 2 1 communications module see adapter compatible products 1 3 components 1 1 configuration tools 1 4 3 1 configuring Profibus scanner 4 1 connecting the adapter to the network 2 8 controller definition G 1 running Parameter messaging 6 2 D data rate G 1 dimensions A 1 DriveExplorer accessing parameters with 3 1 definition G 2 free lite version G 2 drives see PowerFlex drives DriveTools SP accessing parameters with 3 1 definition G 2 Drv 0 4 Addr parameters B 4 Index 2 DSI connector on adapter 1 1 definition G 2 peripheral G 2 products G 2 setting DSI loss action 3 6 DSI I O Act parameter B 3 DSI I O Cfg parameter B 3 DSI Loss Action parameter B 5 E EEPROM see Non Volatile Storage NVS equipment required 1 3 events list of 8
35. 4 24 Fit Cfg Ref Sets the Reference data that is sent to the drive if any of the following is true e Parameter 09 Comm Fit Action is set to Send Fit Cfg and communications are disrupted e Parameter 10 Idle Fit Action is set to Send Fit Cfg and the scanner is put into Program mode Reserved Reserved Drv 0 Addr Drv 1 Addr Drv 2 Addr Drv 3 Addr Drv 4 Addr Sets the corresponding node addresses of the daisy chained drives when the adapter Mode Jumper J2 is set for Multi Drive operation Important The settings for these parameters must match the drive Parameter A104 Comm Node Addr settings in the respective drives Each setting must also be unique no duplicate node address P DP State Displays the state of the Profibus controller 0 Not connected to the network 1 On network and not scanning or not connected to the network 2 Online running 3 Error in configuration Details Default 0 Minimum 0 Maximum 4000 Type Read Write Reset Required No Important If the drive uses a 16 bit Reference the most significant word of this value must be set to zero 0 or a fault will occur Default 1 Default 2 Default 3 Default 4 Default 5 Minimum 1 Maximum 127 Type Read Write Reset Required Yes Default N A Values 0 WAIT_PRM 1 WAIT_CFG 2 DATA_EX 3 ERROR Type Read Only Adapter Parameters B 5 Parameter No Name and Descriptio
36. 5 Connecting the Adapter to the Network 2 8 Termination 3 cet the ned ode oe ES eA ee ae ee 2 11 Applying Power 0 0 cece eee eee ene 2 11 Configuring the Adapter Configuration Tools 0 0 0 0 cece eee eee eee 3 1 Using the Optional External PowerFlex 4 Class HIM 3 2 Using DriveExplorer via 22 SCM 232 or 1203 USB 3 3 Setting the Node Address 00 00000005 3 4 Setting the I O Configuration 000 3 4 Setting a Fault Action 0 0 00 0 00 e eee eee 3 5 Setting DSI Loss Action 00000000 eee 3 6 Resetting the Adapter 0000000000008 3 8 Viewing the Adapter Configuration 3 9 Configuring the Profibus Scanner Example Network 2 0 0 0 ee eee eee eee eee ee 4 1 SST Profibus Configuration Software Tool 4 2 Installing 22 COMM P GSD File in Software Tool Library 4 3 Configuring the SST PFB SLC Profibus Scanner 4 5 Using I O Messaging About I O Messaging 00 c eee eee eee ee 5 1 Understanding the I O Image 00 5 2 Using Logic Command Status 04 5 3 Using Reference Feedback 000000 5 3 ii Table of Contents Chapter 6 Chapter 7 Chapter 8 Appendix A Appendix B Appendix C Appendix D Glossary Index Using the Parameter Messaging About the Parameter Messaging
37. 6 default value 7 15 Reserved IND Index The IND is used to specify which drive we intend to send a message 0 2 bits DSI port Bit definitions 000 Drive 0 single mode 001 Drive 0 1 multi drive mode 010 Drive 0 2 multi drive mode 011 Drive 0 3 multi drive mode 100 Drive 0 4 multi drive mode 101 Adapter 3 15 Reserved PVA Parameter value Spare PVA Parameter value 8 bit amp 16 bit word Read Request Not used Write Request Contents the write value for a 8 bit or 16 bit parameter Using the Parameter Messaging 6 5 Parameter Message Response Word 1 Description PNU Parameter Number Bit 0 10 Requested parameter number SPM Spontaneous Message Bit 11 Reserved is always set to 0 RC Request Response Code Bit 12 15 One of the following codes will be sent 0 No request 1 Transfer parameter value 8 bit amp 16 bit word 2 Spare 3 6 Reserved 7 Request rejected including Adapter Fault Code and Parameter Message Fault Code see table below 9 15 Reserved 2 IND Index Port ID of requested parameter 3 PVA Parameter value Spare 4 PVA Parameter value 8 bit amp 16 bit word Read Response Contents the value from a 8 bit or 16 bit parameter or the Fault Code if RC 7 Write Response Confirms the write value for a 8 bit or 16 bit parameter or the Fault Code if RC 7 Adapter Fault Code Code De
38. Copy File 0 Source A N10 6 Source N10 6 0 lt Dest N7 20 Source B 0 Length 4 0 lt PCA Word MOV Move Source 0 0 lt Dest N20 6 12304 Par Prot Messaging Request B3 19 U 0 END gt D 16 SLC Ladder Logic Examples Notes Glossary Adapter Devices such as drives controllers and computers usually require an adapter to provide a communication interface between them and a network such as Profibus An adapter reads data on the network and transmits it to the connected device It also reads data in the device and transmits it to the network The 22 COMM P Profibus adapter connects PowerFlex 4 Class drives to a Profibus Network Adapters are sometimes also called cards embedded communication options gateways modules and peripherals 99 66 ControlFLASH An Allen Bradley software tool that lets users electronically update firmware on printed circuit boards Controller A controller also called programmable logic controller is a solid state control system that has a user programmable memory for storage of instructions to implement specific functions such as I O control logic timing counting report generation communication arithmetic and data file manipulation A controller consists of a central processor input output interface and memory See also Scanner Data Rate The speed at which data is transferred on the Profibus network The available data rates depend on the ty
39. ENCE SELECT 1 N20 0 Never Closed B3 20 13 Station 1 Logic Command REFERENCE SELECT 2 N20 0 D 4 10 11 SLC Ladder Logic Examples Figure D 2 Drive 0 Control Reference Parameter Access Routine continued Station 1 Speed Reference The PowerFlex 40 parameter 38 Speed Reference needs to be set to 5 RS485 DSI Port N19 1 is controlled elsewhere in the user program Station 1 Speed Reference Write MOV Move Source N19 1 273 lt Dest N20 1 273 lt This section of the routine is only needed if the application needs to perform Parameter Protocol Reads or Writes to Station 1 On power up initialize the Parameter Protocol routine Station 1 Par Prot Messaging First Pass Request S 1 B3 19 m i Aa ir 15 15 This circuit utilizes the Parameter Protocol A REQUEST to Station 1 is processed only once at a time and after each RESPONSE from Station 1 a zero must be sent and received to handshake before the next REQUEST RESPONSE transaction can take place For example Send a param read request gt Receive a parameter read response gt Send a gt Receive gt Transaction compl If the RESPONSE PCA Word 1 N10 2 is 0 then a REQUEST can be initiated Elsewhere in the user program these words must be loaded with message data prior to initiating the REQUEST N7 10 RC the operation to be performed 1 Read 2 16 bit Write N7 11 PNU the par
40. I Peripheral Devices for Single Operating Mode Connection Single Mode up to 1 other DSI peripheral allowed HIM 22 SCM 232 or 1203 USB Using Multi Drive Mode 7 3 Multi Drive mode is an alternative to the typical network installation where a single Profibus node can consist of one to five drives In Figure 7 4 the 22 COMM P adapter is internally mounted in a PowerFlex 40 PowerFlex 40P or PowerFlex 400 drive and the remaining PowerFlex 4 Class drives are daisy chained from the RS 485 port on the first drive Figure 7 4 Multi Drive Mode Example With Adapter in Drive up to 5 drives per node Profibus Up to 4 Additional PowerFlex 4 Class Drives 1st Drive PowerFlex 40 40P 400 Drive ves besos AK U0 RJ45 TB2P Kit Connector with Terminating Resistor AK U0 RJ45 TB2P AK U0 RJ45 TB2P Lol Kit Connectors Kit Connector with Terminating Resistor In this case the unit will not operate with DSI peripheral devices such as the HIM or the 22 SCM 232 or 1203 USB and the application of any other peripheral will be prohibited In Figure 7 5 the 22 COMM P adapter is remotely mounted in a DSI External Comms Kit 22 XCOMM DC BASB and all PowerFlex 4 Class drives are daisy chained from it Figure 7 5 Multi Drive Mode Example With Adapter in DSI External Comms Kit up to 5 drives per node Profibus Up to 5 PowerFl
41. J3 which determines the Intel or Motorola position SWAP data format depending on the corresponding PLC see Figure 2 1 4 Verify the adapter Mode Jumper J2 is in 1X for Single mode operation or in 5X for Multi Drive mode operation see Figure 2 1 and setting descriptions below For complete details on Multi Drive mode operation see Chapter 7 Using Multi Drive Mode J2 Jumper Setting Description Figure 2 1 Position A Sets the adapter for Single mode of operation default setting or jumper missing using a single drive connection Important In this mode connections to multiple drives must be removed since all powered and connected hosts will respond to any message sent by the adapter Figure 2 1 Position B Sets the adapter for Multi Drive mode of operation using up to 5 different drives DSI peripherals do not operate with the adapter in this mode Installing the Adapter 2 5 Connecting the Adapter to the Drive PowerFlex 40 40P Frames B and C and PowerFlex 400 Frame C 1 Remove power from the drive and remove the drive cover 2 Use static control precautions 3 Mount the adapter on the required special drive cover ordered separately see Figure 2 3 for part numbers Frame B Do not use the adapter screw snap the adapter in place Frame C Use the adapter screw to secure the adapter to the cover Important To properly ground the adapter in Frame B drives install the speci
42. PowerFlex 22 COMM P amp Allen Bradley Profibus Adapter Series A FRN 1 xxx 3 xxx Series B FRN 3 xxx and later User Manual Allen Bradley Rockwell Software Automation Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment Safety Guidelines for the Application Installation and Maintenance of Solid State Controls Publication SGI 1 1 available from your local Rockwell Automation sales office or online at http www rockwellautomation com literature describes some important differences between solid state equipment and hard wired electromechanical devices Because of this difference and also because of the wide variety of uses for solid state equipment all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable In no event will Rockwell Automation Inc be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are included solely for illustrative purposes Because of the many variables and requirements associated with any particular installation Rockwell Automation Inc cannot assume responsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Rockwell Automation Inc with respect to use of information circuits eq
43. The status indicators should be green If they flash red there is a problem 6 Set up the drive parameters Page 3 4 Before starting configuring and working with the Profibus adapter set the following drive parameters e 036 Start Source to 5 RS485 DSI port if Start is controlled from the network e P038 Speed Reference to 5 RS485 DSI port if the Speed Reference is controlled from the network For Multi Drive mode the following additional drive Page 7 8 parameters must be set A103 A104 A107 7 Configure the adapter for your application Chapter 3 Set the following parameters for the adapter as required by Configuring the your application Adapter e Node address e O configuration e Fault actions 8 _ Apply power to Profibus master and other network devices Verify that the master and network are installed and functioning in accordance with Profibus standards and then apply power to them 9 Configure scanner to communicate with the adapter Chapter 4 Use a network tool for Profibus to configure the master on the Configuring the network Profibus Scanner 10 Create a ladder logic program Appendix D Use a programming tool such as RSLogix to create a ladder SLC Ladder Logic logic program that enables you to do the following Examples e Control the adapter and connected drive e Monitor or configure the drive using Parameter Messaging Getting Started 1 7 Status of Operation The adapter
44. a drive that is not compatible e Verify that the Mode Jumper J2 Figure 2 1 is in the position corresponding to the mode in which the adater is being used e Verify the setting for Parameter 11 DSI 1 0 Cfg e Verify that cables are securely connected and not damaged Replace cables if necessary e Cycle power to the drive or adapter if mounted in a DSI External Comms Kit e Connect the adapter to compatible PowerFlex 4 Class drive Solid The drive has refused an I O Important Cycle power to the drive or adapter Red connection from the adapter if mounted in a DSI External Comms Kit after making the following corrections Another DSI peripheral is 9 bike i using the same DSI portas Verify that all DSI cables are securely the adapter connected and not damaged Replace cables if necessary e Check the Events replace the adapter with a compatible Allen Bradley branded product 22 COMM P Flashing Not used Green Solid The adapter is properly No action required Green _ connected and is communicating with the drive Solid The adapter is booting Wait until boot program has been finished Orange Flashing The adapter is in flash mode Wait until Firmware Update has been Orange SW8 down finished then switch SW8 to 1 Application failure e Download Application code MOD Status Indicator Status Cause Off The adapter is not powered or is not properly connected to the dr
45. adapter Jumper J2 and J3 locations are different meamea G e _ Item Part Description Status Indicators Three LEDs that indicate the status of the adapter and network communications See Chapter 8 Troubleshooting DSI Connector A 20 pin single row shrouded male header An Internal Interface cable is connected to this connector and a connector on the drive Profibus Connector A 9 pin female D Sub connector Node Address Switches SW1 SW7 to set the node address and SW8 for Firmware Update firmware updating See Commissioning the Adapter on Switches page 2 1 Mode Jumper J2 Selects Single mode or Multi Drive mode of operation SWAP Jumper J3 _ Determines the Intel or Motorola SWAP data format for the corresponding PLC 1 2 Getting Started Features The adapter features include Typical mounting in a PowerFlex 40 PowerFlex 40P or PowerFlex 400 drive It can also be installed in a DSI External Comms Kit 22 XCOMM DC BASE The low seven bits of 8 bit DIP switch let you set a node address and the MSB bit provides write access for the Flash update of module firmware Single mode or Multi Drive mode of operation selected with the adapter Mode Jumper J2 In Single mode default the adapter represents a single drive on one node and can support one additional external peripheral
46. age injury or death exists 1 Install the required special cover on the drive The status indicators can be viewed on the front of the drive after power has been applied 2 Ensure that the adapter will have a unique address on the network If a new address is needed reset its switches see Commissioning the Adapter in this chapter 3 Apply power to the drive The adapter receives its power from the connected drive and network When you apply power to the adapter and network for the first time the status indicators should be green after an initialization If the status indicators go red there is a problem Refer to Chapter 8 Troubleshooting 4 Apply power to the master device and other devices on the network 2 12 Installing the Adapter Notes Chapter 3 Configuring the Adapter This chapter provides instructions and information for setting the parameters in the adapter Topic Page Configuration Tools 3 1 Using the Optional External PowerFlex 4 Class HIM 3 2 Using DriveExplorer via 22 SCM 232 or 1203 USB 3 3 Setting the I O Configuration 3 4 Setting the Node Address 3 4 Setting a Fault Action 3 5 Setting DS Loss Action 3 6 Resetting the Adapter 3 8 Viewing the Adapter Configuration 3 9 For a list of parameters refer to AppendixB Adapter Parameters For definitions of terms in this chapter see the Glossary Configuration Tools The adapter stores parameter
47. al drive cover onto the drive using both cover fasteners To ground the adapter in Frame C drives tighten the adapter s lower left screw Figure 2 3 In either case tighten the screw s to the recommended torque 0 9 Nem 8 0 Ibein to properly ground the adapter Figure 2 3 Mounting and Grounding the Adapter PowerFlex 40 40P Frames B and C and PowerFlex 400 Frame C Adapter Mounted on Back of Required Special Drive Cover Frame C cover shown PowerFlex 40 40P Frame B Part No 22B CCB PowerFlex 40 40P Frame C Part No 22B CCC U PowerFlex 400 Frame C Part No 22C CCC T e o fd RLI SL2 TL3 WTI WiT2 WTS Secesel l 09N Bio SSSL eo brin AAA BR BR O Slo L A N Fi o LJ l L PowerFlex 40 Drive Frame C EC shown with cover removed SOZ Ground for Frame C Drives NOTE For Frame B drives the lower left adapter screw does not ground the adapter To ground the adapter install the special drive cover onto the drive using both cover fasteners 2 6 Installing the Adapter 4 Connect the Internal Interface cable to the DSI port on the drive and then to the mating DSI connector on the adapter Figure 2 4 Connecti
48. ameter number to read or write N7 12 Subindex the DPI port 0 Host or PowerFlex drive 5 22 COMM P etc N7 13 PVA 1 the parameter value high word only used when writing parameters N7 14 PVA 2 the parameter value low word only used when writing parameters The four Parameter Protocol Words set up in the scanner are used to perform the Parameter Protocol N20 2 contains RC the operation to be performed and PNU the parameter number to read or write combined N20 3 Subindex the DPI port VA 1 the parameter value high word PVA 2 the parameter value low word B3 19 15 is turned ON elsewhere in the program after a REQUEST message N7 10 14 is loaded This causes one Param Protocol read or write to occur and B3 19 15 is turned OFF when the transaction is complete Station 1 Par Prot Station 1 Messaging RESPONSE Station 2 Request PCA Word PCA Word B3 19 EQU MOV JE Equal Move 15 Source A N10 2 Source N7 11 0 lt Tiz Source B 0 Dest N20 2 0 lt 0 lt PCA Word RCbit 0 RCbit 0 N7 10 N20 2 JE a 0 12 PCA Word RCbit 1 RCbit 1 N7 10 N20 2 Py Fs 1 13 PCA Word RCbit 2 RCbit 2 N7 10 N20 2 JE L 2 14 IND Word Subindex COP Copy File ce Source N7 12 Dest N20 3 Length 3 12 13 SLC Ladder Logic Examples D 5 Figure D 2 Drive 0 Control Reference Parameter Access Routine continued N10 2 is the Station 1 Respons
49. an view or download publications at http literature rockwellautomation com To order paper copies of technical documentation contact your local Rockwell Automation distributor or sales representative To find your local Rockwell Automation distributor or sales representative visit www rockwellautomation com locations Documentation from SST Woodhead can be obtained online at http www mysst com download P 2 About This Manual Conventions Used in this Manual The following conventions are used throughout this manual e Parameter names are shown in the format Parameter xx The Xx represents the parameter number The represents the parameter name for example Parameter 04 P DP Addr Actual e Menu commands are shown in bold type face and follow the format Menu gt Command For example if you read Select File gt Open you should click the File menu and then click the Open command e The firmware release is displayed as FRN X xxx The FRN signifies Firmware Release Number The X is the major release number The xxx is the minor update number e This manual provides information about the Profibus adapter and using it with PowerFlex 40 drives The adapter can be used with other products that support an internal DSI adapter Refer to the documentation for your product for specific information about how it works with the adapter Rockwell Automation Support Rockwell Automation
50. arameter Access Word 4 PVA 2 COP 7 Copy File Source N20 0 Dest M0 1 0 Length 10 8 END 10 SLC Ladder Logic Examples D 11 Figure D 5 Drive 0 Control Reference Routine Controlling the Logic Command word in the drive B3 20 bits are controlled elsewhere in the user program Station 0 Station 0 Stop Logic Command Command STOP B3 20 N20 0 JE q gt 0 0 Station 0 Station 0 Start Logic Command Cammand START B3 20 N20 0 JE lt gt 1 1 Station 0 Station 0 Jog Logic Command Cammand JOG B3 20 N20 0 q E q gt 2 2 Station 0 Station 0 Clear Faults Logic Command Command CLEAR FAULTS B3 20 N20 0 J E q gt 3 3 Station 0 Station 0 Reverse Logic Command Cammand FORWARD B3 20 N20 0 St 7 4 4 Station 0 Station 0 Reverse Logic Command Canmand REVERSE B3 20 N20 0 q E d gt 4 5 To control the speed reference over the Profibus the three reference select bits bits 14 12 need to have the values 11 Station 0 Logic Command REFERENCE SELECT 0 N20 0 q gt 12 Station 0 Logic Command REFERENCE SELECT 1 N20 0 lt gt 13 Station 0 Logic Command Never Closed REFERENCE SELECT 2 B3 20 N20 0 mo A O 5 14 Station 0 Speed Reference The PowerFlex 40 parameter 38 Speed Reference needs to be set to 5 RS485 DSI Port N19 1 is controlled elsewhere in the user program Station 0 Speed Reference Write MOV Move Soure N19 1 Deg N20 1 END D 12 SLC Ladder Logic Examples
51. arameter Data whether you are reading or writing a data Figure 6 1 Parameter Data Exchange Process 1 Set up and send Parameter Data ry Complete Parameter Data Exchange gt 4 Retreive Parameter e O Data Exchange Response Event Description o You format the required data and set up the ladder logic program to send a Parameter Data Exchange request to the scanner module download The scanner module transmits the Parameter Data Exchange Request to the slave device over the Profibus network The slave device transmits the Parameter Data Exchange Response back to the scanner The data is stored in the scanner buffer The controller retrieves the Parameter Data Exchange Response from the scanner buffer The Parameter Data Exchange is complete Parameter Protocol Using the Parameter Messaging 6 3 This protocol uses 4 words in the Profibus I O area Requests and responses are a handshake procedure and cannot be batched meaning that if the master sends a request it has to wait for the response before sending a new request With this protocol you can e Read 8 bit or 16 bit parameters from any DSI port e Write 8 bit or 16 bit parameters to any DSI port e Read the Adapter Fault C
52. ation about Profibus and the Profibus specification are maintained by the Profibus Trade Organization PTO PTO is online at http www profibus com R Reference Feedback The Reference is used to send a setpoint for example speed frequency torque to the drive It consists of one 16 bit word of output to the adapter from the network Glossary 5 Feedback is used to monitor the speed of a drive It consists of one 16 bit word of input from the adapter to the network Scanner A scanner is a separate module of a multi module controller or a built in component of a single module controller that provides communication with adapters connected to a network See also Controller A Scanner is often called Master Status Indicators Status indicators are LEDs that are used to report the status of the adapter network and drive They are on the adapter and can be viewed on the front cover of the drive when the drive is powered Zero Data When communications are disrupted for example a cable is disconnected the adapter and drive can respond with zero data Zero data results in the drive receiving zero as values for Logic Command and Reference data If the drive was running and using the Reference from the adapter it will stay running but at zero Reference Glossary 6 Notes Numerics 9 pin D shell plug 2 9 A adapter applying power 2 11 commissioning 2 1 compatible products 1 3 components 1 1 definition G
53. d part no HI28B2039 or No ferrite Fair Rite part no 0443164151 required 16 kHz Use three clip ferrites TDK type ZCAT 3035 1330 Notes 1 For the conditions to satisfy the essential requirements for CE compliance on PowerFlex drives see the drive User Manual 2 In applications where first environment unrestricted distribution is requested EN55011 group 1 class B the installation requires a shielded enclosure See the PowerFlex drive User Manual Installing the Adapter 2 11 Termination The first and last node on the Profibus network needs to be terminated by using a Profibus connector with terminating resistors see Figure 2 11 Some connector manufacturers offer standard terminating connectors such as the yellow ERNI Profibus termination vertical connector Part 103659 Standard Profibus node connectors such as the Phoenix Subcon Plus M1 Part 2761826 can be configured as a terminating connector by adding resistors Figure 2 11 Connection for Terminating Resistors RxD TxD N 8 8 RxD TxD N RxD TxD P 3 3 RxD TxD P Vcc 6 390 Ohm GND 5 Applying Power Unpredictable operation may occur if you fail to verify that parameter settings and switch settings are compatible with your application Verify that settings are compatible with your application before applying power to the drive ATTENTION Risk of equipment dam
54. d stopped the last state of bits 0 3 in the Logic Command word is held and the rest of the bits are cleared Default 1 Stop The drive is stopped but not faulted 2 Zero Data The drive is sent 0 for output data This does not command a stop 3 Hold Last The drive continues in its present state Send Fit Cfg The drive is sent the data that you set in the fault configuration parameters Parameters 13 FIt Cfg Logic and 14 Flt Cfg Ref 5 Fault amp CirCmd The drive is faulted and stopped and all of the bits including bits 0 3 in the Logic Command word are cleared 1 This setting is available only with adapter firmware revision 3 xxx or later Figure 3 3 Example Fault Action HIM Screens Comm Fit Action Idle Fit Action Parameter LIMITS UU LIMITS 3 6 Configuring the Adapter Changes to these parameters take effect immediately A reset is not required If Multi Drive mode is used the same fault action is used by the adapter for all of the drives it controls Drive 0 Drive 0 1 to Drive 0 4 Setting the Fault Configuration Parameters If you set Parameter 9 Comm FIt Action or 10 Idle Flt Action to the Send Fit Cfg the values in the following parameters are sent to the drive after a communications fault occurs and or the scanner is idle You must set these parameters to values required by your application Number Name Description 13 Fit Cfg Logic
55. dapter The GSD file contains GSD modules for setting up the communication with the adapter HIM Human Interface Module A device that can be used to configure and control a drive PowerFlex 4 Class HIMs 22 HIM xx can be used to configure PowerFlex 4 Class drives and their connected peripherals Hold Last When communication is disrupted for example a cable is disconnected the adapter and PowerFlex drive can respond by holding last Hold last results in the drive receiving the last data received via the network connection before the disruption If the drive was running and using the Reference from the adapter it will continue to run at the same Reference T O Data T O data sometimes called implicit messages or input output is time critical data such as a Logic Command and Reference The terms input and output are defined from the scanner s point of view Output is transmitted by the scanner and consumed by the adapter Input is transmitted by the adapter and consumed by the scanner Logic Command Logic Status The Logic Command is used to control the PowerFlex 4 Class drive for example start stop direction It consists of one 16 bit word of output to the adapter from the network The definitions of the bits in this word depend on the drive and are shown in Appendix C The Logic Status is used to monitor the PowerFlex 4 Class drive for example operating state motor direction It consists of
56. dapter detected a fault condition on the network 21 Program damage The Checksum of the Program is wrong Appendix A Specifications Appendix A presents the specifications for the adapter Topic Page Communications A 1 Electrical Aal Mechanical A 1 Environmental A 2 Regulatory Compliance A 2 Communications Network Protocol Profibus Data Rates 9 6 Kbps 19 2 Kbps 93 75 Kbps 187 5 Kbps 500 Kbps 1 5 Mbps 3 Mbps 6 Mbps 12 Mbps The adapter has an auto baud rate detection Drive Protocol DSI Electrical Consumption Drive 370 mA at 5V supplied through the drive Network Mechanical Dimensions Height 19 mm 0 75 inches Length 86 mm 3 39 inches Width 78 5 mm 3 09 inches Weight 57 g 2 02 Specifications Environmental Temperature Operating 10 50 C 14 149 F Storage 40 85 C 40 185 F Relative Humidity 5 95 non condensing Vibration Operational 1 0g Non operational 2 5 g Shock Operational 15 0g Non operational 30 0 g Altitude 1000 m 3300 ft without derating Atmosphere Important The adapter must not be installed in an area where the ambient atmosphere contains volatile or corrosive gas vapors or dust If the adapter is not going to be installed for a period of time it must be stored in an area where it will not be exposed to a corrosive atmosphere Regulatory Compliance Certification Specification
57. ddr 1 247 must be unique A107 C306 C102 Comm Format 0 RTU 8 N 1 Set the adapter Mode Jumper J2 to the 5x Multi Drive position Reconnect daisy chained Drives 1 4 to the RS 485 network Power cycle ALL drives on the node to apply new settings NOTE When the adapter is installed in a DSI External Comms Kit you must also power cycle the Comms Kit which will reset the adapter The adapter PORT indicator should now be steady green indicating successfull configuration of the daisy chained Multi Drive node 7 10 Using Multi Drive Mode The following table shows example settings for all five drives on the node PowerFlex 4 Class Drive Parameter Parameter Value Number Name Drive Drive Drive Drive Drive 2 4 40 40P 4M 400 P36 P106 P36 Start Source P38 P108 P38 Speed Reference A103 C302 C103 Comm Data Rate A104 C303 C104 Comm Node Addr 12 A105 C304 C105 Comm Loss Action A106 C305 C106 Comm Loss Time o a o Fil ala o a o rm AJ ala olaj oj A aya ojal oj A A ayo ola olaj A ayo A107 c306 C102 Comm Format 1 The drive must be power cycled for a change to this parameter to take effect The settings for these parameters must match the respective parameter settings in the adapter Parameter 17 Drv 0 Addr through Parameter 21 Drv 4 Addr Important Parame
58. dicators definition G 5 identifying 1 7 locating 8 1 MOD 8 3 NET A 8 4 PORT 8 2 troubleshooting with 8 2 to 8 4 switches locating 1 1 setting 2 2 T technical support P 2 tools required 1 3 troubleshooting 8 1 to 8 6 U update see flash update W web site for GSD file 4 3 for related documentation P 1 wiring see cables Z zero data configuring the adapter for 3 5 definition G 5 U S Allen Bradley Drives Technical Support Tel 1 262 512 8176 Fax 1 262 512 2222 Email support drives ra rockwell com Online www ab com support abdrives www rockwellautomation com Power Control and Information Solutions Headquarters Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Middle East Africa Rockwell Automation Pegasus Park De Kleetlaan 12a 1831 Diegem Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation Level 14 Core Cyberport 3 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication 22COMM UMOO05E EN P June 2012 Supersedes 22COMM UMO05D EN P December 2011 Copyright 2012 Rockwell Automation Inc All rights reserved Printed in USA
59. drive The Parameters menu for the Groups drive will be displayed Linear List Changed Params DIAG E DSEL MEM SELP gt 2 Press Sel key once to display the Device Select menu Device Selected DSI Devices DIAG PARAM MRSS MEM SELD gt 3 Press Enter key to display the DSI Devices menu Press Arrow DsliDevices to scroll to 22 COMM P PowerFlex 40 22 COMM P 4 Press Enter key to select the Parameters Profibus adapter The Parameters s menu for the adapter will be displayed PEIGEWIESi Changed Params DIAG BRAGA DSEL MEM SELP gt Configuring the Adapter 3 3 Table 3 A Accessing Adapter Parameters Using the HIM Continued Step 5 Press Enter key to access the parameters Edit the adapter parameters using the same techniques that you use to edit drive parameters Example Screens Parameter Single Drv VRS LIMITS NOTE All configuration procedures throughout this chapter use the optional external PowerFlex 4 Class HIM to access parameters in the adapter and show HIM screens Using DriveExplorer via 22 SCM 232 or 1203 USB DriveExplorer software version 3 01 or later and the 22 SCM 232 Serial Converter Module revision 2 001 or later or 1203 USB can be used to access parameters in the adapter 1 Connect the 22 SCM 232 or 1203 USB to the drive for example PowerFlex 40 and to a PC s
60. e Preparing for an Installation 2 1 Commissioning the Adapter 2 1 Connecting the Adapter to the Drive 2 5 Connecting the Adapter to the Network 2 8 Termination 2 11 Applying Power 2 11 Preparing for an Installation Before installing the adapter verify that you have all required equipment See Chapter 1 Required Equipment Commissioning the Adapter To commission the adapter you must set a unique node address and check the data rate that is used by the network Refer to the Glossary for details about node addresses Important New settings are recognized only when power is applied to the adapter If you change a setting cycle power ATTENTION Risk of equipment damage exists The Profibus adapter contains ESD Electrostatic Discharge sensitive parts that can be damaged if you do not follow ESD control procedures Static control precautions are required when handling the adapter If you are unfamiliar with static control procedures refer to Guarding Against Electrostatic Damage Publication 8000 4 5 2 2 2 Installing the Adapter 1 Set the adapter Node Address Firmware Update switches see Figure 2 1 The Profibus Node Address Firmware Update State is configurable using an 8 bit DIP switch The low seven bits set a node address and the valid address allows binary coding of 1 through 125 A new node address setting is recognized only when power is applied to the adapter by power cycling the drive or after an ada
61. e Parameter Access Word 1 It is lt gt 0 when a message has been received in response to a message request If the response is gt 7000 hex 28672 decimal then the adapter is responding that an error has occurred In this case the returned data in the response will contain a fault code and not the parameter value data The response message can be found at N7 20 PCA Word contains RC and PNU N7 21 Subindex the DPI port O Host or PowerFlex drive N7 22 PVA 1 the parameter value high word N7 23 PVA 2 the parameter value low word The PVA s will either contain parameter read data echo the parameter write data or contain an error code if unsuccessful 5 22 COMM P etc Station 1 Par Prot Station 1 Messaging RESPONSE RESPONSE Message Request PCA Word PCA Word B3 19 NEQ m COP 4k Not Equal Copy File 15 Source A N10 2 Source N10 2 0 lt Dest N7 20 Source B o Length 4 0 lt Station 2 PCA Word MOV Move Source o 0 lt Dest N20 2 0 lt Station 1 Par Prot Messaging Request B3 19 15 END gt D 6 SLC Ladder Logic Examples Figure D 3 Drive 1 Control Reference Parameter Access Routine Controlling the Logic Command word in the drive B3 21 bits are controlled elsewhere in the user program Station 2 Station 2 Stop Logic Command Command STOP B3 21 N20 6 0 _ _ ARAAaapaa lt gt 0 0 Station 2 Station 2 Start Logic Co
62. eft hole on the board Important Tighten the mounting screw in the adapter s lower left hole to the recommended torque 0 9 Nem 8 0 Ibein to ground the adapter to the drive Figure 2 5 Mounting and Connecting the Adapter PowerFlex 400 Frames D E and F Adapter Installation Side View Bottom of Adapter Board LEDs L lala C Dg Connector Internal Interface Ribbon Cable ae J O e olrol a eola alo s o L PowerFlex 400 Frame D shown with cover removed 2 8 A Installing the Adapter DSI External Comms Kit 22 XCOMM DC BASE When connecting the adapter to a DSI External Comms Kit use either an RS 485 rated cable with two connectors from AK U0 RJ45 TB2P kit or an 8 conductor cable such as a standard ethernet patch cord or a 22 RJ45CBL C20 cable Figure 2 6 Single Mode Example With Adapter in DSI External Comms Kit up to 4 drives per node Profibus PowerFlex 4 Class Drive CI Igdobo i eca 22 COMM P F Adapter i Powerex RS 485 NOTE A terminating resistor is not required
63. ended solely for purposes of example There are many variables and requirements with any application Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication About I O Messaging T O messaging is used to transfer the data which controls the PowerFlex drive and sets its reference The Profibus adapter provides options for configuring and using I O including the size of I O which can be configured by selecting the number of attached drives Single or Multi Drive mode Chapter 3 Configuring the Adapter and Chapter 4 Using I O Messaging discuss how to configure the adapter and scanner on the network for these options The Glossary defines the different options This chapter discusses how to use I O after you have configured the adapter and scanner 5 2 Using I O Messaging Understanding the I O Image The Profibus specification requires that the terms input and output be defined from the scanner s point of view Therefore Output I O is data that is output from the scanner and consumed by the Profibus adapter Input I O is status data that is produced by the adapter and consumed as input by the scanner The I O image table will vary based on the e Configuration of the Mode Jumper J2 on the adapter and Parameter 11 DSI I O Cfg The image table always uses consecutive words starting at word 0 Figure 5 1 illustra
64. erial COM port and apply power to the drive 2 Launch DriveExplorer and click the Connect Serial button in the toolbar In the left window under Devices Node 1 PowerFlex 40 appears There are three configurable devices the PowerFlex 40 drive Profibus adapter and Serial Converter Module 22 SCM 232 Figure 3 1 Example DriveExplorer Window to Access Adapter Parameters zoj File Edit Explore Actions Help Daeh t spe S s s E Devices S_ Np Pt Name value units Fi Node 1 PowerFlex 40 R EL Mode Single Drv HO PowerFlex 40 1P 240V 50HP ed 1 1 2 Reserved o 1 2 M P PROFIBUS Module i z P 4 ihe ir Act 2 22 5CM 232 Serial Module E AT PE RAT Ds darier R 16 Reserved o Compare Results Roz Reserved 0 1 18 Reset Module Ready 11g Comm Fit Action Fault 1110 Idle Fit Action Fault ni DSI I O Cfg Drvo Bb niU DSI I O Act Drv 0 1 1 13 Fit Cfg Logic o 1 114 Fit Cfg Ref 0 0 Hz 1 1415 Reserved o 1 1 16 Reserved 0 1 1417 Drv 0 Addr 1 1 1 18 Drv 1 Addr 2 11 19 Drv 2 Addr 3 1 1 20 Drv 3 Addr 4 1 1 21 Drv 4 Addr 5 1 1 22 Reserved o 1 1 23 Reserved 0 1 1 24 PB State WAIT_PRM For Help press F1 flocalDSI For additional information see DriveExplorer online help 3 4 Configuring the Adapter Setting the Node Address See page 2 2 for details to set the node address Setting the I O Configuration The I O configuration determines the number of drives that will be repre
65. ex 4 Class Drives co CI gobo Qdobo lodobo ooo bool o e 22 COMM P Adapter NOTE A terminating resistor is not AK U0 RJ45 TB2P AK U0 RJ45 TB2P required for this end of the wiring Kit Connectors Kit Connector with The resistor is built into the circuitry Terminating Resistor of the DSI External Comms Kit Lol 7 4 Using Multi Drive Mode Benefits of Multi Drive mode include Lower hardware costs Only one adapter is needed for up to five drives Any PowerFlex 4 Class drive can be daisy chained Reduces the network node count For example in Single mode 30 drives would consume 30 nodes In Multi Drive mode 30 drives can be connected in 6 nodes Provides a convenient way to put more than one PowerFlex 4 Class drive on the network using only one adapter PowerFlex 4 and PowerFlex 4M drives do not have an internal communications adapter slot Controller can independently control monitor and read write parameters for all five drives Trade offs of Multi Drive mode include When a PowerFlex 40 40P 400 drive with an internal mounted adapter is powered down communications with the daisy chained drives is disrupted and the drives will take the appropriate communications loss action set in each drive However communications will not be disrupted when the adapter is used in a DSI External Comms Kit and a daisy chained drive is powered dow
66. ex 400 drives When operated in Multi Drive mode Chapter 7 the adapter provides the means for up to five 5 PowerFlex 4 Class drives to operate on the network and be represented as only one node Required Equipment Equipment Shipped with the Adapter When you unpack the adapter verify that the package includes O One adapter Q One 15 24 cm 6 in Internal Interface cable Q One floppy disc with GSD file Q One PowerFlex 4 Class DSI Drive Serial Interface Network Communication Adapter Installation Instructions publication 22COMM IN002 1 4 Getting Started User Supplied Equipment To install and configure the adapter you must supply Q A small flathead screwdriver Q Profibus cable One 9 pin male D Sub PROFIBUS connector Note PROFIBUS connectors are available from a variety of sources and in various sizes As such there may be mechanical limitations that prohibit the use of some connectors Q Configuration tool such as PowerFlex 4 Class HIM 22 HIM A3 or 22 HIM C2S required to access adapter parameters when not using DriveExplorer software or DriveExecutive software DriveExplorer version 3 01 or later uses 22 SCM 232 DSI serial converter version 2 001 or later DriveExecutive stand alone software version 3 01 or later or bundled with the DriveTools SP suite version 2 02 or later Q Profibus configuration software Q Controller configuration software gt BPP
67. ge exists Parameter 09 Comm Fit Action lets you determine the action of the adapter and connected drive if the I O communications are disrupted By default this parameter faults the drive You may configure this parameter so that the drive continues to run however precautions should be taken to ensure that the setting of this parameter does not create a risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations for example a disconnected cable Parameter No Name and Description 10 Idle Fit Action Sets the action that the adapter and drive take if the adapter detects that the controller is in program mode or faulted This setting is effective only if I O that controls the drive is transmitted through the adapter When the controller is put back in Run mode the drive will automatically receive commands over the network again A Adapter Parameters Details Default Values Type Reset Required B 3 0 Fault 0 Fault 1 Stop 2 Zero Data 3 Hold Last 4 Send Fit Cfg 5 Fault amp ClrCmd Read Write No This setting is available only with adapter firmware revision 3 xxx or later ATTENTION Risk of injury or equipment damage exists Parameter 10 Idle Fit Action lets you determine the action of the adapter and connected drive when the controller is idle By default this parameter faults the drive Yo
68. ing AK U0 RJ45 TB2P terminal block connectors and terminating resistors Figure 7 7 Connector Wiring Diagram With Adapter in Drive To Drive 0 PowerFlex 40 40P 400 drive with installed 22 COMM P adapter To To To To 7 Drive1 Drive2 Drive3 Drive 4 120 Ohm u U S Y Watt oS e an oo Terminating 120 Ohm Resistor 14 Watt Terminating Resistor Figure 7 8 Connector Wiring Diagram With Adapter in DSI External Comms Kit To DSI External Comms Kit with installed 22 COMM P adapter To To To To To Drive 0 Drive 1 Drive 2 Drive 3 Drive 4 EX a U U LU U U EKA e 120 Ohm 4 Watt ae ae Terminating NOTE A terminating resistor is not Resistor required for this end of the wiring The resistor is built into the circuitry of the DSI External Comms Kit NOTE When connecting the drives in a Multi Drive configuration the order in which the drives are connected does not matter That is Drive 0 can be any of the drives and Drive 0 does not have to be the drive in which the adapter is installed or the drive to which the DSI External Comms Kit is plugged into Using Multi Drive Mode 7 7 Understanding the I
69. ive Troubleshooting Corrective Action Securely connect the adapter to the drive using the ribbon cable Apply power to the drive or adapter if mounted in a DSI External Comms Kit Flashing Red The adapter has faults or a drive is missing in Multi Drive mode Clear faults in the drive Disconnect additional DSI peripheral and cycle power to the drive or adapter if mounted in a DSI External Comms Kit If cycling power does not correct the problem the adapter parameter settings may have been corrupted Reset defaults and reconfigure the adapter If resetting defaults does not correct the problem flash the adapter with the latest firmware release For Multi Drive mode determine which drive is missing or faulted Check cabling and configuration settings see Configuring the RS 485 DSI Network on page 7 8 Solid Red The adapter has failed the hardware test Cycle power to the drive or adapter if mounted in a DSI External Comms Kit Replace the adapter Flashing Green The adapter is operational but is not transferring I O data Place the scanner in RUN mode Program the controller to recognize and transmit I O to the adapter Configure the adapter for the program in the controller Solid Green The adapter is operational and transferring I O data No action required 8 3 8 4 Troubleshooting NET A Status Indicator Status Cause Corrective Actions
70. mage exists When a system is configured for the first time there may be unintended or incorrect machine motion Disconnect the motor from the machine or process during initial system testing ATTENTION Hazard of injury or equipment damage exists The examples in this publication are intended solely for purposes of example There are many variables and requirements with any application Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication 1 6 Getting Started Quick Start This section is designed to help experienced users start using the adapter If you are unsure how to complete a step see the referenced chapter Step Action See 1 Review the safety precautions for the adapter Throughout manual 2 Verify that the PowerFlex drive is properly installed Drive User Manual 3 Commission the adapter Chapter 2 Set a unique node address using the DIP switch for Bit 1 to 7 Installing the on the adapter Adapter 4 Install the adapter Verify that the PowerFlex drive and Profibus network are not powered Then connect the adapter to the network using a Profibus cable and to the drive using the internal Interface cable Use the captive screws to secure and ground the adapter to the drive 5 Apply power to the adapter The adapter receives power from the drive Apply power to the drive
71. mm Loss Action PowerFlex 4M C304 Comm Loss Action PowerFlex 400 C105 Comm Loss Action Precautions should be taken to ensure that the setting of adapter Parameter 25 and drive parameter A105 C304 or C105 does not create a risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations for example a faulty drive DSI cable or excessive electrical noise interference Set the value of Parameter 25 DSI Loss Action to a desired response Hold Sts Fbk Holds the last data in the Logic Status and Feedback words prior Default to the DSI communication loss fault 1 Zero Sts Fbk Zeros the data in the Logic Status and Feedback words prior to the DSI communication loss fault Figure 3 4 Example DSI Loss Action HIM Screen DSI Loss Action Parameter Hold Sts Fbk LIMITS Changes to this parameter take effect immediately A reset is not required 3 8 Configuring the Adapter Resetting the Adapter Changes to switch settings or some adapter parameters require that you reset the adapter before the new settings take effect You can reset the adapter by cycling power to the drive or by using the following parameter adapter is transmitting control I O to the drive the drive may fault when you reset the adapter Determine how your drive will respond before resetting a connected adapter ATTENTION Risk of injury or equipment damage exists
72. mmand Command START B3 21 N20 6 1 e a 1 1 Station 2 Station 2 Jog Logic Command Command JOG B3 21 N20 6 2 ne Gy a 2 2 Station 2 Station 2 Clear Faults Logic Command Command CLEAR FAULTS B3 21 N20 6 3 J E 3 3 Station 2 Station 2 Reverse Logic Command Command FORWARD B3 21 N20 6 4 4E 4 4 Station 2 Station 2 Reverse Logic Command Command REVERSE B3 21 N20 6 5 J E 4 5 To control the speed reference over the Profibus the three Reference Select bits bits 14 12 need to have the values 011 Station 2 Logic Command REFERENCE SELECT 0 N20 6 12 Station 2 Logic Command REFERENCE SELECT 1 N20 6 13 Station 2 Logic Command Never Closed REFERENCE SELECT 2 B3 21 N20 6 8 Pe SG 5 14 10 11 SLC Ladder Logic Examples D 7 Figure D 3 Drive 1 Control Reference Parameter Access Routine continued Station 2 Speed Reference The PowerFlex 40 parameter 38 Speed Reference needs to be set to 5 RS485 DSI Port N19 7 is controlled elsewhere in the user program Station 2 Speed Reference Write MOV Move Source N19 7 314 lt Dest N20 7 314 lt This section of the routine is only needed if the application needs to perform Parameter Protocol Reads or Writes to Station 2 On power up initialize the Parameter Protocol routine Station 2 Par Prot Messaging First Pass Request 1 B3 19 d F U gt 15 0 This circuit utilizes the Parameter Protocol A REQUEST to Station 2 is processed only once
73. mple program demonstrates using Logic Command Reference Logic Status Feedback and Parameter Access using the Parameter Protocol On power up zero out the transmit buffer to the Scanner First Pass S 1 r FLL 0 J Fill File 15 Source 0 Dest N20 0 Length 12 Automatically have the SST PFB SCL scanner s watchdog period track that of the SCL processor recommended per SST user manual Mou 1 Move Source S 3 2561 lt Dest M0 1 4011 lt The Scanner is configured to 12 bytes 6 words of inputs for each drive Two drives require 24 bytes 12 words Read the drives data from the Profibus scanner File N10 contains the acutal read data that can be used elsewhere in the ladder program Station 1 Station 2 Description M1 1 0 N10 0 M1 1 6 N10 6 Logic Status M1 1 1 N10 1 M1 1 7 N10 7 Speed Feedback M1 1 2 N10 2 M1 1 8 N10 8 Parameter Protocol Word 1 PCA M1 1 3 N10 3 M1 1 9 N10 9 Parameter Protocol Word 2 IND M1 1 4 N10 4 M1 1 10 N10 10 Parameter Protocol Word 3 PVA 1 M1 1 5 N10 5 M1 1 11 N10 11 Parameter Protocol Word 4 PVA 2 COP 2 Copy File Source M1 1 0 Dest N10 0 Length 12 Execute LAD 3 Station 1 Drive Logic r JSR 3 Jump To Subroutine r SBR File Number U 3 Execute LAD 4 Station 2 Drive Logic JSR 4 Jump To Subroutine SBR File Number U 4 Write the drives data to the profibus scanner File N20 contains the actual
74. mum cycle time attention window pops up click OK to continue After the configuration has been loaded into the scanner Configured Program will be displayed in the message window see Figure 4 20 Figure 4 20 Network Window Scanner Selection BF PROFIBUS_DP amp 000 Configured Program SST_PFB_SLC_MASTER E E 001 _22_COMM_P 4 002 _22_COMM_P_1 4 12 Configuring the Profibus Scanner 20 Click File and Save As from the tool bar as a unique File Name The configuration of the scanner is now complete Note that cycling power to the scanner is recommended see Figure 4 21 Figure 4 21 Save As Dialog Window Save in Sy Pbe gt e aae F 22 COMM P_1Node Multi Drive pbc p 22 COMM P_2Node Single Drive pbe Filename _ 22 COMM P_2Node Single Drive pbc Save as type sst Profibus Config Files pbc 7 Cancel 4 21x Summary of the example scanner configuration Module M0 M1 Addressing Station 1 Station 2 Logic Command Status 0 6 Reference Feedback 1 7 Parameter Access 2 8 Chapter 5 Using I O Messaging This chapter provides information that explains how to use I O Messaging to control a PowerFlex 40 drive Topic Page About I O Messaging 5 1 Understanding the I O Image 5 2 Using Logic Command Status 5 3 Using Reference Feedback 5 3 ATTENTION Risk of injury or equipment damage exists The examples in this publication are int
75. n Communications throughput to the daisy chained drives will be slower than if each drive was a separate node on the network Single mode This is because the adapter must take the network data for the other drives and sequentially send the respective data to each drive over RS 485 The maximum additional throughput time for Logic Command Reference to be transmitted and received by each drive in Multi Drive mode is Additional Maximum Adapter Mounted In Drives per Node Throughput Time vs Single Mode 1 drive 0 milliseconds 2 drives 24 milliseconds PowerFlex 40 40P 400 Drive or DSI External Comms Kit 3 drives 48 milliseconds 4 drives 72 milliseconds 5 drives 96 milliseconds Since the RS 485 ports are used for daisy chaining the drives there is no connection for a peripheral device such as a HIM The AK U0 RJ45 SC1 DSI Splitter cable cannot be used to add a second connection for a peripheral device Using Multi Drive Mode 7 5 Additional Information e When the adapter mounted in a PowerFlex 40 40P 400 drive or a DSI External Comms Kit is powered up all configured daisy chained drives must be present before an I O connection is allowed on the network that is before the drives can be controlled If the adapter PORT indicator is steady green the adapter is properly communicating with all drives on the Multi Drive node If the PORT indicator is steady red one or more of the drives on the RS 485
76. n Details 25 DSI Loss Action Default 0 Hold Sts Fbk Sets the action that the adapter will take for the Values 0 Hold Sts Fbk Logic Status and Feedback words when the 1 Zero Sts Fbk Type Read Write adapter detects that DSI communication with the drive has been lost 2 This parameter is available only with adapter firmware revision 4 001 or later and only applies when the adapter is operated in Single mode When operated in Multi Drive mode the Logic Status and Feedback words are zeroed for any drive that loses DSI communication Reset Required No Loss Action lets you determine the action of the adapter when DSI communication with the drive has been lost By default this parameter maintains the Logic Status and Feedback word values sent to the controller at the timeDSI communication was lost that is hold last state Alternatively you can set this parameter so that the Logic Status and Feedback word values are zeroed after a DSI communication loss Whether the drive faults or takes a different action is determined by the setting of the following drive parameter ATTENTION Risk of injury or equipment damage exists Parameter 25 DSI Drive Parameter Number Name PowerFlex 4 40 and 40P A105 Comm Loss Action PowerFlex 4M C304 Comm Loss Action PowerFlex 400 C105 Comm Loss Action Precautions should be taken to ensure that the setting of adapter Parameter 25 and drive parameter A105 C304 or
77. network is not communicating e When the PowerFlex 40 40P 400 drive with the internal mounted adapter is powered down communication with the daisy chained drives is disrupted and the drives will take their respective Comm Loss Actions When the adapter is used in a DSI External Comms Kit 22 XCOMM DC BASE communication will not be disrupted when a daisy chained drive is powered down e When any of the daisy chained drives is powered down the respective Input Image Logic Status and Feedback sent to the scanner will be zeros and the PORT and MOD indicators on the adapter will alternately flash red The I O connection will not be dropped until the last drive is disconnected or powered down Important Status information from the scanner will not indicate there is a fault at the node and the I O connection will not be dropped If your application requires an action to be taken when DSI communication is lost with one or more drives monitor adapter Parameter 12 DSI I O Act to verify that the adapter is communicating with all connected drives System Wiring The AK U0 RJ45 TB2P kit contains 6 two position terminal block connectors Figure 7 6 which can be used to conveniently daisy chain the PowerFlex 4 Class drives Two terminating resistors are also included with the AK U0 RJ45 TB2P kit Figure 7 6 AK U0 RJ45 TB2P Terminal Block Connector 7 6 Using Multi Drive Mode Figure 7 7 and Figure 7 8 show wiring diagrams for us
78. ng DSI Ports with Internal Interface Cable oooO pool mcm OO p OOOOOD RLI SL2 TL3 WTI WTZ WTS SSSL n BAE BRe BR GLO PowerFlex 40 Drive Frame C shown with cover removed 22 COMM P Adapter Back of Required Special Drive Cover Description DSI Connector 15 24 cm 6 in Internal Interface cable Profibus cable Item 1 2 4 Retaining screws Installing the Adapter 2 7 PowerFlex 400 Frames D E and F 1 2 3 Remove power from the drive and open the drive cover Use static control precautions With the adapter board right side up remove its mounting screw from the lower left hole Save the screw for mounting in Step 6 Connect the Internal Interface cable to the DSI port on the drive see Figure 2 5 With the adapter board oriented bottom side up route the Internal Interface cable under the adapter and then to the mating DSI connector on the adapter Install the adapter bottom side up to the right side of the display board by snapping it into place Then insert the adapter mounting screw into the lower l
79. ns Input Output Logic Cmd Reference Parameter 1 Parameter 11 Size Size Status Feedback Mode DSI I O Cfg 4 4 Vv Vv Single Drv Drive 0 8 8 Vv Vv Drives 0 1 12 12 Vv Y Drives 0 2 Multiple Dy Sie 16 16 v Y Drives 0 3 20 20 Vv Vv Drives 0 4 Select Drive 0 Ctrl Stat amp Ref Fdbk 2 2bytes from the Available Modules list as shown in Figure 4 12 Click OK The Drive 0 Ctrl Stat amp Ref Fdbk 2 2 bytes module has now been added Figure 4 13 Modules Drive 0 Viewing Window Allen Bradley z2 comm OOOO General Modules SLC Address Std Prms Diagnostics Description Add 0 InOut4b Ctrl Stat amp Ref Fb DrvO R emove Properties No Name IZ Modular Station Module 1 of 6 Input 4of 46 Output 4 of 46 Data 8 of 92 OK Abbrechen Hilfe Configuring the Profibus Scanner 4 9 12 Click Add to continue adding modules Select Parameter Access and click OK Figure 4 14 Add Modules Parameter Access Selection Window Add Modules x Available Modules Parameter Access Ctrl Stat amp Ref Fb Drv 4Bytes OK Ctrl Stat amp Ret Fb DrvO 1 4Bytes Lok Ctrl Stat amp Aet Fb Drv0 2 4Bytes Ci StattRet Fb Drv0 3 tes Cancel Ctrl Stat amp Ref Fd Drv0 4 4 Data Sizes Input 8 Count 1 Data Area Output 8 13 The Parameter Access module has now been added as shown in
80. nsibility or liability to include intellectual property liability for actual use of the examples shown in this publication ATTENTION Risk of equipment damage exists If Parameter Messaging is programmed to write parameter data to Non Volatile Storage NVS frequently the NVS will quickly exceed its life cycle and cause the drive to malfunction Do not create a program that frequently uses Parameter Messaging to write parameter data to NVS About the Parameter Messaging The Parameter Messaging is used to transfer data that does not require continuous updates With the Parameter Messaging you can configure and monitor a slave device s parameters on the Profibus network To be able to use the parameter protocols in the 22 COMM P the Parameter Access module must be added to the master configuration when configuring the network Refer to step 13 page 4 9 to view the procedure for adding the Parameter Access module to a configuration This maps 4 words input and output to the end of the I O configuration which is used as the request response in the parameter message format Figure 6 2 6 2 Using the Parameter Messaging Running the Parameter Messaging There are five basic events in the Parameter Data Exchange process defined below The details of each step will vary depending on the controller Refer to the documentation for your controller Important There must be a request message and an response message for all P
81. ode e Read Events e Read Diagnostic Items Figure 6 2 Parameter Message Format Bit Parameter Access Word 1 PCA Parameter Access Word 2 IND Parameter Access Word 3 PVA Parameter Access Word 4 PVA Request Response 15 12 11 10 0 15 12 11 10 0 RC SPM PNU RC SPM PNU Subindex Subindex Spare Spare Parameter value Parameter value See Parameter Message Request on page 6 4 and Parameter Message Response on page 6 5 for a description of the data that is required in each word 6 4 Using the Parameter Messaging Parameter Message Request Word 1 Description PNU Parameter Number Bit 0 10 The parameter number determines which parameter to access in the selected peripheral Parameters 1 1023 can be accessed Parameter numbers 1024 2047 are used to access the fault object Parameter 1024 is equal to the latest fault 1025 to the prior fault and so on Bit definitions 1 1023 Parameters Drive or Adapter 1024 Adapter Fault Code 1025 1056 Adapter Events 1280 1289 Diagnostic Items Single Drive 1280 1304 Diagnostic Items Multi Drive SPM Spontaneous Message Bit 11 Reserved Should always bet set to 0 RC Request Response Code Bit 12 15 One of the following codes have to be used 0 No request 1 Request parameter value 2 Change parameter value 8 bit amp 16 bit word 3 Spare 4 Parameter minimum 5 Parameter maximum
82. oduced by the controller and consumed by the adapter The Feedback 16 bits is produced by the adapter and consumed by the controller When enabled Reference Feedback begins at word 1 in the I O image Size Drive Valid Values 0 Word in I O Image PowerFlex 4 and 4M 240 0 240 0 Hz eu F ord 1 16 bit PowerFlex 40 and 40P 400 0 400 0 Hz see Figure 5 1 PowerFlex 400 320 00 320 00 Hz 1 The Reference Feedback for a PowerFlex 4 Class drive is set in Hz and not in engineering units like PowerFlex 7 Class drives For example 300 equates to 30 0 Hz the decimal point is always implied for all PowerFlex 4 Class drives except PowerFlex 400 for which 3000 equates to 30 00 Hz In all cases a minus value equates to reverse motor direction and a plus value equates to forward motor direction 5 4 Using I O Messaging Notes gt Chapter 6 Using the Parameter Messaging This chapter provides information that explains how to use Parameter Messaging to monitor and configure the adapter and connected PowerFlex 4 Class drive as well as other peripherals Topic Page About the Parameter Messaging 6 1 Running the Parameter Messaging 6 2 Parameter Protocol 6 3 ATTENTION Risk of injury or equipment damage exists The examples in this publication are intended solely for purposes of example There are many variables and requirements with any application Rockwell Automation does not assume respo
83. offers support services worldwide with over 75 sales support offices over 500 authorized distributors and over 250 authorized systems integrators located through the United States alone In addition Rockwell Automation representatives are in every major country in the world Local Product Support Contact your local Rockwell Automation Inc representative for Sales and order support Product technical training Warranty support Support service agreements Technical Product Assistance For technical assistance please review the information in Chapter 8 Troubleshooting first If you still have problems then access the Allen Bradley Technical Support web site at www ab com support abdrives or contact Rockwell Automation Inc Chapter 1 Getting Started The adapter is intended for installation into a PowerFlex 40 PowerFlex 40P or PowerFlex 400 drive and is used for network communication The adapter can also be installed in a DSI External Comms Kit 22 KCOMM DC BASE When operated in Multi Drive mode Chapter 7 the adapter provides the means for up to five 5 PowerFlex 4 Class drives to operate on the network and be represented as only one node Topic Page Topic Page Components 1 1 Safety Precautions 1 5 Features 1 2 Quick Start 1 6 Compatible Products 1 3 Status of Operation 1 7 Required Equipment 1 3 Components Figure 1 1 Components of the Adapter Series A adapter shown Series B
84. one 16 bit word Glossary 4 of input from the adapter to the network The definitions of the bits in this word depend on the drive and are shown in Appendix C M Master See Scanner N Node Address A Profibus network can have as many as 126 devices connected to it Each device on the network must have a unique node address between 0 and 126 NVS Non Volatile Storage NVS is the permanent memory of a device Devices such as the adapter and drive store parameters and other information in NVS so that they are not lost when the device loses power NVS is sometimes called EEPROM P Parameter Messaging Parameter Messages are used to configure monitor and diagnose devices over Profibus PowerF lex 4 Class Component Class Drives The Allen Bradley PowerFlex 4 Class family of drives supports DSI and at the time of publication includes the PowerFlex 4 PowerFlex 40 PowerFlex 40P and PowerFlex 400 These drives can be used for applications ranging from 0 2 110 kW 0 25 150 HP Profibus Network A Profibus network uses RS485 to connect devices for example controllers drives and motor starters A Profibus network can support a maximum of 126 devices Each device is assigned a unique node address and transmits data on the network at the same data rate A cable is used to connect devices on the network It contains the bus signal Devices can be connected to the network in a daisy chain connection General inform
85. pe of cable and total cable length used on the network Baud Rate Maximum Cable Length 9 6 Kbps 1000 m 19 2 Kops 1000 m 93 75 Kbps 1000 m 187 5 Kbps 1000 m 500 Kbps 400 m 1 5 Mbps 200 m 3 Mbps 100 m 6 Mbps 100 m 12 Mbps 100 m Glossary 2 DSI Device Serial Interface A modification of the ModBus RS 485 serial communication protocol used by various Allen Bradley drives and power products DSI Peripheral A device that provides an interface between DSI and a network or user Peripheral devices are also referred to as adapters and modules The serial converter and PowerFlex 4 Class HIMs 22 HIM xx are examples of DSI peripherals DSI Product A device that uses the DSI communications interface to communicate with one or more peripheral devices For example a motor drive such as a PowerFlex 4 Class drive is a DSI product In this manual a DSI product is also referred to as drive or host DriveExplorer Software A tool for monitoring and configuring Allen Bradley drives and communication adapters It can be run on computers running various Microsoft Windows operating systems DriveExplorer version 3 xx or higher can be used to configure this communication adapter and PowerFlex 4 Class drives Information about DriveExplorer software and a free lite version can be accessed at http www ab com drives driveexplorer DriveTools SP Software A software suite designed for
86. pter Reset Module command The MSB bit provides write access for the module flash firmware update In normal operating state SW8 should be set to 1 Figure 2 1 Setting the Node Address Firmware Update Switches Byte Swap Jumper and Single Multi Drive Operation Jumper Ea lt J2 DN s i Position A i Position B a P s N ri 2 l o lt f xE 1 1X i Ani ll A ra 5x E 1 5X o 1 Fi i OIN 1 SingleMode Multi Drive Mode J 9 N Operation Operation E ee i p NODE 7 ADDRESS SWITCHES Sy ee AA 12345678 J1 AE 3 PY 12345678 oomo e Q OOOO J al tee UP OPEN 1 Off S a DOWN CLOSED 0 0n Series A adapter shown S A Series B adapter Jumper J2 and J3 locations are different Switches Description Default SW1 Least Significant Bit LSB of Node Address 1 SW 2 Bit 1 of Node Address 1 SW 3 Bit 2 of Node Address 1 SW 4 Bit 3 of Node Address 1 SW 5 Bit 4 of Node Address 1 SW6 Bit 5 of Node Address 1 SW7 Most Significant Bit MSB of Node Address 1 SW 8 SW8 Firmware Update 1 SW8 Description Setting 0 Write Access Firmware Update 1 Normal Operating State Important In normal operating state SW8 should be set to 1 2 3
87. r Protocol read or write to occur and B3 19 0 is turned OFF when the transaction is complete Par Prot Messaging RESPONSE Request PCA Word PCA Word B3 19 EQU MOV Equa 0 Source A Source B PCA Word RCbit 0 RCbit 0 N7 10 N20 6 m _ lt 1 0 12 PCA Word RCbit 1 RCbit 1 N7 10 N20 6 4 E E 1 13 PCAWord RCbit 2 RCbit 2 N7 10 N20 6 q E E 2 14 IND Word Subindex COP Copy File Source N7 12 Dest N20 7 Length Figure D 8 Parameter Accessing Routine continued SLC Ladder Logic Examples D 15 N10 6 is the Response Parameter Access Word 1 It is lt gt 0 when a message has been received in response to a message request If the response is gt 7000 hex 28672 decimal then the adapter is responding that an error has occurred In this case the returned data in the response will contain a fault code and not the parameter value data The response message can be found at N7 20 PCA Word contains RC and PNU N7 21 Subindex the DPI port 0 Station 0 1 Station 1 2 Station 2 5 22 COMM P etc N7 22 PVA 1 the parameter value high word N7 23 PVA 2 the parameter value low word The PVA s will either contain parameter read data echo the parameter write data or contain an error code if unsuccessful Par Prot Messaging RESPONSE RESPONSE Message Request PCA Word PCA Word B3 19 NEQ COP JE Not Equal
88. returned to DSI drive 5 Logic Sts Status of the drive returned to Profibus 6 Feedback Feedback from drive returned to Profibus 7 Profibus Rx Errors Current value of the Profibus Receive Error Counter register 8 Profibus Tx Errors Current value of the Profibus Transmit Error Counter register 9 Data Rate Current setting of the Profibus baud rate 10 Node Address Current setting of the adapter Node address switch Troubleshooting 8 5 Adapter Diagnostic Items in Multi Drive Mode In Multi Drive mode it is not possible to connect a peripheral device such as a HIM or 22 SCM 232 DriveExplorer Therefore the following adapter diagnostic items can only be accessed via the Profibus network No Name Description 1 Field Flash Cnt The number of Firmware Updates 2 Adapter Events The number of events in the event queue 3 Drv 0 Reference Reference from Profibus returned to DSI Drive 0 4 Drv 0 Logic Cmd Command from Profibus returned to DSI Drive 0 5 Drv 0 Logic Sts Status of the Drive 0 returned to Profibus 6 Drv 0 Feedback Feedback from Drive 0 returned to Profibus 7 Drv 1 Reference Reference from Profibus returned to DSI Drive 0 1 8 Drv 1 Logic Cmd Command from Profibus returned to DSI Drive 0 1 9 Drv 1 Logic Sts Status of the Drive 0 1 returned to Profibus 10 Drv 1 Feedback Feedback from Drive 0 1 returned to Profibus 11
89. running on various Microsoft Windows operating systems This software suite provides a family of tools including DriveExecutive that you can use to program monitor troubleshoot and maintain Allen Bradley products DriveTools SP can be used with PowerFlex drives Information about DriveTools SP can be accessed at http www ab com drives drivetools F Fault Action A fault action determines how the adapter and connected drive act when a communications fault for example a cable is disconnected occurs or when the scanner is switched out of run mode The former uses a communications fault action and the latter uses an idle fault action Fault Configuration When communications are disrupted for example a cable is disconnected the adapter and PowerFlex drive can respond with a user defined fault configuration The user sets the data that is sent to the drive using specific fault configuration parameters in the adapter When a fault action parameter is set to use the fault configuration data and a Glossary 3 fault occurs the data from these parameters is sent as the Logic Command Logic and or Reference Feedback See Reference Feedback Flash Update The process of updating firmware in a device The adapter can be flash updated using the controlFLASH tool or the X Modem protocol and a 1203 SSS Smart Self powered Serial converter firmware 3 xxx or later GSD File A file used by network configuration tools to configure the a
90. s and other information in its own non volatile memory You must therefore access the adapter to view and edit its parameters The following tools can be used to access the adapter parameters Tool See PowerFlex 4 Class HIM page 3 2 22 HIM A3 or 22 HIM C2S DriveExplorer Software http www ab com drives driveexplorer or version 3 01 or later DriveExplorer online help installed with the software DriveTools SP Software http www ab com drives drivetools or version 2 02 or later DriveExecutive online help installed with the software 3 2 Configuring the Adapter Using the Optional External PowerFlex 4 Class HIM Adapter parameters cannot be accessed using the integral keypad on a PowerFlex 4 Class drive You must use Drive Explorer or DriveExecutive software or an optional external PowerFlex 4 Class HIM 22 HIM A3 or 22 HIM C2S Basic steps to access parameters in the adapter are shown in Table 3 A For additional HIM information refer to the PowerFlex 4 Class HIM Quick Reference publication 22HIM QR001 Important The optional external PowerFlex 4 Class HIM will only operate when the adapter is set to Single mode To access adapter parameters when the adapter is set to Multi Drive mode you must use DriveExplorer or DriveExecutive Table 3 4 Accessing Adapter Parameters Using the HIM Step Example Screens 1 Power up the drive Then plug the external HIM into the bottom of the Eafainelels
91. s not established After establishing communication with the 1st drive the remaining drives on the node can be configured Carefully follow these step by step instructions to successfully configure the adapter and RS 485 network of daisy chained drives on the node 1 Verify that all drives on the node are correctly daisy chained together and that the 120 ohm 1 4 watt terminating resistors are connected at the appropriate locations shown in Figure 7 7 or Figure 7 8 2 Temporarily disconnect Drives 1 4 from the RS 485 daisy chain network so that only Drive 0 remains connected 3 Set the following parameters in the Ist drive to these values PowerFlex 4 Class Drive Parameter Number Name Value 4 40 40P 4M 400 P36 P106 P36 Start Source 5 Comm Port P38 P108 P38 Speed Reference 5 Comm Port A103 C302 C103 Comm Data Rate 4 19 2K A104 C303 C104 Comm Node Addr 1 247 must be unique A107 C306 C102 Comm Format 0 RTU 8 N 1 Note that the RS 485 network is fixed at 19 2K baud 8 data bits no parity and 1 stop bit 4 Set the adapter Mode Jumper J2 to the 1x Single mode position 5 Power cycle Drive 0 to apply the new settings NOTE When the adapter is installed in a DSI External Comms Kit you must also power cycle the Comms Kit which will reset the adapter At this time the adapter PORT indicator should be steady green indicating that the adapter is properl
92. scription 51 DSI port watchdog 52 Profibus network loss 53 Not compatible product 54 DSI time out or additional DSI master connected Parameter Message Fault Code Code Description 101 Service not supported i e set service to a read only parameter 102 Service not valid 104 Parameter does not exist i e parameter number gt max number of parameters 106 Data value out of range i e set value is out of range 107 State conflict i e parameter is not changeable while the product is in an operating state 6 6 Using the Parameter Messaging Notes Chapter 7 Using Multi Drive Mode This chapter provides information to explain how to use Multi Drive mode Topic Page Single Mode versus Multi Drive Mode 7 1 Additional Information 75 System Wiring 75 Understanding the I O Image 77 Configuring the RS 485 DSI Network 78 Multi Drive Mode Parameter Data 7 10 ATTENTION Hazard of injury or equipment damage exists The examples in this publication are intended solely for purposes of example There are many variables and requirements with any application Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use of the examples shown in this publication Single Mode versus Multi Drive Mode The DSI interface provides a means to connect up to five drives on one node daisy chained over the RS 485 interface
93. scription of Changes Page In Chapter 3 e Added new setting 5 Fault amp ClrCmd to Parameters 9 Comm Fault 3 5 Action and 10 Idle Fault Action e Added new section Setting DSI Loss Action 3 6 In Chapter 7 added more information throughout about Multi Drive mode 7 1 thru 7 5 In Appendix B e Added new setting 5 Fault amp ClrCmd to Parameter 9 Comm Fault B 2 Action e Added new setting 5 Fault amp ClrCmd to Parameter 10 Idle Fault B 3 Action e Added new Parameter 25 DSI Loss Action B 5 soc ii Summary of Changes Preface Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Table of Contents About This Manual Related Documentation 000 c eee eee ee P 1 Conventions Used in this Manual 2 0 P 2 Rockwell Automation Support 00 P 2 Getting Started COMPONENTS 00 6 ais cas a ea E E E 1 1 Features eer r aa a ie ee Ae ees 1 2 Compatible Products 0 00 0 ce eee eee eee 1 3 Required Equipment 0 00 00 0c ee eee 1 3 Safety Precautions 0 0 cee eee eee eee 1 5 Quick Start 2 020024 neal date ews oe dl tes te abe 1 6 Status of Operation 0 0 0 cece eee eee 1 7 Installing the Adapter Preparing for an Installation 0 02 ee eee 2 1 Commissioning the Adapter 004 2 1 Connecting the Adapter to the Drive 2
94. sented on the network as one node by the adapter If the Mode Jumper J2 is set to the 1x Single mode default position only one drive is represented by the adapter and Parameter 11 DSI I O Cfg has no effect If the Mode Jumper J2 is set to the 5x Multi Drive position up to five drives can be represented as one node by the adapter 1 Set the value in Parameter 11 DSI I O Cfg Figure 3 2 Example DSI I O Cfg HIM Screen Mode Jumper Settin Parameter Value Description Single kei Drive 0 0 Drive 0 Default v v 1 Drives 0 1 v Ue LIMITS 2 Drives 0 2 v 3 Drives 0 3 v 4 Drives 0 4 v When the adapter is internally mounted in a PowerFlex 40 PowerFlex 40P or PowerFlex 400 drive this drive is always Drive 0 Drives 1 through 4 are PowerFlex 4 Class drives that are daisy chained to the RJ45 RS 485 port on Drive 0 When the adapter is remotely mounted in a DSI External Comms Kit Drives 0 through 4 are daisy chained to the RJ45 RS 485 port on the Comms Kit Refer to Chapter7 Using Multi Drive Mode for more information 2 Configure the parameters in the drive to accept the Logic Command and Reference from the adapter In a PowerFlex 40 drive for example set parameter P036 Start Source and parameter P038 Speed Reference both to 5 Comm Port When using the adapter in Multi Drive mode each daisy chained drive requires that additional parameters be set See Config
95. st N7 40 Source B 0 Length 4 0 lt Station 2 PCA Word MOV H Move Source 0 0 lt Dest N20 8 0 lt Station 2 Par Prot Messaging Request B3 19 e 0 END SLC Ladder Logic Examples Multi Drive Example Figure D 4 Main Routine This example program is for a PROFIBUS demonstration using a SLC 5 amp 05 processor with an SST Profibus scanner SST PFB SLC in the first slot of the rack The program is written for 3 drives with one Profibus adapter on the network MultiDrive Mode Station 0 PowerFlex 40 with 22 COMM P Station 1 PowerFlex 40 Station 2 PowerFlex 40 The expample program demonstrates using Logic Command Reference Logic Status Feedback and Parameter Access using the Parameter Protocol On power up zero out the transmit buffer to the Scanner D 9 First Pass S 1 FLL J E Fill File 15 Source 0 Dest N20 0 Length 10 Automatically have the SST PFB SCL scanner s watchdog period track that of the SCL processor recommended per SST user manual MOV Move Source S 3 2561 lt Dest MO 1 4011 lt The Scanner is configured to 20 bytes 10 words of inputs 4 Bytes Ctrl Stat amp Ref Fdbk for each drive 12 Bytes 8 Bytes Parameter Access Read the drives data from the Profibus scanner File N10 contains the acutal read data that can be used elsewhere in the ladder program Address Description M1 1 0 N10 0 Logic Status Drive 0 M1 1 1 N10 1
96. t At Reference 1 At Reference xX Main Freq 0 Not Controlled By Comm 1 Controlled By Comm X Operation 0 Not Controlled By Comm Command 1 Controlled By Comm x Parameters 0 Not Locked 1 Locked xX Digital Input 1 Status X Digital Input 2 Status xX Digital In Sta us age xX Digital In Bional PO 1 The functions for these bits are the same for all PowerFlex 4 Class drives including the PowerFlex 40P when it is used in the Velocity mode When using the PowerFlex 40P in the Position mode the bit functions are different For details see Appendix C in the PowerFlex 40P User Manual This status is available for only PowerFlex 40 drives with firmware revision 2 xx or later For PowerFlex 4 and PowerFlex 4M drives these bits are not used Appendix D SLC Ladder Logic Examples Appendix D provides examples that explain how to use a SLC controller to send I O Messaging to control configure and monitor a PowerFlex 40 drive in Single Drive and Multi Drive mode Topic Page Single Drive Example D 2 Multi Drive Example D 9 D 2 SLC Ladder Logic Examples Single Drive Example Figure D 1 Main Routine This example program is for a PROFIBUS demonstration using a SLC 5 04 processor with an SST Profibus scanner SST PFB SLC in the first slot of the rack The program is written for 2 drives on the network Station 1 Station 2 PowerFlex 40 with 22 COMM P PowerFlex 40 with 22 COMM P The expa
97. ter 4 Configuring the Profibus Scanner Profibus scanners are available from several manufacturers including SST This chapter provides instructions on how to utilize the SST Profibus configuration software tool to e Install the 22 COMM P GSD file in the software tool library e Configure the SST PFB SLC Profibus Scanner Topic Page Example Network 4 1 SST Profibus Configuration Software Tool 4 2 Installing 22 COMM P GSD File in Software Tool Library 4 3 Configuring the SST PFB SLC Profibus Scanner 4 5 Example Network In this example we will be configuring two PowerFlex 40 drives to be Station 1 and Station 2 on a Profibus network This will be the configuration used throughout the manual Apart from the node address and scanner mapping they will have identical configurations This chapter describes the steps to configure a simple network like the network in Figure 4 1 4 2 Configuring the Profibus Scanner Figure 4 1 Example Profibus Network o SYS LED Config Port tel Front Label Profibus Port Station 0 me PowerFlex PowerFlex 40 PowerFlex 40 Station 1 Station 2 SST Profibus Configuration Software Tool SST Profibus scanners come with a software tool for configuring the scanner see Figure 4 2 Figure 4 2 SST Profibus Configuration Software Tool
98. ter A105 Comm Loss Action in the drives that are daisy chained is also used in Multi Drive mode If the RS 485 daisy chain cable is disconnected or broken the disconnected drives will immediately take the corresponding Comm Loss Actions Drive parameter A106 Comm Loss Time is not used in Multi Drive mode For a network disruption adapter Parameters 09 Comm FIt Action and 10 Idle Flt Action determine the action taken for ALL of the drives on the Multi Drive node Multi Drive Mode Parameter Data Parameter addressing for Parameter Data in Multi Drive mode is similar to that in Single mode The parameter numbers PNU range from 1 to 2047 The parameter numbers 1 1023 are used to access the drive or adapter parameters while parameter numbers 1024 2047 are used for accessing the adapter fault codes events and diagnostic items For details to access the drive parameters when the adapter is operated in of Multi Drive mode see Parameter Message Request on page 6 4 Using Multi Drive Mode 7 11 Example The parameter messaging accesses the drive Parameter 39 Accel Time for Drive 0 to Drive 4 in Multi Drive mode Accessing Parameter 39 Accel Time Module IND 0 2 bits PNU Drive 0 Single Drive 000 39 Drive 0 1 Multi Drive 001 39 Drive 0 2 Multi Drive 010 39 Drive 0 3 Multi Drive 011 39 Drive 0 4 Multi Drive 100 39 7 12 Using Multi Drive Mode Notes Chapter 8 Troubleshooting
99. ter if set to Reset Module Restores the adapter to its factory default settings if set to Set Defaults This parameter is a command It will be reset to 0 Ready after the command has been performed A Comm Fit Action Sets the action that the adapter and drive take if the adapter detects that Profibus communications have been disrupted This setting is effective only if I O that controls the drive is transmitted through the adapter When communication is re established the drive will automatically receive commands over the network again transmitting I O that controls the drive adapter Determine how your drive wil adapter A Details Default Values Type Default Values Type Reset Required Default Values Type Reset Required N A 0 9 6 Kbps 1 19 2 Kbps 2 45 45 Kbps 3 93 75 Kbps 4 187 5 Kbps 5 500 Kbps 6 1 5 Mbps 7 3 Mbps 8 6 Mbps 9 12 Mbps 10 Off line Read Only 0 Ready 0 Ready 1 Reset Module 2 Set Defaults Read Write No ATTENTION Risk of injury or equipment damage exists If the adapter is the drive may fault when you reset the respond before resetting a connected 0 Fault 0 Fault 1 Stop 2 Zero Data 3 Hold Last 4 Send Fit Cfg 5 Fault amp ClrCmd Read Write No 1 This setting is available only with adapter firmware revision 3 xxx or later ATTENTION Risk of injury or equipment dama
100. tes an example of an I O image 16 bit words for the adapter operated in Single mode Figure 5 1 Example of I O Image for Adapter in Single Operating Mode Profibus DSI Controller Scanner Adapter PowerFlex Word and I O 4 Class Drive Output 0 Logi gic Command Logic Command Wit P 1 Reference Reference Input 0 Logic Status Logic Status Image Read 1 Feedback ae Feedback Message Message Message T Handler lt T Buffer ris Handler Single operating mode is the typical configuration where one node consists of a PowerFlex 40 PowerFlex 40P or PowerFlex 400 drive with a 22 COMM P adapter For Multi Drive mode where one node can consist of up to 5 drives refer to Chapter 7 Using Multi Drive Mode Using I O Messaging 5 3 Using Logic Command Status The Logic Command is a 16 bit word of control produced by the controller and consumed by the adapter The Logic Status is a 16 bit word of status produced by the adapter and consumed by the controller When enabled the Logic Command Status word is always word 0 in the T O image This manual contains the bit definitions for compatible products available at the time of publication in Chapter C PowerFlex 4 Class Drives Logic Command Status Words For other products refer to their documentation Using Reference Feedback The Reference 16 bits is pr
101. u may configure this parameter so that the drive continues to run however precautions should be taken to ensure that the setting of this parameter does not create a risk of injury or equipment damage When commissioning the drive verify that your system responds correctly to various situations for example a controller in idle state DSI 1 0 Cfg Sets the configuration of the Drives that are active in the Multi Drive mode Identifies the connections that would be attempted on a reset or power cycle DSI O Act Displays the Drives that are active in the Multi Drive mode Fit Cfg Logic Sets the Logic Command data that is sent to the drive if any of the following is true e Parameter 09 Comm Fit Action is set to Send Fit Cfg and communications are disrupted e Parameter 10 Idle Fault Action is set to Send Fit Cfg and the scanner is put into Program mode The bit definitions will depend on the product to Default Values Type Reset Required Default Bit Values Type Default Minimum Maximum Type Reset Required 0 0 Drive 0 1 Drives 0 1 2 Drives 0 2 3 Drives 0 3 4 Drives 0 4 Read Write Yes N A 0 Drive 0 1 Drives 0 1 2 Drives 0 2 3 Drives 0 3 4 Drives 0 4 Read Only 0000 0000 0000 0000 0000 0000 0000 0000 1111 1111 1111 1111 Read Write No which the adapter is connected B 4 Adapter Parameters Parameter No Name and Description 1
102. uipment or software described in this manual Reproduction of the contents of this manual in whole or in part without written permission of Rockwell Automation Inc is prohibited Throughout this manual when necessary we use notes to make you aware of safety considerations that can cause an explosion in a hazardous environment which may WARNING Identifies information about practices or circumstances A lead to personal injury or death property damage or economic loss Important Identifies information that is critical for successful application and understanding of the product ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you identify a hazard avoid a hazard and recognize the consequences Shock Hazard labels may be located on or inside the equipment e g N drive or motor to alert people that dangerous voltage may be present Burn Hazard labels may be located on or inside the equipment e g drive or motor to alert people that surfaces may be at dangerous temperatures Allen Bradley Rockwell Software Rockwell Automation and TechConnect are trademarks of Rockwell Automation Inc Trademarks not belonging to Rockwell Automation are property of their respective companies Summary of Changes The information below summarizes the changes made to this manual since its last release December 2011 De
103. uring the RS 485 DSI Network on page 7 8 for these parameters and their settings 3 Reset the adapter See Resetting the Adapter on page 3 8 The adapter is ready to receive I O from the master that is scanner You must now configure the scanner to recognize and transmit I O to the adapter See Chapter4 Configuring the Profibus Scanner Configuring the Adapter 3 5 Setting a Fault Action By default when Profibus communication is disrupted for example a cable is disconnected or the master is idle the drive responds by faulting if it is using I O from the network You can configure a different response to communication disruption using Parameter 9 Comm FIt Action and a different response to an idle scanner using Parameter 10 Idle Fit Action ATTENTION Risk of injury or equipment damage exists Parameters 9 Comm FIt Action and 10 Idle Flt Action let you determine the action of the adapter and connected drive if communications are disrupted or the controller is idle By default these parameters fault the drive You can set these parameters so that the drive continues to run Precautions should be taken to ensure that the settings of these parameters do not create a risk of injury or equipment damage Changing the Fault Action Set the values of Parameters 9 Comm FIt Action and 10 Idle Flt Action to the desired responses Value Action Description 0 Fault Default The drive is faulted an
104. ve B3 22 bits are controlled elsewhere in the user program Station 2 Station 2 Stop Logic Command Command STOP B3 22 N20 4 0 0 Station 2 Station 2 Start Logic Command Command START B3 22 N20 4 miea o 1 1 Station 2 Station 2 Jog Logic Command Command JOG B3 22 N20 4 2 2 Station 2 Station 2 Clear Faults Logic Command Command CLEAR FAULTS B3 22 N20 4 3 3 Station 2 Station 2 Reverse Logic Command Command FORWARD B3 22 N20 4 Ws apa 7 4 4 Station 2 Station 2 Reverse Logic Command Command REVERS B3 22 N20 4 d E lt gt 4 5 To control the speed reference over the Profibus the three Reference Select bits bits 14 12 need to have the values 011 Station 2 Logic Command REFERENCE SELECT 0 N20 4 a b 12 Station 2 Logic Command REFERENCE SELECT 1 N20 4 l gt __ 13 Station 2 Logic Command Never Closed REFERENCE SELECT 2 B3 22 N20 4 d E d gt Station 2 Speed Reference The PowerFlex 40 parameter 38 Speed Reference i Station 2 needs to be set to 5 RS485 DSI Port N19 5 is controlled elsewhere in the user program Spoed Reference D 14 SLC Ladder Logic Examples Figure D 8 Parameter Accessing Routine This section of the routine is only needed if the application needs to perform Parameter Protocol Reads or Writes to Station 2 On power up initialize the Parameter Protocol routine Par Prot Messaging First Pass Request S1 B3 19 o F U gt 15
105. vice will be Station 1 on the network Other stations may be chosen by using the arrow to display a drop down list in the Station window Figure 4 11 Allen Bradley Library Dialog Box Allen Bradley 22 COMM P x General Modules SLC Address Std Prms Diagnostics File name CASST Profibus Pbc Gsd 4_B_O7FF asd Name 22 COMM P Description Station 1 v ID Ox07FF Abbrechen Hilfe Logic Command Status Reference Feedback and Parameter Access Parameter Data modules are added using the Modules tab 4 8 Configuring the Profibus Scanner 10 Click on the Modules tab Click Add to view the choice of modules 11 Figure 4 12 Available Modules Ctrl Stat amp Ref Fdbk Window Add Modules xj Available Modules Ctrl Stat Ref Fb Drv0 4Bytes OK Ctrl Stat amp Ref Fb Drv0 1 4Bytes Oo Ctrl Stat amp Ret Fb Drv0 2 4Bytes Ctrl Stat amp Ref Fb Drv0 3 4Bytes Cancal Ctrl Stat amp Ref Fd DrvO 4 4Bytes Parameter Access 8Bytes Data Sizes Data Area l Input 4 Output 4 Count 1 In our example Station 1 will be controlled using Logic Command Status and Reference Feedback The Parameter Access will also be used Because the Mode Jumper J2 on the Adapter is set to 1X for Single Drive default and Parameter 11 DSI I O Cfg is set to Drive 0 Logic command Reference uses 4 bytes and Logic Status Feedback uses 4 bytes Table 4 A Input Output Size Configuratio
106. y commuincating with Drive 0 6 10 Using Multi Drive Mode 7 9 Set the following adapter Multi Drive parameters Adapter Parameter Value 11 DSI I O Cfg 0 Drive 0 connected 1 Drives 0 1 connected 2 Drives 0 2 connected 3 Drives 0 3 connected 4 Drives 0 4 connected 17 Drv 0 Addr 1 Equal to Drive 0 Comm Node Address Parameter 18 Drv 1 Addr 1 Equal to Drive 1 Comm Node Address Parameter 19 Drv 2 Addr 1 Equal to Drive 2 Comm Node Address Parameter 1 1 20 Drv 3 Addr i Equal to Drive 3 Comm Node Address Parameter 21 Drv 4 Addr 1 Equal to Drive 4 Comm Node Address Parameter 1 The settings for these parameters must match the Comm Node Addr parameter values for the respective drives The Comm Node Addr parameter is A104 for PowerFlex 4 PowerFlex 40 and PowerFlex 40P drives parameter C303 for PowerFlex 4M drives and parameter C104 for PowerFlex 400 drives Important To set adapter parameters you must use DriveExplorer software DriveExecutive software or an optional external PowerFlex 4 Class HIM 22 HIM A3 or 22 HIM C2S Set the following parameters in daisy chained Drives 1 4 to these values PowerFlex 4 Class Drive Parameter Number Name Value 4 40 40P 4M 400 P36 P106 P36 Start Source 5 Comm Port P38 P108 P38 Speed Reference 5 Comm Port A103 C302 C103 Comm Data Rate 4 19 2K A104 C303 C104 Comm Node A
Download Pdf Manuals
Related Search
Related Contents
For Dummies Photoshop CS5 All-in-One Stainless Steel Counter Top Servery/Prep Refrigerators Blackberry sqn100-3 User's Manual アイスアクセサリー 取扱説明書 Indesit ID60C2K S WayteQ x985BT GPS navigation User`s manual GPE-030-24BL(40W)ギヤポンプ 取扱説明書 atv cabin manual 8495863.cdr Pelco RK5000PS-5U User's Manual Tableaux Scoop.it! Copyright © All rights reserved.
Failed to retrieve file