Start Guide:
Optional Function Handle-manipulated robotic arm
Overview of handle
The handle utilizes 2.4 GHz technology for wireless communication and is equipped with a receiver. It has a working radius of 15 m (this distance is dependent upon the service environment), and consists of 15 keys and two joysticks.
Control method
- Make sure that the robotic arm is dis-energized, and install the 2.4 GHz receiver into USB port 1, as shown in Figure 14-3.
- Wait for the robotic arm to get started, and switch the handle's on/off key to "ON". Turn on the power supply to the handle. When the red signal indicator in front of the handle is steady on, it indicates that the connection is successful.
- Introduction to keys and control modes of the handle
The control modes of handle include the position and orientation control and single-joint control, which can be switched between by pressing the MODE key in the middle of the handle. After the robotic arm gets started, the control mode of the handle is the position and orientation control by default. Press the MODE key to switch to the single-joint control mode. After the control mode is switched successfully, the robotic arm will make a different sound specific to the control mode. When the control mode is switched to position and orientation control, the robotic arm will make a "beep" sound, while switched to single-joint control, the robotic arm will emit a "beep...beep...beep" sound.
Position and orientation control mode
Before switching to the position and orientation control mode, it is necessary to adjust the robotic arm to resemble the configuration shown in Figure 12.6 either through drag-and-drop teaching or single-joint control mode, to facilitate position and orientation control. The left direction keys, and L1 and L2 keys on the handle shown in the position and attitude diagram respectively control the motions of the robotic arm in X+, X-, Y+, Y-, Z+, and Z- directions. See Table 13.1 for details.
Single-joint control mode
After switching to the single-joint control mode, the left direction keys, L1 and L2 keys, the right function keys, and R1 and R2 keys on the handle respectively control the forward and reverse motions of each joint.
Functions of handle keys
Handle keys | How to use | Position and orientation control mode | Single-joint control mode |
---|---|---|---|
MODE key | Press | Switch between two modes | |
Left direction key - Up | Press/Hold | Motion in Y+ direction on base frame | Joint 1 moves in the forward direction |
Left direction key - Down | Press/Hold | Motion in Y- direction on base frame | Joint 1 moves in the reverse direction |
Left direction key - Left | Press/Hold | Motion in X+ direction on base frame | Joint 2 moves in the forward direction |
Left direction key - Right | Press/Hold | Motion in X- direction on base frame | Joint 2 moves in the reverse direction |
Left L1 key | Press/Hold | Motion in Z+ direction on base frame | Joint 3 moves in the forward direction |
Left L2 key | Press/Hold | Motion in Z- direction on base frame | Joint 3 moves in the reverse direction |
Right function key - Y | Press/Hold | Orientation change in Y+ direction | Joint 4 moves in the forward direction |
Right function key - A | Press/Hold | Orientation change in Y- direction | Joint 4 moves in the reverse direction |
Right function key - X | Press/Hold | Orientation change in X+ direction | Joint 5 moves in the forward direction |
Right function key - B | Press/Hold | Orientation change in X- direction | Joint 5 moves in the reverse direction |
Right R1 key | Press/Hold | Orientation change in Z+ direction | Joint 6 moves in the forward direction. |
Right R2 key | Press/Hold | Orientation change in Z- direction | Joint 6 moves in the reverse direction |
IO extension
Function introduction
In different scenarios, the number of IOs of the robotic arm may not be enough to meet the actual demand. In this case, an external IO controller is needed. The external IO controller mentioned herein can connect eight external digital input sensors and eight external digital output signal ports.
Both the bottom controller of the robotic arm and the end of the robotic arm can connect external IO controllers. Here an example of a connection to the interface of the robotic arm controller is given. If customers wish to connect an external IO controller to the interface at the end of the robotic arm, please refer to the robotic arm protocol or interface document.
Use of serial IO controller
Equipment wiring
Interface at end of robotic arm | Serial IO controller |
---|---|
Power output (pink/brown) | DC12−24 V + |
Power supply GND (gray/purple) | DC12−24 V - |
RS485_A (yellow) | RS485A |
RS485_B (green and yellow) | RS485B |
The power supply to the IO controller has a wide-range voltage from 12 V to 24 V. After the wiring is completed, it is necessary to set the robotic arm controller to output the corresponding voltage according to the power supply required by the sensor.
Serial IO controller and 16-wire cable
Wiring of controller: 485 interface and 24 V power supply | Wiring of controller: connection of physical wires |
Setting of communication and power supply of robotic arm
The robotic arm supports multiple methods to start the end communication and power supply. In this document, the JSON protocol is used as an example. More details about the serial IO controller are not stated in this document. For more information, please refer to the files stored in the cloud disk.
Use SocketTool to send the following JSON protocol string to the controller through TCP:
- Configure the communication port ModbusRTU mode.
{"command":"set_modbus_mode","port":0,"baudrate":9600,"timeout":20}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"set_modbus_mode","set_state":true}
If the returned value of set_state is true, it indicates that the setting is successful.
If the returned value of set_state is false, it indicates that the setting fails.
- Set the power output (I series) with an output voltage of 24 V.
{"command":"set_voltage","voltage_type":3}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"set_voltage","state":true}
- Write single-coil data, and set relay 1 of serial IO controller to output.
{"command":"write_single_coil","port":0,"address":1,"data":1,"device":1}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"write_single_coil","write_state":true}
- Write single-coil data, and set relay 1 of serial IO controller to output.
{"command":"write_single_coil","port":0,"address":1,"data":1,"device":1}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"write_single_coil","write_state":true}
- Write single-coil data, and set relay 1 of serial IO controller to close the output.
{"command":"write_single_coil","port":0,"address":1,"data":0,"device":1}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"write_single_coil","write_state":true}
- Read the discrete input, and read signal 0.
{"command":"read_input_status","port":0,"address":0,"num":1,"device":1}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"input_status","read_state":true}
- The test completes. Close the communication port ModbusRTU mode.
{"command":"close_modbus_mode","port":0}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"close_modbus_mode","set_state":true}
- Set the power output (I series) with an output voltage of 0 V.
{"command":"set_voltage","voltage_type":0}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"set_voltage","state":true}
Field-effect transistor module
Function introduction
There are four channels of multiplexing digital IO at the controller position of the robotic arm, which can be switched to digital output through the teach pendant or commands, but the default output current is 2 mA only. For control of high-power equipment, such as motors, bulbs, relays, and solenoid valves, the field-effect transistor module can be optionally configured.
The controlled power at the output end of field-effect transistor module is within 100 W.
Use of field-effect transistor module
The robotic arm IOs should be set to the output mode, and connect the input signals of the field-effect transistor module respectively.
The specific wiring method is as shown in the figure below: