GetChecksum Ask one axis to return the checksum between 2 addresses from its TML memory TakeChecksum Answer to GetChecksum |
Syntax
End: 16-bit unsigned integer value representing the checksum end address Remark: The online instructions are intended only for host/master usage and cannot reside in a TML program. Therefore their syntax is fictive, the only goal being to identify these commands. In the Command interprete, you can get a checksum between 2 TML program addresses by sending a GetChecksum request with the syntax: Checksum Start, End Where, Start, End represent the start and end addresses for the checksum. The value returned with the TakeChecksum answer, is displayed.
In the expeditor address, bit H – the host bit – must be set to 1 only if the host sends the GiveMeData request via serial RS-232 link. For details, see serial communication protocol description. The answer to a GetChecksum command is a TakeChecksum, which returns the expeditor axis ID, and the checksum result i.e. the sum modulo 65536 of all the memory locations between the start and the end addresses. |