L_MC1P_ZeroDetect

This FB observes a synchronised position and records zero crossings.

 

 

 

L_MC1P_ZeroDetect

 

 

 

LREAL

-

lrSetCycPos

xZero

-

BOOL

LREAL

-

lrCycleLength

xError

-

BOOL

eErrorID

-

L_IE1P_Error

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

lrSetCycPos

LREAL

Synchronised position

  • Unit: units

lrCycleLength

LREAL

Cycle length

Outputs

Name

Data type

Value/meaning

xZero

LREAL

TRUE

Zero crossing active

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

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