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

Example:<br />

Get the actual position of motor<br />

Mnemonic: GAP 1, 0<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 $06 $01 $00 $00 $00 $00 $00 $08<br />

Reply:<br />

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

Function Host- Target- Status Instruction Operand Operand Operand Operand Checksum<br />

address address<br />

Byte3 Byte2 Byte1 Byte0<br />

Value (hex) $02 $01 $64 $06 $00 $00 $02 $c7 $36<br />

status=no error, position=711<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!