you can use clock bits, if you use FX5U then 1s clock bit is SM412. Use counter function to increase DInt type of tag (seconds) with SM412.
You can get minutes and hours by dividing that number by 60 and 3600 (using integer division).
you can use clock bits, if you use FX5U then 1s clock bit is SM412. Use counter function to increase DInt type of tag (seconds) with SM412.
You can get minutes and hours by dividing that number by 60 and 3600 (using integer division).
I'm using the Q-Series, will this still work? I don't think I'm using the FX5U. I'm pretty new to this. I'm a little confused by the sm412 in the Counter. How does that look set up?
I'm using the Q-Series, will this still work? I don't think I'm using the FX5U. I'm pretty new to this. I'm a little confused by the sm412 in the Counter. How does that look set up?