Block library TeleControl ST7
5.7 Master copies
TIM 1531 IRC
244
Operating Instructions, 02/2018, C79000-G8976-C468-02
Data type / (off-
set)
Tag name
Format
Explanation
DBW 22
Send_SourceObject
INT
Send filter: Source object no.
DBW 24
Send_StartIndex
INT
Send filter: Start index no.
Error display
DBB
28
FC_RetVal
BYTE
Error information:
0 = No error
1 = DB TestCopyData too short
10 = Unknown mode
DBB
29
SpareDBB29
BYTE
Reserve
DBB
30
SpareDBB30
BYTE
Reserve
Internal management pointer
DBB
31
TestCopyStatus
BYTE
Status byte for TestCopy opera-
tion
DBB
32
TestCopyCmdByte
BYTE
Command byte for TestCopy
operation
DBB
33
TestCopyDelCount
BYTE
Loop counter for TestCopy delete
function
DBW 34
NextFreeCopyByte
INT
Address of the next free TestCop-
yBuffer byte
DBD
36
StartTimeSFC64
DINT
SFC64 time at the start of the
copy procedure
Buffer range
DBB
40
TestCopyBuffer[0]
BYTE
Copy area, byte 0
DBB
41
TestCopyBuffer[1]
BYTE
Copy area, byte 1
DBB
42
TestCopyBuffer[2]
BYTE
Copy area, byte 2
DBB
43
TestCopyBuffer[3]
BYTE
Copy area, byte 3
DBB
n
TestCopyBuffer[n]
BYTE
Copy area, byte n
Structure of a copied message block
A frame block can contain several frames. The frames are saved in the DB TestCopyData
according to the following rules:
1.
The first entry indicates the time difference in milliseconds (7 decade BCD plus sign)
since the last selection of an operating mode > 0.
2.
This is followed by a separation sign AAAA for sent messages, EEEE for received
messages.
3.
Storage of the first message from the frame block.
4.
Separation identifier AAAA, or EEEE:
5.
Storage of the last frame from the message block.
6.
Block end identifier FFFF.