Start Guide:
Optional Function Handle-manipulated robotic arm
This article mainly introduces the installation methods and button definitions of two types of gamepads: the Microsoft X - Box 360 pad and the Logitech Gamepad F710.
Overview of handle (Microsoft X-Box 360 pad)
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, as shown in follow Figure.
- 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 controller beeper emits a beep, it indicates that the connection is successful.
- Introduction to keys and control modes of the handle.
- SELECT Button: A short press toggles between position and attitude teaching and joint teaching control.
- MODE Button: A long press switches the handle mode. The indicator light at the front of the handle can switch between red and green, representing XInput and DirectInput handle modes respectively. A successful mode switch is confirmed by a beep from the controller when the button is held down.
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 follow Table 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 |
Overview of handle (Logitech Gamepad F710)
The gamepad uses 2.4G technology for wireless communication, features dual vibration feedback motors, and a 4 axis directional joystick. It is equipped with one receiver that supports hot swapping.
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 follow Figure.
- Wait for the robotic arm to get started. Turn on the power supply to the handle. When the controller beeper emits a beep, it indicates that the connection is successful.
- Introduction to keys and control modes of the handle.
- START Button: A short press toggles between position and attitude teaching and joint teaching control.
- Input Mode Switch Button: Switches the gamepad mode. Toggle the switch to change the gamepad mode. Hearing a beep from the controller indicates a successful switch.
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 LT and LB 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 follow Table for details.
Single-joint control mode
After switching to the single-joint control mode, the left direction keys, LB and LT keys, the right function keys, and RB and RT 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 LB key | Press/Hold | Motion in Z+ direction on base frame | Joint 3 moves in the forward direction |
Left LT 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 RB key | Press/Hold | Orientation change in Z+ direction | Joint 6 moves in the forward direction. |
Right RT 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
There are several ways to enable end-effector communication and power supply for the robotic arm. Here, we take setting the controller's RTU communication protocol via the JSON protocol as an example.
Use SocketTool to send the following JSON protocol string to the controller through TCP:
- Configure the communication port ModbusRTU mode.
{"command":"set_controller_rs485_mode","mode":1,"baudrate":115200}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"set_controller_rs485_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 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_modbus_rtu_coils","address":10,"data":[1],"type":1,"device":1}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"write_modbus_rtu_coils","write_state":true}
- Write single-coil data, and set relay 1 of serial IO controller to close the output.
{"command":"write_modbus_rtu_coils","address":10,"data":[0],"type":1,"device":1}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"write_modbus_rtu_coils","write_state":true}
- Read the discrete input, and read signal 0.
{"command":"read_modbus_rtu_input_status","address":0,"device":1,"num":1,"type":1}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"read_modbus_rtu_input_status","read_state":true}
- The test completes. Set the communication port to R485 serial mode.
{"command":"set_controller_rs485_mode","mode":0,"baudrate":115200}
After the command is issued successfully, the SocketTool will receive feedback from the controller, as shown below:
{"command":"set_controller_rs485_mode","set_state":true}
- Set the power output 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: