DMX-CAN Manual
page 69
rev 1.6
11. Language Specification [ASCII]
Important Note:
All the commands described in this section are for ASCII
communication over a RS-232/RS-485 network. For details on communication over
CANOpen, please see the "Object Dictionary [CANOpen]" section.
DMX-CAN language is case sensitive. All command should be in capital letters.
Invalid command is returned “?”. Always check for proper reply when command is sent.
Command
Description
Return
ABORT
Immediately stops the motor if in motion. For decelerate
stop, use STOP command. This command is used for
clearing the StepNLoop error status
OK
ABS
Set move mode to absolute
OK
ACC
Returns current acceleration value in milliseconds.
Acceleration value
in milliseconds
ACC=[Value]
Sets acceleration value in milliseconds.
OK
CLR
Clears limit and StepNLoop error
OK
BR
Return bit rate setting (CANopen)
1,2,3,4,5,6,7,8
BR=[Value]
Set bit rate
Range:
1 – 10000
2 – 20000
3 – 50000
4 – 100000
5 – 125000
6 – 250000
7 – 500000
8 – 800000
9 – 1000000
OK
CLR
Clears limit error and StepNLoop error
OK
CM
Get RS-232/RS-485/CANopen communication mode
0-2
CM=[0-2]
Set RS-232/RS-485/CANopen communication mode
0 – RS-232
1 – RS-485
2 – CANopen
OK
CUR
Get real-time current
0mA, 100mA to 2500mA
CURI
Get idle current setting
0mA, 100mA to 2500mA
CURI=[Value]
Set idle current. To have motor become disabled during idle
state, set this value to 0.
OK
CURR
Get run current setting
0mA, 100mA to 2500mA
CURR=[Value]
Set run current
OK
CURT
Get driver idle time setting
milliseconds
CURT=[Value]
Set driver idle time setting
OK
DB
Return baud rate setting (RS-232/RS-485)
1,2,3,4,5
DB=[Value]
Set baud rate.
Range:
1 – 9600 bps
2 – 19200 bps
3 – 38400 bps
4 – 57600 bps
5 – 115200 bps
OK