
Monopack 2 Manual V1.04
28
Copyright © 2010, TRINAMIC Motion Control GmbH & Co. KG
5.2.22
Query actual velocity
Command:
v
The “v” command queries the actual velocity and sends this value back. The velocity is sent back in the form
“
v=<velocity>
”, where <velocity> is the actual velocity of the motor.
5.2.23
Query status of stop switches
Command:
s
The “s” command queries the actual status of the stop switches and the reference switch. The status is sent back
in the form “
s=<value>
”, where bit 0 represents the status of the left stop switch, bit 1 represents the status of
the right stop switch and bit 2 represents the status of the reference switch.
5.2.24
Query TMC453 FIFO filling
Command:
f
This command queries the actual number of entries in the TMC453 command FIFO.
5.2.25
Step/Direction mode selection
Command:
C0
or
C2
Entering the command “C0” selects the normal command mode, and entering “C2” selects the step/direction mode.
5.2.26
Display actual ADC values
Command:
d
Entering the command “d” displays the actual ADC values that represent the actual temperature in the pack and
the actual supply voltage. After the command has been sent, the message “
TEMP = <t> VOLT = <v>
” will be
sent back.
5.2.27
Write all parameters to the EEPROM
Command:
W
After this command has been entered all parameters are stored in the EEPROM of the Monopack 2. When the
EEPROM is enabled these values will be used as the power on default values. The message “
Write EE
” will be
sent back to confirm that the parameters have been stored. Do not use this command too often, as writing to the
EEPROM more than 100000 times may damage the EEPROM.
5.2.28
Enable or disable the EEPROM
Command:
E
This command enables or disables the parameters that are stored in the EEPROM. After the EEPROM has been
enabled, the message “
Enable EE
” will be sent. When the EEPROM has been disabled, the message “
Disable
EE
” will be sent.
If the EEPROM is enabled all parameter values that are stored in the EEPROM will be used as default values at
power on. If the EEPROM is disabled the factory default values will be used at power on.
5.2.29
Choose interface and set RS485 delay
Command:
Y<value>
The interface that is to be used and also the RS485 delay can be set by the “Y” command. This command must be
followed by a value between 0 and 9. The values have the following meanings:
Value
Meaning
0
Use RS232 interface, normal mode (default setting)
1
Use RS232 interface without echo
2..9
Use RS485 interface, where 2 means minimum delay and
9 means maximum delay.