Process interfacing via an automation system (PLC, PC)
10.6 Control via TCP/IP and RS-232
SIMATIC MV420 / SIMATIC MV440
Operating Instructions, 04/2013, A5E02371045-06
309
Example string sequence
Send MDIH MGST MT05 T ... MGST
Receive RGST… RTRDY ... RGST…
Explanation Set
DISA bit.
Status query
If no error is pending,
then the save
procedure starts.
Start the
save
procedure
.
Wait for
acknowled
gement.
Trigger
Here, with
the default
trigger
text,
whereby
trigger
source =
control
source.
Trigger
also
possible
via DI/DO,
for
example.
Cyclic status query; recommended
time interval: 1 s.
• If the reader is in processing
mode with program number 05,
the save procedure has been
successful.
• A pending error means that the
program could not be saved
(e.g. no code in the image).
• If the reader is not in
processing mode and there is
no group error, the save
procedure is not yet finished.
10.6.10 Reset command
This command acknowledges an error or cancels "Save program with external trigger".
Character string
"MRES" (Machine command RESet)
This command returns no response string.
● Send "MRESMGST" to get acknowledgment.
If "Save program with external trigger" is cancelled with the reset command, the reader will
briefly be in an error state (error in sequence). The error state is automatically exited or
acknowledged.