Program Examples; Data Flow - Sharp IV-S30 User Manual

Compact image sensor camera function and operation
Hide thumbs

Advertisement

Table of Contents
Computer link

19-5 Program examples

An example of measurements using the IV-S30 and a Sharp PC (JW70H) (2-point search for positional
deviation measurement) is explained below, using data flow, a flowchart and a timing chart.
Camera 1

(1) Data flow

Output relay
00040
W
i r
e t
e r
i g
t s
1 *
0
9
0
0
9
0
0
9
0
0
0
9
0
0
0
9
0
0
0
9
0
0
0
9
0
0
0
9
0
0
0
9
0
1
0
9
0
0
9
0
1
0
9
0
1
0
9
0
1
0
9
0
1
0
9
0
1
0
9
0
1
0
9
0
2
0
9
0
0
9
0
2
0
9
0
2
0
9
0
2
0
9
0
2
19
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-S30, 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-S30.
Sharp's PC (JW70H)
Sharp PC (JW70H)
Description
Start output
D
a
a t
D
r e
(
H
)
0
0
0
0
T
r e
m
n i
t a
o i
n
c
o
0
1
-
2
0
1
O
b
e j
t c
y t
p
e
N
o
3
-
4
0
1
R
e
s
u
t l
o
u
p t
t u
Y
(
O
n
y l
Y
0
s i
O
K
5
0
0
M
e
a
s
u
e r
m
e
t n
0
6
0
1
P
o
t i s
o i
n
l a
d
e
i v
M
e
a
s
u
e r
m
e
t n
u f
7
0
0
m
e
a
s
u
e r
m
e
t n
0
M
e
a
s
u
e r
m
e
t n
u f
0
0
0
m
e
a
s
u
e r
m
e
t n
1
M
e
a
s
u
e r
m
e
t n
u f
1
1
0
0
m
e
a
s
u
e r
m
e
t n
2
M
e
a
s
u
e r
m
e
t n
u f
2
0
0
m
e
a
s
u
e r
m
e
n
3 t
M
e
a
s
u
e r
m
e
t n
u f
3
0
0
m
e
a
s
u
e r
m
e
n
4 t
4
4
0
X
1
t s
5
0
6
c (
6
E
0
c
Y
7
0
6
0
9
8
X
2
2
1
0
D
c (
2
9
0
c
Y
3
0
6
4
0
0
A
n
g
l u
r a
d
e
i v
t a
5
0
0
Input terminal
INPUT
X0
X1
X2
X3
X4
X5
X6
Y0
Y1
Y2
Y3
Y4
Y5
Y6
OUTPUT
USB
CAMERA2
VIDEO
CAMERA1
RS232C/RS422
Camera 1 connector
e
s
c
i r
t p
o i
n
d
e
n (
r o
m
a
t l
r e
m
n i
t a
o i
) n
( .
) 1
0
o t
Y
1
5
) .
u
s
n i
g
c
a
m
e
a r
: 1
t a
o i
n
m
e
a
s
u
e r
m
e
t n
n
t c
o i
n
f o
u
s
n i
g
c
a
m
e
a r
2
n (
o
n
) e
n
t c
o i
n
f o
n (
o
n
) e
n
t c
o i
n
f o
n (
o
n
) e
n
t c
o i
n
f o
n (
o
n
) e
n
t c
o i
n
f o
n (
o
n
) e
p
i o
t n
e
t n
r e
O
u
p t
t u
d
a
a t
o
o
d r
n i
a
e t
) s
f
o r
m
m
e
a
s
u
e r
m
-
n
d
p
i o
t n
e
t n
1
u
s
n i
g
e
t n
r e
c
a
m
e
a r
o
o
d r
n i
a
e t
) s
1
b (
o l
k c
) 1
o i
n
19-32
IV-S30 main housing
(plan view)
X7
24V
COM
IV-S3
Y7
READY
COM
0V
POWER
REMOTE
IV-S30 main housing
(side view)
Communication connector
(RS232C/RS422)
1 Output a start signal.
2 Write data into the register.
3 Transmit completion
response.
* In this example, the write start
address has been set to
09000.
IV-S30

Advertisement

Table of Contents
loading

  Related Manuals for Sharp IV-S30

This manual is also suitable for:

Iv-s31mIv-s32mIv-s33m