Download UIM25001

Transcript
 UIM25001
General ACK (acknowledgement) Message
After receiving an instruction, the controller will immediately return an ACK message of
all desired settings including the most current setting. Specifically, the following
information is included in the ACK message: STP, SPD, DIR, MCS, CUR,
ENABLE/OFFLINE, and ACR.
Error ACK Message
0xEE, Error Code, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xFF
0xEE denotes an error message.
When the received instruction is incorrect, the UIM25001 controller will issue the above
message. There are two kinds of errors: Syntax error and value error (the variable range
is incorrect). The corresponding error code is list below.
Error Code 0x3D Meaning Syntax Error 0x3E Value Error Normal ACK Messages
When a valid instruction is received, the UIM25001 controller will send back a normal
ACK message. The normal ACK message is 13 bytes long and has a structure shown
below.
0xAA, ID, ASM byte, CUR, STP4, STP3, STP2, STP1, STP0, SPD2, SPD1, SPD0, 0xFF
0xAA denotes a normal ACK message.
ID is the identification code of the controller which sends back this ACK message.
ASM (assembled) byte structure:
Value Bit N/A Read 0 7 Enable=1 Offline=0 5 ACR 6 MCS‐1 (0 = full step, 15 = 1/16 step) 3 2 1 0 DIR 4 CUR (desired output current) structure: (xxx xxxx is the binary form of the current value)
Value Bit UI Robot Technology Co. LTD
0 7 x 6 x 5 x 4 x 3 x 2 x 1 x 0 M2500120100425EN Page | 16