Save Program With External Trigger - Siemens SIMATIC MV500 Operating Instructions Manual

Hide thumbs Also See for SIMATIC MV500:
Table of Contents

Advertisement

Process interfacing via an automation system (PLC, PC)
9.6 Control via TCP/IP and RS232
String
"MI<programnr>" (Machine command Immediate store program <programnr>)
Table 9- 57
Characters
<programnr>
9.6.7

Save program with external trigger

Note
Requirement
To execute this command, you must first set the DISA bit.
This command starts the program saving procedure. Note that you will then need to
separately send/set a trigger signal at the earliest after receiving the response string.
The program is saved with the specified number.
Note that if a program has already been saved with this number and no error occurred during
the save procedure, this program is overwritten. If the save procedure is successful, the
optical reader then goes into processing mode with the relevant program number.
String
"MT<programnr>" (Machine command sTore code <programnr>)
Table 9- 58
Characters
<programnr>
202
String structure
Description
Number of the program saved.
This command returns no response string.
If the DISA bit is not set already, the optical reader will set it au-
tomatically to save the program and then reset it.
String structure
Description
Number of the program saved.
Two printable ASCII characters with the value "0" to "9".
Valid range of values: 00 ... 15.
Using the "Query status" command, you then check if the
program change has been successful. If, for example, pro-
gram number "5" is selected and the status is queried, the
string "MR05MGST" can be sent.
You check whether the optical reader has successfully stored
the program and is in processing mode based on <statusbyte>
and <currentcodeno>.
Two printable ASCII characters with the value "0" to "9".
Valid range of values: 00 ... 15.
Operating Instructions, 03/2021, C79000-G8976-C494-05
SIMATIC MV500

Advertisement

Table of Contents
loading

Table of Contents