8/16/2012 1:58 PM | |
Posts: 11 Rating:
|
I supposse there is a way to comunicate on profibus without using SFC 14 or SFC 15. |
8/16/2012 3:12 PM | |
Joined: 9/27/2006 Last visit: 6/17/2024 Posts: 12260 Rating:
|
Hello Ayman; I believe Vladus is refering to SFC 15 "DPWR_DAT" and SFC 14 "DPRD_DAT" standard functions that are used for consistent data exchanges over Profibus. Hello Vladus; I do not believe that you would need SFC 15 and SFC 14 for control of the MM4 drive, especially for PPO3 configuration (there are no PKW words that require these functions to be sent as a single consistent telegram). And at first glance thesimple program you have made seems correct: to start the drive you must send a speed referencein PQW574 and then writea rising edge to bit 0 of the control word (047E followed by 047F is adequate). Note however that if you want to see the contents of the PIWxxx registers in your VAT I would suggest you tranfer them to a MWxx register in order to be able todisplay the values. It can be enlightening to see the control word feedback, you would see if the drive actually recieves the different signal;s you send it to start the drive. Hoewever your flashing green LED on the Profibus interface of the drive is telling you that the setpoints that you are sending in the control word are not correct, or that your CPU is not communicating with the drive (in STOP mode). .See the attached screencapture, taken from the following manual: Operating Instructions: MICROMASTER PROFIBUS Optional Board Please check the status of the PLC, the Hardware Config (has it been downloaded to the CPU?), the function you use to control the drive (has the block been saved annd dowloaded?), the Profibus-DP cabl;e and connectors... If you also have a SF/BF LED on the CPU, please check the contents of the Diagnostic buffer of the cPu, it should be helpful in determining the cause of the error. Hope this helps, Daniel Cartier |
Last edited by: dchartier at: 8/16/2012 3:12 PM |
|
This contribution was helpful to
2 thankful Users |
8/20/2012 4:58 PM | |
Joined: 9/27/2006 Last visit: 6/17/2024 Posts: 12260 Rating:
|
Hello vladus; What you are showing is the Quick View of the diagnostic buffer of the CPU; it is explainesd in the following manual: SIMATIC Programming with STEP 7 V5.5 23.3.2 Information Functions in the Quick View The following information is displayed in the quick view • Data for the online connection to the CPU • Diagnostic symbol for the CPU • Diagnostic symbols for the modules in which the CPU has detected a fault (for example, diagnostic interrupt, I/O access error) • Module type and address of the module (rack, slot, DP master system with station number). Other Diagnostic Options in the Quick View • Displaying the Module InformationYou can call this dialog box by clicking the "Module Information" button. The dialog box displays detailed diagnostic information, depending on the diagnostic capabilities of the selected module. In particular, you can display the entries in the diagnostic buffer via the diagnostic information of the CPU. • Displaying the Diagnostic ViewUsing the "Open Station Online" button, you can open the dialog box which, in contrast to the quick view, contains a graphic overview of the whole station as well as configuration information. It focuses on the module which is highlighted in the list "CPU / Faulty Modules." If you want to see the diahgnostic buffer for the slaves (faulty) you should try the "Open Station Online" alternative. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 8/20/2012 4:58 PM |
|
Follow us on