FW version | behaviour |
---|
FW =< 1.28.11 | P-Web panel freezes, program stop working until a power |
FW>= FW 1.28.22 | P-Web panel does reboot, also the application program does reboot |
every time the users want to open the setup menu while application program is running.
Solution:
The solution consists to increase the timeout time for the software watchdog to 800ms.
Opening the setup menu on the P-Web panel slows down the program in that way that the software watchdog is executed and the whole P-Web panel is rebooted.
To avoid this, the system watchdog time has to be increased.
This can be done over a CGI instruction or IL programming.
The CGI instruction has to be done over a Web-Browser and the P-Web panel should be available via LAN, with a IP address.
FW 1.28.22 or newer must be used.
Workaround with CGI instruction.
1. Be sure to have a ethernet connection to the P-Web panel
2. Open the web-browser and execute the CGI command:
http://xxxIPxxx/cgi-bin/writeVal.exe?CFG-Pcd,SysWDogTime+800
3. Control if the set settings are been set correctly:
http://xxxIPxxx/cgi-bin/readVal.exe?CFG-Pcd,SysWDogTime
4. To save the configuration the following command ha to be executed:
http://xxxIPxxx/cgi-bin/writeVal.exe?NT-Config,Save+Pcd
When it is not saved, the setting will go back to default when the controller does as restart.
Attention: This command should be used exclusively in this case.
Workaround for IL programming:
Use the IL instruction 'SYS.WriteTag' to set the software watchdog to 800ms.
CSF S.SF.SYS.Library ;Library number
S.SF.SYS.WriteTag ;Write Tag
Watchdog_R_name ;1 X|R IN, Registry name
Watchdog_T_name ;2 X|R IN, Tag name
Watchdog_value ;3 R|K IN, Tag Value parameter type
Watchdog_value ;4 X|R IN, Tag Value
Program_Status ;5 R OUT, Status
The IL program is attached to this FAQ and can be added to the PG5 project by using the function
'Program files, Add Files'
Do not set the software watchdog value differently as described since it could damage the P-Web Panel.