
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".
Содержание SIMATIC MV500
Страница 10: ...Preface SIMATIC MV500 10 Operating Instructions 03 2021 C79000 G8976 C494 05 ...
Страница 16: ......
Страница 28: ......
Страница 32: ......
Страница 92: ......
Страница 114: ......
Страница 148: ......
Страница 244: ......
Страница 254: ......
Страница 260: ......
Страница 292: ......
Страница 294: ...Service Support SIMATIC MV500 294 Operating Instructions 03 2021 C79000 G8976 C494 05 ...