Jump to content

Recommended Posts

Posted (edited)

Hello, please help me deal with this problem. Mitsubishi GX Works 3. I can not understand why the TON function block does not work correctly. I need to set the timer in minutes, but if I set 55 minutes, the timer doesn't start and an error appears. How do I make a timer to avoid this? Going through the values, I found out that this happens with the numbers 55-110, although at times large numbers work adequately.

t_0 - DINT
flushing - TON
applyNewTime - Bit

1313131313.jpg

12121212121.jpg

Edited by nurgordeev

Posted

You have to change the resolution of the Long timer in the PLC parameters. It is set to 0.001 ms by default.

just change it to 1 sec and you can use the TON to 32767 sec  (9 hrs .....)

 

Posted (edited)

How then to solve this problem?

"Hello, please help me deal with this problem. Mitsubishi GX Works 3. I can not understand why the TON function block does not work correctly. I need to set the timer in minutes, but if I set 55 minutes, the timer doesn't start and an error appears. How do I make a timer to avoid this? Going through the values, I found out that this happens with the numbers 55-110, although at times large numbers work adequately."

Edited by Vladislav72
Posted
41 minutes ago, Vladislav72 said:

How then to solve this problem?

Just use multiple TONS, use regular timer/counters or use the special SM412 etc devices

Posted

We have a function block that increments a DINT off the one second timing flag - counts to over 60 years. Do it in ST and it will copy and paste across all PLC's (one of the best features of ST in my opinion).

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...