17 PLC shell commands
17.1 Using PLC shell commands
Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com 157
17 PLC shell commands
The PLC shell is a text-based PLC monitor. PLC shell commands for scanning
particular information from the PLC are entered in an entry line and sent to
the PLC as a string. The returned response string is displayed in a result win-
dow of the PLC shell. This functionality is used for diagnostics and debug-
ging tasks.
17.1 Using PLC shell commands
To enter a PLC shell command, follow the steps below:
▶ Establish a connection to the device.
▶ In CODESYS, double-click on the "Device (XC303)" device in the configu-
ration tree.
▶ Select the "PLC Shell" tab.
▶ Enter the PLC shell command into the input line below or click on the "..."
button and select the PLC shell command you want by double-clicking
on it.
▶ Add other settings to the command if necessary, e.g. baud rate with-
setcomconfig.
▶ Press the Return button.
The result will be displayed.
Figure 121: PLC Shell tab with results for the "?" browser command