L_MC1P_SetBasicParameter

This FB is used for changing basic parameters of the Axis_Ref from the application, which the L_MC1P_AxisBasicControlV2 accesses.

As an alternative to this FB, the parameters can also be changed via individual MC_WriteParameter access processes.

 

 

 

L_MC1P_SetBasicParameter

 

 

 

AXIS_REF

-

Axis

xBusy

-

BOOL

BOOL

-

xEnable

xError

-

BOOL

BOOL

-

xSetJogParameter

eErrorID

-

L_IE1P_Error

LREAL

-

lrJogVel

LREAL

-

lrJogAcc

LREAL

-

lrJogDec

LREAL

-

lrJogJerk

BOOL

-

xSetHaltParameter

LREAL

-

lrHaltDec

LREAL

-

lrHaltJerk

BOOL

-

xSetQSPApplParameter

LREAL

-

lrQSPApplDec

LREAL

-

lrQSPApplJerk

BOOL

-

xSetHomePosition

LREAL

-

lrHomePosition

BOOL

-

xSetHomeParameter

L_MC1P_HomeParameter

-

scHomeParameter

 

 

 

 

 

 

 

 

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 execution of the function block.

xSetJogParameter

BOOL

TRUE

The Jogging parameters are accepted to the Axis_Ref parameters in subindexes 181 ... 184.

lrJogVel

LREAL

Manual jog speed in [unit/s]

lrJogAcc

LREAL

Manual jog acceleration in [unit/s 2 ]

lrJogDec

LREAL

Manual jog deceleration in [unit/s 2 ]

lrJogJerk

LREAL

Halt jerk [unit/s 3 ]

xSetHaltParameter

BOOL

TRUE

The Halt parameters are accepted to the Axis_Ref parameters in subindexes 186 and 187 .

lrHaltDec

LREAL

Halt deceleration [unit/s 2 ]

lrHaltJerk

LREAL

Halt jerk [unit/s 3 ]

xSetQSPApplParameter

BOOL

TRUE

The quick stop application parameters are accepted to the Axis_Ref parameters in subindexes 48 and 49

lrQSPApplDec

LREAL

Quick stop application deceleration [unit/s 2 ]

lrQSPApplJerk

LREAL

Quick stop application jerk [unit/s 3 ]

xSetHomePosition

BOOL

TRUE

The home position is accepted to the Axis_Ref parameters in subindex 84 .

lrHomePosition

LREAL

Home position [unit]

xSetHomeParameter

BOOL

TRUE

The homing parameters are accepted to the Axis_Ref parameters in subindexes 70 ... 80 .

scHomeParameter

L_MC1P_HomeParameter

Parameters for the homing process

Outputs

Name

Data type

Value/meaning

xBusy

BOOL

TRUE

Processing is running.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

L_IE1P_Error

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