Docklight Support


FAQ Article ID dl_faq009

Question

How can I put together a Send Sequence with custom data and a checksum that is automatically calculated from the Send Sequence data?

Applies to: Docklight / Docklight Scripting (all versions)

Answer

Although Docklight supports variable Send Sequence data, it cannot perform additional calculations and manipulations on this data. Using Docklight Scripting it is possible to add automatic checksum calculations by using the DL_OnSend() event procedure and the DL.CalcChecksum(..) method. Additional information can also be found in the Docklight Scripting manual.

Related Links

Docklight Scripting Manual - Sending MODBUS commands with CRC-16 checksum

Docklight Scripting Manual - Generating Checksums for Send Sequences


back back to the Docklight FAQ page