17 PLC shell commands
17.2 List of PLC shell commands (updated)
Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com 159
getdevicebrandname
2)
Returns the device name
Example: Device Brand Name = XC-204-C11-003
gethostname
2)
Returns the host name
Example: Host name = eaton-xc204
getinitplcsettings
2)
Returns the settings for the boot project
Example:
BP_OVERWRITE=1
BP_COPY_FROM_USB=1
BP_ALLOW_DISABLE_START=1
RTS-Update-Settings
FW_ONLY_NEWER_VERSION=0
FW_FORCED_OVERWRITE=0
FW_INSTALL_FROM_USB=1
RTS-Startup-Settings
RTS_START_DELAY_SEC=0
RTS_DISABLE_START=0
RTS_SUPERVISE=1
getipadress
2)
<adaptername> Shows the IP address of the Ethernet interfaces (= Ethernet adapters)
getipconfig Display Ethernet address
getipdns Display current DNS address
getipgateway Display Gateway address
getntpconfig
2)
Returns the settings of the NPT server daemon
Example:
Preferred Server 127.0.0.1 Min Poll 4 Max Poll 10
Standard Server 127.0.0.1 Min Poll 4 Max Poll 10
Ntp Service: stopped
getsramlayout
2)
Example:
--- SRAM layout: Address=0xb6801000
Segment[0]: Tag=TAG_RETAIN_FREE, Size=32488, Guid=00000000-0000-0000-
0000-000000000000
getserial
2)
Shows the device's serial number.
getsshstate
2)
Shows the configured state for the encryption
Example:
SSH = disabled
getswitchpos
2)
Shows the current switch position
Example:
Switch position: RUN
getprgprop [not implemented, yet]
getprgstat [<app name>|<app index>] Get the status of one specific or all loaded applications.
getrtc Display data and time [YY:MM:DD] [HH:MM:SS]
getsslversion
2)
Shows which OpenSSL version was used for the encryption
Example:
OpenSSL 1.1.1n 15 Mar 2022
gettimezone Show actual timezone information (offset to UTC)
getversion Show device versions list
listadapters
2)
Shows the available Ethernet interfaces (= Ethernet adapters).
mem <address> [<size]>
Shows the free memory on disk_sys. Print Hexdump of specified memory region
ntpsetpolltime
2)
<arg> NTP polltime <arg> = Can be used to set to preferred (0=normal,1=preferred) minpoll maxpoll
Attribute ID
Description