
Process interfacing via an automation system (PLC, PC)
10.6 Control via TCP/IP and RS-232
SIMATIC MV420 / SIMATIC MV440
308
Operating Instructions, 04/2013, A5E02371045-06
10.6.9
Save program with external trigger
Note
Set DISA bit beforehand
In order to execute this command, the DISA bit must be set beforehand.
1.
This command starts saving the program.
2.
Subsequently, a trigger signal is sent/set separately at the earliest after receipt of the
response string.
The program is saved with the specified number.
●
If a program has already been saved with this number and no error occurred during the
save procedure, this program will be overwritten.
●
If the save procedure is successful, the reader then goes into processing mode with the
new program number.
Character string
"MT<program number>" (Machine command sTore code <program number>)
<program number>-Number of the program saved.
●
Two printable ASCII characters with the value "0" to "9".
●
Valid range of values: 01 to 5.
Response string
"RTRDY<end identifier>" (Reply sTore program ReaDY)
<end identifier> - Non-displayable ASCII characters with the value 0x04.
After this response string is received, a trigger can be sent via an external source.
●
If this response string is not sent, either the DISA bit has not been set or <program no> is
outside the valid range.
●
If "RTRDY" is received and the trigger is sent, the status must be queried cyclically with
"MGST". The query is used to check whether the save procedure is completed.
●
When the save procedure is completed, the reader will be in processing mode with
<program no>.
●
If the reader is not in processing mode and there is no error state, the save procedure is
not finished or it is still waiting for the trigger signal.
Once the save procedure is completed, the DISA bit is reset.
The save procedure can be canceled with Reset command (Page 309) (upon receipt of
"RTRDY").
Summary of Contents for SIMATIC MV420
Page 2: ......
Page 418: ...Glossary SIMATIC MV420 SIMATIC MV440 416 Operating Instructions 04 2013 A5E02371045 06 ...
Page 423: ......