Technical data
  SINAUT TD7 software package for the CPU 
  2.7 Test blocks 
Software 
System Manual, 07/2009, C79000-G8976-C222-07 
325 
Address  Name  Format  Explanation 
DBB  42  TestCopyBuffer[2]  BYTE  Copy area, byte 2 
DBB  43  TestCopyBuffer[3]  BYTE  Copy area, byte 3 
:  :  :    : 
DBB  xxxx  TestCopyBuffer[xxxx]  BYTE  Copy area, byte xxxx 
The individual areas of DB TestCopyData 
The DB for the TestCopy function is divided into several different areas: 
●  Area 1: DBB 0 ... DBB28 
User interface for setting the TestCopy operating mode and displaying any errors. 
This user interface in turn is divided into the following areas: 
–  Area 1.1: DBB 1 ... DBB 13: 
Filter settings for RecvCopy function and number of counted received messages. 
–  Area 1.2: DBB 15 ... DBB 27: 
Filter settings for SendCopy function and number of counted sent messages. 
●  Area 2: DBB 29 ... DBB 39: 
Internal management pointers 
●  Area 3: DBB 40 ... DBB xxxx: 
Buffer area for storing messages that match the filter criteria; the buffer area must be 
configured as an array [0...xxxx] of WORD. 
Structure of a copied message block 
A message block can contain several messages. The messages are stored in 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 message block. 
4. Separation sign AAAA, or EEEE: 
5. Storage of the last message from the message block. 
6. Block end ID FFFF. 
Example 
All received messages will be stored in DB TestCopyData. Communication is implemented 
using X blocks, i.e. a max. of 76 bytes per receive block. The receive buffer of the 
XComData DB is the source for FC TestCopy. The current receive block contains 3 
messages. 










