Wiring diagram maker
RS-485 2/4-wire, RS-232 null modem, 4-20 mA 2/3/4-wire, NPN/PNP sensor and relay output wiring for your devices and IDs, with a checklist. Save SVG or PNG.
Checklist
Terminal names in the drawing are generic — check the terminal numbers in each device manual.
What it draws
Pick one of six common field wiring jobs and the diagram is drawn on the spot. For RS-485 you can set the number of devices (up to 8), names, slave IDs and terminal naming; termination at both ends, bias at the adapter and the common (SG) wire are drawn too.
The checklist next to the drawing lists only what to look at while wiring. Duplicate IDs or a cable too long for the baud rate raise a warning. Devices picked from the register map are checked against the baud rates and parity they support.
Save as SVG (good for documents) or PNG (good for chat), or print. «Copy link» sends the same diagram to someone else.
To draw many devices and the network on one page, use the System diagram editor.
If it still does not work once wired, try the field troubleshooting wizard to narrow down causes, and check readings with the multimeter reading checker.
For connector pin numbers and wire colours, and the start-up steps, see the connector pinout reference · commissioning and maintenance checklist.
FAQ
Which of A and B is +?
The Modbus specification names D1 (B) the + side and D0 (A) the − side, but some vendors label A as +. That is why the drawing connects terminals to the D1 and D0 lines rather than by letter. If nothing answers, swap the two wires — reversed polarity does not damage devices.
How many termination resistors?
Two — one at each physical end of the line, none in the middle. If devices have a termination switch, turn it on only at the end devices.
Why are device terminal numbers not shown?
Terminal numbers differ between versions and option boards, and the register map data has no terminal information. Generic names are used so no wrong numbers are drawn.
My sensor is NPN but the PLC input says «sink».
Sink and source are used in opposite ways by different vendors. Check the PLC manual's wiring figure for whether input COM goes to +24 V (for NPN) or 0 V (for PNP).
Sources
- MODBUS over serial line specification and implementation guide V1.02 (2006) — §2.2, §3.3, §3.4
- Texas Instruments, RS-422 and RS-485 Standards Overview and System Configurations (SLLA070D, 2010)
- The Linux Documentation Project — Serial-HOWTO §19, Text-Terminal-HOWTO §12
For cable types and sizes, see the cable selection helper, conduit and duct fill calculator.