Search FAQs
Vista message: Unexpected program status 'Bad'
Issue
When linking a Numeric Object in Vista to a Modbus source created with the Modbus Device Importer, the object is surrounded by an orange box. The message when hovering over the box is:
Communication error. The source returned an unexpected result. "Unexpected program status 'Bad'." The value has not been read.
Management Console will also provide an error:
Invalid Modbus Register Address '400000'.
Product Line
Power Monitoring Expert 7.x
PME 8.x
Environment
Modbus Device Importer
Cause
There is an invalid register address configured in the driver that is causing the bad status.
Solution
Open the affected translator file in the Modbus Device Importer (Management Console>Tools>Modbus Device Importer). Once open, find the invalid Modbus address referenced in the Management Console error; in this case, it is registered as '400000'. Either reassign the correct Modbus address or remove the register completely from the translator, save, and update the device type.