Block library TeleControl ST7
5.7 Master copies
TIM 1531 IRC
Operating Instructions, 02/2018, C79000-G8976-C468-02
243
5.7.2.8
DB TestCopyData
Structure of the TestCopyData DB
Areas of the TestCopyData DB
The DB for the TestCopy function is divided into the following areas (after Offset in the DB):
●
0 ... 27: User interface
Interface for setting the TestCopy mode and functions. The area is divided into:
–
1 ... 13
Filter settings for RecvCopy function and number of counted received frames
–
15 ... 25
Filter settings for SendCopy function and number of counted sent frames
●
28: Error display
●
31 ... 39: Internal management pointer
●
40 ... (Default: 523): Buffer range
Buffer area for storing frames that match the filter criteria.
The buffer area must be configured as an array [0...xxxx] of WORD.
The following table shows the structure of the DB TestCopyData:
Data type / (off-
set)
Tag name
Format
Explanation
User interface
DBB
0
OperationMode
BYTE
Mode
DBW 12
Recv_TgramCounter
INT
Number of copied receive frames
DBW 26
Send_TgramCounter
INT
Number of copied send frames
RecvCopy function
DBB
1
Recv_TgrmType
BYTE
Receive filter: Message type (MT)
DBW 2
Recv_DestSubscr
INT
Receive filter: Destination sub-
scriber no.
DBW 4
Recv_DestObject
INT
Receive filter: Destination object
no.
DBW 6
Recv_SourceSubscriber
INT
Receive filter: Source subscriber
no.
DBW 8
Recv_SourceObject
INT
Receive filter: Source object no.
DBW 10
Recv_StartIndex
INT
Receive filter: Start index no.
DBB
14
SpareDBB14
BYTE
Reserve
SendCopy function
DBB
15
Send_TgrmType
BYTE
Send filter: Message type (MT)
DBW 16
Send_DestSubscr
INT
Send filter: Destination subscriber
no.
DBW 18
Send_DestObject
INT
Send filter: Destination object no.
DBW 20
Send_SourceSubscriber
INT
Send filter: Source subscriber no.