Controller Id Assignment Instruction(Setadr; Object Specify Instruction(Adr - UIrobot UIM2501 User Manual

Rs232-can2.0b converting controller for uim242xx motion controller
Table of Contents

Advertisement

 
UIM2501 Converting Controller
3.2
Controller ID Assignment Instruction(SETADR)
All new UIM242xx controllers have been assigned a factory default ID of 5.
User can change the ID using SETADR instruction. Before assign an ID to a UIM242XX
controller, please make sure the UIM2501 controller and the UIM242XX controller are
connected together using the standalone operation scheme (Figure 0-3).
After powering up, user can use the following instruction to assign an ID to the UIM242XX
controller.
Instruction SETADR
Function
Assign an ID to a UIM242XX controller
Syntax
SETADR = x;
0xAA [Controller ID] 0xDD 0xFF
ACK
0xDD is the Message ID of SETADR.
SETADR is the abbreviation of "Set Address".
Every time there can be only one UIM242XX controller linked to the UIM2501
Comment
controller to get the ID assigned. Once an ID is assigned, the ID will be stored in
the UIM242XX controller's non-volatile memory.
3.3
Object Specify Instruction(ADR)
To operate a specific UIM242xx controller, user needs to first notify the UIM2501 controller
which UIM242 controller is suppose to receive instructions. Therefore, before sending motor
control instructions, user needs to use the following instruction to specify the UIM242xx
controller's ID.
Instruction ADR
Function
Specify the operation object by its ID
Syntax
ADR = x;
0xAA [Controller ID] 0xD0 0xFF
ACK
0xD0 is the Message ID of ADR.
ADR is the abbreviation of address.
Once an operation object is specified, all object specific instructions will be sent
Comment
to this specified object (the UIM242xx Controller), UNTILL another operation
object (new ID) is specified.
Page | 13 
 
Variable
Integer x = 5, 6, 7 ... 126
Variable
Integer ID = 5, 6, 7 ... 126
M25020101008EN
UI Robot Technology Co. LTD

Advertisement

Table of Contents
loading

Table of Contents