it seems I can learn stuff even in the non posts.
Seriously for a minute, Would the above code really be on for a full second or just one scan?
Then after a second OB32 comes on and does it again?
You could have 10 or 20 scans in a second or fewer depending on the code. But this OB32 runs once a second regardless, right?
Call a Function from OB32 set up for one second with the following code.
AN Q1.7
= Q1.7
Output 1.7 will be on for a second, off for a second and so on whilst the PLC runs.
I do exactly this to provide a watchdog output from the PLC. The output is either monitored by another PLC or by a low cost module usually used to detect stoppage or belt broken for a conveyor.
Seriously for a minute, Would the above code really be on for a full second or just one scan?
Then after a second OB32 comes on and does it again?
You could have 10 or 20 scans in a second or fewer depending on the code. But this OB32 runs once a second regardless, right?