Process interfacing via an automation system (PLC, PC)
9.6 Control via TCP/IP and RS232
SIMATIC MV500
Operating Instructions, 06/2018, C79000-G8976-C494-01
159
Table 9- 60 Example sequence of a command execution
MGST -- Status query
If there is no error, the saving process can be
started.
-- RGST ...
Start the save procedure.
T -- Trigger with the standard trigger text
Trigger source = Control source.
Note: Triggering is also possible via DI/DQ, for
Cyclic status query;
recommended time interval: 1 s.
If the optical reader is in processing mode with
program no. 05, the saving process was success-
ful.
If an error occurred, the program could not be
saved (e.g. no code in the image).
If the optical reader is not in processing mode or
there is no group error, the saving process has
-- RGST ...
This command acknowledges an error or cancels "Save program with external trigger".
"MRES" (Machine command RESet)
This command returns no response string.
Send "MRESMGST" to get acknowledgment.
If "Save program with external trigger" is canceled with the reset command, the optical
reader will briefly be in an error state (error in sequence). The error state is automatically quit
or acknowledged.