11.07.2015 Views

Software for the synchronization of axes - Kollmorgen

Software for the synchronization of axes - Kollmorgen

Software for the synchronization of axes - Kollmorgen

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SOCAPEL SA SOFTWARE FOR SYNCHRONIZATION OF AXES 024.8068.A10.9.3. Instruction FILL(Only available in <strong>the</strong> boot program)Instruction code : 30 (hexa : 1 E)Data bytes : 1. Filling word to be stored (msb)2. Filling word to be stored (lsb)Answer byte :Status STATATests : If <strong>the</strong> writing <strong>of</strong> <strong>the</strong> preceding word into EEPROM is not over, bit 1 <strong>of</strong> STATCnot equal to 0, this instruction is not plausible. (Bit 6 <strong>of</strong> STATC will be immediately setand an "U" will be displayed.)This instruction is used in order to fill all unused EEPROM locations with a given value(recommended value is O). This is helpful <strong>for</strong> computing <strong>the</strong> checksum value.As this filling procedure needs some time (up to 10 seconds), bit 1 <strong>of</strong> status STATC isset to 1 upon receipt. It returns back to 0 as soon as <strong>the</strong> procedure is over.10.9.4. Instruction CHKSUM(Only available in <strong>the</strong> boot program)Instruction code : 28 (hexa : 1 C)Data bytes : 1. Result value (msb)2. Result value (lsb)Answer byte :Status STATATests :If <strong>the</strong> writing <strong>of</strong> <strong>the</strong> preceding word into EEPROM is not over,bit 0 <strong>of</strong> STATC not equal to 0, this instruction is not plausible.(Bit 6 <strong>of</strong> STATC will be immediately set and an "U" will bedisplayed.)This instruction is used in order to check <strong>the</strong> received s<strong>of</strong>tware upon its checksum.The intended result value has to be computed and transmitted to <strong>the</strong> ST1 whichcompares it with its own checksum. As this checking procedure needs some time(about 200 ms), bit 0 <strong>of</strong> status STATC is set to 1. As soon as this procedure is over,this bit is set back to 0. Should ST1's checksum procedure lead to an error statement,<strong>the</strong>n <strong>the</strong> ST1 displays a "H".110

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!