Device Variants

 

Device Variants - General Information

Device Variant Types

The Lexium LXM62 Drive and Lexium LXM62 Linear Drive are available in different device variants. Each device variant provides device-specific features. These features can be activated as user functions before Sercos phase up. The device variants are supported by the Lexium LXM62 Drive / Lexium LXM62 Linear Drive configuration object in the Devices tree, that means, there is only one basic device-specific object for the variants.

The following device variants of the Lexium LXM62 Drive / Lexium LXM62 Linear Drive are supported:

o“Standard” - provides standard Lexium LXM62 Drive / Lexium LXM62 Linear Drive functions. No additional functions are supported.

o“Standard Plus” - provides the user functions Encoderless Velocity Control, Torque Limitation, and Brake Check (available via functions FC_BrakeCheckGetState and FC_BrakeCheckStart in the SystemInterface Library). These user functions are not available for Lexium LXM62 Linear Drive.

o“Advanced Plus” - in addition to the Standard Plus features, the device variant supports the user function Incremental Encoder Output. Additionally, a Machine Encoder object can be added to the Lexium LXM62 Drive (not available for Lexium LXM62 Linear Drive).

o“Application defined” - all user functions can be selected. The selection and activation of the device variant and the user functions is done in the application code before the Sercos phase up check (see the section Using the Device Variant Application defined).

The selection of the device variant and the activation of the user functions is done on the Feature Configuration tab of the device editor for the Lexium LXM62 Drive / Lexium LXM62 Linear Drive object (see the following section). After selection, the related object parameter group appears on the Parameters tab of the device editor inside the parameter group UserFunctions and can be used in the application code.

For a description of the user functions supported by the different device variants and how to use them in the application, refer to the User Functions chapter.

Selecting the Device Variant and User Functions

Step

Action

1

Double-click the Lexium LXM62 Drive or Lexium LXM62 Linear Drive object in the Devices tree.

2

In the Feature Configuration tab of the device editor, select the desired device variant in the Device Variant list.

Result: The supported user functions for the selected variant are shown on the Feature Configuration tab.

3

Select the desired user functions on the Feature Configuration tab.

Result: After selection, the relating object parameters appear on the Parameters tab of the device editor.

Using the Device Variant “Application defined”

The device variant “Application defined” allows you to program a device-independent application code regarding the device variant and, therefore, the user functions to be used. When you activate the device variant “Application defined”, all user functions supported by the Lexium LXM62 Drive / Lexium LXM62 Linear Drive devices are available by default.

The selection of the device variant to be used is set via application code using the parameter DeviceVariantSet. The parameter value defines how the device physically connected to the Sercos bus is to be operated (for example, the device is operated as Standard Plus device with DeviceVariantSet = 2). The selection of the device variant must be done via application code before the Sercos phase up.

NOTE: During the Sercos phase up, correspondance between the device configured in your project and the device connected to the bus is verified. In case of a mismatch, the phase up is canceled.

Application code syntax:

To set the desired device variant via application code, use the following syntax:

<Device>.DeviceVariantSet := <DeviceVariantNumber>

Possible values for <DeviceVariantNumber> are:

o1 (device variant “Standard” is used; no user functions are supported)

o2 (device variant “Standard Plus” is used)

o3 (device variant “Advanced Plus” is used)

Example:

DRV_Lexium62_generic.DeviceVariantSet := 3;

Each user function parameter group contains the parameter Valid. This parameter indicates that the configured and connected device supports the corresponding user function.

Device Variants in the Device Addressing Editor

The device variant which you have selected in your PLC configuration for the Lexium LXM62 Drive / Lexium LXM62 Linear Drive device is shown in the Device Addressing editor in the Extended type information column.

When you scan the Sercos bus, the program automatically detects which device variant is connected to the bus. After scanning, the program attempts to assign the object from your PLC configuration to the device connected to the Sercos bus by using the Identification mode you have selected in the Identification mode column.