Software Structure
The are two main part to the software structure.
- The sequence that defined sequential block of code that can be run
- the logic that glues all together
In configure mode (hit the padlock and type the configure password = "configure" by default)
you will see several sequence that define this workspace
Defined Sequences
There functionalily is defined below
- Inspect1/2/3
determine the inspection for the glass faces 1 /2 /
Note these sequeces are save per product and loaded when the opertor select the part
- InpectLoad
Load Inspect1/2/3 when the operator loads the selected product
- InpectSave
Saves the inspect1/2/3 sequences when the operator saves the selected prodcut
- ExportCSV
Exports the scanned points as a csv file
- CamGrab
Grab a single image for each camera. This is called repeatedly to show a live image
- fileGrab
Grab a reject iamges for each camera.
- UICam
shows the preference for the camera
- UIClear
Clears the camera view
- UISelect
The Prodcut Select screen
Logic Outline
PB sands for push button as defined in the user interface
eg
PBRun = push buttons preferences 1/2/3
PBSave / PBLoadProfile maintian profile button
TMR = timer
SECTION RISING(modeOperator)
code the occurs when goin into operator mode
SECTION RISING(modeAuto)
code the occurs when goin into online (auto) mode
SECTION modeOperator OR modeMaint
code logic run all the time in operator and maintanence mode
SECTION RISING(PBRun)
code run on starting a scan
SECTION RISING(PBExport)
code run when end of exporting
SECTION PBOperator
code run when end press operator button
SECTION PBSelect
code run when end press prodcut select button
SECTION RISING(modeMaint)
code run when end press setup padlock button
SECTION modeMaint
code run when in setup mode
SECTION PBSave
code run when press save button