PKW Interface of PROFIDRIVE Slaves

The PKW interface is integrated into the FC310x; it can then be accessed via ADS from the controller program. PKW Read is then represented by ADS Read, PKW Write by ADS Write and PKW-Read No Of Array Elements by ADS Read:

PKW Read

ADS-Read parameters

Meaning

Net-ID

Net-ID of the master (see the device's ADS tab)

Port

0x1000 + station address of the slave

IndexGroup

Bits 0-11: parameter number (PNU)

Bits 12-25: 0

Bit 26: 1 = Sub-index in octet 3 (standard), 0 = sub-index in octet 4 (Simodrive 611U)

Bit 27: 1 = ARRAY codes are not supported by PROFIDRIVE slave

Bits 28-31: axis number (for single axis modules always 1)

IndexOffset 

Sub-index (for ARRAY access)

Length

Parameter length: 2 or 4

Data

In response: Parameter value

PKW Write

ADS-Write parameters

Meaning

Net-ID

Net-ID of the master (see the device's ADS tab)

Port

0x1000 + station address of the slave

IndexGroup

Bits 0-11: parameter number (PNU)

Bits 12-25: 0

Bit 26: 1 = Sub-index in octet 3 (standard), 0 = sub-index in octet 4 (Simodrive 611U)

Bit 27: 1 = ARRAY codes are not supported by PROFIDRIVE slave

Bits 28-31: axis number (for single axis modules always 1)

IndexOffset 

Sub-index (for ARRAY access)

Length

Parameter length: 2 or 4

Data

In request: Parameter value

PKW ReadNoOfArrayElements

ADS-Read parameters

Meaning

Net-ID

Net-ID of the master (see the device's ADS tab)

Port

0x1000 + station address of the slave

IndexGroup

Bits 0-11: parameter number (PNU)

Bits 12-15: 0

Bit 16: 1

Bits 17-25: 0

Bit 26: 1 = Sub-index in octet 3 (standard), 0 = sub-index in octet 4 (Simodrive 611U)

Bit 27: 1 = ARRAY codes are not supported by PROFIDRIVE slave

Bits 28-31: axis number (for single axis modules always 1)

IndexOffset 

0

Length

Parameter length: 1

Data

In response: Number of the parameter 's array elements