跳转到主要内容

CAN Protocol (Mobile Platform)


     
Enable command
SenderReceiverCAN IDDLCPeriod(ms)
ControllerMobilePlatform0x03020103
4/
datafunctiondata typedescription
byte[0]/uint8Fixed value 0x03
byte[1]/uint8Fixed value 0x02
byte[2]/uint8Fixed value 0x01
byte[3]enableuint80-disable 1-enable
 
Heartbeat feedback
SenderReceiverCAN IDDLCPeriod(ms)
MobilePlatformController0x030201B0
1500ms
datafunctiondata typedescription
byte[0]enableuint80-disable 1-enable
 
Status command
SenderReceiverCAN IDDLCPeriod(ms)
ControllerMobilePlatform0x03020111
3/
datafunctiondata typedescription
byte[0]return to zero pointuint81-start
byte[1]max move velocity[0:7]uint16unit: mm/s
byte[2]max move velocity[8:15]
 
Status feedback
SenderReceiverCAN IDDLCPeriod(ms)
MobilePlatformController0x030201B1
6100ms
datafunctiondata typedescription
byte[0]statusuint80:normal 1:abnormal
byte[1]return to zero point statusuint80-finished 1-calibrating
byte[2]errorcode [0:7]uint16 
byte[3]errorcode[8:15]
byte[4]max move velocity [0:7]uint16 
byte[5]max move velocity[8:15]
 
Request move range command
SenderReceiverCAN IDDLCPeriod(ms)
ControllerMobilePlatform0x03020112
0/
datafunctiondata typedescription
////
 
Request move range feedback
SenderReceiverCAN IDDLCPeriod(ms)
MobilePlatformController0x030201B2
6/
datafunctiondata typedescription
byte[0]move range[0:7]uint16unit: mm
byte[1]move range[8:15]
byte[2]-byte[5]reverseuint80
 
 Move velocity feedback
SenderReceiverCAN IDDLCPeriod(ms)
MobilePlatformController0x030201B3
650ms
datafunctiondata typedescription
byte[0]velocity[0:7]uint16unit: mm/s
byte[1] velocity[8:15]
byte[2]-byte[5]reverseuint80
 
Position setting command
SenderReceiverCAN IDDLCPeriod(ms)
ControllerMobilePlatform0x03020114
6/
datafunctiondata typedescription
byte[0]position[0:7]uint16unit: mm
byte[1]position[8:15]
byte[2]-byte[5]reverseuint80
 
 Move position feedback
SenderReceiverCAN IDDLCPeriod(ms)
MobilePlatformController0x030201B4
650ms
datafunctiondata typedescription
byte[0]real position[0:7]uint16unit: mm
byte[1]real position[8:15]
byte[2]-byte[5]reverseuint80
 
 example
1.enable device
CAN IDData
0X0302010303 02 01 01
2.set position 100mm
CAN IDData
0X0302011464 00 00 00 00 00