Technical data
SINAUT TD7 software package for the CPU
2.7 Test blocks
Software
System Manual, 07/2009, C79000-G8976-C222-07
323
Name Permitted values Meaning
01 h Copy messages with MT = 0 or MT = 1.
23 h Copy messages with MT = 2 or MT = 3.
Any combination Copy any combination of 0, 1, 2, 3.
All perm. sbscr. Filter the destination subscriber no. in message. ????_DestSubscr
-1 Copy all messages regardless of the destination
subscriber no.
All perm. obj. Filter the destination object no. in message. ????_DestObject
-1 Copy all messages regardless of the destination object
no.
All perm. sbscr. Filter the source subscriber no. in message. ????_SourceSubscr
-1 Copy all messages regardless of the source subscriber
no.
All perm. obj. Filter the source object no. in message. ????_SourceObject
-1 Copy all messages regardless of the source object no.
All perm. ind. Filter the start index no. in message. ????_StartIndex
-1 Copy all messages regardless of the start index no.
FC TestCopy supplies a counted value in DBW12 of the DB TestCopyData indicating the
number of message that has been received since the operating mode was set to 1, 2, or 3
and that matched the filter criteria; the number of sent messages is entered in DBW26.
In DBB28, the user receives a return value that provides information about the errors that
occurred during processing of the FC. Up to now, the following have been defined:
RetVal = 0: No error
RetVal = 1: The specified DB TestCopyData is too short
RetVal = 10d: The operating mode entered in DBB0 is not defined
Notes on operation
The content of the DB TestCopyData is not deleted when the operating mode is changed;
only internal pointers and message counters in the management area of DB TestCopyData
are reset. It is therefore advisable to use the delete function "FF" when changing the
operating mode to initialize the message buffer area with 0. This makes it easier to read the
copied message blocks.
If you want to copy sent and received messages, the same operating mode must be entered
in the left half-byte and the right half-byte of the OperationMode parameter. The following
scheme applies:
Bit .7 .6 .5 .4 .3 .2 .1 .0
Mode for SendCopy Mode for RecvCopy
For modes 0, 1, 2 and 3:
If you want to delete the buffer, FFh should always be entered; separate deletion of the
receive and send messages is not possible.










