Overview
The concept is that this FB and its methods will use the base class to take a picture and the process it and return elements that fit the processing with the following Results as a minimum:
- Center of Mass (x,y)
- Orientation (a)
FB_VisionDetection
Class Diagram
classDiagram
class FB_VisionBase{
<<ABSTRACT>>
eState : ETcVnCameraState;
VisionBaseAlarms : ARRAY[1..x] of FB_TcAlarm
ProcessImage()
CyclicLogic()
Reset()
CreateEvents()
GetResults()
}
class FB_VisionDetection{
ProcessImage()
ProcessImage_Blob()
ProcessImage_Color()
ProcessImage_Contour()
}
FB_VisionBase<|--FB_VisionDetection
Process Image
1 2 3 4 5 6 7 8 |
|
E_VisionTools
classDiagram
class E_VisionTools{
<<Enumeration>>
Blob
Contour
Color
}
Alarms
These still need to be defined from what can happen with this process image
To Do
- Decide on all of the analysis tools we want to use
- HMI user object to setup these things