![background image](http://html1.mh-extra.com/html/yacht-devices/ydnu-02nf/ydnu-02nf_user-manual_892578031.webp)
— 31 —
When a PGN keyword is used (not applicable to 0183 filters), the Device adds or remove records with
the mask 0x1FF0000 for addressed NMEA 2000 messages and 0x1FFFF00 for global-addressed messages.
For example, to add the records listed in the GLOBAL_TX filter in Figure 1, you can enter the following
commands:
FILTER GLOBAL_TX
ADD PGN 59904 130310
ADD ADDR 10 11
ADD 0x1fd0700 0x1ffffff
The actual content of the filter will be (type PRINT without parameters):
Message ID Mask Comment
---------- ---------- --------------------
0x00EA0000 0x01FF0000 PGN 59904
0x01FD0600 0x01FFFF00 PGN 130310
0x0000000A 0x000000FF ADDR 0x0A (ADDR 10)
0x0000000B 0x000000FF ADDR 0x0B (ADDR 11)
0x01FD0700 0x01FFFFFF
To remove the third record from the list, you can type any of following commands:
REMOVE 0x0A 0xFF
REMOVE ADDR 0x0A
REMOVE ADDR 10
The command REMOVE ALL clears the current filter (removes all records) and switches its type to BLACK.
Let’s check the processing of a message with PGN 130310 (Environmental Parameters) by filters
in the configuration shown in Figure 1. It will be passed by the Global_Tx filter (filter type in Figure 1
is white). This message produces the sentences XDR and MTW in 0183 mode (see Appendix D, Table 1),
so if this operation mode is active, we’ll get the XDR sentence in the PC application, because the MTW
sentence is blocked in 0183_Tx (type: black). In RAW or N2K mode, the 130310 message will be passed
by the Raw_Tx and N2K_Tx filters.