MC_WriteParameter

This FB serves to write a parameter of the axis data structure or the drive.

 

 

 

MC_WriteParameter

 

 

 

AXIS_REF

-

Axis

Done

-

BOOL

BOOL

-

Execute

Busy

-

BOOL

DINT

-

ParameterNumber

Error

-

BOOL

LREAL

-

Value

ErrorID

-

L_IE1P_Error

MC_EXECUTION_MODE

-

ExecutionMode

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

Execute

BOOL

FALSE รค TRUE

Trigger write request.

ParameterNumber

DINT

Determination of the parameter number of the parameter to be written.

Value

LREAL

Parameter value to be written

ExecutionMode

MC_EXECUTION_MODE

Execution mode:

  • mcImmediately: Immediate execution
  • mcQueued: Same functionality as " Buffered " buffer mode, i.e. start execution after the currently active motion command has been completed.
Outputs

Name

Data type

Value/meaning

Done

BOOL

TRUE

Write request completed successfully.

Busy

BOOL

TRUE

Processing is running.

Error

BOOL

TRUE

An error has occurred. For details see ErrorID .

ErrorID

L_IE1P_Error

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