EasyManua.ls Logo

Sharp IV-S20 - Program Examples

Sharp IV-S20
399 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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-S20Sharp 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.
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
31090-
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
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

Table of Contents