Time functions
Posted: Thu Oct 13, 2011 7:34 am
Hello,
My situation is the following.
I have an Beijer Touchpanel with a visualisation configured with the ix developer.
My PLC is a Wago to which I communicate via Modbus TCP.
I need to know on my PLC if the touchpanel is still alive or not.
In most cases this is not time sensitive for example it is ok for me to get an alarm after 90seconds.
So I made a funktion with the scheduler that every minute a bool tag is set and reset and these changes are transfered to the plc.
In the PLC I check for a bit change and if this change doesnt occur in 90 seconds, I know that the touchpanel is not running any more.
Now I have the situation that i need to recognize immediately (max 5 seconds) that if the touchpanel isnt working any longer.
Is there a way to create a script that changes a boolean bit every second because with the scheduler the shortest interval is one minute.
Greetings from germany
Bastian
My situation is the following.
I have an Beijer Touchpanel with a visualisation configured with the ix developer.
My PLC is a Wago to which I communicate via Modbus TCP.
I need to know on my PLC if the touchpanel is still alive or not.
In most cases this is not time sensitive for example it is ok for me to get an alarm after 90seconds.
So I made a funktion with the scheduler that every minute a bool tag is set and reset and these changes are transfered to the plc.
In the PLC I check for a bit change and if this change doesnt occur in 90 seconds, I know that the touchpanel is not running any more.
Now I have the situation that i need to recognize immediately (max 5 seconds) that if the touchpanel isnt working any longer.
Is there a way to create a script that changes a boolean bit every second because with the scheduler the shortest interval is one minute.
Greetings from germany
Bastian