Device Connectivity Issues
At times, a device may display as Disconnected.
The following table explains conditions that might cause a device to disconnect, the reasons it disconnected, and the steps to connect the device:
For this condition | To connect the device |
---|---|
Free Tag: Explicit register name required Certain device drivers do not have a list of register names in the DeviceHub Add Tag form. When a list of registers is not provided, the case-sensitive register name must be entered exactly as it is defined in the PLC. The device does not display a Connected status until a tag with a correct register name is created. | Add a tag with a case sensitive register name. See Add Tags to learn more.
|
HID Device in Wait State Some HID (Human Interface Devices), such as barcode scanners, are always disconnected and only show a connected status when they send data to Manufacturing Connect Edge. | This is a temporary state and no intervention is required. The device connects when there is data to receive. |
Incorrect PLC Configuration If configuration changes have been made to a PLC, the best way to ensure accurate status is to delete and recreate the device in DeviceHub. |
|
Incorrect Tag Information To prevent the PLC from going into fail-safe mode or from crashing the process when a tag has incorrect information, Manufacturing Connect Edge disconnects communication with the PLC. For example, a tag may contain an incorrect address. |
|
success=false message This could be caused for several reasons:
| If there are intermittent false messages and a majority of tag messages are success=true, this could be due to the PLC not being able to respond in time to the poll requests. You can increase the poll interval in the DeviceHub tag configuration to give more time to the PLC to respond to requests. You can also add a filter to remove the false messages. If the configuration of the tag is incorrect, the status of the DeviceHub device will eventually show a DISCONNECTED status to prevent the PLC from going into an error state. To resolve this, you can delete the incorrect tag and refresh the device. If this doesn't resolve the issue, you can reboot the gateway. |