Troubleshooting

On this page

Read the gateway log first. The module works on the gateway, so the answers are there, not in the Designer. Filter on innorobix.hostlink. Loggers: innorobix.hostlink.device (connection, read problems, licence stops, devices whose saved settings cannot run), innorobix.hostlink.write (every write and refusal), innorobix.hostlink.config (settings refused on the page, CSV import), innorobix.hostlink.request (DEBUG, how the tag list became requests), innorobix.hostlink.protocol (TRACE, every request and reply), innorobix.hostlink.lifecycle (module start and stop). A repeated failure is logged once; the next one after 5 minutes is logged again with the number of lines held back.

The device does not connect

[HostLink]<Device>/_Status/State and LastError give the reason. From the gateway machine, not your PC, check the host and TCP port 8501. A firewall between the gateway and the PLC is the usual cause. Check that the PLC’s Ethernet port or unit is set to Host Link on that port. Over UDP an unreachable PLC shows only as a timeout.

Connected, but tags are Bad

  • The PLC answered a read with an error (E0 to E9): only the tags of that block are Bad_Failure, ProtocolErrors counts it, _Status/LastReadError names the block and the connection stays open. E0 usually means the address does not exist on this PLC; check the PLC family setting and the address in KV STUDIO.
  • A silent or garbled answer closes the connection; the driver reconnects (ReconnectCount). Raise Timeout on a slow network.

A value looks wrong

Compare one known value of each kind with KV STUDIO. Text with swapped letter pairs: use STR[n,LOW]. Relay numbers are channel then two-digit bit (R1915 is channel 19, bit 15); B and W numbers are hexadecimal. An F32 shows as a double (0.1 is 0.10000000149011612).

A device is saved but stopped, “The saved settings cannot run”

The page cannot check one field against another. An address that is outside the chosen PLC family is saved, and the device shows the reason (for example EM does not exist on kv-nano) in LastError and in the log (ERROR on innorobix.hostlink.device). Correct the family or the address and the device starts again.

The tag list or CSV is refused

The page names each line it cannot use. The Tags field is one line: paste a CSV with every line break replaced by \n. Lines for devices the module does not read (X, Y, M, L, T, C, VM, VB, AT) are refused; delete them first.

A write is refused or does nothing

Look at innorobix.hostlink.write (WARN names the reason). A tag is writable only when Allow writes was on at the last connect (save the device after switching it on), the device is of a kind that can be written, and the value fits the type. Timer and counter values also need Allow timer/counter writes and a kv-7000 or kv-8000 family. CR, CM, TM, Z, CTH, CTC are never written. _Status/LastWriteError starts with “May have been written” when the PLC gave no clean answer: read the value back before you write again. The driver never resends a write. See the Quick Start chapter, “Writes”.

Who wrote a value

The module does not log the user for any write, from a screen, a script or anywhere else; it logs device, tag, address, value and result. Ignition gives the module no user for a gateway-script write. This is not a setting. See the Compatibility chapter.

Not licensed, or only 2 devices run

See the Compatibility chapter, Licensing.

What to send when you ask for help

Module version, PLC model and firmware, PLC family setting, transport, the exact innorobix.hostlink lines and the device’s _Status tags. Enable TRACE on innorobix.hostlink.protocol only for a short test; it logs requests and replies, which contain your process data. Do not send licence keys.

Generated from the module's documentation for version 8.9.0. Questions: contact us.

Get a quoteFree trial