EasyManua.ls Logo

Siemens SIMATIC MV500 - 9.6.7 Save program with external trigger

Siemens SIMATIC MV500
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Process interfacing via an automation system (PLC, PC)
9.6 Control via TCP/IP and RS232
SIMATIC MV500
202 Operating Instructions, 03/2021, C79000-G8976-C494-05
String
"MI<programnr>" (Machine command Immediate store program <programnr>)
Table 9- 57 String structure
Characters
Description
<programnr>
Number of the program saved.
Two printable ASCII characters with the value "0" to "9".
Valid range of values: 00 ... 15.
This command returns no response string.
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>.
If the DISA bit is not set already, the optical reader will set it au-
tomatically to save the program and then reset it.
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 String structure
Characters
Description
<programnr>
Number of the program saved.
Two printable ASCII characters with the value "0" to "9".
Valid range of values: 00 ... 15.

Table of Contents

Other manuals for Siemens SIMATIC MV500