- Read and request changes to PLC operating mode (for example,
RUNorSTOP) on Simatic S7-1500 series PLCs running firmware versions 2.8-2.9, including secure communications. - Read PLC operating mode or hardware switch state with the
plc-mode get <request type>command.- Use the --check:\
flag on a get modecommand to compare the PLC's current operating mode to \. - While using --check:\
, add the --wait:\ flag to wait for up to \ milliseconds for the PLC operating mode to match \ .
- Use the --check:\
- Request a PLC change operating mode with the
plc-mode set <operating mode>command.- Use the --wait:\
flag to spend a maximum of \ milliseconds waiting for the PLC to change to the specified operating mode. - Use the -y or --yes flag to skip the "Are you sure?" prompt for this command.
- Use the --wait:\