21
When at least one entry is made to the match table, all messages received from the network are
checked against the match table. If a match is found the message is passed to the host. If no
match is found, the message is discarded, and the host is not notified.
A match table entry is made using the $32 $xx $yy command. The $xx value is the byte position
and the $yy value is the byte value. This filtering mechanism is more easily explained by
example.
It is desired to receive all messages (at the host) where the third byte of the message is
equal to $F1. Send the command $32 $03 $F1 to the AVT-718 interface. To verify the
table entry send the command $30. The response will be $42 $03 $F1. The only network
messages passed to the host will now be of the form: $zz $xx $F1 $... Note that at the
host the message will be $rr $ss $zz $xx $F1 $.. where $rr is the header byte, $ss is the
received message status byte, and the message follows.
The match table can hold ten entries where an entry consists of a byte position and a byte value.
The byte position refers to where in the network message the match byte is to be compared. The
first byte of the message has a byte position value of one.
Ordering of the match table is not important. All table entries are checked until a match is found
or the end of the table is encountered. If a match table entry specifies a byte position that doesn’t
exist for the message being checked (the message is shorter than the table entry), that table entry
is not checked.
Note that the header byte and the received message status byte are not included in the match
function nor are these two bytes considered part of the message. When in UBP and ISO modes
the byte following the header byte is the received message status byte. When in PWM mode the
byte following the header byte is the message number. These bytes are ignored by the match
function and are not counted. The very next byte is the first byte of the message and has is byte
number one of the message.
5.8 Status and Error Codes
Consult the latest version of the “Commands and Responses” list for a complete list of Status and
Error codes supported by the AVT-718.
The latest version of the “Commands and Responses” document can be obtained from our web
site at:
www.AVT-HQ.com
6. Technical Information
6.1 Reference Documentation
Listed here are Specifications and other documentation related to the AVT-718 and the functions
which it performs.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com