Jump to content
Joe Tauser

Adventures In UniStream conversion from Visilogic - PWM

Recommended Posts

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

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites
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.

image.png.63f26b159fd229fda4e07fffa033b1

Share this post


Link to post
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. 

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...