PLC Scan Time Calculator

t_total = t_io + t_logic + t_comms

Quick answer: This calculator solves t_total = t_io + t_logic + t_comms for Total Scan Time. With I/O Scan Time 44 ms, Logic Execution Time 94 ms, Communications Time 9.4 ms, the result is 147.4 ms. It solves in 4 directions, so you can enter the values you have and get the one you need.

Calculator

Loading calculator…

Formula

t_total = t_io + t_logic + t_comms

Description

A PLC (Programmable Logic Controller) executes its program in a cyclic scan consisting of three main phases: reading all inputs, executing the user logic program, and updating outputs and handling communications. The total scan time determines the worst-case response latency of the control system. An input change occurring just after the input scan phase will not be processed until the next cycle, resulting in a maximum response time of nearly two full scan cycles. Fast processes like high-speed counting or motion control may require dedicated hardware interrupts rather than relying on the normal scan cycle.

Variables

SymbolMeaning
t_totalTotal scan cycle time (s)
t_ioTime to read inputs and write outputs (s)
t_logicTime to execute the user program (s)
t_commsTime for network communication and housekeeping (s)

Practical Notes

Typical PLC scan times range from 1-50 ms depending on program size and I/O count. Modern PLCs offer periodic tasks with fixed execution rates for time-critical control loops, event-driven tasks triggered by interrupts, and background tasks for non-critical housekeeping. Watchdog timers detect scan time overruns that indicate program errors or excessive load.

Symbols and units

SymbolDefault unitAccepted units
Total Scan Timemsps, ns, µs, ms, s, min, h
I/O Scan Timemsps, ns, µs, ms, s, min, h
Logic Execution Timemsps, ns, µs, ms, s, min, h
Communications Timemsps, ns, µs, ms, s, min, h

Worked examples

GivenResult
Minimum rangeI/O Scan Time 0.22 ms, Logic Execution Time 0.47 ms, Communications Time 47 µsTotal Scan Time = 0.737 ms
Low rangeI/O Scan Time 2.2 ms, Logic Execution Time 4.7 ms, Communications Time 0.47 msTotal Scan Time = 7.37 ms
TypicalI/O Scan Time 44 ms, Logic Execution Time 94 ms, Communications Time 9.4 msTotal Scan Time = 147.4 ms
High rangeI/O Scan Time 1.1 s, Logic Execution Time 2.35 s, Communications Time 0.235 sTotal Scan Time = 3.685 s
Maximum rangeI/O Scan Time 11 s, Logic Execution Time 23.5 s, Communications Time 2.35 sTotal Scan Time = 36.85 s

Solving for each variable

Solve for GivenResult
Total Scan TimeI/O Scan Time 0.22 ms, Logic Execution Time 0.47 ms, Communications Time 47 µs0.737 ms
I/O Scan TimeTotal Scan Time 1 ms, Logic Execution Time 0.22 ms, Communications Time 100 µs0.68 ms
Logic Execution TimeTotal Scan Time 1 ms, I/O Scan Time 0.47 ms, Communications Time 100 µs0.43 ms
Communications TimeTotal Scan Time 1 ms, I/O Scan Time 0.47 ms, Logic Execution Time 0.22 ms0.31 ms

How Total Scan Time changes with I/O Scan Time

I/O Scan Time (input)Total Scan Time (result)
4.4 ms107.8 ms
11 ms114.4 ms
22 ms125.4 ms
33 ms136.4 ms
44 ms147.4 ms
66 ms0.1694 s
88 ms0.1914 s
0.176 s0.2794 s
0.308 s0.4114 s
0.44 s0.5434 s

The same result in other units

UnitValue
µs147400
ms147.4
s0.1474
min0.002457

Embed this calculator

Paste this into any page. It keeps working when this page updates, and credits the source.

Frequently asked questions

How do you calculate PLC Scan Time?

Use t_total = t_io + t_logic + t_comms. With I/O Scan Time 44 ms, Logic Execution Time 94 ms, Communications Time 9.4 ms, Total Scan Time works out to 147.4 ms.

What is the formula for PLC Scan Time?

The formula is t_total = t_io + t_logic + t_comms. A PLC (Programmable Logic Controller) executes its program in a cyclic scan consisting of three main phases: reading all inputs, executing the user logic program, and updating outputs and handling communications.

How do you find I/O Scan Time when you know the other values?

Rearrange for I/O Scan Time: with Total Scan Time 1 ms, Logic Execution Time 0.22 ms, Communications Time 100 µs, I/O Scan Time is 0.68 ms.

How do you find Logic Execution Time when you know the other values?

Rearrange for Logic Execution Time: with Total Scan Time 1 ms, I/O Scan Time 0.47 ms, Communications Time 100 µs, Logic Execution Time is 0.43 ms.

What units does PLC Scan Time use?

Total Scan Time is shown in µs, ms, s, min. Values are held in SI base units internally, so you can mix prefixes without converting by hand.

What does t_total mean in the PLC Scan Time formula?

t_total is Total scan cycle time (s).

What should I watch out for when using PLC Scan Time?

Typical PLC scan times range from 1-50 ms depending on program size and I/O count. Modern PLCs offer periodic tasks with fixed execution rates for time-critical control loops, event-driven tasks triggered by interrupts, and background tasks for non-critical housekeeping. Watchdog timers detect scan time overruns that indicate program errors or excessive load.