FB_S700FltRpt
Function Block A function block groups an algorithm and a set of private data. It has inputs and outputs. - Outputs S700 "Servostar 700 drive" See Servo Drive in Glossary drive fault Information.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
EN |
BOOL |
0, 1 |
N/A |
No default |
Used in the FFLD "Free Form Ladder Diagram" editor only. |
iEtherCat_ID |
INT |
No range |
N/A |
No default |
EtherCAT ***EtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs address of AKD Drive. |
iRstFltHist |
BOOL |
0, 1 |
N/A |
No default |
When input is TRUE, clears all Faults saved to drives history. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
oFAULT |
BOOL |
|
N/A |
TRUE if selected drive currently has a Fault. |
oNumberFaults |
DINT |
0, 10 |
N/A |
Number of faults saved in the drive's history. |
oFirstFaultNumber |
DINT |
100, 999 |
N/A |
Three-digit fault identifier. |
oFirstFaultMessage |
STRING |
|
N/A |
Description of the fault. |
oSecondFaultNumber |
DINT |
100, 999 |
N/A |
Three-digit fault identifier. |
oSecondFaultMessage |
STRING |
|
N/A |
Description of the fault. |
oThirdFaultNumber |
DINT |
100, 999 |
N/A |
Three-digit fault identifier. |
oThirdFaultMessage |
STRING |
|
N/A |
Description of the fault. |
oDriveNotUsed |
BOOL |
|
N/A |
Is this drive:
|
Remarks
- The oFAULT output turns TRUE when the selected drive goes into a fault state.
- This function block outputs the:
- Total number of faults in the drive fault history variable. (FLTHIST)
- Fault number and message for the last three drive faults.
- Each fault has two outputs: the fault number and a fault message.
- The fault number is the same number reported on the display of the drive.
- The fault message provides a short description of the fault.
- Example: If the first fault is a feedback error with a F04 is displayed on the front of the drive, the output of this FB are:
- oFirstFaultNumber = 04
- oFirstFaultMessage = Feedback Error
- iResetfaultHistory resets the faults reported by the FB.
- oDriveNotUsed outputs 1 (True) if the axis is configured to Simulated in the ProjectEtherCAT setup screen.
- This function block can be used with either the PLCopen A vendor -and product- independent worldwide association active in Industrial Control and aiming at standardizing PLC file formats based on XML or Pipe Network Motion engines.
This image shows the function or function block I/O.
Figure 6-83: S700FltRpt
Usage
- Provide drive fault information the application program uses to determine next steps.
- Example: Perform a machine-controlled stop or perform an immediate disable of the servo drives.
- In the application program, sends output fault information from this UDFB to the HMI "Human-machine interfaces " Also known as computer-human interfaces (CHI), and formerly known as man-machine interfaces, they are usually employed to communicate with PLCs and other computers, such as entering and monitoring temperatures or pressures for further automated control or emergency response for review by the machine operator.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Execute the Function A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. Block
A1_FaultReporting (1001, 0);
//Read Function Block Outputs
A1_Fault:= A1_FaultReporting.oFault;
A1_NumFault:= A1_FaultReporting.oNumberFaults;
A1_FirstFaultNumber:= A1_FaultReporting.oFirstFaultNumber;
A1_FirstFaultMessage:= A1_FaultReporting.oFirstFaultMessage;
A1_SecondFaultNumber:= A1_FaultReporting.oSecondFaultNumber;
A1_SecondFaultMessage:= A1_FaultReporting.oSecondFaultMessage;
A1_ThirdFaultNumber:= A1_FaultReporting.oThirdFaultNumber;
A1_ThirdFaultMessage:= A1_FaultReporting.oThirdFaultMessage;
A1_Simulated:= A1_FaultReporting.oDriveNotUsed;
-
-
A1_FaultReporting is an instance of the FB_S700FltRpt function block.
See Also
- MC_ReadStatus (PLCopen Motion Engine)
- MLAxisStatus (Pipe Network Motion Engine)