From 60b6ff35e63ce527a0c11be6a77f447b376a44b0 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Fri, 28 Feb 2025 11:02:39 +0100 Subject: [PATCH] Add: CODESYSControl config --- CODESYSControl.cfg | 60 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 CODESYSControl.cfg diff --git a/CODESYSControl.cfg b/CODESYSControl.cfg new file mode 100644 index 0000000..5fbf225 --- /dev/null +++ b/CODESYSControl.cfg @@ -0,0 +1,60 @@ +;linux +[SysFile] +FilePath.1=/etc/, 3S.dat +PlcLogicPrefix=1 + +[SysTarget] +TargetVersionMask=0 +TargetVersionCompatibilityMask=0xFFFF0000 + +[CmpSocketCanDrv] +ScriptPath=/opt/codesys/scripts/ +ScriptName=rts_set_baud.sh + +[CmpSettings] +IsWriteProtected=1 +FileReference.0=SysFileMap.cfg, SysFileMap +FileReference.1=/etc/CODESYSControl_User.cfg + +[SysExcept] +Linux.DisableFpuOverflowException=1 +Linux.DisableFpuUnderflowException=1 +Linux.DisableFpuInvalidOperationException=1 + +[CmpOpenSSL] +WebServer.Cert=server.cer +WebServer.PrivateKey=server.key +WebServer.CipherList=HIGH + +[CmpLog] +Logger.0.Name=codesyscontrol.log +Logger.0.Filter=0x0000000F +Logger.0.Enable=1 +Logger.0.MaxEntries=100000 +Logger.0.MaxFileSize=1000000 +Logger.0.MaxFiles=1 +Logger.0.Backend.0.ClassId=0x00000104 ;writes logger messages in a file +Logger.0.Type=0x314 ;Set the timestamp to RTC + +[SysEthernet] +Linux.ProtocolFilter=3 + +[CmpSchedule] +SchedulerInterval=4000 +ProcessorLoad.Enable=1 +ProcessorLoad.Maximum=95 +ProcessorLoad.Interval=5000 +DisableOmittedCycleWatchdog=1 + +[CmpUserMgr] +SECURITY.UserMgmtEnforce=NO +SECURITY.UserMgmtAllowAnonymous=YES + +[CmpOPCUAServer] +SECURITY.CommunicationMode=ALL +SECURITY.UserAuthentication=ENABLED +SECURITY.AllowUserPasswordOnPlaintext=YES +SECURITY.EnableCRLChecks=NO + +[CmpOPCUAProviderIecVarAccess] +CustomNodeName=PLC