02.06.2013 Views

TMCL™ Firmware Manual - Trinamic

TMCL™ Firmware Manual - Trinamic

TMCL™ Firmware Manual - Trinamic

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PD-109-57 V2 TMCL <strong>Firmware</strong> <strong>Manual</strong> (V1.00/2010-FEB-18) 50<br />

Number Global parameter Description<br />

20…55 general<br />

#20..#55<br />

purpose variables for use in TMCL applications<br />

Example:<br />

Store the user variable 5 in EEPROM.<br />

STGP 5, 2<br />

Binary:<br />

Byte Index 0 1 2 3 4 5 6 7 8<br />

Function Target- Instruction Type Motor/ Operand Operand Operand Operand Checksum<br />

address Number<br />

Bank Byte3 Byte2 Byte1 Byte0<br />

Value (hex) $01 $0b $05 $02 $00 $00 $00 $00 $13<br />

Note: The STAP command will not have any effect when the configuration EEPROM is locked (refer to<br />

8.1). In direct mode, the error code 5 (configuration EEPROM locked, see also section 6.2.1) will be<br />

returned in this case.<br />

Please refer to chapter 8 for more information about bank 0 to 2.<br />

Copyright © 2010, TRINAMIC Motion Control GmbH & Co. KG

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

Saved successfully!

Ooh no, something went wrong!