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 Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted June 15, 2021 MVP 2023 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 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? Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted June 17, 2021 MVP 2023 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 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! 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now