EasyManua.ls Logo

Siemens SIMATIC MV440 - Query Status

Siemens SIMATIC MV440
424 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)
10.6 Control via TCP/IP and RS-232
SIMATIC MV420 / SIMATIC MV440
Operating Instructions, 04/2013, A5E02371045-06
305
10.6.6 Query status
This command returns the status byte, the current program number and an error number in
the response string.
Character string
"MGST" (Machine command Get STate)
Response string
"RGST<statusbyte><currentprogramnumber><errornumber><endidentifier>" (Reply Get
STate)
<status byte> - Non-displayable ASCII characters that corresponds to the status byte (see
section "Assignment of the interfaces relev
ant to PROFINET IO (Page 270)").
<currentprogramnumber> - Currently selected program number.
<end identifier> - Non-displayable ASCII characters with the value 0x04.
Two displayable ASCII characters with value "0" to "9".
Valid range of values: 00 to 15.
<error no> - Error code of the currently pending error (see section "Error messages
(Page 334)").
Codi
ng as for <currentprogramnumber>.
No error pending if the value is 00.

Table of Contents

Related product manuals