Hi Service Team !
I have a problem with a ewon with firmware 14.2s0 and 14.3s0PR
Scenario:
My machine has 4 Siemens S7-300 plc and ewon read tags from one plc only.
On ewon i have a BasicScript that enable/disable the IOServer when the plc is/isn’t running;
here the two functions called via Onchange event:
Function EnableIOServer()
LOGEVENT “EnableIOServer”, 10
SETSYS SYS, “load”
SETSYS SYS,“IOSrvData1:EnabledB”,“1”
SETSYS SYS,“IOSrvData1:EnabledC”,“1”
SETSYS SYS,“save”
LOGEVENT “IO-SERVER Enabled”, 10
ENDFN
Function DisableIOServer()
LOGEVENT "DisableIOServer IN ", 10
SETSYS SYS, “load”
SETSYS SYS,“IOSrvData1:EnabledB”,“0”
SETSYS SYS,“IOSrvData1:EnabledC”,“0”
SETSYS SYS,“save”
LOGEVENT “IO-SERVER Disabled”, 10
ENDFN
Now the problem:
when the basic script execute the instruction SETSYS SYS,“save” , in the BasicScript page i have this situation:
the “Abort execution” and “Pause execution” icons are enabled;
after a while, the ewon Reboot and in the event log i have this:
Workaround:
-
if i disable (//) the instruction SETSYS SYS,“save” , the script run without problems;
-
when the BasicScript has the two icon enabled (Abort and Pause) , if i disconnect from the net two plc, the script continue running;
-
if i connect the ewon with the plc only and disconnect from the net all other 3 plc, i have no problems;
-
i tried to increase the “Default TCP RX/TX Timeout” parameter to 5000 Msec but without any differences
If you need more info i can provide you
thanks