This function block terminates position capture.
Library name: PLCopen MC part 1
Namespace: PLCO
Input |
Data type |
Description |
---|---|---|
Axis |
Axis_Ref |
Reference to the axis for which the function block is to be executed. |
Execute |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. A rising edge of the input Execute starts the function block. The function block continues execution and the output Busy is set to TRUE. A rising edge at the input Execute is ignored while the function block is being executed. |
ifTrigger |
MC_Trigger_Ref |
Edge to trigger position capture. Refer to MC_Trigger_Ref for a description. |
Output |
Data type |
Description |
---|---|---|
Done |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. oFALSE: Execution has not been finished, or an error has been detected. oTRUE: Execution terminated without an error detected. |
Busy |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. oFALSE: Function block is not being executed. oTRUE: Function block is being executed. |
Error |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. oFALSE: Function block is being executed, no error has been detected during execution. oTRUE: An error has been detected in the execution of the function block. |
ErrorID |
ET_Result |
This enumeration provides diagnostics information. |
ErrorId |
Cause |
Corrective |
---|---|---|
AxisInvalid |
No axis is specified for the input Axis or specified axis does not support the required function. For MC_Touchprobe and MC_AbortTrigger: Specified axis does not support capture. |
Connect the axis for which the function block is to be executed to the input Axis. For MC_Touchprobe and MC_AbortTrigger: Use an axis that supports capture. |
DeviceAccessFailed |
Error detected writing/reading via the service channel in Sercos phase 4. |
Reduce the frequency of access to the service channel with FB_WriteIDN and/or FB_ReadIDN. |
InvalidCaptureSource |
The specified capture source does not exist. |
Verify that the capture source is supported by the device. |
InvalidDigitalInputConfiguration |
The configuration of the digital input of the controller for the encoder is invalid. |
Verify correct configuration of the digital input for the encoder. |
NoEncoderSupplyDetected |
No encoder power supply |
Ensure correct encoder power supply. |
UnexpectedReturnValue |
Indeterminable return value from system. |
Contact your Schneider Electric representative. |