L_MC1P_CyclicParameterAccessRead

This FB is used to read inverter parameters in the application cyclically (PDO access). The parameters are updated in the application or bus cycle.

Only parameters for which the attribute Tx ("Mapping allowed") has been set in the parameter description can be read out cyclically.

If the FBs are used on a controller, the parameters to be read must be configured in the inverter's PDO mapping.

Supported devices:
  • i950
  • Lenze Controller from library version V3.20.0.x

 

 

 

L_MC1P_CyclicParameterAccessRead

 

 

 

AXIS_REF

-

Axis

xValid

-

BOOL

BOOL

-

xEnable

xBusy

-

BOOL

WORD

-

wIndex

xError

-

DINT

USINT

-

usiSubIndex

eErrorID

-

L_IE1P_Error

USINT

-

usiSize

lrData

-

LREAL

BOOL

-

xSigned

LREAL

-

IrScaleFactor

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xEnable

BOOL

FALSE รค TRUE

Start activation of the function block

wIndex

Word

Index of the parameter to be read (hexadecimal, e.g. 16#2022 for index 0x2022)

usiSubIndex

USINT

Subindex of the parameter to be read

usiSize

USINT

Data size of the parameter in [byte]

xSigned

BOOL

TRUE

Parameter value is signed. This is taken into consideration for the conversion process in the lrData output

IrScaleFactor

LREAL

Factor which is taken into consideration when converting the value read into the lrData output, thus for instance making it possible to automatically take a decimal part into account.

lrData = "value read" * lrScaleFactor

Outputs

Name

Data type

Meaning

xValid

BOOL

TRUE

Valid values are applied to the FB outputs.

xBusy

BOOL

TRUE

Processing is running.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

If xError = TRUE: Error number for the error that has occurred.

lrData

LREAL

Value read, evaluated with the IrScaleFactor variable.