Personal Data

Username:
scan
Joined:
2020-07-07 13:57:05

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Forge on CODESYS Forge

    Thanks Ingo! I uploaded your example project to my raspberry, but the problem still exists. The traces are correct, but on the GPIO pins it's not working properly. I am now trying to solve the problem by programming the PWM signal in a separate phyton program. It should be possible to access the variables of the plc program. BR Andreas

  • Posted a comment on discussion Forge on CODESYS Forge

    Sure, 5kHz is maybe not easy to generate, but at lower frequencies the problem still exists. I tried for example 5Hz, but it's still an unstable 1Hz signal. I recognized, that just creating the second task for the PWM program creates problems, even if in this task is no program running. I already tried different task cycle times from 100us up to 10ms. It changes a little the behavior of the signal, but still at about 1Hz and unstable. Thanks! BR Andreas

  • Posted a comment on discussion Forge on CODESYS Forge

    Hi Ingo, thanks for your quick response. I have a Raspberry Pi 4 (4GB), Codesys V3.5 SP16 and Codesys Runtime V3.5.16.0. The 4 different PWM signals (range: 0...5000 Hz) should be on the GPIO pins 12, 13, 18 and 19. If there is just one Task with one SoftPWM function block in it, it works perfectly (for example see oscilloscope picture "001": PWM signal with 4225 Hz). But if I just add an additional task for the second SoftPWM function block, the signal of both SoftPWMs is not okay (see oscilloscope...

  • Posted a comment on discussion Forge on CODESYS Forge

    Hello, in my recent project i am using the SoftPWM function block from the GPIOMods library. Using only one SoftPWM is working fine, but i need 4 of them in one project parallel for 4 GPIO pins, and that is not working properly. I put every function block in a separate task with high priority, but the PWM signal on the GPIO pin is not as it should be. I recognized, that the Jitter of these tasks is extremely high (about 250000 µs). Is there any way that i can use more than one function block while...

View All