S7 - 300 Power Flex 700 Profibus
S7 - 300 Power Flex 700 Profibus
S7 - 300 Power Flex 700 Profibus
20-COMM-P
fitted internally
Node 5
The PowerFlex 700S drive uses 16 bit logic control/status words, and 32 bit reference, feedback and datalinks.
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 1 of 11
Drive Control Overview On PROFIBUS, I/O messaging is used to transfer the data which controls the PowerFlex drive and sets its Reference. I/O can also be used to transfer data to and from Datalinks in PowerFlex drives. The Logic Command word from the PLC contains 2 bytes of data, whereby each bit has a control significance. See User Manual 20-COMM-P Appendix C. So we can start / stop the drive by changing the relevant bits in the Logic Command word. The drive reference is a 32 bit real value scaled according to the [Motor NP RPM] parameter of the drive. A 20-COMM-P drive adapter supports up to 4 datalinks, which can be initialized by a parameter in the adapter. Each datalink passes 2 parameters to the drive AND 2 parameters from the drive. Unlike all the other PowerFlex 7 class drives, the datalinks passes data direct to/from the DPI Data In/Out parameters in the drive. This raw data can then be linked to different parameters in the drive. Profibus-DP DPI
PLC
Output Mapping
Adapter
Drive
Logic Command Reference Data In A1 Data In A2 Data In B1 Data In B2 Data In C1 Data In C2 Data In D1 Data In D2
The Logic status from the drive provides feedback on the operational condition of the drive. See User manual Appendix C. Profibus DP PLC Input Mapping Adapter DPI Drive Logic Status Speed Feedback Data Out A1 Data Out A2 Data Out B1 Data Out B2 Data Out C1 Data Out C2 Data Out D1 Data Out D2
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 2 of 11
.Initial Set-up
Set switches on the Master 20-COMM-P to a Node Address of 05. This setup assumes that the PowerFlex 700S and the 20-COMM-P interface are at their default settings. Note: The Parameter Access Level on each drive needs to be set to Advanced in order to access some of the parameters used in this application note. To do so, perform the following steps: 1. Select Parameter, then [Enter] 2. Select Utility, then [Enter] 3. Select Drive Memory, then [Enter] 4. Select Param Access Lvl, then [Enter] 5. Press the [Sel], select Advanced and press [Enter] Connect Profibus DP cable plug, and screw plug fasteners home to ensure earth continuity. Note that as this is the only drive being used, the plug terminators are switched on at the drive and the PLC. In this application note the drive is setup with the following drive parameters 27 3 4 Speed Ref A sel Motor NP Hz Motor NP RPM DPI Port 5 50.0 Hz 1400 Select the source of the speed ref to the 20COMM-P Scales the drive to 50Hz Scales the drive to 1400 rpm
Setup the following 20-COMM-P parameter. 11 DPI I/O Config Cycle power to the drive. xxxx xxxx xxx0 0011 Enabling Datalink A
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 3 of 11
Control the Drive Power up the drive and PLC, and startup the Step7 programming software. Install the GSD file A_B_0572.GSD into the hardware catalogue. Drag the 20-COMM-P from the hardware catalog, onto the Profibus DP master system.
Configure the 20-COMM-P adapter as Node 5, and as the Control, status are 16bit, and the Ref, and feedback are 32 bit, we configure as 2+4 bytes for the input and output addresses 60 to 65. As the datalinks are 32 bit, we will use the 2+4 bytes, and so the adapter is configured 66-73 for DataLink A.
Drive OutPut Bits/Add 60 & 61 62 & 63 64 & 65 66 & 67 68 & 69 70 & 71 72 & 73 15 Logic Status Feedback (LSW) Feedback (MSW) Datalink out A1 (LSW) Datalink out A1 (MSW) Datalink out A2 (LSW) Datalink out A2 (MSW) 0 15 Logic Control Reference (LSW) Reference (MSW) Datalink in A1 (LSW) Datalink in A1 (MSW) Datalink in A2 (LSW) Datalink in A2 (MSW) Drive Input 0
The main control block OB1, is used to call the different control programs FC1 & FC3.
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 4 of 11
FC1 contains the run logic, and the reference ramp generator to control the speed of the drive. The screens below are shown in monitor mode (solid line means logic = true). The logic shows the drive running in the forward direction. See User Manual Appendix C for the significance of the logic command and status bits.
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 5 of 11
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 6 of 11
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 7 of 11
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 8 of 11
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 9 of 11
Use the SFC 14 (DPRD_DAT) and SFC 15 (DPWR_DAT) functions to send a block of consistent data to/from DB2 & DB3.
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 10 of 11
The values back from the drive are shown in Hex, whilst the value are shown in decimal the databases.
Related to: x Inverter Use Options Use Application Experience _________________(Name) only
D.J.Withenshaw 30/03/2006 A
Page 11 of 11