02.06.2013 Views

TMCL™ Firmware Manual - Trinamic

TMCL™ Firmware Manual - Trinamic

TMCL™ Firmware Manual - Trinamic

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.

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

6.7.6 GAP (get axis parameter)<br />

Most parameters of the TMCM-109 can be adjusted individually. With this parameter they can be read out. In<br />

stand-alone mode the requested value is also transferred to the accumulator register for further processing<br />

purposes (such as conditioned jumps). In direct mode the value read is only output in the value field of the<br />

reply (without affecting the accumulator).<br />

Internal function: The parameter is read out of the correct position in the appropriate device. The parameter<br />

format is converted adding leading zeros (or ones for negative values).<br />

Related commands: SAP, STAP, AAP, RSAP<br />

Mnemonic: GAP , <br />

Binary representation:<br />

INSTRUCTION NO. TYPE MOT/BANK VALUE<br />

6 * (don't care)<br />

* Motor number is always O as only one motor is involved.<br />

Reply in direct mode:<br />

STATUS VALUE<br />

100 – OK (don't care)<br />

List of parameters, which can be used for GAP:<br />

Number Axis Parameter Description Range [Unit]<br />

0 target (next) The desired position in position mode (see 2<br />

position ramp mode, no. 138).<br />

23<br />

[µsteps]<br />

1 actual position The current position of the motor. Should 2<br />

only be overwritten for reference point<br />

setting.<br />

23<br />

[µsteps]<br />

2 target (next) The desired speed in velocity mode (see ramp 2047<br />

speed<br />

mode, no. 138). In position mode, this<br />

parameter is set by hardware: to the<br />

maximum speed during acceleration, and to<br />

zero during deceleration and rest.<br />

3 actual speed The current rotation speed. 2047<br />

4 maximum<br />

positioning<br />

speed<br />

5 maximum<br />

acceleration<br />

6 absolute max.<br />

current<br />

Should not exceed the physically highest<br />

possible value. Adjust the pulse divisor (no.<br />

154), if the speed value is very low (

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

Saved successfully!

Ooh no, something went wrong!