Detection size: 4-64 pixels, set according to the size of the defect. The smaller the sensitivity, the higher the sensitivity.
Detection interval: 4-64 pixels, the larger the processing time, the shorter the processing time.
Noise level: 0~255, defects below this value are ignored.

Position correction and calibration
5.1 Position correction
When the measurement target position or direction is not fixed, use the position correction function. The controller first calculates the offset and then shifts the measurement area for detection.
Position correction project:
Single model search, dual model search, graphic search, position, area, annotation, angle
settings
MENU mode → [Setup] → [Position] → [Camera 0/1] → [Position0/1] → [Correction setting]
Select the direction to be corrected: X correction, Y correction, θ correction (rotation)
Important: When using position correction, first save the image to the SD card. If different images are used for adjustment, the position correction may be incorrect and the measurement items need to be reset.
5.2 Calibration
Calibration converts measured values from pixel units to actual dimensions (mm or μ m) and can correct the origin and orientation of the coordinate system.
Three calibration methods:
Sampling input: Measure the pre registered model position, input actual coordinates, and automatically calculate calibration data. You can choose to sample at 2 or 3 points.
Specify point: Specify a point (pixel coordinates) on the image and input the actual coordinates. 2 points are suitable for the same proportion in the X/Y direction, while 3 points are suitable for different proportions.
Parameter input: Directly input the origin position and pixel magnification (0.010~9.999).
Enable calibration: Set [Calibration] to [ON] in the [Detail] settings for each measurement item.
Calculate expressions and outputs
ZFX-C supports calculating measurement values before outputting, with a maximum of 32 data expressions and 32 judgment expressions.
6.1 Available Functions
Example of Function Description
ABS absolute value ABS (RS.0)
Residual MOD (RS.0,10)
MAX/MIN Maximum/Minimum MAX (AR0, AR1, AR2, AR3)
SQRT square root SQRT (RS.0)
Average AVE (RS.0, RS.1, RS.2, RS.3)
Index of IMAX/IMIN maximum/minimum values IMAX (AR0, AR1, AR2)
SIN/COS/ATAN trigonometric function ATAN (1001. Y-1000. Y, 1001. X-1000. X)
Angle between ANGL two-point line and horizontal line ANGL (1001. Y-1000. Y, 1001. X-1000. X)
Distance between two points DIST (1000. X, 1000. Y, 1001. X, 1001. Y)
AND/OR/NOT logical operation AND (PJ.0, PJ.1)
6.2 Output Settings
Data output: MENU → [System] → [Output] → [Data output], select the output interface (RS-232C/422, parallel, SD card, etc.) USB、 Ethernet).
Output judgment: Select the parallel interface to output the judgment result.
Format setting: ASCII format can set integer and decimal places, field separators, record separators, and whether to include timestamps. Continuously output 4 bytes/data in binary format (measured value x 1000).
OR signal: can be set as a level output (held until the next output) or a single pulse output (pulse width 0-255ms).

Parallel I/O Communication and Timing
7.1 Signal Definition
Input signal (standard port):
TRIG: Measurement trigger input (minimum ON width 0.5ms)
DI0~DI7: Command input
DI8: Parallel Command Confirmation Signal
DSA: Data Transmission Request
RESET: Restart
Output signal:
OR: Comprehensive judgment result
ERROR: Error output
RUN: RUN mode indication
ENABLE: Acceptable trigger indication
GATE: Data output valid indication
DO0~DO15: Data output
STGOUT0/1: Strobe triggered output (for external light source)
7.2 Common Commands (Parallel)
Instructions for Command DI7~DI5 Parameters (DI4~DI0)
Continuous measurement during TRIG ON period of 000 *****
Switch Bank 010 00000~11111 to Bank 0~31
Switch Bank group 110 00000~11111 to group 0~31
Re register the model based on the last measured image (items 0~31)
Clear measurement data 101 00000 Clear judgment results, measurement values, log data, parallel output
7.3 Time sequence key points
Trigger measurement (handshake OFF):
T1: Trigger input ≥ 0.5ms
T2: Measurement time=Image input+Measurement (optional+display)
T3: Gate ON delay (1-1000ms)
T4: Gate ON time (1-1000ms)
T5: Output cycle (2~10000ms), must meet T3+T4<T5
ENABLE signal: It can be turned on when the image input is completed, the measurement is completed, or the display is completed. When set to "input image", the measurement is still in progress after ENABLE is turned on, and the next trigger cannot be input.
STGOUT signal: After triggering the input, it is output with a delay time of (0-60000 μ s). The pulse width can be set to (0-60000 μ s), and the polarity can be set to positive or negative.
Log Monitor and Data Analysis
ZFX-C20/C25 supports log monitor function, which can simultaneously monitor up to 3 parameters and store up to 10000 data points per parameter.
settings
MENU→[Setup]→[Add func]→[Logging monitor]→[Log0/1/2]→[Modify]
Set reference data (calculation expression), warning conditions, and log ON/OFF
Display: Select the log monitor screen in RUN/ADJ mode to view the trend chart. Adjustable scales for the horizontal axis (displaying the number of results) and vertical axis (measuring range).