Use PLC-Shell commands in excecution code

andrej
2023-04-12
2023-04-17
  • andrej - 2023-04-12

    Hiya,
    in the PLC shell (cf. Picture) multiple RTE commands can be executed for example an application can explicilty be started by the command "startprg APPLICATION".

    Is it possible to send these shell commands from a POU to the shell?

    // PSEUDO CODE
    IF condition THEN
     execute plc shell "startprg APPLICATION"
    ENDIF
    

    Many thanks for tipps
    Andrej

     
  • eschwellinger

    eschwellinger - 2023-04-17

    ..some of the commands are encapsulated in library functions but not all of them -
    so it is not possible to call them that way.

     

Log in to post a comment.