Process Data

The Process Data Object (PDO) is a type of periodic data object that can be used to exchange data between an EtherCAT master (KINGSTAR Runtime) and EtherCAT slaves (drives or IOs) during each EtherCAT communication cycle, typically every 1 millisecond. The master can monitor and control the slave devices through process data exchange.

The KINGSTAR ESI Import Tool is provided for users to select the desired type of process data configuration for their devices for the purpose of process data exchange. There are four types in total: Default, Manual, Access Mode and KINGSTAR EtherCAT API.

Default:

Manual:

Access Mode:

KINGSTAR EtherCAT API

NOTE:  Variables in black are supported by the drive; while variables in grey are not supported by the drive and will not be added for process data exchange even if the related KINGSTAR APIs are used.

NOTE:  You can also use the KINGSTAR Configuration Tool to configure the KsAccessMode and Axis variable, please refer to Connection Settings > Axis Settings.

Descriptions of the variables supported by KINGSTAR for process data exchange

KINGSTAR ESI Import Tool will automatically detect the supported PDOs and the corresponding variables (PDO entries) of the device and display the variables in the Input Data and Output Data fields.

Input Data (variables sent from the slaves to the master):

Status word: the status of the drive. The status can be "not ready to switch on", "switch on disabled", "ready to switch on", "switched on", "operation enabled", "quick stop active", "fault reaction active", or "fault".

Actual position: the actual position.

Actual velocity: the actual velocity.

Actual torque: the actual torque.

Actual current: the actual current.

MOP display: the value of the modes of operation display variable. The operation mode could be CSP (Cyclic Synchronous Position), CSV (Cyclic Synchronous Velocity), CST (Cyclic Synchronous Torque), … etc.

Drive digital inputs: the digital input of the drive.

Touch probe: the touch probe status of the drive.

Secondary encode: the position from the secondary encoder if there are two encoders.

Following error: the following error.

Probe positive edge: the latched position value after a rising edge of the touch probe.

Probe negative edge: the latched position value after a falling edge of the touch probe.

Custom input 1: a user-defined object. This object must exist in the device's object dictionary.

Custom input 2: a user-defined object. This object must exist in the device's object dictionary.

 

Output Data (variables sent from the master to the slaves):

Control word: this object is used to set the mode of the drive, which can be read out by status word.

Target position: the commanded position.

Target velocity: the commanded velocity.

Target torque: the commanded torque.

Torque offset: the torque's offset. Used in torque mode.

Modes of operation: this object is used to set the operation mode of the drive, which can be read out by MOP display.

Drive digital outputs: the digital output of the drive.

Touch probe: sends the touch probe command.

Max torque: the maximum torque.

Max current: the maximum current.

Profile velocity: the Profile Velocity.

Profile acceleration: the Profile Acceleration.

Profile deceleration: the Profile Deceleration.

Homing method: the homing method.

Custom output 1: a user-defined object. This object must exist in the device's object dictionary.

Custom output 2: a user-defined object. This object must exist in the device's object dictionary.

Dependency table between functions/APIs and variables

The table below shows the variables that the functions or APIs will rely on for your reference.

Functions / APIs Required Process Data Variables

Direct Position control mode,

Master Interpolation Position control mode,

WriteAxisTargetPosition

Target position

Direct Velocity control mode,

PID Velocity control mode,

Master Interpolation Velocity control mode,

SetAxisVelocity,

WriteAxisTargetVelocity

Target velocity

Direct Torque control mode,

PID Torque control mode,

Master Interpolation Torque control mode,

SetAxisTorque,

GetAxisTorque,

WriteAxisTargetTorque

Target torque

Actual torque

Control mode switching while powered on,

ReadAxisMopDisplay,

WriteAxisMop

MOP display

Modes of operation

Touch probe,

ReadAxisTouchProbeStatus,

WriteAxisTouchProbeControl

Touch probe (input: status)

Touch probe (output: control)

Probe positive edge

Probe negative edge

ReadAxisInputs,

GetAxisDigitalInput

Drive digital inputs

ReadAxisOutputs,

WriteAxisOutputs,

GetAxisDigitalOutput,

SetAxisDigitalOutput

Drive digital outputs

ReadAxisActualCurrent

Actual current

ReadAxisActualTorque

Actual torque

ReadAxisActualVelocity

Actual velocity

ReadAxisSecondEncoder,

SetAxisEncoder

Second Position

ReadAxisFollowingError

Following error

WriteAxisTorqueOffset,

GetAxisTorqueOffset,

SetAxisTorqueOffset

Torque offset

WriteAxisMaxTorque

Max torque

WriteAxisMaxCurrent

Max current

WriteAxisProfileVelocity

Profile velocity

WriteAxisProfileAcceleration

Profile acceleration

WriteAxisProfileDeceleration

Profile deceleration

   

Glossary

 

See also

CoE

Properties

Customize PDOs for Devices