Select Program Number; Save Program With Internal Trigger - Siemens SIMATIC MV500 Operating Instructions Manual

Hide thumbs Also See for SIMATIC MV500:
Table of Contents

Advertisement

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
Characters
<programnr>
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.
SIMATIC MV500
Operating Instructions, 03/2021, C79000-G8976-C494-05
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.
Process interfacing via an automation system (PLC, PC)
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.
Using <statusbyte> and <currentcodeno>, you can check
whether the optical reader is in processing mode with the
new program number.
9.6 Control via TCP/IP and RS232
201

Advertisement

Table of Contents
loading

Table of Contents