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) 20<br />

Command Number Parameter Description<br />

GCO 31 , <br />

CCO 32 , <br />

TMCL control commands:<br />

Instruction Description Type Mot/Bank Value<br />

128 – stop application a running TMCL standalone (don't care)<br />

application is stopped<br />

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

129 – run application TMCL execution is started (or 0 - run from (don't care) (don't care)<br />

continued)<br />

current address<br />

1 - run from<br />

specified address<br />

starting address<br />

130 – step application only the next command of a (don't care)<br />

TMCL application is executed<br />

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

131 – reset application the program counter is set to (don't care) (don't care) (don't care)<br />

zero, and the standalone<br />

132 – start download<br />

application is stopped (when<br />

running or stepped)<br />

target command execution is (don't care) (don't care) starting address<br />

mode<br />

stopped and all following<br />

of the application<br />

133 – quit download<br />

commands are transferred to<br />

the TMCL memory<br />

target command execution is (don't care) (don't care) (don't care)<br />

mode<br />

resumed<br />

134 – read TMCL the specified program memory (don't care) (don't care) <br />

135 – get application one of these values is (don't care) (don't care) (don't care)<br />

status<br />

returned:<br />

0 – stop<br />

1 – run<br />

2 – step<br />

3 – reset<br />

136 – get firmware return the module type and 0 – string (don’t care) (don’t care)<br />

version firmware revision either as a 1 – binary<br />

string or in binary format<br />

137 – restore factory reset all settings stored in the (don’t care) (don’t care) must be 1234<br />

settings EEPROM<br />

defaults<br />

to their factory<br />

This command does not send<br />

back a reply.<br />

138 – reserved<br />

139 – enter ASCII<br />

mode<br />

Enter ASCII command line (see<br />

chapter 6.6)<br />

Copyright © 2010, TRINAMIC Motion Control GmbH & Co. KG<br />

Get coordinate<br />

Capture coordinate<br />

CALCX 33 Process accumulator & X-register<br />

AAP 34 , Accumulator to axis parameter<br />

AGP 35 , Accumulator to global parameter<br />

(don’t care) (don’t care) (don’t care)

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

Saved successfully!

Ooh no, something went wrong!