L_MC1P_WriteSWLimit

This FB serves to describe parameters for positive and negative software limit position of an axis from the application

Note!

This FB writes the corresponding parameters directly in the AXIS_REF axis data structure, i.e. the written values are persisted when the "Save parameter set" device command is executed.

 

 

 

L_MC1P_WriteSWLimit

 

 

 

AXIS_REF

-

Axis

xBusy

-

BOOL

BOOL

-

xExecute

xError

-

BOOL

BOOL

-

xSetSWLimitPos

eErrorID

-

L_IE1P_Error

LREAL

-

lrSWLimitPos

BOOL

-

xSetSWLimitNeg

LREAL

-

lrSWLimitNeg

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xExecute

BOOL

FALSE รค TRUE

Start execution of the function block.

xSetSWLimitPos

BOOL

TRUE

Write defined positive software limit position into parameter.

lrSWLimitPos

LREAL

Positive software position limit in [unit]

xSetSWLimitNeg

BOOL

TRUE

Write defined negative software limit position into parameter.

lrSWLimitNeg

LREAL

Negative software position limit in [unit]

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.