User`s manual

18-31
Computer Link
18
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.
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.
(1) Data flow
IV-S30J main housing
(side view)
Communication connector
(RS232C/RS422)
Camera 1 connector
Input terminal
IV-S30J main housing
(plan view)
Communication
port
Output module
Sharp’s PC (JW70H)
Camera 1
Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 READY C(−)
X0 X1 X2 X3 X4 X5 X6 C(+) +24V 0V
IV-S30J
VIDEO CAMERA1 CAMERA2 RS232C/RS422 REMOTE
POWER
OUTPUT
INPUT POWER
00040
Output relay
Start output
Description
Execution of measurement
IV-S30JSharp PC (JW70H)
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.
etirW
retsiger
ataD
)H(
noitpircseD
000901*00)noitanimretlamron(edocnoitanimreT
10090-
2009010)1(.oNepyttcejbO
30090-
4009010
51Yot0YtuptuotluseR
).KOsi0YylnO(
5009000
6009010
:1aremacgnisu0tnemerusaeM
tnemerusaemnoitaivedlanoitisoP
7009000
fonoitcnuftnemerusaeM
)enon(2aremacgnisu0tnemerusaem
0109000
fonoitcnuftnemerusaeM
)enon(1tnemerusaem
1109000
fonoitcnuftnemerusaeM
)enon(2tnemerusaem
2109000
fonoitcnuftnemerusaeM
)enon(3tnemerusaem
3109000
fonoitcnuftnemerusaeM
)enon(4tnemerusaem
4109004
X
tniopts1
retnec(
)setanidrooc
atadtuptuO
morf
-merusaem
gnisu1tne
aremac
)1kcolb(1
5109060
610900E
Y
7109060
0209089
X
tniopdn2
retnec(
)setanidrooc
12090D0
2209009
Y
3209060
4209000
noitaivedralugnA
5209000