GetChecksum        Ask one axis to return the checksum between 2 addresses from its TML memory

TakeChecksum Answer to GetChecksum

Syntax                        

Checksum Start, End

Ask one axis to return the checksum between Start and Stop addresses from its TML memory

 

Answer to GetChecksum request

 

Operands        Start: 16-bit unsigned integer value representing the checksum start address

End: 16-bit unsigned integer value representing the checksum end address

PlaceOnline

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.

ChecksumOnline

DescriptionThrough GetChecksum command an external device can check the integrity of the data saved in a drive/motor EEPROM or RAM memory. The memory type is selected automatically function of the start and the end addresses.

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.