MRES Command - Manual - PLC Mode - plc-mode: The SIMATIC PLC operating mode tool's independent documentation package. - PLC Mode,

PLC Mode (legacy) CLI Tool (plc-mode)

Portfolio
SIMATIC AX
Product
PLC Mode
Software version
1.0.0
Edition
08/2025
Language
English (original)
Package Name
@ax/plc-mode-docs
apax plc-mode mres -t <targetIP> [--wait <timeout> -p=<password> -C <certificate path> -y]

Sends an asynchronous request to the PLC at \ to perform a memory reset.

WARNING

  • Executing this command will terminate all client connections with the PLC
  • For complete information on the side-effects of MRES, please consult the S7-1500 System Manual for CPU Memory Reset

Options

  • -y | --yes - Bypass the [Y/N] prompt and assume "yes" as an answer to run non-interactively. Only use this option if the user has considered the effects of the operation on their PLC.

Exit Codes

  • Exit code 1 - The PLC was not in STOP so the MRES request could not be sent or the connection failed.

Note

  • The MRES command requires full access
  • The PLC must be in STOP to perform a memory reset