PLC Timer/Counter Preset Converter
Convert timer presets, base times, and counter targets for practical PLC commissioning and ladder logic checks.
Quick answer
Convert between PLC timer presets, elapsed time, scan-based counts, and event-count targets.
Use this page when a ladder timer base or counter target needs to be translated into a practical integer preset before downloading or troubleshooting logic. The converter normalizes time and returns both precise and rounded PLC-friendly values.
- Timer modes convert preset counts to elapsed time or target time back to a preset integer.
- Counter modes estimate counts from scan time or event rate over a chosen duration.
- Rounded PLC integer gives the field-enterable whole number most controllers require.
Preset Inputs
Conversion Result
How to apply the converted value
Use the primary result for the exact engineering calculation, then confirm the rounded PLC integer is suitable for the controller instruction and timer base you actually use in logic.
For counters, compare the estimated count against real machine speed, debounce behavior, and scan jitter so commissioning values stay realistic in the field.
⚠️ Engineering Caution:
This tool is intended for screening and pre-check workflows. Results are usually directionally useful, but they
can still shift with equipment selection, environmental conditions, naming conventions, revision status, or
interpretation rules. Confirm any value that affects ordering, substitution, compliance, or installation before
acting on it.
Frequently Asked Questions
How does this timer preset converter work?
It uses the standard relationship between preset counts and timer base. You can convert elapsed time to preset counts or preset counts to elapsed time.
What does counter mode estimate?
Counter mode estimates practical count totals either from scan time assumptions or from an event rate over a target duration.
What This Calculator Is For
PLC timer and counter configuration often looks simple until you need to move between different preset formats, time bases, or scan-driven counting assumptions. In practice, engineers constantly need quick conversions such as:
- How many milliseconds is a
TONpreset of250at a0.1 sbase? - What preset value do I need for a
30 seconddelay if the timer base is10 ms? - If a pulse is detected once per scan, how many counts should I expect over
2 minutesat a given scan time? - What counter target corresponds to a machine cycle period or event frequency?
This tool is designed as a practical preset-planning helper for PLC logic reviews, commissioning, and troubleshooting.
What It Calculates
The tool supports two practical workflows:
- Timer preset conversion
- convert preset counts to elapsed time
- convert target time to preset counts
- Counter target estimation
- estimate counts from scan time and duration
- estimate event totals from event frequency and duration
Core Relationships
Typical timer relationships are:
Elapsed Time = Preset × Time BasePreset = Target Time ÷ Time Base
Typical counter relationships are:
Counts from Scan = Duration ÷ Scan TimeCounts from Event Rate = Events per Second × Duration
The calculator rounds preset/count results to practical whole-number PLC values while still showing the underlying engineering time.
Practical Use Cases
This tool is useful for:
- reviewing
TON,TOF, andRTOtimer presets - converting legacy timer base formats during migration
- estimating scan-driven software counters
- planning pulse-counter accumulation targets
- sanity-checking HMI timer setpoints before download
Important Limitations
This tool is a planning reference, not a vendor-specific instruction manual. Real behavior can differ because of:
- PLC family-specific timer data types
- periodic task vs continuous task execution
- input filtering and debounce logic
- scan jitter and communications latency
- high-speed counter hardware behavior
Use this tool for quick engineering conversion, then confirm exact implementation against the PLC platform and runtime task model.
FAQ
Is this for IEC timers only?
No. It works as a general practical converter for IEC-style timers and many vendor timer/counter workflows that use preset counts plus a time base.
Does it model exact scan timing?
Not exactly. It gives planning estimates using the scan or event assumptions you enter. Real runtime behavior can vary slightly.
Can I use this for pulse counters?
Yes. The counter mode can estimate totals from event frequency and duration, which is useful for pulse-driven logic checks.
Related Tools
Modbus Address Mapper
electricalConvert Modbus coils, discrete inputs, input registers, and holding registers between reference numbers and 0-based offsets.
Sensor Signal Scaling Calculator
electricalScale 4-20mA and 0-10V analog signals to engineering units and back for PLC, HMI, and SCADA workflows.
Siemens PLC Address Converter
electricalConvert Siemens I, Q, M, and DB bit addresses between byte.bit notation, byte offsets, and absolute bit positions.