🏭 PLC and automation tools
Hex and binary, data types, decoding bytes and Modbus registers, two's complement, IEEE 754 REAL, BCD, TIME and DTL: everything you need when reading or writing a value in a PLC.
Every tool runs in your browser, is free and needs no sign-up. Wherever there is a calculation you get the formula, the steps with your numbers and a shareable link with the values already filled in.
All tools in this category
Hex, binary, decimal (PLC)Convert between decimal, hexadecimal (0x, 16#), binary, octal, BCD and Gray code. Free, no sign-up needed. Works in your browser, on mobile too.PLC data types (complete table)Every PLC data type in one table: BOOL, BYTE, WORD, DWORD, INT, DINT, LINT, REAL, LREAL, STRING, TIME, S5TIME, DATE, TOD, DTL.PLC byte decoder (hex → INT, REAL…)Paste bytes (42 C8 00 00, 16#42C80000, 0x42,0xC8, 66 200 0 0 or Modbus registers) and see the value as INT, DINT, REAL, LREAL, TIME, DTL… in big-endian.Two's complement and INT overflowClickable bits to understand two's complement: how a PLC stores negative numbers in SINT, INT and DINT, why 16#FFFF is −1 and why 32767 + 1 gives −32768.REAL and LREAL: IEEE 754 explainedHow a REAL (32-bit) and an LREAL (64-bit) are built: colour-coded sign, exponent and mantissa, step-by-step value, ±0, ±Inf, NaN, denormals.BCD and S5TIME (Siemens)Convert numbers to BCD and times to S5TIME and back: time base (10 ms, 100 ms, 1 s, 10 s), 3 BCD digits, W#16# word, invalid digits and rounding.TIME, LTIME, DATE, TOD, DT and DTLConvert T#… durations to milliseconds and LTIME to nanoseconds, and a date and time to the bytes of Siemens DATE, TOD, DT (BCD) and DTL (12 bytes).4–20 mA and 0–10 V scalingConvert a 4–20 mA or 0–10 V signal to the engineering value and the input card raw value, and back, with free ranges. Free, no sign-up needed.Encoder resolution and frequencyCalculate an encoder's mm per pulse on a screw or measuring wheel, the frequency f = PPR·rpm/60 and rpm from frequency. Free, no sign-up needed.Pt100 and Pt1000: resistance ↔ temperatureCalculate the resistance of a Pt100 or Pt1000 RTD at a given temperature, or the temperature from a measured resistance.