Select Program Number - Siemens SIMATIC MV550 S Operating Instructions Manual

Table of Contents

Advertisement

Process interfacing via an automation system (PLC, PC)
9.6 Control via TCP/IP and RS232
Response string
"RGST<statusbyte><aktuelleprogrammnr><fehlernr><endekennung>" (Reply Get STate)
Table 9- 55
Characters
<statusbyte>
<aktuelleprogrammnr>
<fehlernr>
<endekennung>
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>
156
Format of the response string
Description
Non-printable ASCII character corresponding to the status byte.
You can find additional information in the section "Assignment of
the interfaces relevant to PROFINET IO (Page 126)".
Currently selected program number.
Error code of the currently pending error
You can find additional information in the section "Error messag-
es (Page 176)".
- Non-printable ASCII character with the value "0x04".
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
automatically to save the program and then reset it.
Two printable ASCII characters with the value "0" to "9".
Valid range of values: 00 ... 15.
Coding corresponding to <current program number>
There is no error if the value is "00".
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.
Operating Instructions, 05/2019, C79000-G8976-C494-02
SIMATIC MV500

Advertisement

Table of Contents
loading

Table of Contents