14-28
Computer link
14
14-5 Program examples
An example of measurements using the IV-S20 and a Sharp PC (JW70H) (2-point search for positional
deviation measurement) is explained below, using data flow, a flowchart and a timing chart.
IV-S20
VIDEO
"
"
CAMERA1
CAMERA2
RS232C/RS422
REMOTE
POWER
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
BUSY
C(-)
X0
X1
X2
X3
X4
X5
X6
C(+)
+24V
0V
OUTPUT
INPUT
POWER
IV-S20 main housing
(side view)
Communication connector (RS232C/RS422)
Camera 1 connector
Input terminal
IV-S20 main housing
(plan view)
Communication
port
Output unit
Sharp's PC (JW70H)
Camera 1
00040
Output relay
Start output
Description
Execution of measurement
IV-S20
Sharp PC (JW70H)
1
Output a start signal.
2
Write data into the register.
3
Transmit completion
response.
*1 In this example, the write start
address has been set to
09000.
*2 The data in registers 09014 to
09024 are the same as those
shown in the example on page
13-6.
e
t
i
r
W
r
e
t
s
i
g
e
r
a
t
a
D
)
H
(
n
o
i
t
p
i
r
c
s
e
D
0
0
0
9
0
1
*
0
0
)
n
o
i
t
a
n
i
m
r
e
t
l
a
m
r
o
n
(
e
d
o
c
n
o
i
t
a
n
i
m
r
e
T
1
0
0
9
0
-
2
0
0
9
0
1
0
)
1
(
.
o
N
e
p
y
t
t
c
e
j
b
O
3
0
0
9
0
-
4
0
0
9
0
1
0
5
1
Y
o
t
0
Y
t
u
p
t
u
o
t
l
u
s
e
R
)
.
K
O
s
i
0
Y
y
l
n
O
(
5
0
0
9
0
0
0
6
0
0
9
0
1
0
:
1
a
r
e
m
a
c
g
n
i
s
u
0
t
n
e
m
e
r
u
s
a
e
M
t
n
e
m
e
r
u
s
a
e
m
n
o
i
t
a
i
v
e
d
l
a
n
o
i
t
i
s
o
P
7
0
0
9
0
0
0
f
o
n
o
i
t
c
n
u
f
t
n
e
m
e
r
u
s
a
e
M
)
e
n
o
n
(
2
a
r
e
m
a
c
g
n
i
s
u
0
t
n
e
m
e
r
u
s
a
e
m
0
1
0
9
0
0
0
f
o
n
o
i
t
c
n
u
f
t
n
e
m
e
r
u
s
a
e
M
)
e
n
o
n
(
1
t
n
e
m
e
r
u
s
a
e
m
1
1
0
9
0
0
0
f
o
n
o
i
t
c
n
u
f
t
n
e
m
e
r
u
s
a
e
M
)
e
n
o
n
(
2
t
n
e
m
e
r
u
s
a
e
m
2
1
0
9
0
0
0
f
o
n
o
i
t
c
n
u
f
t
n
e
m
e
r
u
s
a
e
M
)
e
n
o
n
(
3
t
n
e
m
e
r
u
s
a
e
m
3
1
0
9
0
-
4
1
0
9
0
0
4
X
t
n
i
o
p
t
s
1
r
e
t
n
e
c
(
)
s
e
t
a
n
i
d
r
o
o
c
a
t
a
d
t
u
p
t
u
O
m
o
r
f
-
m
e
r
u
s
a
e
m
g
n
i
s
u
1
t
n
e
a
r
e
m
a
c
)
1
k
c
o
l
b
(
1
5
1
0
9
0
6
0
6
1
0
9
0
0
E
Y
7
1
0
9
0
6
0
0
2
0
9
0
8
9
X
t
n
i
o
p
d
n
2
r
e
t
n
e
c
(
)
s
e
t
a
n
i
d
r
o
o
c
1
2
0
9
0
D
0
2
2
0
9
0
0
9
Y
3
2
0
9
0
6
0
4
2
0
9
0
0
0
n
o
i
t
a
i
v
e
d
r
a
l
u
g
n
A
5
2
0
9
0
0
0
Note 1: The PC must be write enabled. A Mitsubishi or OMRON PC will operate in the same manner,
but use different PC register and relay addresses.
Note 2: If the PC has not been connected to the object type input (parallel) on the IV-S20, the object
type No. is set to 0. To set different types, first enter the object type numbers (parallel) using
the type input terminals on the IV-S20.
(1) Data flow