Bus Terminal Controller | Merging the BC3100 in the TwinCAT System Manager PLC Cycle Time The PLC cycle time determines the program's repetition frequency. This time is not deterministic. This means that when the program in the bus terminal controller needs more time, the PLC cycle time rises. If the program needs less than the cycle time, it is repeated at intervals of the set cycle time.The processing of the Lightbus and the serial interfaces is executed in the background time. This should be set to approx. 20 % of the PLC cycle time. The "mean cycle time" is measured to optimise the system. You will find this item in PLC Control under Online\Coupler.
About 20% - 30% is added to this, and the result entered as the PLC cycle time. The background time is then set to 20% of the PLC cycle time. PLC cycle time = mean cycle time + 20% = 10 ms + 20% = 12 ms Background time = PLC cycle time * 0,2 = 12 ms * 0,2 = 2,4 ms " 2 ms Mean cycle time The measured cycle time also includes that required for the terminal bus update. This results in a connection between the number of terminals that are inserted and the cycle time. Before initiating the program, the bus terminal controller executes a terminal bus update, to interrogate the inputs.
After the program has been executed, the BC3100 carries out another terminal bus update, to write the current outputs. The background time follows this. The cycle time can also be shortened if the terminal bus update is carried out simultaneously for inputs and outputs (see Terminal Bus Update). TwinCAT 2 120 Version: 1.7