4/16/2011 2:11 AM | |
Joined: 9/27/2006 Last visit: 12/3/2024 Posts: 12299 Rating: (2691) |
Hello Dipankar; I am sorry I do not have an example to send you, but we have programmed these drives over Profibus in past projects, and they are simple to control with their Profibus adapter. Look at the following manual from Rockwell: http://samplecode.rockwellautomation.com/idc/groups/literature/documents/um/22comm-um005_-en-p.pdf Appendix C shows the bit patterns that you find in the Control Word and the Status word of these drives. Chapter 4 (I/O Messaging) shows how these words are accessed in the drive. The preceding chapters explain how the drive's Profibus adapter is configured to be setup as a Profibus slave, The Start bit of the drive is le second LSB of the Control word (bit 1); but to start the drive must see a rising edge on this bi^: you must write a 0 to this bit, then a 1, for it to start. Unfortunately, Profibus does not allow direct writing to a bit; you must write to the whole word. So if your Control word is located in PQW256, for example (see theProfibus editor inHWConfig), you cannot write to PQW256.1, You must write the whole word as one unit. So build up each bit as required (in a MWxx address) and copy it to PQW256 when you want to send the command to the drive. Hope this helps, Daniel Chartier |
4/16/2011 1:39 PM | |
Joined: 9/27/2006 Last visit: 12/3/2024 Posts: 12299 Rating: (2691) |
Hello Dipankar; I found the following document on my harddrive, it gives instructions on setting up a Powerflex drive for communications with a S7-300. Hope this helps, Daniel Chartier AttachmentS7300 to 22CommP_get.pdf (787 Downloads) |
10/27/2020 7:38 PM | |
Joined: 7/6/2020 Last visit: 11/1/2024 Posts: 23 Rating: (0) |
hi, the example will be very help if u pls help me to explain the working of this program thanks |
10/27/2020 8:45 PM | |
Joined: 9/27/2006 Last visit: 12/3/2024 Posts: 12299 Rating: (2691) |
Hello atif; What exactly do you mean, explain the program? The document is quite complete by itself. It shows you how to parameterize the drive for operation and the 22-Comm-P adapter for Profibus. It shows how to build the Profibus configuration software in HWConfig (Step 7) for data exchanges between the CPU and the drive. It also points to the user manual for the 22-Comm-P for a description of the control word and status word that you will need to start and stop the drive using Profibus exchanges: https://literature.rockwellautomation.com/idc/groups/literature/documents/um/22comm-um005_-en-p.pdf The program, as shown in the pdf, is very well analyzed in the proposed document, and contains all required comments and symbols (this refers to your earlier question on uploaded programs) . I do not have access to the Rockwell Knowledge Base (it is not free) so I cannot download the Step7 program PF4_Mult.zip that corresponds to the pdf. If you can find access, download it so you can use it directly, if not follow the guide and program it network by network in Step 7. Please take the time to study and test the example program. If you have any specific problem explain it to us in detail. But I feel you have the tools now to proceed with your application. This is your task now. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 10/27/2020 21:24:06 |
|
10/28/2020 7:18 PM | |
Joined: 7/6/2020 Last visit: 11/1/2024 Posts: 23 Rating: (0) |
thank u friend now i will take this task. |
Follow us on