PGE Series External Controller Short Manual v2 - DH Robotics
PGE Series External Controller Short Manual v2 - DH Robotics
PGE Series External Controller Short Manual v2 - DH Robotics
Short Manual
Content
Revisions ........................................................................................................................................... 1
1 Specifications ................................................................................................................................. 2
1.1 Indicator .............................................................................................................................. 2
1.2 Pinout Description............................................................................................................... 3
2 Modbus-RTU Control .................................................................................................................... 4
2.1 Debugging software description ......................................................................................... 4
2.1.1 Installation and wiring of debugging software ......................................................... 4
2.1.2 Debugging software instructions .............................................................................. 6
2.2 Modbus-RTU default allocation .......................................................................................... 8
2.3 Command description ......................................................................................................... 9
2.3.1 RTU Framing ........................................................................................................... 9
2.3.2 Register Mapping ..................................................................................................... 9
2.3.3 Register Description ............................................................................................... 11
2.3.3.1 Initialization ................................................................................................ 11
2.3.3.2 Force............................................................................................................ 12
2.3.3.3 Position........................................................................................................ 12
2.3.3.4 Speed ........................................................................................................... 13
2.3.3.5 Initialization State ....................................................................................... 13
2.3.3.6 Gripper State ............................................................................................... 14
2.3.3.7 Current Position .......................................................................................... 14
2.3.3.8 Save Parameter ............................................................................................ 15
2.3.3.9 Initialization Direction ................................................................................ 15
2.3.3.10 Slave Address ............................................................................................ 16
2.3.3.11 Baud Rate .................................................................................................. 16
2.3.3.12 Stop Bits .................................................................................................... 17
2.3.3.13 Parity ......................................................................................................... 17
2.3.3.14 Test I/O Parameters ................................................................................... 18
2.3.3.15 I/O Mode Switch ....................................................................................... 18
2.3.3.16 IO input high and low level selection........................................................ 19
2.3.3.18 IO output high and low level selection...................................................... 19
2.3.3.19 I/O Parameter Configuration ..................................................................... 20
3 I/O Control ................................................................................................................................... 21
3.1 I/O Configuration .............................................................................................................. 21
3.2 IO use ................................................................................................................................ 23
Revisions
Date Version Revised content
First edition, write wiring instructions and
20200426 V1.0
command instructions
Change some instructions , Update the description
20200904 V2.0
of IO mode
Normal update, add automatic initialization
20210602 V2.1
function
Modify the high resistance description to
disconnect, increase the communication format
20210727 V2.2 and detailed IO, increase the IO type NPN and
PNP switch function on the software side, batch
update, and line sequence modification
Delete the data that has nothing to do with the
20211008 V2.3
operation part, and re-typesetting
1
1 Specifications
PGE series are industrial electric gripper, The number(PGE-number) represents the maximum
gripping force of the gripper. The gripper is equipped with a pair of parallel fingertips, which runs
symmetrically during the movement. The main structure of the gripper is a smooth rectangular
structure. It is equipped with an 8-core communication interface, as shown in Figure 1.1. It has the
following characteristics:
Controllable force/position/speed: The gripper can program and adjust the grip position, grip
force and speed.
Multiple communication modes: The gripper supports Modbus RTU protocol and IO mode
control. Other communication protocols such as USB and ETHERNET can be transferred through
protocol converter.
Gripping Detection: The combination of force control and position control is adopted in the
gripping process.
Gripping feedback: The state of the gripper can be read by programming, and can also be judged
according to the indicator of the gripper.
Fingertips can be customized: Fingertips can be replaced according to situation, which is
suitable for precision machining, parts assembly, and other fields.
1.1 Indicator
The gripper can feed back the state of the gripper in real time. In addition to the command reading,
it can also be judged on the color of the indicator:
2
1.2 Pinout Description
The line sequence definition on the gripper body is shown in Figure 1.1(a) and 1.1(b).
3
2 Modbus-RTU Control
The gripper command is controlled by standard Modbus-RTU. For part of the description of the
Modbus-RTU command, please refer to 2.3.1 command format (Modbus-RTU is a standard
communication format on the market, widely used in the industrial field, please refer to the network
for the specific format); please refer to 2.1.1 for the specific wiring method Debugging software
installation and wiring; please refer to 2.3.3 for detailed instructions of commands for specific
communication register address descriptions.
The debugging software is specially used to control the gripper and set debugging parameters on
the computer. Because there is no RS485 interface in the computer, the USB to 485 module is
needed to convert the interface to USB interface, which is convenient for the debugging and
control of the gripper in the computer.
4
Wiring instructions
·① : when the device (computer) has RS485 interface, the communication can be directly
connected to RS485_A and RS485_B communication lines without transferring to 485
module through USB
·② : in this way, other serial port debugging software (such as MODBUS poll) can be
used for debugging
Software can be downloaded on the official website. Software and driver are integrated in the
process of software installation, and both are installed together. It is recommended to check the
create shortcut during installation.
5
2.1.2 Debugging software instructions
Before use, it is necessary to connect the corresponding wiring according to the instructions (see
2.1.1 Installation and wiring of debugging software).
Open the software, the software will automatically identify the serial port, baud rate, ID number and
other information of the gripper for automatic connection. As shown in the figure below:
6
The gripper body uses Modbus RTU for communication, and can read and write data into the
register. The data can be read and written at the view register. The data includes control, feedback,
user parameters and I/O parameters as shown in the following figure:
7
You can set and configure the gripper I / O parameters in [I / O parameters]. After modifying the
parameters, please click Save button to save. The following figure shows the operation of opening
IO mode:
Slave Address :1
Baud Rate :115200
Data Bits :8 bits
Stop Bits :1 stop bit
Parity :None
8
2.3 Command description
Slave Address: The Slave address of the gripper. The default is 1, you can also modify it through
write different value to Slave Address register.
Function: The Function Code field tells the addressed slave what function to perform. Includes read
or write registers function.
Register data: Specifies which value to be written. Each register (word - 16 bits) of the Modbus
RTU protocol is composed of 2 bytes (8 bits) from the Gripper.
CRC: the CRC error-checking field contains a 16-bit value implemented as two eight-bit bytes. The
CRC field is appended to the message as the last field in the frame. The low-order byte of the field
is appended first, followed by the high-order byte. The CRC high-order byte is the last byte to be
sent in the message.
Supported Modbus Function Code:03 (HEX): Read Holding Registers;04 (HEX): Read Multiple
Registers;06 (HEX): Write Single Register;10 (HEX): Write Multiple Registers
The gripper’s Modbus-RTU registers consist of two types of registers: the basic control registers
and the configuration registers.
Basic control registers: initialization, force setting, reference position, speed, and some states.
Configuration registers: gripper’s parameter configuration. Includes Modbus communication
parameters and I/O parameters.
9
Table 2.2 Basic Control register map
High Low
Function Description Write Read
bytes bytes
0x01:
Initialize the initialization;
Initialization 0x00 Current setting
gripper 0xA5: Fully
initialization
0x01 Gripper’s Closing-force
force 0x01 20-100 (%)
force currently set
reserve 0x02 - - -
Reference position
Position 0x03 Position 0-1000 (‰)
currently set
Initialization
Initialization 0:Not initialized;
0x00 state of the Read Only
state 1:Initialized
gripper
0:In motion;
Gripper 0x02 1:Reach position;
0x01 Gripper state Read Only
state 2 Object caught;
3:Object dropped
gripper Current actual
Position 0x02 Read Only
position position
10
2.3.3 Register Description
2.3.3.1 Initialization
Reinitialize(write):
Send:01 06 01 00 00 A5 48 4D
Receive: 01 06 01 00 00 A5 48 4D
11
2.3.3.2 Force
This register is used to set Force. It defines the current for the Gripper. If the current limit is exceeded,
the fingers stop and trigger an object detection.
The address is 0x0101. The description of this register is shown in Table 2.5.
The force value range is 20-100, the corresponding value is 00 14–00 64(Hexadecimal).
Example:
Set 30% closing force (write):
Send: 01 06 01 01 1E 59 FE
Return: 01 06 01 01 1E 59 FE
Read the closing force currently set (read):
Send: 01 03 01 01 00 01 D4 36
Return: 01 03 02 xx xx crc1 crc2
2.3.3.3 Position
This register is used to set the reference position of gripper's fingers, then the fingers will move to
the position immediately.
The address is 0x0103. The description of this register is shown in Table 2.6.
The reference position value range is 0-1000 (‰), the corresponding value is
00 00 – 03 E8(Hexadecimal).
Example:
Set 500‰ position (write):
Send: 01 06 01 03 01 F4 78 21
Return: 01 06 01 03 01 F4 78 21
Read the reference position currently set(read):
Send: 01 03 01 03 00 01 75 F6
Return: 01 03 02 xx xx crc1 crc2
12
2.3.3.4 Speed
This register is used to set the Gripper closing and opening speed.
The address is 0x0102. The description of this register is shown in Table 2.7.
This register is used to store current initialization state of gripper, you can get the initialization state
by reading this register.
The address is 0x0200. The description of this register is shown in Table 2.8.
Example:
Read initialization state (read):
Send: 01 03 02 00 00 01 85 B2
Return: 01 03 02 00 00 B8 44
13
2.3.3.6 Gripper State
This register is used to store the Gripper state, you can get the state of gripper by reading this register.
And the address is 0x0201. The description of this register is shown in Table 2.9.
Table 2.9 Gripper State
Function Address Description Write Read
0:In motion;
1:Reached
Read
Gripper State 0x0201 the gripper state position;2:
Only
Object caught;
3:Object dropped
States Description
Different values indicate different states of the gripper. The descriptions of states are as
follows:
·00: Fingers are in motion .
·01: Fingers are at reference position. No object detected or object has been dropped.
·02: Fingers have stopped due to an object detection.
·03: Fingers are at reference position due to object has been dropped after the gripper
caught object.
Example:
Read gripper state (read):
Send: 01 03 02 01 00 01 D4 72
Return: 01 03 02 00 02 39 85(02: object caught)
Example:
Read actual position (read):
Send: 01 03 02 02 00 01 24 72
Return: 01 03 02 xx xx crc1 crc2
14
2.3.3.8 Save Parameter
Example:
Save Parameter (Write):
Send: 01 06 03 00 00 01 48 4E
Return: 01 06 03 00 00 01 48 4E
NOTE
·The Saving process will take 1-2 seconds, and the gripper won’t response to other
command during this process. The gripper will response this command after saving process
finished.
Example:
Write 0 to initialization direction register:
Send: 01 06 03 01 00 00 D8 4E
Return: 01 06 03 01 00 00 D8 4E
15
2.3.3.10 Slave Address
NOTE
·Please make sure that no other networked device has the same slave address as the
gripper.
16
2.3.3.12 Stop Bits
2.3.3.13 Parity
17
2.3.3.14 Test I/O Parameters
Example:
NOTE
·If you just need to control the gripper through Modbus RTU, you should write 0 to this
register and save all parameters to turn off the I/O control mode.
18
2.3.3.16 IO input high and low level selection
This command is to set the IO input high and low level selection related commands, the address is
0x0403. The specific O input high and low level selection is described in detail in Table 2.20 below.
Table 2.20 IO input high and low level selection
Function Address Illustrate Write Read
IO input 0: NPN, active low
Select input IO Read the current
high and 1027 1: PNP, active at high
mode
low level (0x0403) level set value
(NPN/PNP)
selection (Default: 0)
IO input high and low level selection is used to switch the gripper input IO mode. There are two
modes, NPN and PNP. The logic of the two modes is opposite. Please refer to Appendix 1 for
detailed IO. The specific usage method is as follows. After setting, you need to enter the save
instruction.
Example:
Set IO input to be active high (PNP) (write operation):
Send: 01 06 04 03 00 01 B9 3A
Return: 01 06 04 03 00 01 B9 3A
Enter the save instruction:
Send: 01 06 03 00 00 01 48 4E
Return: 01 06 03 00 00 01 48 4E
Set the IO input to be active low (NPN) (write operation):
Send: 01 06 04 03 00 00 78 FA
Return: 01 06 04 03 00 00 78 FA
Enter the save instruction:
Send: 01 06 03 00 00 01 48 4E
Return: 01 06 03 00 00 01 48 4E
This command is to set the IO output high and low level selection related commands, the address is
0x0404. The specific IO output high and low level selection is detailed in the following table 2.21.
Table 2.21 IO output high and low level selection
Function Address Illustrate Write Read
IO input 0: NPN, active low
Select input IO Read the current
high and 1028 1: PNP, active at high
mode
low level (0x0404) level set value
(NPN/PNP)
selection (Default: 0)
The IO output high and low level selection is used to switch the gripper output IO mode. There are
two modes, NPN and PNP. The logic of the two modes is opposite. Please refer to Appendix 1 for
detailed IO. The specific usage method is as follows. After setting, you need to enter the save
instruction.
19
Example:
Set the IO output to be active high (PNP) (write operation):
Send: 01 06 04 04 00 01 08 FB
Return: 01 06 04 04 00 01 08 FB
Enter the save instruction:
Send: 01 06 03 00 00 01 48 4E
Return: 01 06 03 00 00 01 48 4E
Set the IO input to be active low (NPN) (write operation):
Send: 01 06 04 04 00 00 C9 3B
Return: 01 06 04 04 00 00 C9 3B
Enter the save instruction:
Send: 01 06 03 00 00 01 48 4E
Return: 01 06 03 00 00 01 48 4E
21
Steps to switch IO mode
·① Open IO mode: open IO mode first.
·② Configure four groups of IO parameters: set the four groups of parameters of
gripper, including position, force and speed.
·③ Save: click the Save button to write the parameters to the internal register of flash,
and restart to control.
·④ Restart: after the restart, the switch to IO mode is successful. You can control the
gripper according to the input signal, and the running status will be fed back through
output.
You can also get the gripper state by detecting the states of Output1 and Output 2(0V and high
resistance states). as shown in Table 3.2.
Table 3.2 Output1 Output2 State
OUTPUT 1 OUTPUT 2 I/O State State description
No wiring No wiring 00 Fingers are in motion
Fingers are at reference position,
0V No wiring 10 No object detected or object has been
dropped
01 Fingers have stopped due to an object
No wiring 0V
detection
0V 0V 11 The gripper detects an object falling
NOTE
·Digital IO default input and output are NPN type, input and output are 0V valid (low
level valid).
·Input and output can be configured. If it needs to be changed to PNP type, the input
and output of 24 V is effective (high level is effective), it is necessary to communicate
with our company in advance.
22
3.2 IO use
After configuring the parameters, 24V, GND, INPUT 1, INPUT 2, OUTPUT 1, and OUTPUT 2
need to be connected to the hardware.
Connect INPUT and OUPUT to the corresponding equipment, confirm that the wiring is correct and
restart, the gripper will automatically initialize. Then control the gripper according to the INPUT
signal. The running status will be fed back through OUTPUT.
23