Title: mOway User Manual Rev: v3.0.3 – October 2012 Page 67 of 168
MOWAY
Table 37. Parameter resolution
Parameter STATUS_T STATUS_A STATUS_V_R STATUS_V_L STATUS_D_R STATUS_D_L STATUS_KM
Resolution 100ms/bit 3.6º/bit 1%/bit 1%/bit 1mm/bit 1mm/bit 1mm/bit
Example: ;Recall time elapsed since the last command movlw STATUS_T movwf MOT_STATUS_COM call MOT_FDBCK ;E.g. Output: ;MOT_STATUS_DATA_0=0x7F => 12.7 seconds elapsed since the ;last command ;MOT_STATUS_DATA_1=0xFF; => Invalid data byte 1 byte 0 0x01 0x08 ;Recall distance traveled by the right motor since the 0000 0001 0000 0100 last command 264 Distance: 264*1mm 264mm
5.3.3. 5.3.3.1.
BZI-RF2GH4 library in assembly language Description
With this library it is possible to communicate easily between mOway and the BZI-RF2GH4 module. In turn it is important to take into account that in order to call any library function, three free stack levels are necessary and the “watchdog” must be deactivated.
www.moway-robot.com