What is Scan Time?
Every control system will take some time to execute its operation. Likewise, PLCs also takes time to perform a task. In simple terms, PLCs mainly has 3 parts which are input modules, output modules, and processor (CPU).
The input modules will read the status of switches, transmitters, and gives the data to the processor. The processor will execute the logic as per the user program. The processor will give the command to the output modules. The output modules are connected with final control elements like control valves, motor control feeders, etc.
The inputs and outputs may be in the form of NO, NC, 4-20mA, or a Bit/Pulse. So, the above all mentioned steps require some time in PLC which means for reading inputs, solve the logic, and write output, each step required some time which is nothing but the PLC scan time.
Definition of PLC Scan Time
Time taken by the PLC to read the inputs, solve the Logic, and to write the output is called a PLC Scan Time.
These functions work in the loop it may vary its time taken for execution from 0ms to 150ms to a large till 1000ms.
The variation in scan time depends on the following factors:
Number of inputs
Length of logic/Loops in program
Number of Outputs
Let’s get clear the concept by the following example;
In PLC, we have an analog input card, these analog signals need to be converted in digital format so that the processor can read it and perform an action.
Say If 1 channel generally needs a 3ms time so, if we used a 4 channel to PLC then the scan time will be 4 X 3=12ms.
Why the Scan time Important?
Suppose we have a PLC whose scan time is 5ms, and we need to assign an input for an encoder which generates a pulse every 1ms time. Refer below figure (a).
- Immediate Instruction – Input Immediate, Output Immediate
- Interrupts instruction.
Comments
Post a Comment