L_MC1P_CyclicParameterAccessWrite

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

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

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

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

 

 

 

L_MC1P_CyclicParameterAccessWrite

 

 

 

AXIS_REF

-

Axis

Valid

-

BOOL

BOOL

-

xEnable

xBusy

-

BOOL

WORD

-

wIndex

xError

-

BOOL

USINT

-

usiSubIndex

eErrorID

-

L_IE1P_Error

USINT

-

usiSize

BOOL

-

xSigned

LREAL

-

IrScaleFactor

LREAL

-

IrData

 

 

 

 

 

 

 

 

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 written (hexadecimal, e.g. 16#2022 for index 0x2022)

usiSubIndex

USINT

Subindex of the parameter to be written

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 to be written with lrData , thus for instance making it possible to automatically take a decimal part into account.

Value to be written = IrData / 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.