
Process interfacing via an automation system (PLC, PC)
9.6 Control via TCP/IP and RS232
SIMATIC MV500
200
Operating Instructions, 03/2021, C79000-G8976-C494-05
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 Format of the response string
Characters
Description
<statusbyte>
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)".
<aktuelleprogrammnr>
Currently selected program number.
•
Two printable ASCII characters with the value "0" to "9".
•
Valid range of values: 00 ... 15.
<fehlernr>
Error code of the currently pending error
You can find additional information in the section "Error messag-
Coding corresponding to <current program number>
•
There is no error if the value is "00".
<endekennung>
- Non-printable ASCII character with the value "0x04".
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 ...