Process Flow
For the measurement process on the controller, the Main screen is mainly used. It can be also done with a key input and a signal from an external device.
As this figure shows, after startup, an event occurs when a signal is received while the Main screen is displayed.
System Startup - Main Screen
- The startup processing is performed at system startup. The events to be added at the startup are defined in MeasureInit.
- During system startup, the processes performed in the following order:
- System data and scene group data are loaded.
- The customizing program is loaded.
- The processing defined in SceneChange is executed.
- The measurement initialization process is performed when transferring to the Main screen. The events to be added in this time are defined in MeasureInit.
- The measurement initialization process is always executed when transferring to the Main screen.
- The measurement initialization process performs configuration to prepare for display and measurement processing that does not vary in each measurement.
- The BUSY signal remains ON while in the processes above.
Measurement Execution
- Executing a measurement (such as inputting STEP or clicking the [Measure] button) performs the measurement processing. The processing is executed in the order of the units that are registered in the Flow menu. The events to be added in the measurement processing are defined in MeasureProc.
- MeasureProc is enabled if a "User process" processing item is registered in the Flow menu. If the customizing processing N is selected in "User process", the processing of MeasureProc is executed at its turn in the Flow menu.
- The measurement processing performs procedures to change settings for processing items that vary in each measurement. It also manages the output to external devices during measurement.
- Now, the measurement result output process is performed. The processing item for result output registered in the Flow menu is output here. The events to be added at this point are defined in MeasureOut.
- In the measurement result output process, measurement results are output via the serial/parallel interface.
- Now, the measurement result display processing is performed. The processing items for result display registered in the flow menu are displayed at this point. The events to be added at this time are defined in MeasureDisp.
- The measurement result display processing displays measurement results and draws figures on the monitor window.
- While transferring to the Main screen upon completion of the measurement result display process, the measurement initialization process is not performed.
- The measurement time and the BUSY signal displayed in the upper right area of the window are as follows depending on the "BUSY range" of [Measurement setting] ("Output" in the figure indicates the time required for "output processing", not including the time required for communication).
- When the image input is completed
- When the measurement is completed
- When the display is finished
Editing Flows
- It is not possible to modify the Edit Flow window or add event processing.
- The measurement initialization process is performed when transferring to the Main screen.
Serial Commands
- Serial command process is performed when a command is input via serial communication.
Use the SerialCommand to define unique serial (nonprocedural) commands. Some serial (nonprocedural) commands are provided by the system.
- In the customizing program, if an event is allocated to an existing serial command, the command is disabled and the event defined by customization is executed.
- Various processes are performed in serial command processing, such as value input to a processing unit, measurement control via serial communication, and data save/load operations.
- The measurement initialization process is performed when transferring to the Main screen.
Parallel Commands
- Parallel command processing is performed when a command is input via parallel communication.
Use the ParallelCommand to define unique parallel commands. Some parallel commands are provided by the system.
- In the customizing program, if an event is allocated to an existing parallel command, the command is disabled and the event defined by customization is executed.
- Various processes are performed in parallel command processing, such as scene switching, sequential measurement, and model re-registration.
- The measurement initialization process is performed when transferring to the Main screen.