Previous | Contents | Index |
The read status function issues a diagnostic status request to the programmable controller, interprets the device response, and returns the interpretation as a character buffer.
The BASEstar Classic Command Line Interface User's Guide gives detailed information about the READ STATUS command. To display the returned values for device status, enter the following at the BASEstar Classic device connection management prompt:
DCM> READ STATUS device-name/FULL |
Example 3-5 shows an example of the values returned in the status buffer when you enter the command for reading device status.
Example 3-5 Read Status Screen |
---|
DCM> read status mod_984/full Status of device mod_984 at dd-mmm-yyyy 09:50:54.72 Processor Type: Modicon 984 Processor State: STOPPED Memory Protection: OFF Battery Status: LOW Machine Stop Status: o Peripheral Port STOP State o No one is currently logged in. |
For the host pseudo-device used to process unsolicited read and write requests from a Modbus-Plus device the read status command displays the number of read requests, the number of read request errors, the number of "trigger" notification sent, the number of write requests and the number of write request errors. "Triggers" and unsolicited read and write requests are discussed in Section 3.4.2.
For Modicon 984 and Quantum programmable controllers that support unsolicited data collection, the read status command also displays the information displayed for the host pseudo-device as well as the information displayed in Example 3-5. Unsolicited read and write requests are discussed in Section 3.4.2.
To reset the unsolicited counters maintained for the Modicon 984 or Quantum, use the "RESET" qualifer when reading status from the device.
DCM> read status mod_984/full/qualifier=reset Status of device mod_984 at dd-mmm-yyyy 13:21:34.91 Unsolicited read count :0 Unsolicited read err count :0 Unsolicited read trigger count :0 Unsolicited write count :0 Unsolicited write err count :0 Processor Type: Modicon 984 Processor State: RUNNING Memory Protection: OFF Battery Status: GOOD o No one is currently logged in. |
Previous | Next | Contents | Index |