Query Status - 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
9.6.4

Query status

This command returns the status byte, the current program number and an error number in
the response string.
String: "MGST" (Machine command Get STate)
Response string
"RGST<statusbyte><aktuelleprogrammnr><fehlernr><endekennung>" (Reply Get STate)
Table 9- 55
Characters
<statusbyte>
<aktuelleprogrammnr>
<fehlernr>
<endekennung>
200
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 172)".
Currently selected program number.
Error code of the currently pending error
You can find additional information in the section "Error messag-
es (Page 224)".
- Non-printable ASCII character with the value "0x04".
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".
Operating Instructions, 03/2021, C79000-G8976-C494-05
SIMATIC MV500

Advertisement

Table of Contents
loading

Table of Contents