Block library TeleControl ST7
5.7 Master copies
TIM 1531 IRC
246 Operating Instructions, 02/2018, C79000-G8976-C468-02
Length of the time difference
Length of the block separators Len
Trenner
2 bytes
* 76 with X communication, 202 with B communication
The formula used for the actual calculation is the same for X communication and B
communication. The results differ only due to different lengths for the communication buffer
for X and B communication:
●
Length with X communication
Min_Xcom
ComBuffer
dt
ComBuffer
MinTgrm
Trenner
= 76 + 40 + 4 + (76 / 14 + 1) * 2
= 120 + 12 = 132 bytes minimum
●
Length with B communication
Min_Bcom
ComBuffer
dt
ComBuffer
MinTgrm
Trenner
= 202 + 40 + 4 + (202 / 14 + 1) * 2
= 236 + 40 = 276 bytes minimum
If FC TestCopy determines that the DB TestCopyData does not have the calculated
minimum length an error message to this effect is entered in data byte DBB28.
Operation of TestCopyMonitor
Operating modes and transfer directions of DB TestCopyData
In byte 0 (OperationMode) of the DB TestCopyData, the mode of the FC is coded. The
values 0 ... 3 identify the mode:
● Mode 0
Function blocked
● Mode 1
Frame entry as of the start of DB TestCopyData
● Mode 2
Write to DB TestCopyData endlessly as circulating buffer
● Mode 3
Fill DB TestCopyData once, then set mode 0.
You will find the detailed coding in the table below.
Along with the mode the coding of DBB0 also includes the transfer direction of the logged
data. The following assignment applies for the coding:
● Bit 0...3
Modes (0, 1, 2, 3) for die direction "RecvCopy" (copy receive frames)
● Bit 4...7
Modes (0, 1, 2, 3) for the direction "SendCopy" (copy send frames)