• No results found

Object 2041 h : Torque Mode Settings

In document TMCM-1617-GRIP-REF HW & CoE FW Manual (Page 35-107)

7.4 Object Dictionary

9.1.5 Object 2041 h : Torque Mode Settings

Object Description

Index Name Object Type Data Type

2041h Torque Mode Settings Variable Record

Table 54: Object Description (2041h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

1 Torque_P no 0 65535 0 RW

2 Torque_I no 0 65535 0 RW

3 PID_Torque_Error no -2147483648 2147483647 0 [mA] R

4 PID_Torque_Error_Sum no -2147483648 2147483647 0 R

5 PID_Flux_Error no -2147483648 2147483647 0 [mA] R

6 PID_Flux_Error_Sum no -2147483648 2147483647 0 R

7 PHI_E no -32678 32767 0 R

Table 55: Entry Description (2041h) 9.1.6 Object 2042h: Velocity Mode Settings

Object Description

Index Name Object Type Data Type

2042h Velocity Mode Settings Variable Record

Table 56: Object Description (2042h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

1 P_Parameter no 0 65535 0 RW

2 I_Parameter no 0 65535 0 RW

3 PI_Velocity_Error no -2147483648 2147483647 0 R

4 PI_Velocity_Error_Sum no -2147483648 2147483647 0 R

Table 57: Entry Description (2042h)

9.1.7 Object 2043h: Position Mode Settings

Object Description

Index Name Object Type Data Type

2043h Position Mode Settings Variable Record

Table 58: Object Description (2043h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

1 P_Parameter no 0 65535 0 RW

2 PID_Position_Error no -2147483648 2147483647 0 R

Table 59: Entry Description (2043h)

9.1.8 Object 2050h: Motor Type

With this object the motor type connected to the module can be set. The following settings are possible:

• Mode 0: no motor

• Mode 1: single phase DC motor

• Mode 3: three phase BLDC motor

Object Description

Index Name Object Type Data Type 2050h Limits Variable UNSIGNED8

Table 60: Object Description (2050h)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw no 0. . . 3 0

Table 61: Entry Description (2050h) 9.1.9 Object 2055 : Commutation Mode

Commutation Modes 0 FOC — disabled 1 FOC — open loop 2 FOC — digital hall 3 FOC — ABN encoder

Table 62: Commutation Modes

Object Description

Index Name Object Type Data Type

2055h Commutation Mode Variable UNSIGNED8

Table 63: Object Description (2055h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 Commutation Mode no 0 1 3 RW

Table 64: Entry Description (2055h)

9.1.10 Object 2056h: Motor Pole Pairs

Set this object to the number of pole pairs your motor is equipped with.

Object Description

Index Name Object Type Data Type

2056h Motor Pole Pairs Variable UNSIGNED8

Table 65: Object Description (2056h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 Motor Pole Pairs no 1 12 255 RW

Table 66: Entry Description (2056h)

9.1.11 Object 2057h: Motor Shaft Direction

Using this object the motor shaft direction can be reversed. Set it to 0 (default value) for normal shaft direction or 1 for reversed shaft direction.

Object Description

Index Name Object Type Data Type

2057h Motor Shaft Direction Variable UNSIGNED8

Table 67: Object Description (2057h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 Motor Shaft Direction no 0 1 0 RW

Table 68: Entry Description (2057h)

9.1.12 Object 2058h: Position Scaler

Using this object all position values can be scaled. It defines the number of steps per mechanical rotation.

With its default value of 65536, a move of 65536 steps leads to one mechanical rotation.

Object Description

Index Name Object Type Data Type 2058h Position Scaler Variable SIGNED32

Table 69: Object Description (2058h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 Position Scaler no -2147483648 2147483647 65536 RW

Table 70: Entry Description (2058h) 9.1.13 Object 2060h: ADC Configuration

Using this object the ADC offsets for the coil current measurement can be configured. This is necessary

Object Description

Index Name Object Type Data Type

2060h ADC Configuration Variable Record

Table 71: Object Description (2060h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

1 ADC_I0_Raw no 0 65535 0 RO

2 ADC_I1_Raw no 0 65535 0 RO

3 ADC_I0_Offset no 0 65535 33500 RW

4 ADC_I1_Offset no 0 65535 33500 RW

5 ADC_I0 no -32768 32767 0 RO

6 ADC_I1 no -32768 32767 0 RO

7 ADC_I2 no -32768 32767 0 RO

Table 72: Entry Description (2060h)

9.1.14 Object 2070h: Hall Sensor Settings

This object sets various parameters of the hall sensors. If the motor is equipped with hall sensors then set the necessary parameters here.

Object Description

Index Name Object Type Data Type

2070h Hall Sensor Settings Variable Record

Table 73: Object Description (2070h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

1 Hall Polarity no 0 1 0 RW

2 Hall Direction no 0 1 0 RW

3 Hall Interpolation no 0 1 1 RW

4 Hall PHI_E offset no -32768 32767 0 RW

Table 74: Entry Description (2070h)

9.1.15 Object 2080h: ABN Encoder Settings

Using this object all necessary encoder parameters can be set. Check and set these parameters if your motor is equipped with an encoder. It is then also possible to choose between different encoder initial-ization modes.

Encoder Initialization Modes 0 Estimate offset

1 Use offset 2 Use hall

Table 75: Encoder Initialization Modes

Object Description

Index Name Object Type Data Type

2080h ABN Encoder Settings Variable Record

Table 76: Object Description (2080h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

1 Encoder Direction no 0 1 0 RW

2 Encoder Steps no 0 65535 8192 RW

3 Encoder Init Mode no 0 2 0 RW

Table 77: Entry Description (2080h)

9.1.16 Object 2101h: Motor Status Flags

This object provides motor status and error flags. This can be a combination of the bits described in table 78.

Motor Status Flags

Bit Name Meaning

0 Overcurrent Too high current detected.

1 Undervoltage Supply voltage too low.

2 Overvoltage Supply voltage too high.

Bit Name Meaning

5 Hall error Hall sensor error.

6 Driver error Motor driver error.

7 Init error Motor initialization error.

8 Stop mode Motor in stop mode.

9 Velocity mode Motor operating in velocity mode.

10 Position mode Motor operating in position mode.

11 Torque mode Motor operating in torque mode.

12 Emergency stop Emergency stop active.

14 Position end Target position reached.

15 Module initialized Module initialization complete.

17 IIT exceeded IIT limit exceeded.

18 Brake active Brake output active.

Table 78: Motor Status Flags (2101h)

Object Description

Index Name Object Type Data Type 2101h Device State Variable UNSIGNED32

Table 79: Object Description (2101h)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 ro no 0. . . 3FFFFh 0

Table 80: Entry Description (2101h)

9.1.17 Object 2102h: Open Loop Commutation Angle

This object shows the open loop commutation angle. It is mainly used by the Trinamic motor tuning tools.

Object Description

Index Name Object Type Data Type

2102h Open Loop Commutation Angle Variable SIGNED16 Table 81: Object Description (2102h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 Open Loop Commutation Angle no -32768 32767 0 RO

Table 82: Entry Description (2102h)

9.1.18 Object 2103h: Encoder Commutation Angle

This object shows the encoder commutation angle. It is mainly used by the Trinamic motor tuning tools.

Object Description

Index Name Object Type Data Type

2103h Encoder Commutation Angle Variable SIGNED16 Table 83: Object Description (2103h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 Encoder Commutation Angle no -32768 32767 0 RO

Table 84: Entry Description (2103h)

9.1.19 Object 2104h: Hall Commutation Angle

This object shows the hall sensor commutation angle. It is mainly used by the Trinamic motor tuning tools.

Object Description

Index Name Object Type Data Type

2104h Hall Commutation Angle Variable SIGNED16 Table 85: Object Description (2104h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

9.1.20 Object 270Eh: Analog Inputs

Object Description

Index Name Object Type Data Type 270Eh Analog Inputs Variable Record

Table 87: Object Description (270Eh)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

1 ADC_IN_0 no 0 4095 0 R

2 ADC_IN_1 no 0 4095 0 R

3 ADC_phase_A no 0 4095 0 R

4 ADC_phase_B no 0 4095 0 R

5 ADC_phase_C no 0 4095 0 R

6 ADC_VSupply no 0 4095 0 R

7 ADC_Temp no 0 4095 0 R

Table 88: Entry Description (270Eh)

9.1.21 Object 2720h: Digital IO

General digital IO settings. Use subindex 1 to enable all digital outputs and subindex to change digital input mode for all pins that are configured to digital input.

DI Mode 0 Type 1 ant Type 3 1 Type 2

Table 89: Digital Input Modes

Object Description Index Name Object Type 2720h Digital IO Record

Table 90: Object Description (2720h)

Entry Description

Sub- Data PDO

index Name Type Mapping Min Max Default Unit Access

1 Enable BOOL no 0 1 0 — RW

2 DI Mode UNSIGNED8 no 0 1 0 — RW

Table 91: Entry Description (2720h)

9.1.22 Object 2721h: DOIx Pin Mode

For each digital IO pin the mode of operation can be configured.

DOIx Pin Mode 0 Digital Output (DO) 1 Digital Input (DI)

2 Low-leakage, High-impedance

Table 92: Digital IO Pin Modes

Object Description

Index Name Object Type Data Type

2721h DOIx Pin Mode Array UNSIGNED8

Table 93: Object Description (2721h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

1 DOI1 no 0 2 0 — RW

2 DOI2 no 0 2 0 — RW

3 DOI3 no 0 2 0 — RW

4 DOI4 no 0 2 0 — RW

Table 94: Entry Description (2721h) 9.1.23 Object 2722h: DOIx Output Mode

DOIx Pin Mode 0 High-side

1 High-side with 2x inrush current for t_INRUSH time 2 Active clamp push-pull

3 Simple push-pull

Table 95: Digital IO Pin Modes

Object Description

Index Name Object Type Data Type

2722h DOIx Output Mode Array UNSIGNED8

Table 96: Object Description (2722h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

1 DOI1 no 0 3 0 — RW

2 DOI2 no 0 3 0 — RW

3 DOI3 no 0 3 0 — RW

4 DOI4 no 0 3 0 — RW

Table 97: Entry Description (2722h)

9.1.24 Object 2723h: DOIx Output Level

For each digital IO pin that is configured as output the output level can be changed.

Bit Definitions Bit Description

0 DOI1 1 DOI2 2 DOI3 3 DOI4

Table 98: Bit Definitions (2723h))

Object Description

Index Name Object Type Data Type

2723h DOIx Output Level Var UNSIGNED8

Table 99: Object Description (2723h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 DOIx Output Level yes 0 15 0 — RW

Table 100: Entry Description (2723h)

9.1.25 Object 2724h: DOIx Input Status

For each digital IO pin the input status can be retrieved.

Bit Definitions Bit Description

0 DOI1 1 DOI2 2 DOI3 3 DOI4

Table 101: Bit Definitions (2724h))

Object Description

Index Name Object Type Data Type

2724h DOIx Input Status Var UNSIGNED8

Table 102: Object Description (2724h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 DOIx Input Status yes 0 15 0 — R

9.1.26 Object 2730h: AOI0 Mode Sets the mode for the DAC at pin AOI0.

AOI0 Mode 0 High Impedance

1 Reserved, DO NOT USE!

2 Analog output voltage mode, ±12.5V setting 3 Analog output current mode, ±25mA setting 4 Analog output current mode, ±2.5mA setting

Table 104: AOI0 Modes

Object Description

Index Name Object Type Data Type

2730h AOI0 Mode Var UNSIGNED8

Table 105: Object Description (2730h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 AOI0 Mode no 0 4 0 — RW

Table 106: Entry Description (2730h)

9.1.27 Object 2731h: DAC value Sets value for the DAC at pin AOI0.

Object Description

Index Name Object Type Data Type 2731h DAC value Var SIGNED32

Table 107: Object Description (2731h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 DAC value yes -131072 131071 0 — RW

Table 108: Entry Description (2731h)

9.1.28 Object 2732h: DAC Calibration Gain and offset calibration of the DAC.

Object Description

Index Name Object Type

2732h DAC Calibration Record

Table 109: Object Description (2732h)

Entry Description

Sub- Data PDO

index Name Type Mapping Min Max Default Unit Access

1 Gain UNSIGNED32 no 0 262143 256250 — RW

2 Offset SIGNED32 no -131072 131071 0 — RW

Table 110: Entry Description (2732h)

9.1.29 Object 2740h: AI1/AI2 Mode Sets the mode for the ADC at pins AI1/AI2.

AI1/AI2 Mode 0 Power Down

1 Analog input differential ±25V*(Channel 1) 2 Analog input differential ±2.5V (Channel 2) 3 Analog input differential ±500mV (Channel 2) 4 Analog input differential ±250mV (Channel 2) 5 Analog input differential ±125mV (Channel 2)

Table 111: AI1/AI2 Modes -*only ±15V can be measured effectively

Object Description

Index Name Object Type Data Type 2740h AI1/AI2 Mode Var UNSIGNED8

Table 112: Object Description (2740h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 AI1/AI2 Mode no 0 5 0 — RW

Table 113: Entry Description (2740h)

9.1.30 Object 2741h: ADC value

Retrieves the value of the ADC at pin AI1/AI2.

Object Description

Index Name Object Type Data Type 2741h ADC value Var SIGNED32

Table 114: Object Description (2741h)

Entry Description

Sub- PDO

index Name Mapping Min Max Default Unit Access

0 ADC value yes -8388608 8388607 0 — R

Table 115: Entry Description (2741h)

9.1.31 Object 2742h: ADC Ch1 Calibration Gain and offset calibration of the first ADC channel.

Object Description

Index Name Object Type

2742h ADC Ch1 Calibration Record

Table 116: Object Description (2742h)

Entry Description

Sub- Data PDO

index Name Type Mapping Min Max Default Unit Access

1 Gain UNSIGNED32 no 0 16777215 256250 — RW

2 Offset SIGNED32 no -8388608 8388607 0 — RW

Table 117: Entry Description (2742h)

9.1.32 Object 2743h: ADC Ch2 Calibration

Gain and offset calibration of the second ADC channel.

Object Description

Index Name Object Type

2743h ADC Ch2 Calibration Record

Table 118: Object Description (2743h)

Entry Description

Sub- Data PDO

index Name Type Mapping Min Max Default Unit Access

1 Gain UNSIGNED32 no 0 16777215 256250 — RW

2 Offset SIGNED32 no -8388608 8388607 0 — RW

Table 119: Entry Description (2743h)

10 Profile Specific Area

The profile segment contains CiA-402 standard motion control objects. These objects control the motion control functions of the TMCM-1617-GRIP-REF. Since it is not possible to operate the modes in parallel, the user is able to activate the required function by selecting a mode of operation. The control device writes to the modes of operation object in order to select the operation mode. The drive device provides the modes of operation display object to indicate the actual activated operation mode. Controlword, statusword, and set-points are used mode-specific. This implies the responsibility of the control device to avoid inconsistencies and erroneous behavior.

The following operating modes (selectable via object 6060h, please see10.1.6) are implemented on the TMCM-1617-GRIP-REF:

10.1.1 Object 605Ah: Quick Stop Option Code

This object indicates what action is performed when the quick stop function is executed. The slow down ramp is the deceleration value of the used mode of operation. The following quick stop option codes are supported in the current version of the CANopen firmware:

Value Definition Value Definition

1 Slow down on slow down ramp and transit into switch on disabled 2 Slow down on quick stop ramp and transit into switch on disabled 5 Slow down on slow down ramp and stay in quick stop active) 6 Slow down on quick stop ramp and stay in quick stop active

Table 120: Value Description (605Ah)

Object Description

Index Name Object Type Data Type

605Ah Quick stop option code Variable SIGNED16

Table 121: Object Description (605Ah)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw no 1/2/5/6 2

Table 122: Entry Description (605Ah)

10.1.2 Object 605Bh: Shutdown Option Code

This object indicates what action is performed if there is a transition from operation enabled state to ready to switch on state. The shutdown option code always has the value 0 as only this is supported.

Value Definition Value Definition

0 Disable drive function (switch off the power stage)

Table 123: Value Description (605Bh)

Object Description

Index Name Object Type Data Type

605Bh Shutdown option code Variable UNSIGNED16 Table 124: Object Description (605Bh)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw no 0 0

Table 125: Entry Description (605Bh)

10.1.3 Object 605Ch: Disable Operation Option Code

This object indicates what action is performed if there is a transition from operation enabled state to switched on state. The disable operation option code always has the value 1 as only this is supported.

The slow down ramp is the deceleration value of the used mode of operation.

Value Definition Value Definition

1 Slow down on slow down ramp

Table 126: Value Description (605Ch)

Object Description

Index Name Object Type Data Type

605Ch Disable operation option code Variable UNSIGNED16 Table 127: Object Description (605Ch)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw no 1 1

Table 128: Entry Description (605Ch)

10.1.4 Object 605Dh: Halt Option Code

This object indicates what action is performed when the halt function is executed. The slow down ramp is the deceleration value of the used mode of operation.

Value Definition Value Definition

1 Slow down on slow down ramp and stay in operation enabled Table 129: Value Description (605Dh)

Object Description

Index Name Object Type Data Type

605Dh Halt option code Variable UNSIGNED16

Table 130: Object Description (605Dh)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw no 1 1

Table 131: Entry Description (605Dh)

10.1.5 Object 605Eh: Fault Reaction Option Code

This object indicates what action is performed when fault is detected in the power drive system. The slow down ramp is the deceleration value of the used mode of operation. The fault reaction option code always has the value 2 as only this is supported.

Value Definition Value Definition

2 Slow down on quick stop ramp

Table 132: Value Description (605Eh)

Object Description

Index Name Object Type Data Type

605Eh Fault reaction option code Variable UNSIGNED16 Table 133: Object Description (605Eh)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw no 2 2

Table 134: Entry Description (605Eh)

10.1.6 Object 6060h: Modes of Operation

This object indicates the requested operation mode. Supported operating modes are:

Value Definition Value Mode

0 No mode

1 Profile position mode (pp) 3 Profile velocity mode (pv)

8 Cyclic synchronous position mode (csp) 9 Cyclic synchronous velocity mode (csv) 10 Cyclic synchronous torque mode (cst)

Table 135: Value Description (6060h)

The motor will not run when the operating mode is set to 0. It will be stopped when the motor is running in one of the supported operating modes and the operating mode is then switched to 0.

Object Description

Index Name Object Type Data Type

6060h Modes of operation Variable SIGNED8

Table 136: Object Description (6060h)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw refer to CiA-402 see table135 0

Table 137: Entry Description (6060h)

10.1.7 Object 6061h: Modes of Operation Display This object shows the operating mode that is currently set.

Value Definition Value Mode

0 No mode

1 Profile position mode (pp) 3 Profile velocity mode (pv)

8 Cyclic synchronous position mode (csp) 9 Cyclic synchronous velocity mode (csv) 10 Cyclic synchronous torque mode (cst)

Table 138: Value Description (6061h)

The motor will not run when the operating mode is set to 0. It will be stopped when the motor is running in one of the supported operating modes and the operating mode is then switched to 0.

Object Description

Index Name Object Type Data Type

6061h Modes of operation display Variable SIGNED8 Table 139: Object Description (6061h)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw refer to CiA-402 see table138 0

Table 140: Entry Description (6061h)

10.1.8 Object 606Ah: Sensor Selection Code

This object provides the source of the position sensor actual value. It selects whether an encoder is to be used or not.

Value Definition Value Mode

0 Encoder used -1 No encoder

Table 141: Value Description (606Ah)

Object Description

Index Name Object Type Data Type

606Ah Sensor selection code Variable SIGNED16

Table 142: Object Description (606Ah)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw no 0/-1 -1

Table 143: Entry Description (606Ah)

10.1.9 Object 608Fh: Position Encoder Resolution

This object defines the resolution of the encoder. The position encoder resolution is calculated by the following formula:

position encoder resolution = encoder increments motor revolutions

All values are dimensionless.

Object Description

Index Name Object Type Data Type

608Fh Position Encoder Resolution Array UNSIGNED32 Table 144: Object Description (608Fh)

Entry Description

Sub-index Description Access PDO Mapping Value Range Default Value

0 Highest sub-index supported ro no 2 2

1 Encoder increments rw no 0. .. 2147483647 1

2 Motor revolutions ro no 1 1

Table 145: Entry Description (608Fh)

10.1.10 Object 60FDh: Digital Inputs

This object contains the states of the digital inputs of the module. Starting from bit 0, every bit reflects the state of one digital input. The number of valid bits depends on the number of digital inputs on the module used.

Object Description

Index Name Object Type Data Type 60FDh Digital inputs Variable UNSIGNED32

Table 146: Object Description (60FDh)

Entry Description

Sub-index Access PDO Mapping Value Range Default Value

0 rw mappable UNSIGNED32 0

Table 147: Entry Description (60FDh)

10.1.11 Object 6502h: Supported Drive Modes

This object provides information on the supported drive modes. A bit that is set means that the mode is supported, a bit that is not set means that the mode is not supported by the drive.

Value Definition Bit Mode

0 Profile position mode (pp) 1 Velocity mode (vl)

2 Profile velocity mode (pv) 3 Torque mode (tq)

4 Reserved

5 Homing mode (hm)

6 Interpolated position mode (ip)

7 Cyclic synchronous position mode (csp) 8 Cyclic synchronous velocity mode (csv) 9 Cyclic synchronous torque mode (cst)

Table 148: Value Definition (6502h)

Object Description

Index Name Object Type Data Type

6502h Supported drive modes Variable UNSIGNED32 Table 149: Object Description (6502h)

6502h Supported drive modes Variable UNSIGNED32 Table 149: Object Description (6502h)

In document TMCM-1617-GRIP-REF HW & CoE FW Manual (Page 35-107)

Related documents