12/9/2015 10:20 AM | |
Posts: 8 Rating:
|
Hello, I had problems with G120c configuration, profinet communication and safety integrated (STO) function. I have solved my problems, so here is the solution. 1) At first I recommend you to upgrade G120c firmware to the last version (at this moment it is 4.7.3). To do this you will need 256MB - 2GB SD card, memory cards larger than 2 GB are not supported (it is hard to find so less mem. card in the market, so maybe you will need to order it). Also you need to install HSP V4.7.3 for the Startdrive V13 SP1 . 2) Drive configuration: Open TIA Portal and new device. Please select correct firmware version. a) When all the drives are added, go to Devices & Network > Topology view and connect the drives, PLC, HMI... The connections must be the same like in real situation (1.png). b) Open Network view and assign your drives to your PLC (2.png). c) Select the drive in the project tree, select parameters and run wizard (3.png). I have used both wizards. Enter motor data and other parameters. In my application I have selected [999] Free telegram configuration with BICO. In commissioning wizard (expert mode) don't forget to write value to Rated motor power factor (can't understand why it wasn't in the first wizard). Also please enter ramp times. d) Now open device configuration, double click on the drive and set communication parameters: Ethernet addresses (IP, device name and device number - 4.png) e) In Cyclic data exchange you can see your telegram mode (Free telegram) (5.png). Now select input and output data Length. For the input I am using 4 words (status word, speed, torque and fault code) and for the output - 2 words (control word and main setpoint). In Partner data area select the IO addresses. Be sure you are not using them in you program for other functions (I have started with I1000/Q1000). Before I have used 4/4 words communication, but in real application my 2 output words were empty. Also I had some problems with communication, so I guess that these "empty words" could give me negative result. So I recommend you to select as much words as you are planning to use. f) Now in the tree list select Parameters, select Functional view (6.png). I have used safety integrated function, if you need this, activate it (select basic functions). My control type is via terminals. Check the Test stop settings. I have increased the timer to 8000.00 hours.
g) In Communication settings select receive and transmit (send) directions words. For the output (PLC) I have used 2 words, so for the drive receive direction I need to select these 2 words. My control word is selected automatically (it looks empty), second word also selected automatically (Main setpoint). 7.png. In transmit direction I need to select 4 words. 2 words are selected automatically (status and speed actual value), so I need to select the other two. I wanted to use torque actual value (r80) and actual fault code (r2131). 8.png. h) When you have finished your drive settings, Go Online and download to device. Select correct device from the search list, download the program. Use save to EEPROM function. b1.png and b2.png. i) If you have used safety function, I think you will get an error on your drive: .... Acceptance test required. What you need to do is Go online to the current drive, in the Parameters select Functional view and push Start safety commissioning button (b3.png). You will be asked to enter the password (default is 0). I didn't entered new password, just press OK (b4.png). Now the "crazy one": press the Start (stop) safety commissioning button again. You will be asked or to save settings to the EEPROM (ROM) (I don't know why siemens is using different names for the same memory: sometimes eeprom, sometimes just rom). b5.png When everything is done, you only need to do one more thing: reset the faults. You can do this from PLC (if you have correct program) or in the project tree> "current drive"> select Online & diagnostic, select Active alarms and press the Faults button. b6.png
Now to calculate the Torque actual value (if you have used it) you need to know the value of p2003 parameter. In the drive Parameters select the Parameter view window, and at the left corner select Display extended parameters and find p2003. To calculate Torque actual value in your PLC program you need: convert Torque actual value to REAL (use INT to REAL), then this value DIV 16384.0 and MUL of p2003 value. I think it's all BR Mindaugas AttachmentG120c.zip (189 Downloads) |
Last edited by: MindaugasV85 at: 12/9/2015 10:22:07 AMLast edited by: MindaugasV85 at: 12/9/2015 10:22:36 AMLast edited by: MindaugasV85 at: 12/9/2015 10:56:03 AMLast edited by: Min_Moderator at: 12/9/2015 4:17:59 PMUpload screenshot Last edited by: MindaugasV85 at: 12/10/2015 9:59:52 AMLast edited by: MindaugasV85 at: 12/16/2015 11:12:15 AM |
|
12/12/2017 11:45 AM | |
Joined: 6/19/2017 Last visit: 9/6/2024 Posts: 8175 Rating:
|
New question published by TIA 13 is split to a separate thread with the subject G102c: how to read the current of the frequency inverter?. Best regards |
Follow us on