Hi, i've got protool project for Tp 270 that signalises fires on the plan for the emergency fire unit. It works well but...
When the MPI plug is disconnected the system alarm shows up and hides... I need to show a screen that will tell that there's no connection to cpu.
I've got a marker in cpu that is always_on. When it is 0 it shows the screen but only when runtime is started without plug. When the plug is disconnected during normal work TP doesn't refresh the tag value ( it's set to by read cyclical ) and the screen never shows.
I've tried to pass a marker byte and detect if it has a numeric value ( because with plug disconected the byte has ##### value on the output field ) - it doesn't work too.
How can I do this ( force tp to refresh values without a plug or just detect if plug is disconnected) ?
Please help me, i'm getting tired of this problem I can't solve.
Regards
Adam
When the MPI plug is disconnected the system alarm shows up and hides... I need to show a screen that will tell that there's no connection to cpu.
I've got a marker in cpu that is always_on. When it is 0 it shows the screen but only when runtime is started without plug. When the plug is disconnected during normal work TP doesn't refresh the tag value ( it's set to by read cyclical ) and the screen never shows.
I've tried to pass a marker byte and detect if it has a numeric value ( because with plug disconected the byte has ##### value on the output field ) - it doesn't work too.
How can I do this ( force tp to refresh values without a plug or just detect if plug is disconnected) ?
Please help me, i'm getting tired of this problem I can't solve.
Regards
Adam