Download Print this page

Panasonic A230 User Manual page 239

Machine vision system

Advertisement

OCR Type A230
13.3.2
Creating a Numerical Calculation Programme
Creating a Calculation Programme
As an example, here we will explain a calculation program that calculates dimensions
using the edges detected by gray edge checkers No. 1 and No. 2.
CA01 = Gray Edge checker No. 2 X coordinate – Gray Edge checker No. 1 X coordinate.
Procedure:
1.
Align the cursor to select the register number for the calculation programme
you are going to create.
[8] NUMERICAL CALCULATION
Max
0
Program
CA01=
CA01=
CA04=
Data Bit (CA01−CA04)
A:OutpContr .B:Delete
2.
From the state shown in step 1 above, press ENTER again. A sub−window is
displayed for selection of parameters to be input.
[8] NUMERICAL CALCULATION
Max
0
Program
CA01=
CA01=
CA04=
Data Bit (CA01−CA04)
Next
PA
CH SM LD GE GW
CA OCA QS CV Num. Ope.
A:−−−−−−−−.B:−−−−−−−− C:Esc.
Note
With the exception of QS, if no checker data exists, selection is
not possible.
Next cannot be selected if there is no other programme, or if a
programme error occurs.
Min
Result
0
0
Result
Jud.
0
OK
−−−−−−
−−
8bit, 16bit, 32bit
C:Esc.
Min
Result
0
0
Result
Jud.
0
OK
−−−−−−
−−
8bit, 16bit, 32bit
Inspection Results and Output
13.3 Numerical Calculation
13 − 13

Advertisement

loading