Advantech EMCB-200U handleiding
Handleiding
Je bekijkt pagina 17 van 22

17
3.4 Device Setting Functions
These setting functions are about CAN Bus transmission and reception. These functions must be set
firstly before call the function EMCBMsgTx or EMCBMsgRx. In this section, we provide two functions
to set masks and filters. Masks and filters are work as following:
For ID version filtration, the versions of filter ID and mask ID must be the same, or it may result in
undesirable behavior. All conditions please see Table 4. For continually checking ID operation, in
general, holding two examples in 2.0A version. The first example is as Table 5, ID_Receive is the
received ID, ID_Filter is filter ID, and ID_Mask is mask ID. If ID_2 = 0, then the system will receive
this message. Otherwise, the system will reject this message. In the result of Table 5, the system will
reject this message. In the example (2) of Table 6, which is only mask ID different with example (1),
ID_2 is equal to zero, so the system will receive this message.
Table 4 Operation of ID version.
Received ID
Filter ID
Mask ID
Result
2.0A version
2.0A version
2.0A version
checking ID
2.0A version
2.0B version
2.0B version
rejection
2.0B version
2.0A version
2.0A version
rejection
2.0B version
2.0B version
2.0B version
checking ID
Don’t care
2.0A version
2.0B version
undesirable behavior
Don’t care
2.0B version
2.0A version
undesirable behavior
Table 5 Example for operation of filter and mask (1).
Value of ID (Bin)
Description
00110110010
ID_Receive, EID = 0
00110111111
ID_Filter, EID = 0
11111111111
ID_Mask, EID = 0
00000001101
ID_1 = ID_Receive XOR ID_Filter
00000001101
ID_2 = ID_1 AND ID_Mask1
Table 6 Example for operation of filter and mask (2).
Value of ID (Bin)
Description
00110110010
ID_Receive, EID = 0
00110111111
ID_Filter, EID = 0
11111110000
ID_Mask, EID = 0
00000001101
ID_1 = ID_Receive XOR ID_Filter
00000000000
ID_2 = ID_1 AND ID_Mask1
Bekijk gratis de handleiding van Advantech EMCB-200U, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
Merk | Advantech |
Model | EMCB-200U |
Categorie | Niet gecategoriseerd |
Taal | Nederlands |
Grootte | 2219 MB |