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.
This can certainly be done. I looked through the examples and didn't find one for this application, but it shouldn't be too hard.
Look over the data sheets and determine which outputs are high speed and then connect one to one of the inputs.
Take a swing at it and post your program so we can help.
I've mentioned a backup solution to this in the past without luck. Worth trying again. Years ago my "sidekick" backup routine was a program that came with Partition Magic, and it was called DataKeeper. It was the best backup program I've ever worked with. Sadly it refuses to play with later versions of Windows, including 7. I've tried all sorts of compatiblity settings without luck.
The really great thing about the program was that it constantly monitored the system and anytime a save of any sort was made in the folders it had been instructed to watch, it did a backup to wherever you wanted. And the truly useful bit was that you could specify how many versions of the file would be saved before the first in the FIFO lineup would be dropped. 20? 30? You name it.
In essence you could simply keep on using the same name for anything you were working on, and do a regular save every few minutes if you wanted. If you stuffed something up, you had all these previous file copies there for the asking, up to the number of saves you had specified.
I've hunted for ages to find something similar without any luck. They all need to be on some sort of schedule, or a manual initiation. Datakeeper worked as a totally different concept, and did it exceptionally well.
If anyone knows a current program that works in exactly the same way, and does so on current Windoze versions, please advise. My inability to continue to use the program resulted in my evolved method of naming conventions for program builds, that I've mentioned elsewhere.