Hi,
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 4.4.1.0
Thank you!
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>
code [CmpLog] Logger.0.Name=PlcLog ;Logger.0.Filter=0xFFFFFFFF changed logger filter from 0xFFFFFF to 0x1F to filter out open/close connections logger.0.Filter=0x1F Logger.0.Enable=1 Logger.0.MaxEntries=100000 Logger.0.MaxFileSize=500000 Logger.0.MaxFiles=3 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.
Hi,
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 4.4.1.0
Thank you!
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>
You will need to restart the controller after saving the changes to the cfg file.
Hope this helps!
Hi,
Thank's for the repply, but it doesn't work !