Ladder Circuit Program Creation; Procedure For Creating Measurement Output Condition And A Ladder Circuit - Sharp IV-S20 User Manual

Compact image sensor camera
Table of Contents

Advertisement

10-2 Ladder circuit program creation

[1] Procedure for creating measurement output condition and a ladder circuit

A separate ladder circuit can be created for positional deviation measurement, degree of match
inspection, distance/angle measurement, lead inspection, area measurement by binary
conversion, object counting by binary conversion, label measurement by binary conversion, and
point measurement.
The procedure for creating a ladder circuit for positional deviation measurement is given below. A
ladder circuit can be created the same way for other measurement just change the input contact
point setting.
(1) Operation to invoke the [OUTPUT CONDITIONS] menu (for positional deviation measurement)
On the MAIN OPS MENU, move the cursor to SET-SCRN item, and press the SET key.
- On the [SYSTEM SETUP] menu, move the cursor to item 2
(condition of object type), and press the SET key.
- On the [OBJECT TYPE COND] menu, move the cursor to item 4 MEAS.0 CAMERA1,
or item 6 MEAS.0 CAMERA2, and press the SET key.
1. Move the cursor to item 1 SELECT MEAS. TYPE with the up and down keys, and press the
SET key. Then, move the cursor to MEAS-POSITION DEVIATE. with the left and right keys, and
press the SET key.
2. Move the cursor to item 7 OUTPUT CONDITIONS with the up and down keys, and press the
SET key. - The [OUTPUT CONDITIONS] menu will be displayed.
3. After moving the cursor to item 1 PAGE NO. with the up and down keys and after pressing the
SET key, specify page number 0 with the up and down keys. Set the REG. item to YES with the
left and right keys, and press the SET key. - Items 2 to 5 will be displayed.
[OUTPUT CONDITIONS]
1PAGE NO.
3
2SET POSITION
3INPUT SIGNAL
4LOGICAL SYMBOL
5OUTPUT SIGNAL
6UPPER MENU
[PAGE0]
INPUT0
LOGIC
INPUT1
LOGIC
INPUT2
LOGIC
INPUT3
LOGIC
A ladder circuit program can be created on each page from 0 to 4 consisting of 4 rows, each of
which has 8 terminals and 1 output relay. Therefore, a ladder circuit can be created that
consists of 20 rows in all (one row contains 8 terminals and 1 output relay). Calculations will be
carried out in the order of the page numbers 0, 1, 2, 3 and 4.
Page 0
Page 1
Page 2
Page 3
Page 4
Continued on the following page
[TYPE00-MEAS0]
1SELECT MEAS. TYPE
1
2COPY :
3INITIALIZATION
4MEAS. PROG. COND
5EVALUATION COND
6NUMERIC CALC COND
7OUTPUT CONDITIONS
2
8UPPER MENU
(TYPE00-MEAS.0-POS-DEVIATION)
0(0~4) REG.NO YES
MOVE
REGT.NO.00(0~ )
MATCH M0(0~1) CRD.X0(0~1) CRD.Y0(0~1)
DEVIAT-x0(0~1) DEVIAT-y0(0~1) AGL-DV B
CAL N00(0~15) AUXRLY C000(0~127)
AUX.RLYC000(0~127) DEL.
0
1
2
3
4
Row No.
0
Input 0
Input 1
Input 2
Input 3
NO MEAS-POSITION-DEVIATE
EXEC TYPE00 CMR1DIFF.MESURE.
EXEC
(TO NEXT SUB-MENU)
(TO NEXT SUB-MENU)
(TO NEXT SUB-MENU)
(TO NEXT SUB-MENU)
DEL.
5
6
7
OUT
1
2
3
4
5
6
10-3
PC Function
TYPE COND
Displayed when
the object type 00
has been specified
1
3
Column No. 0 to 7
Ladder circuit
display area
Output
7
10

Advertisement

Table of Contents
loading

Table of Contents