Hello together,
I try to execute reboot of Turck TX510 PLC HMI under Windows CE06 as follow:
VAR stdout : STRING(1000) := ''; Result : RTS_IEC_RESULT; xExecuteSysP: BOOL; END_VAR
IF xExecuteSysP THEN xExecuteSysP := FALSE; SysProcess._(pszCommand:='reboot', pszStdOut:=stdout, udiStdOutLen:= SIZEOF(stdout),pResult := ADR(Result)); END_IF
Nothing happens, as REsult I get 12.
I also changed CODESYSControl.cfg as follow (not sure if that is only for Linux):
[SysProcess] Command=AllowAll
I also need to reboot windows via Codesys. Does anybody tried this before?
Log in to post a comment.
Hello together,
I try to execute reboot of Turck TX510 PLC HMI under Windows CE06 as follow:
VAR
stdout : STRING(1000) := '';
Result : RTS_IEC_RESULT;
xExecuteSysP: BOOL;
END_VAR
IF xExecuteSysP THEN
xExecuteSysP := FALSE;
SysProcess._(pszCommand:='reboot', pszStdOut:=stdout, udiStdOutLen:= SIZEOF(stdout),pResult := ADR(Result));
END_IF
Nothing happens, as REsult I get 12.
I also changed CODESYSControl.cfg as follow (not sure if that is only for Linux):
[SysProcess]
Command=AllowAll
I also need to reboot windows via Codesys. Does anybody tried this before?