Jump to content

Adventures In UniStream conversion from Visilogic - PWM


Joe Tauser

Recommended Posts

  • MVP 2023

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

  • Like 2
Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.