When a Modbus tcp slave are offline, every 3s you have 2 entries of log (connected but slave still offline and connection aborted).
It's just that you have a lot of log for nothing...
Anybody know how disable this?
Codesys V3.5 Sp17 patch 3
Codesys control for Linux 188.8.131.52
You can disable this by modifying the cmpLog settings in the CODESYSControl.cfg file (usually found in C:\ProgramData\CODESYS\CODESYSControlWinV3x64\<unique id="">) to this. This should filter out open/closed connections: </unique>
;Logger.0.Filter=0xFFFFFFFF changed logger filter from 0xFFFFFF to 0x1F to filter out open/close connections
Logger.0.Backend.0.ClassId=0x0000010B ;sends logger messages to SysOut
Logger.0.Backend.1.ClassId=0x00000104 ;writes logger messages in a file
You will need to restart the controller after saving the changes to the cfg file.
Hope this helps!
Thank's for the repply, but it doesn't work !
Log in to post a comment.