L_MC1P_SetSpeedCtrlAdaptValue

This FB serves to adapt the gain factor of the speed controller of a connected drive.

Supported devices:
  • i700
  • i750
  • i950
  • Servo Drives 9400 HigLine CiA402
Note!

The use of several FB instances for one axis is not recommended, since, generally, only the default value of the FB called last will prevail.

 

 

 

L_MC1P_SetSpeedCtrlAdaptValue

 

 

 

AXIS_REF

-

Axis

xBusy

-

BOOL

BOOL

-

xEnable

xError

-

BOOL

LREAL

-

lrSpeedCtrlAdaptValue

eErrorID

-

L_IE1P_Error

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xEnable

BOOL

TRUE

Write the adaption value of the speed controller P component continuously to the drive.

FALSE

The adaptation value remains on the last written value

lrSpeedCtrlAdaptValue

LREAL

Adaptation Speed controller

  • Initial value: 1.0 ยบ 100 %
Outputs

Name

Data type

Value/meaning

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.