Industrial communication
Modbus, PROFINET and OPC UA overview.
Learn more →Technical guide to Modbus RTU on RS-485: serial parameters, two-wire bus, termination, node addresses, function codes, timing, timeouts and troubleshooting.
RS-485 faults often sit below the protocol. A/B polarity, common reference, shielding, bus topology and termination need to match the real installation.
Baud rate, data bits, parity and stop bits must be identical on master and slave. One mismatched parameter can look like an addressing or device fault.
Device manuals may distinguish logical register numbers from transmitted offsets. The function code must also match the data type, such as coils, discrete inputs, holding registers or input registers.
A serial bus needs sufficient time between requests and for the slave response. Polling too aggressively can create timeouts even when wiring and addresses are correct.
A useful test starts with one known device and one small documented request. Only then should more addresses, registers and devices be added.
RS-485 is robust but not arbitrary. Bus topology, termination at both ends, correct A/B polarity and a defined reference between devices form the basis. Shielding and cable routing must suit the installation. If the electrical layer is unstable, changing register addresses only creates different symptoms.
Check slave address, function code, start address, quantity and data format independently. Vendor manuals often use 4xxxx notation as a logical label while the transmitted offset is different. WORD, INT, DWORD, REAL and byte/word order must also match the device.
A serial bus needs time for request transmission, direction switching, response and bus idle. Timeouts or polling cycles that are too aggressive can make a valid device appear unstable. During commissioning, one known request with generous timing is better than a fast full scan.
Distinguish no electrical response, Modbus exception, valid response with wrong data and correct raw data interpreted incorrectly in the PLC. This separation identifies whether wiring, protocol, register model or application logic is responsible.
This sequence helps isolate faults from the basic layer through to application logic.
Modbus, PROFINET and OPC UA overview.
Learn more →Modbus in control projects.
Learn more →Discuss a communication issue.
Learn more →