
Process interfacing via an automation system (PLC, PC)
9.6 Control via TCP/IP and RS232
SIMATIC MV500
Operating Instructions, 03/2021, C79000-G8976-C494-05
201
9.6.5
Select program number
This command changes the program or switches to the processing mode with the specified
program number, provided this was assigned.
String
"MR<programnr>" (Machine command Run program <programnr>)
Table 9- 56 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.
•
Using <statusbyte> and <currentcodeno>, you can check
whether the optical reader is in processing mode with the
new program number.
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.6
Save program with internal trigger
Note
Requirement
To be able to execute this command, you first have to configure the identical transport
connection as the trigger and control source.
This command starts the program saving procedure and internally generates a trigger for
image acquisition. The code 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.
Summary of Contents for SIMATIC MV500
Page 10: ...Preface SIMATIC MV500 10 Operating Instructions 03 2021 C79000 G8976 C494 05 ...
Page 16: ......
Page 28: ......
Page 32: ......
Page 92: ......
Page 114: ......
Page 148: ......
Page 244: ......
Page 254: ......
Page 260: ......
Page 292: ......
Page 294: ...Service Support SIMATIC MV500 294 Operating Instructions 03 2021 C79000 G8976 C494 05 ...