When does communication status go KO?
I use Modbus TCP for communication. When PLC is disconnected from network read errors accumulate and then after some time status goes KO. During this time other gates are not updated, because of timeout I suppose.
Before using gates in code I always put if(BitNot(IsDeviceCommunicationKo(2, 2))) but this doesn't work because status doesn't go KO.
Discussion about Gate Builder and variables database creation.
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests