EasyManua.ls Logo

Siemens SIMATIC MV500 - 9.6.4 Query status

Siemens SIMATIC MV500
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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-
es (Page 224)".
Coding corresponding to <current program number>
There is no error if the value is "00".
<endekennung>
- Non-printable ASCII character with the value "0x04".

Table of Contents

Other manuals for Siemens SIMATIC MV500