![Trinamic PD57-1060 Скачать руководство пользователя страница 14](http://html1.mh-extra.com/html/trinamic/pd57-1060/pd57-1060_firmware-manual_1163104014.webp)
PD57/60-1060 / TMCM-1060 TMCL™ Firmware Manual (V1.04 / 2011-AUG-29)
14
Copyright © 2011, TRINAMIC Motion Control GmbH & Co. KG
5.2.1
Status codes
The reply contains a status code.
The status code can have one of the following values:
Code
Meaning
100
Successfully executed, no error
101
Command loaded into TMCL™
program EEPROM
1
Wrong checksum
2
Invalid command
3
Wrong type
4
Invalid value
5
Configuration EEPROM locked
6
Command not available
5.3
Stand-alone applications
The module is equipped with an EEPROM for storing TMCL™ applications. You can use TMCL-IDE for
developing stand-alone TMCL™ applications. You can load them down into the EEPROM and then it will run
on the module. The TMCL-IDE contains an editor and the TMCL™ assembler where the commands can be
entered using their mnemonic format. They will be assembled automatically into their binary
representations. Afterwards this code can be downloaded into the module to be executed there.
5.4
TMCL™ command overview
In this section a short overview of the TMCL™ commands is given.
5.4.1
Motion commands
These commands control the motion of the motor. They are the most important commands and can be used
in direct mode or in stand-alone mode.
Mnemonic
Command
number
Meaning
ROL
2
Rotate left
ROR
1
Rotate right
MVP
4
Move to position
MST
3
Motor stop
RFS
13
Reference search
SCO
30
Store coordinate
CCO
32
Capture coordinate
GCO
31
Get coordinate