Modbus Exception Codes

Find and share HowTos to various installations / configurations!
Search

Post Reply
2 posts • Page 1 of 1
emaddocks
Posts: 83
Joined: Tue Sep 04, 2018 12:50 am

Modbus Exception Codes

Post 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

gschijndel
Posts: 373
Joined: Tue Jan 15, 2019 3:12 pm

Re: Modbus Exception Codes

Post 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.

Post Reply
2 posts • Page 1 of 1