vadimvain Posted April 20, 2014 Report Share Posted April 20, 2014 Hi I need an explanation or example of controling heating element . i have thermocouple J as a feedbak and output which is energised SSR to switch the heating element my oplc is : M1-2-UN2 I read that is possible to control with PWM , but im not completely undrstud how to exactly make it on M91 please help THX Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted April 21, 2014 MVP 2023 Report Share Posted April 21, 2014 You didn't say whether you were using PID control or On/Off control. If you've started a program upload it so we can have a look at what you're trying to do If you're using PID, you have to understand that PWM is simply turning an output on for a percentage of a pre-defined time period. The M91-2-UN2 has HSO outputs defined in hardware that make this easy. Set the output of the PID for 0 - 1000 to correspond to 0 - 100.0%. This will be what the HSO output is looking for. The output MI of the PID block needs to be the same one defined in the HSO configuration. You have to define a Frequency for the HSO, but this number isn't critical. The HSO wants an MI for the frequency, so pick one you're not using and have it power up to 100 for 100 Hz. This number will work fine for SSRs. The Enable MB lets it run. Turn this on when you want your heater to be active. Joe T. 1 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