fixmint
EN

Five calculators for the plant floor: voltage drop, 4–20 mA, Modbus, subnets and OEE

Commissioning and maintenance throw up the same small sums again and again: will this cable carry the load, what does 12.4 mA mean in bar, why does the register read 16672. These five calculators do those sums in your browser and show the formula beside each answer, so you can check it. None of them connects to a device or a network.

Voltage drop calculatorIs this cable too thin?Do it free

Voltage drop and cable size

The voltage drop calculator works for DC, single-phase and three-phase circuits, in copper or aluminium. Enter the one-way length, the current, the supply voltage and the cable size in mm² or AWG. It shows the volts dropped, the percentage, the voltage at the load, the power lost in the cable and the smallest standard size that stays within your limit, such as 3% or 5%.

For single-phase and DC, the drop is 2 × I × L × R, where R is the conductor's resistance per metre at its working temperature. Copper's resistivity is 0.017241 Ω·mm²/m at 20 °C and rises by about 0.393% per degree, so a cable at 70 °C or 90 °C drops noticeably more than its 20 °C figure. For three-phase the factor 2 becomes √3, and reactance counts through the power factor. The calculator does not check ampacity, fault current or local wiring rules.

4–20 mA, 0–10 V and engineering units

The 4–20 mA calculator converts live between current, voltage, percent of span, raw PLC counts and your engineering range. On a 0–16 bar transmitter, 12 mA is 50% of the span, which is 8 bar, and 13 824 counts on a Siemens analogue input that reads 0–27 648. Readings below 3.6 mA or above 21 mA are flagged as failures under NAMUR NE43, the usual convention for transmitter faults. A loop check gives the largest load resistance your supply can drive at 20 mA.

Analog signal scalingWhat does 12 mA mean?Do it free

Modbus registers that make no sense

A Modbus register holds 16 bits, so a 32-bit float or integer arrives as two registers, and devices disagree about the byte and word order. The Modbus register decoder shows the same registers as INT16, INT32, FLOAT32, 64-bit values and text in all four orders at once. The pair 0x4120 0x0000 is 10.0 as a big-endian FLOAT32 (ABCD); with the words swapped (CDAB) the same pair is a tiny number close to zero, which is the usual sign of a word-order mix-up. It also converts documented addresses such as 40001 into the zero-based offset a client sends.

Subnets

The subnet calculator takes an address with a prefix or a mask, such as 192.168.1.10/26, and gives the network, broadcast, first and last host and the number of usable hosts: 62 for a /26. It splits a network into equal subnets or into subnets sized for a number of hosts, and handles IPv6 prefixes.

OEE

The OEE calculator multiplies availability, performance and quality, the three factors defined by Seiichi Nakajima. A line at 90% availability, 95% performance and 99.9% quality runs at about 85.4% OEE. The calculator shows where the planned time went and what OEE each target would give. 85% is a commonly quoted benchmark, not a rule.

For bus load and polling intervals, see the Modbus polling calculator; for wireless links, the Wi-Fi range estimator.

Know someone with the same problem? Send them this article.

Comments

    No comments yet. Be the first.

    Your rating (optional)
    0 / 300

    Your email is never shown or kept.

    Cover of HARDWARE THEORYHARDWARE THEORY

    Twenty years of computing hardware explained: cores, clocks, memory and storage, and why your devices behave the way they do.

    $4.99Get it on Gumroad