Tab ‘PLC shell’

This tab contains a text-based PLC monitor for requesting specific information from the controller. You can enter device-specific commands and you will get the returned response in a result window.

Command with possible parameters Description
? List of PLC-shell-commands with their possible parameters and a short description.
getcmdlist List of the names of the available PLC-shell-commands.
mem                          <memory address> [<size>]

Print a hexdump of the specified memory area. The size specificatoin is optional and describes the number of bytes to be dumped. Default: 16.

Example: mem 16x0422139C 8

reflect Just reply the entered command (for testing the connection)
applist Dump a list of the currently loaded applications; the order in the list, starting with 0, defines the application index.
pid [<application name>|<application index>]* Dump GUIDs (appllication index) of one specific or all loaded applications.
pinf [<application name>|<application index>]* Dump the following contents of the Project Information of the project: Title, Version, Author and Description. Precondition: Option Automatically generate POUs for property access in the Project Information dialog is enabled.
startprg [[<application name>|<application index>]* Start the specified application, or - if no application is specifed - all loaded applications.
stopprg [<application name>|<application index>]* Stop the specified application, or - if no application is specified - all loaded applications.
resetprg [<application name>|<application index>]* Reset the specified applicaiton, or - if no application is specified - all loaded applications.
resetprgcold [<application name>|<application index>]* Perform a cold reset of the specified or - if no application is specified - of all loaded applications.
reload [<application name>|<application index>]* Reload the boot application of the specified application, or - if no application is specified - the boot applications of all loaded applications.
getprgstat [<application name>|<application index>]* Show the program status of the specified application, or - if no application is specified - of all loaded applications.
plcload Show the processor load of the PLC in percents.
rtsinfo Show information on the runtime system, like for example processor version and runtime system version.

*: Applcation name: Name of the application in the device tree; Application index: Results from the list of all applications on the PLC, which you can request by command applist. Index 0 for the first application in the list, 1 for the second one, etc.