AdditionalIDNListAT

General

Type

EF Custom

Offline editable

Yes

Devices supporting the parameter

Lexium LXM52 Drive, Lexium LXM52 Linear Drive,

Lexium LXM62 Drive, Lexium LXM62 Linear Drive,

Lexium ILM62 Drive Module,

Lexium LXM62 Power Supply

Traceable

No

Functional Description

Entering a list of Sercos IDNs is supposed to be transmitted additionally into the acknowledge telegram of the Sercos real-time channel from the drive or power supply to the PacDrive controller. The parameters (drive data) are inserted into the real-time channel during the next Sercos phase up.

The parameters to be configured additionally into the acknowledge telegram are defined by a list of the corresponding IDNs. These IDNs are written in a string separated by semicolon in the desired sequence.

The standard value is ''. There are no additional drive data configured in the real-time channel.

Also refer to Sercos Cyclic Data Exchange.

The following IDNs can be configured in this real-time channel.

Real-time parameter

User parameter

 

IDN

Length

Data type

Parameter name

Units

Device

Supported as of

S-0-380.0.0

2 bytes

UINT

DC_BusVoltage

V

Drive

P-0-629.0.0

2 bytes

INT

FeedbackCurrent

mA (rms)

Drive

P-0-1079.0.0

4 bytes

DINT

TrackingDeviation

Unit

Drive

P-0-1047.0.1

4 bytes

DINT

InstantaneousElectricalPowerDrive

W

Drive

P-0-1047.0.2

4 bytes

DINT

InstantaneousElectricalPowerPowerSupply

W

PowerSupply

P-0-615.0.0

2 bytes

UINT

InternalDeviceState

Drive, PowerSupply

P-0-602.0.0

2 bytes

UINT

Bleeder

%

PowerSupply

P-0-0639.0.0

2 bytes

UINT

RectifierCurrent

mA

PowerSupply

P-0-0671.0.1

2 bytes

UINT

ControlSupplyVoltage

V

Drive, PowerSupply

V01.53.07.00

P-0-1013.0.1

4 bytes

UINT

PowerStageOverload

%

Drive

V01.53.07.00

P-0-0113.0.1

4 bytes

UINT

MotorOverload

%

Drive

V01.53.07.00

P-0-1024.0.0

2 bytes

UINT

PowerSupplyOverload

%

PowerSupply

V01.53.07.00

P-0-0603.0.1

4 bytes

UINT

SquaredCurrent

A2 (rms)

Drive

V01.53.07.00

The parameters are not transferred with user units. The conversion parameters have to be read one-time with the corresponding Sercos IDN (see following table) to define the formatting.

For user parameter

IDN

Length

Data type

Conversion parameter

Conversion factor

DC_BusVoltage

1

FeedbackCurrent

P-0-1052.0.0

2 bytes

UINT

CurrentConversionFactor

CurrentConversionFactor / 1000

TrackingDeviation

1

InstantaneousElectricalPowerDrive

1

InstantaneousElectricalPowerSupply

1

InternalDeviceState

1

Bleeder

1

RectifierCurrent

10

ControlSupplyVoltage

P-0-0671.0.2

4 bytes

UINT

ControlSupplyVoltageConversionFactor

ControlSupplyVoltageConversionFactor * 0.000001

PowerStageOverload

P-0-1013.0.2

4 bytes

UINT

PowerStageOverloadConversionDivisor

1 / PowerStageOverloadConversionDivisor

MotorOverload

P-0-0113.0.2

4 bytes

UINT

MotorOverloadRT_ConversionDivisor

1 / MotorOverloadRT_ConversionDivisor

PowerSupplyOverload

1

SquaredCurrent

P-0-0209.0.0

2 bytes

UINT

CurrentConversionFactor

(4 * CurrentConversionFactor / 1000000)2

To convert an internal real-time parameter to the corresponding user parameter, the real-time parameter has to be multiplied by the corresponding conversion factor.

UserParameter = RealTimeParameter * ConversionFactor

The parameters are written in a string separated by a semicolon in the desired sequence and number of entities.

The maximum number of parameters that can be configured by AdditionalIDNListAT and AdditionalIDNListMDT is 6 for standard drives and 3 for safety-related drives. When the number of allowed additional real-time parameters is exceeded, the diagnostic message 8508 SERCOS run-up not possible with the ExtDiagMsg C_SP4=20028 is triggered during the Sercos phase-up.

Example:

For a standard drive, it is allowed to parameterize a maximum of 4 further parameters by AdditionalIDNListAT when 2 parameters already have been configured via AddtionalIDNListMDT.

The additionally configured real-time data are not mapped to the associated parameters of the configuration. Access to this data is explained in the chapter AdditionalIDNListATAdr.

NOTE: By configuring additional data in the real-time channel, the maximum number of Sercos members is reduced.

Example

Target: The parameters TrackingDeviation and FeedbackCurrent must be configured in the real-time channel and be available standardized correctly.

Step

Action

1

Set the parameter AdditionalIDNListAT to P-0-1079.0.0;P-0-629.0.0.

2

Set Sercos bus into phase 4.

Result: The length of the configured parameters is displayed in the AdditionalIDNListATLength parameter.

3

Read Sercos IDN P-0-1052.0.0 once using the FC_SercosReadServiceData() and calculate the rCurrentConversionFactor.

lResult: DINT;
uiReadDataLen: UINT;
uiMaxReadDataLen: UINT;
iCurrentConversionFactor: INT;
rCurrentConversionFactor: LREAL;
lResult := FC_SercosReadServiceData(Axis_1.stLogicalAddress,
                                    16#8000 + 1052,
                                    5,
                                    ADR(iCurrentConversionFactor),
                                    2,
                                    uiReadDataLen,
                                    uiMaxReadDataLen);
rCurrentConversionFactor := INT_TO_REAL(iCurrentConversionFactor) / 1000.0;

4

Read out the additional configured real-time data in a cyclic task (external event triggered with MDT_WRITE_ACCESS) and standardize the data to the desired unit.

The calculated CurrentConversionFactor has to be transferred.

rCurrentConversionFactor: LREAL;
puiAdditionalATDataAdr1: POINTER TO DINT;
piAdditionalATDataAdr2: POINTER TO INT;
diFeedbackCurrent: DINT;lrTrackingDeviation: LREAL;
puiAdditionalATDataAdr1 := Axis_1.AdditionalIDNListATAdr;
piAdditionalATDataAdr2 := Axis_1.AdditionalIDNListATAdr + 4;
IF puiAdditionalATDataAdr1 <> 0 THEN
  lrTrackingDeviation := DINT_TO_LREAL(puiAdditionalATDataAdr1^) *
     Axis_1.FeedConstant *
     (DINT_TO_LREAL(Axis_1.GearIn) / DINT_TO_LREAL(Axis_1.GearOut)) /
     524288.0;
  diFeedbackCurrent := LREAL_TO_DINT(INT_TO_LREAL(piAdditionalATDataAdr2^) *
     rCurrentConversionFactor);
END_IF

5

Start the program.

Result: The TrackingDeviation is now available in Units and the FeedbackCurrent is available in mA.