UIrobot UIM2501 User Manual Download Page 13

 

Page

 

|

 

13

 

 

UIM2501 Converting Controller

                                                      M25020101008EN                    UI Robot Technology Co. LTD

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; 

Variable

 

Integer x = 5, 6, 7 … 126

 

ACK 

0xAA  [Controller ID]  0xDD  0xFF 

0xDD is the Message ID of SETADR.

 

Comment 

SETADR is the abbreviation of “Set Address”. 

Every time there can be only one UIM242XX controller linked to the UIM2501 
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; 

Variable

 

Integer ID = 5, 6, 7 … 126

 

ACK 

0xAA  [Controller ID]  0xD0  0xFF 

0xD0 is the Message ID of ADR.

 

Comment 

ADR is the abbreviation of address.  

Once an operation object is specified, all object specific instructions will be sent 
to this specified object (the UIM242xx Controller), UNTILL another operation 
object (new ID) is specified. 

Summary of Contents for UIM2501

Page 1: ...RS23 32 CAN for U Us N2 0B UIM24 ser Conv 2XX M r Ma erting Motion anu UIM g Cont n Cont ual M2501 roller roller...

Page 2: ...ur specifications UIROBOT MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATION INCLUDING BUT NOT LIMITED TO I...

Page 3: ...ption The UIM2501 RS232 CAN Converting Controller is used in conjunction with UIM242XX stepper motor controller to provide a RS232 interface on the user side and a CAN bus interface on the motor side...

Page 4: ...DIP Switch UIM2501 controller has an 8 bit DIP switch which serves multiple functions When powering up DIP1 DIP7 are read as the UIM2501 controller s ID address After powering up DIP1 and DIP2 are as...

Page 5: ...ion Notice For long distance transfer both ends of the bus should be terminated with120 terminating resistors UIM2501 converter already has a build in terminating resistor To enable it user needs togg...

Page 6: ...resistor To enable the UIM2501 converter s terminating resistor please toggle the DIP8 to ON position User only needs to attach a resistor at the UIM242 end of the bus In addition any deviation from t...

Page 7: ...Exposure to maximum rating conditions for extended periods may affect device reliability Electrical Characteristics Ambient Temperature 25 Supply Power Voltage 6V 40VDC Current Consumption Max 100mA C...

Page 8: ...king Operation 12 3 1 Global Control Introduction 12 3 2 Controller ID Assignment Instruction SETADR 13 3 3 Object Specify Instruction ADR 13 3 4 Global Register Instruction gREG 14 3 5 Global Motor E...

Page 9: ...n network with up to 100 UIM242XX controllers Interfacing the UIM2501 is simple intuitive and fault tolerating Users are not required to have stepper motor driving or CAN protocol knowledge UIM2501 su...

Page 10: ...t 3 None Parity 2 2 Hand Shaking If user device knows the baud rate it can start sending instructions without hand shaking Hand shaking is more used as a method to check the existence and firmware ver...

Page 11: ...e Message ID of instruction BDR The Reserved is for factory use Comment New Baud Rate will be stored in the controller s non volatile memory EEPROM New baud rate will take effect after the controller...

Page 12: ...uction Besides the object specific operation UIM2501 can also send commands to all subsidiary UIM242XX controllers This process is called broadcasting or global control instruction 3 1 1 Global Instru...

Page 13: ...tion of Set Address Every time there can be only one UIM242XX controller linked to the UIM2501 controller to get the ID assigned Once an ID is assigned the ID will be stored in the UIM242XX controller...

Page 14: ...ted by the UIM2501 Controller the total number of all subsidiary UIM242xx controllers and their ID are recorded in the UIM2501 controller The returned QTY servers as an indicator of the health of the...

Page 15: ...iable Integer x 0 1 ACK 0xAA QTY 0xAD 0xFF 3 9 Global Micro Stepping Resolution Setup Instruction gMCS Instruction gMCS Function Setup micro stepping resolution for all subsidiary UIM242 Controllers S...

Page 16: ...up relative position control for all subsidiary UIM242 Controllers Syntax gSTP x Variable Integer x 0 1 2 000 000 000 ACK 0xAA QTY 0xAD 0xFF 3 13 Global Origin Point Setup Instruction gORG Instruction...

Page 17: ...Page 17 UIM2501 Converting Controller M25020101008EN UI Robot Technology Co LTD Appendix A Dimensions mm Mounting 2 M3 depth 5...

Reviews: