> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-vi-scada/datran-dlp-ide/troubleshooting/rtu-rejects-dlp.md).

# The RTU rejects my DLP, or DATRAN keeps sending it

The RTU won't accept a DLP, or DATRAN keeps trying to send it, usually because the DLP uses an instruction the RTU's firmware doesn't support.

**Usually the DLP uses an instruction that the RTU's firmware doesn't support.** If a DLP containing such an instruction is transmitted into an RTU with a lower version of firmware, the DLP will be rejected by the RTU. This may mean that the base continually tries to transmit the DLP until the user intervenes.

## Check these instructions

| In the DLP                                                      | Needs                                                                                                                                                                                                                                             |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `NCOSMASK`                                                      | Firmware version v5.20 and above                                                                                                                                                                                                                  |
| The extended `COSMASK` syntax, such as `COSMASK TDIN1, 8, true` | Firmware version 7.0 or greater (XL4 Plus)                                                                                                                                                                                                        |
| Register numbers above 255                                      | Firmware 7.0 or later, with extended point count manually enabled in the comms object for the site in DATRAN. See [Extended point count](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/configure.md#extended-point-count). |
| Floating-point commands, such as `be_float_to_int`              | XL4 Plus firmware V7.16 or later                                                                                                                                                                                                                  |
| Expansion pulse counters (`E1PANL` and so on)                   | Expansion firmware revisions Q03 Rev 5.10, Q25 Rev 4.10 and Q26 Rev 1.10, and above                                                                                                                                                               |

## Fix it

1. See the site's comms object in [Sites, channels and RTUs](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/sites-and-rtus.md#the-sites-comms-object) (DATRAN VI), and the site buttons in [Monitor sites and channels](https://help.qtech.co.nz/datran/datran-vi-scada/datran-supervisor/sites-and-channels.md#site-buttons) (DATRAN Supervisor).
2. In the past, if the user wanted notional digital inputs to trigger a COS, specific pieces of code had to be written for each one to detect a change and then force a COS using the `SENDCOS` command.
3. Build the DLP again and load it.

For the XL4 Plus, see [Which version do I have?](https://help.qtech.co.nz/datran/datran-telemetry/datran-xl4-plus-rtu/which-version.md)

## Still not working? Contact QTech

Email <techsupport@qtech.co.nz> with the RTU's model and firmware, your DLP IDE version, and the DLP file.
