Action22 Posted June 15, 2021 Report Share Posted June 15, 2021 Hello, V700 with V200-18-E3XB Like my title says my PWM output is not working. Which is weird because it was working before. I have a PID controlling a PMW output and it has stop switching. When I use the operand view I do see that the out is set to 1000 but my solid state relay is not switching. I was able to switch the solid state relay by using a memory bit and setting it high. Thanks for any suggestions! project6.vlp Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted June 15, 2021 MVP 2022 Report Share Posted June 15, 2021 Please read PID section in HELP. In your program no PID RUN fb present. Some add net needed in ladder. 1 Quote Link to comment Share on other sites More sharing options...
Action22 Posted June 17, 2021 Author Report Share Posted June 17, 2021 @kratmel Thanks for your reply. I do have a PID run block in " Subrutine 1" I am using this correctly right? Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted June 17, 2021 MVP 2022 Report Share Posted June 17, 2021 I think it look's good. Do you test it? Sorry, my answer is a little incorrect. I found in your program that you operate with PWM output frequency MI1. Duty cycle in your code = 0. Then output is not active. Please SET some constant freqency to MI1. And run PID with MI2 output (Duty cycle). Then maybe system start working. 1 Quote Link to comment Share on other sites More sharing options...
Action22 Posted June 18, 2021 Author Report Share Posted June 18, 2021 Thanks for the advice I will try this. Much appreciated! Quote Link to comment Share on other sites More sharing options...
Action22 Posted June 25, 2021 Author Report Share Posted June 25, 2021 It did work! Once M1 was set constant and output was changes to M2 PWM worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.