Program Examples - Sharp IV-S30J User Manual

Compact image sensor camera
Table of Contents

Advertisement

18-7 Program examples

An example of measurements using the IV-S30J and a Sharp PC (JW70H) (2-point search for
positional deviation measurement) is explained below, using data flow, a flowchart and a timing chart.
Sharp's PC (JW70H)
Camera 1
(1) Data flow
Output relay
00040
W
i r
e t
D
a
a t
e r
i g
t s
r e
1 *
0
9
0
0
0
0
0
9
0
0
1
-
0
9
0
0
2
0
0
9
0
0
3
-
0
9
0
0
4
0
0
9
0
0
5
0
0
9
0
0
6
0
0
9
0
0
7
0
0
9
0
1
0
0
0
9
0
1
1
0
0
9
0
1
2
0
0
9
0
1
3
0
0
9
0
1
4
4
0
9
0
1
5
0
0
9
0
1
6
E
0
9
0
1
7
0
0
9
0
2
0
9
0
9
0
2
1
0
D
0
9
0
2
2
9
0
9
0
2
3
0
0
9
0
2
4
0
0
9
0
2
5
0
Note 1: The PC must be write enabled. A Mitsubishi, OMRON, or Yokogawa 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-S30J, 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-S30J.
Sharp PC (JW70H)
Description
Start output
D
e
s
c
i r
t p
o i
(
H
)
0
T
r e
m
n i
t a
o i
n
c
o
d
e
n (
r o
m
1
O
b
e j
t c
y t
p
e
N
o
( .
) 1
1
R
e
s
u
t l
o
u
p t
t u
Y
0
o t
Y
1
5
(
O
n
y l
Y
0
s i
O
K
) .
0
M
e
a
s
u
e r
m
e
t n
0
u
s
n i
g
c
1
P
o
t i s
o i
n
l a
d
e
i v
t a
o i
n
m
e
a
M
e
a
s
u
e r
m
e
t n
u f
n
t c
o i
n
f o
0
m
e
a
s
u
e r
m
e
t n
0
u
s
n i
g
c
M
e
a
s
u
e r
m
e
t n
u f
n
t c
o i
n
f o
0
m
e
a
s
u
e r
m
e
t n
1
n (
o
n
) e
M
e
a
s
u
e r
m
e
t n
u f
n
t c
o i
n
f o
0
m
e
a
s
u
e r
m
e
t n
2
n (
o
n
) e
M
e
a
s
u
e r
m
e
t n
u f
n
t c
o i
n
f o
0
m
e
a
s
u
e r
m
e
n
3 t
n (
o
n
) e
M
e
a
s
u
e r
m
e
t n
u f
n
t c
o i
n
f o
0
m
e
a
s
u
e r
m
e
n
4 t
n (
o
n
) e
0
X
1
t s
p
i o
t n
6
c (
e
t n
r e
0
c
o
o
d r
n i
a
e t
Y
6
8
X
2
n
d
p
i o
t n
c (
e
t n
r e
0
c
o
o
d r
n i
a
e t
Y
6
0
A
n
g
l u
r a
d
e
i v
t a
o i
n
0
Input terminal
VIDEO CAMERA1 CAMERA2
RS232C/RS422
Communication connector
(RS232C/RS422)
Camera 1 connector
1 Output a start signal.
2 Write data into the register.
n
3 Transmit completion
a
t l
r e
m
n i
t a
o i
) n
response.
a
m
e
a r
: 1
s
u
e r
m
e
t n
a
m
e
a r
2
n (
o
n
) e
* In this example, the write start
address has been set to 09000.
O
u
p t
t u
d
a
a t
) s
f
o r
m
m
e
a
s
u
e r
m
-
e
t n
1
u
s
n i
g
c
a
m
e
a r
) s
1
b (
o l
k c
) 1
18-31
Computer Link
IV-S30J main housing
IV-S30J
(plan view)
POWER
REMOTE
IV-S30J main housing
(side view)
IV-S30J
18

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents