beckhoff — 9.5 Merging the BC2000 in the TwinCAT system manager

Bus Terminal Controller | Merging the BC2000 in the TwinCAT system manager 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 BC2000 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). PLC Variables PLC variables are variables that are situated in the BC2000 from addresses %IB128 and %QB128. This offset can be shifted. These addresses are not assigned to any terminal, so that signals or data can be transmitted to or received from the master via the PLC variables. Remanent Variables Retained or remanent variables are data that retain their value when voltage is not present. In PLC Control this data is placed in the allocated flags area.

Following the default setting, this means that all the variables from %MB0 - %MB63 are RETAIN data. The maximum setting is 512 bytes Terminal Bus (K-Bus) Update Double Cycle: Terminal bus inputs before the PLC cycleTerminal bus outputs after the PLC cycle Before PLC: Terminal bus inputs and outputs before the PLC cycle After PLC: Terminal bus inputs and outputs after the PLC cycle TwinCAT 2 116 Version: 1.7