MVP 2022 Joe Tauser Posted March 21, 2019 MVP 2022 Report Share Posted March 21, 2019 I'm converting a V700 program to UniStream and came across a PWM SCAN block for heater SSR control. I searched the Toolbox and the Help and came to learn that the PWM block is not a standard block in UniLogicLand. Then I went looking on the UniStream software and hardware forums - nothing there. After about an hour of getting frustrated I looked through the UniLogic examples. Which I don't normally do - I'm an experienced programmer, by cracky!😫 Anyway, lo and behold, there was a PWM example. Turns out the PWM block has been morphed to a UDFB, which was actually pretty easy to implement after I figured out one of the input tags is a TIMER data type. Fortunately one of the Creators thought of this. So I'm posting the UDFB for everyone's reference. Joe T. PWM.ulle 2 Quote Link to comment Share on other sites More sharing options...
hotwires Posted March 21, 2019 Report Share Posted March 21, 2019 Thanks for sharing Joe!! Perhaps I am resisting the change to UDFB’s.... but if it works then it works. If you call it “easy” then I’m sold. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 22, 2019 MVP 2022 Report Share Posted March 22, 2019 1 hour ago, hotwires said: If you call it “easy” then I’m sold. Easy for Joe may not be so easy for the rest of us. Quote Link to comment Share on other sites More sharing options...
hotwires Posted March 22, 2019 Report Share Posted March 22, 2019 Ahh... if Joe T. can do it I so can I. Not saying it's because I'm smarter.... Just relentless and tenacious. Once I get my head around something, look out, it's like I'm running with scissors. lol plus there’s alway the “ask Joe” option if I get stuck. Quote Link to comment Share on other sites More sharing options...
Skof Posted June 5, 2020 Report Share Posted June 5, 2020 Hi @Joe Tauser, I am wondering if there is a way to configure HSO as PWM output with Target value on UIS-WCB2 module. I made this post just now, so if you can reply on there. Thnx, BR 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.