Page 1 of 1

Modbus Exception Codes

Posted: Wed Aug 28, 2024 1:43 am
by emaddocks
Hi All,

Does anyone know if it's possible to access the Modbus exception codes somewhere inside the internal datapoints? They don't look to be written to the _Mod_Plc DPs and are just written into the log viewer.

If it is not possible to access the error codes without parsing the log viewer, does anyone know how to prevent the Modbus driver from dropping a PLC connection when receiving generic or custom Modbus error codes?

Cheers
Eric

Re: Modbus Exception Codes

Posted: Tue Sep 24, 2024 2:10 pm
by gschijndel
They should be written to the <_ModPlc>.Error datapoint element, but also the PLC errors are also written there. So the exception codes have an offset of 100.