Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Reboot the device

sbk
2017-11-27
2017-11-28
  • sbk - 2017-11-27

    Hi there,

    how can I reboot the device?
    Any standard library function available?
    We use Berghof DC2xxx

    Thank you in advance.

     
  • e.kislov - 2017-11-28

    1. Instal WinSCP.
    2. Connect with DC2007 (protocol SCP, default login/pass - root/root).

    3. In folder /home/plc/applications you find file CODESYSControl.cfg. Open it and add next block:

    [SysProcess]
    Command=AllowAll
    

    4. Open terminal and use command busybox reboot to save and reboot PLC.

    5. In CODESYS add library SysProcess.

    6. Use it in code next way:

    IMG: 28

    IMG: 28

    IMG: 28

    IMG: 28

    IMG: 28

     

Log in to post a comment.