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

  • 1 year later...

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...