Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Provides information on the device type.

Sub-index

Description

Range

Default

Type

Access

PDO Mapping

0x00Device Type0x00-0xFFFFFFFFh

0x00040192

UDINTroNo

Explanation of set value

Bits

Name

Description

0-15Device Profile Number402 (0x192): Drive Profile
16-23Type04: Step motor
24-31Mode0: Manufacturer specific

...

Indicates the error type that occurs in the slave device. The generic error bit is set on all errors. Specific error codes can be found in object 0x603F 28868758

Sub-index

Description

Range

Default

Type

Access

PDO Mapping

0x00Error Register0x00-0xFF0x00USINTroNo

...

Sub-index

Description

Value

Access

PDO Mapping

0x00Number of entries

0x06

roNo
0x01Controlword mapping0x60400010
roNo
0x03Target Position mapping0x607A0020
roNo
0x04Target Velocity mapping0x60FF0020roNo
0x05Profile Velocity mapping0x60810020roNo
0x06Profile Acceleration mapping0x60830020roNo
0x07Mode of operation mapping0x60600008roNo

0x1A00: Transmit PDO mapping parameter - Dynamic switching of modes

...

Sub-index

Description

Value

Access

PDO Mapping

0x00Number of entries

0x0B

roNo
0x01Statusword mapping0x60410010roNo
0x02Position actual value mapping0x60640020roNo
0x03Velocity actual value mapping0x606C0020
roNo
0x04Torque actual value mapping0x60770020
roNo
0x05Digital input mapping 0x60FD0010
roNo
0x06Error code mapping0x603F0010roNo
0x07Temperature-C mapping0x23010010
roNo
0x08DC voltage mapping0x60790010
roNo
0x09Mode of operation display mapping0x60610008roNo

CiA402 Drive Profile Objects 
Anchor
CiA402 Drive Profile Objects
CiA402 Drive Profile Objects

...

0x603F

Error Code

0x1001

Error Register

0x6041 Fault

(Bit 3)

Description

0x00000x000No error
0x23100x031Continuous over current error (torque overload)
0x43100x091Drive over temperature
0x45020x000No mode selected (0x6060=0) 1
0x73100x811Over speed error
0x73200x811Position Error overflow
0x75000x111Motor communication error
0x75100x111Motor drive to EtherCAT slave communication error
0x86110x000

Motor not currently following commanded position 1,2

0xFF010x000Motor disabled by command1
0xFF040x811Emergency stop active
0xFF050x110/13

24V drive power no not present

  1. Not an error state
  2. The motor is not following because for example the FSM state is not in Operation Enabled.
  3. If the FSM is in Operation Enabled the loss of 24V power will generate a fault on the statusword
    otherwise the fault bit will not show an error.

...

Sub-index

Description

Type

Access

PDO Mapping

0x00

Set the target position of the motor.

  • Unit - pulses (50,000 pulses/revolution)
  • Used in CSP and CML modes
DINTrw

Yes

...

0x607C: Home offset

Sub-index

Description

Type

Access

PDO Mapping

0x00

Number of entries

UINTro

No

Set the offset after a home switch/hardstop has been found.

  • Unit - pulses (50,000 pulses/revolution)
    • Internally will be rounded to the closest 100.
  • Used in homing mode
DINT0x01H0INTrw

No

0x02H1INTrwNo
0x03H2INTrwNo
0x04H3INTrwNo
0x05H4INTrwNo
0x06H5INTrwNo
0x07H6INTrwNo
0x08H7INTrwNo
0x09H8INTrwNo

Information on the H infinity parameters can be found in the RT3 user manual - Motor Tuning.

...

0x6081: Profile velocity

Sub-index

Description

Type

Access

PDO Mapping

0x00

Set the target velocity in profile position mode

  • Unit - pulses/s (50,000 pulses/revolution)
  • Used in profile position mode
UDINTrw

Yes

0x6083: Profile acceleration

Sub-index

Description

Type

Access

PDO Mapping

0x00

Set the profile acceleration.

  • Unit - pulses/s2 (50,000 pulses/revolution)
  • Used in profile position and profile velocity modes
UDINTrw

Yes

0x6084: Profile deceleration

Sub-index

Description

Type

Access

PDO Mapping

0x00

Set the profile deceleration in profile velocity mode.

  • Unit - pulses/s2 (50,000 pulses/revolution)
  • Used in profile velocity mode
UDINTrw

No

0x6098: Homing method

Sub-index

Description

Type

Access

PDO Mapping

0x00
Read

Set the

status of the inputsUINTro

Yes

Bit76543210INPUT----4321

...

method of the home routine.

  • 0: No home routine selected
  • -1: Hardstop CW
  • -2:  Hardstop CCW
  • -3:  Input 2 sensor CW
  • -4:  Input 2 sensor CCW
  • -5:  Input 3 sensor CW
  • -6:  Input 3 sensor CCW
SINTrw

No

0x6099: Homing speeds

Sub-index

Description

Type

Access

PDO Mapping

0x00

Set the digital output

UINT

Highest sub-index supported

SINTrw
Yes

No

Bit76543210OUTPUT------OUT2OUT1
  • Output 1 is driven by 0x60FD
  • Output 2 is driven by 0x60FD or by the motor driver depending on the K34 value. See K Parameters for additional information.
    • Set K34=40 for 0x60FD
    • Set K34=20 for alarm output
    • Set K34=10 for inposition signal output.

0x60FF: Target velocity

...

Sub-index

...

Description

...

Type

...

Access

...

PDO Mapping

...

Set the target velocity of the motor.

  • Unit - pulses/ms (50,000 pulses/revolution)
  • Used in CSV, PV and CML modes

...

Yes

Manufacturer Specific Objects

0x2301: Drive temperature

...

Sub-index

...

Description

...

Type

...

Access

...

PDO Mapping

...

Read the drive temperature

  • Unit - degrees C

...

Yes

0xFF00: Status LED brightness

...

Sub-index

...

Description

...

Type

...

Access

...

PDO Mapping

...

Set the brightness of the system and motor status LED.This is a non-volatile object that is stored in memory.

  • Range [0,16]
  • 0 - OFF
  • 1 - minimum brightness (default)
  • 16 - maximum brightness

...

0x01

Speed during search for switch or hardstop

  • The homing speed is written to an internal register which has a unit of 100 pulses/s. 
    The value written into 0x6099:01 will be rounded to the closest 100.
  • Used in homing mode
UDINTrwNo
0x02

N/A

Speed during search for 0 uses the same speed as search for switch/hardstop

UDINTrwNo

0x609A: Homing acceleration

Sub-index

Description

Type

Access

PDO Mapping

0x00

Set the homing acceleration in homing mode.

  • Unit - pulses/s2 (50,000 pulses/revolution)
  • The homing acceleration is written to an internal register which has a unit of 1000 pulses/s. 
    The value written into 0x609A will be rounded to the closest 1000.
  • Used in homing mode
UDINTrw

No

0x60F6: K Parameter Settings

Sub-index

Description

Type

Access

PDO Mapping

0x00

Highest sub-index supported = 0x51 (81d)

USINTrw

No

0x51

...

0x51

K parameter settings.

  • See standard Cool Muscle documentation for details
  • Typically these parameters do not need to be modified as the current profile mode changes them directly as required.
UINTrwNo

0x60FB: H Parameter Settings (Tuning Parameters)

Sub-index

Description

Type

Access

PDO Mapping

0x00

Number of entries

UINTro

No

0x01H0INTrwNo
0x02H1INTrwNo
0x03H2INTrwNo
0x04H3INTrwNo
0x05H4INTrwNo
0x06H5INTrwNo
0x07H6INTrwNo
0x08H7INTrwNo
0x09H8INTrwNo
  • The H parameters are stored in non-volatile memory in the drive. The value will be retained on power down and do not need to be reloaded after a power cycle.
  • Information on the H infinity parameters can be found in the RT3 user manual - Motor Tuning.

0x60FD: Digital inputs

Sub-index

Description

Type

Access

PDO Mapping

0x00

Read the status of the inputs

UINTro

Yes


Bit76543210
INPUT----4321

0x60FE: Digital outputs

Sub-index

Description

Type

Access

PDO Mapping

0x00

Set the digital output

UINTrw

Yes


Bit76543210
OUTPUT------OUT2OUT1
  • Output 1 is driven by 0x60FD
  • Output 2 is driven by 0x60FD or by the motor driver depending on the K34 value. See K Parameters for additional information.
    • Set K34=40 for 0x60FD
    • Set K34=20 for alarm output
    • Set K34=10 for inposition signal output.

0x60FF: Target velocity

Sub-index

Description

Type

Access

PDO Mapping

0x00

Set the target velocity of the motor.

  • Unit - pulses/ms (50,000 pulses/revolution)
  • Used in CSV, PV and CML modes
DINTrw

Yes

0x6502: Supported drive modes

Sub-index

Description

Type

Access

PDO Mapping

0x00

Shows support drive modes

Value = 0x1A5

Bit0 = 1: PP mode
Bit1 = 0: VL mode
Bit2 = 1: PV mode
Bit3 = 0: TQ mode
Bit4 = 0: reserved
Bit5 = 1: HM mode
Bit6 = 0: IP mode
Bit7 = 1: CSP mode
Bit8 = 1: CSV mode
Bit9 = 0: CST mode

UDINTro

No

Manufacturer Specific Objects

0x2201: 32bit User Variables

This object contains 4 volatile variables. Variable1 in addition has BIT15 and BIT14 mapped to the manufacturer specific bits, B15 and B14, on the Statusword (0x6041).

An example of usage would be if the application requires a custom home routine. These bit could be set as a flag to indicate the home routine has been completed. Due to the volatile nature of the variables if a reset occurs on the drive the flag bit would be reset.

Sub-index

Description

Type

Access

PDO Mapping

0x00

Number of entries

UINTro

No

0x01Variable1DINTrwBIT15 and B14 are mapped to the Statusword 0x6041 BIT15 and B14.
0x02Variable2DINTrwNo
0x03Variable3DINTrwNo
0x04Variable4DINTrwNo

0x2301: Drive temperature

Sub-index

Description

Type

Access

PDO Mapping

0x00

Read the drive temperature

  • Unit - degrees C
INTro

Yes

0xFE00: PDO Timing

The PDO time is autodetected by the slave. The detected time can be read in 0xFE00. 

Only PDO rates of 200μs, 250μs, 500μs and 1000μs (1ms) are accepted by the CM1-E.

Sub-index

Description

Type

Access

PDO Mapping

0x00

Number of entries

UINTro

No

0x01PDO Time in μsUINTroNo
0x02N/AUINTroNo
0x03N/AUINTroNo
0x04N/AUINTroNo

0xFF00: Status LED brightness

Sub-index

Description

Type

Access

PDO Mapping

0x00

Set the brightness of the system and motor status LED.This is a non-volatile object that is stored in memory.

  • Range [0,16]
  • 0 - OFF
  • 1 - minimum brightness (default)
  • 16 - maximum brightness
SINTrw

No

0xFF01: Status LED Override

Sub-index

Description

Type

Access

PDO Mapping

0x00

Override the status LED colour and flash.

This allows the user to use the status LED to indicate custom operations such as identify a motor in a large axes application.

UDINTrw

No


Byte Description


Byte3Byte2Byte1Byte0
DescriptionRed LED on/offGreen LED on/offBlue LED on/off

Override on/off

Bit 0 - override on/off
Bit 1 - flash on/off

Values

0x00 - Red OFF
0x01 - Red ON

0x00 - Green OFF
0x01 - Green ON

0x00 - Blue OFF
0x01 - Blue ON

0x00 - No override
0x01 - Override with solid colour defined in bytes 3-1
0x03 - Override with flash colour defined in bytes 3-1

Example Values

  • 0xFF01 = 0x01010101 - LED will turn solid white
  • 0xFF01 = 0x01000003 - LED will flash red


Accessing the Objects in TwinCAT3

The following instructions show how to read/write the objects in TwinCAT3 through the online object dictionary. It assumes a CM1-E drive has already been added.

  1. In the Solution Explorer select the CM1-E drive
  2. Select the CoE-Online tab. Only the objects listed in the EDS are currently listed.
  3. Click the Advanced button to enable reading all objects.
    draw.io Diagram
    borderfalse
    diagramNameCM1-E Selection
    simpleViewertrue
    width600
    linksauto
    tbstyletop
    lboxtrue
    diagramWidth851
    revision1
  4. Select the Online radio button
  5. Click OK
    draw.io Diagram
    borderfalse
    diagramNameAdvanced Settings
    simpleViewertrue
    width475
    linksauto
    tbstyletop
    lboxtrue
    diagramWidth647
    revision1

The full object dictionary is now available. The K and H parameters are shown below in red. Expand the list to see all the parameters.

draw.io Diagram
borderfalse
diagramNameKH Parameters
simpleViewertrue
width400
linksauto
tbstyletop
lboxtrue
diagramWidth509
revision1

...