L_MC1P_SetQuickStopOption

This FB serves to set the behaviour of the lower-level drive in case of a quick stop.

  • When the FB is executed, the object for the quick stop OptionCode (0x605A) is automatically written in the lower-level drive.

 

 

 

L_MC1P_SetQuickStopOption

 

 

 

AXIS_REF

-

Axis

xBusy

-

BOOL

BOOL

-

xExecute

xDone

-

BOOL

L_MC1P_QuickStopOption

-

eQuickStopOption

xError

-

BOOL

eErrorID

-

L_IE1P_Error

 

 

 

 

 

 

 

 

Note!

When a quick stop takes place and the quick stop ramp has been completed, the lower-level drive adopts a defined device state the default behaviour of which depends on the selected axis mode :

  • "Simple" axis mode, subindex 27 = 0 device state "Switch on disabled" (quick stop mode "2")
  • "Standard" axis mode, subindex 27 = 1 device state "Quick stop active" (quick stop mode "6")
Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xExecute

BOOL

FALSE รค TRUE

Writing the QSP OptionCode into the lower-level drive.

eQuickStopOption

L_MC1P_QuickStopOption

Quickstop Modus

  • 2: Device state "Switch on disabled"
    After the quick stop ramp is completed, the drive is inhibited automatically.
  • 6: Device state "Quick stop active"
    After the quick stop ramp is completed, the drive remains in the controlled state.
Outputs

Name

Data type

Value/meaning

xBusy

BOOL

TRUE

Processing is running.

xDone

BOOL

TRUE

Calculation is completed.

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.