Here is the information extracted from the ClientInterfaces_Primary.pdf document formatted into Markdown for a technical document/tutorial:
Primary and Secondary Interfaces
Primary Client Interface (10 Hz)
This section applies to UR software versions shown below:
Primary client: port 30001 (Robot state and messages)
Secondary client: port 30002 (Only robot state and the Version messages)
Primary client read only: port 30011 (Robot state and messages)
Secondary client read only: port 30012 (Only robot state and the Version messages)
Robot Software 5.9
Message Formatting
Messages Sent to Primary and Secondary Clients
Messages not documented in this manual are used internally by UR software and are not backwards compatible.
Robot State Message
Field |
Description |
---|---|
|
Length of overall package: total length of package including this field |
|
|
Sub packages |
Each sub package contains size, type, and package specific data |
Robot Mode Data (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
Length of Sub Package: total length of subpackage including this field |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Robot Modes |
|
Control Modes |
|
|
|
|
|
|
|
Joint Data (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Deprecated - ignore |
|
Joint Modes |
Tool Data (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
Length of Sub Package: total length of subpackage including this field |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tool Modes |
Masterboard Data (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
Length of Sub Package: total length of subpackage including this field |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Safety Modes |
|
|
|
|
|
If Euromap67 interface is installed |
|
If Euromap67 interface is installed |
|
If Euromap67 interface is installed |
|
If Euromap67 interface is installed |
|
Used by Universal Robots software only |
|
|
|
|
|
Used by Universal Robots software only |
Cartesian Info (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
Length of Sub Package: total length of subpackage including this field |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Kinematics Info (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
Length of Sub Package: total length of subpackage including this field |
|
|
|
For each joint |
|
For each joint |
|
For each joint |
|
For each joint |
|
For each joint |
|
This information is sent when leaving initializing mode and/or if the kinematics configuration is changed.
Configuration Data (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
Length of Sub Package: total length of subpackage including this field |
|
|
|
For each joint |
|
For each joint |
|
For each joint |
|
For each joint |
|
|
|
|
|
|
|
|
|
|
|
For each joint |
|
For each joint |
|
For each joint |
|
For each joint |
|
|
|
|
|
|
|
This information is sent when leaving initializing mode and/or if the kinematics configuration is changed.
Force Mode Data (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
Length of Sub Package: total length of subpackage including this field |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Additional Info (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
Calibration Data (Sub Package of Robot State Message, Internally Used Only)
Field |
Description |
---|---|
|
Length |
of Sub Package: total length of subpackage including this field |
| unsigned char packageType
| ROBOT_STATE_PACKAGE_TYPE_CALIBRATION_DATA = 9
|
| uint32_t calibrationData
| 84 * 8 bytes |
Safety Data (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
Length of Sub Package: total length of subpackage including this field |
|
|
|
|
|
|
|
|
|
Tool Communication Info (Sub Package of Robot State Message)
Field |
Description |
---|---|
|
Length of Sub Package: total length of subpackage including this field |
|
|
|
|
|
|
|