Write a PLC program so you can set the time value of S5 timer using a memory word.
For instance use an on delay timer so that when the selector switch is ON, the motor runs after an adjusted time value, this time value can be set by the operator from an HMI.
Note: the best practice to learn the PLC programming is to start writing the PLC program, take your time before you review the answer.
Inputs & outputs
S5 Timer Value by a Memory Word
The TV in the timer should be a BCD format and the value set in the MW0 is in milliseconds.
Author: Karim Ali Anwar