10/5/2022 6:04 PM | |
Joined: 3/30/2022 Last visit: 4/14/2023 Posts: 3 Rating: (0) |
Hi all, I have a problem with the PWM/PTO outputs. First of all, my PLC is SIMATIC S7-1512C-1PN (6ES7512-1CK01-0AB0) and I'm using TIA Portal v15.1. I need to control a small motor with 2 PWM outputs. These outputs work at 25 kHz so I'm using the High-Speed mode. Current needs aren't a problem. I configure the 2 outputs in the PLC's menu. In my program, I active the bits TM_CTRL_DQ and SW_ENABLE and I assign the OUTPUT_VALUE. But when I upload it in my PLC it doesn't work and the state flags are in 0. I've tried to update the firmware version of the PLC from the version 2.6 to the version 2.8 and 2.9.4. I've tried to update tia portal to the version 16 and 17 too and nothing work. The PWM FC is in the main OB. AttachmentCaptures.zip (401 Downloads) |
Last edited by: MMS12 at: 10/05/2022 19:28:54Last edited by: MMS12 at: 10/05/2022 19:34:49 |
|
10/6/2022 9:28 PM | |
Joined: 3/30/2022 Last visit: 4/14/2023 Posts: 3 Rating: (0) |
HI Thanks for the solution. I've done it and it works. |
Follow us on