16-11
Setting the Input/Output Conditions
16
When a Sharp PC is used, a write enable command (EWR) is transmitted from the IV-S30J to the
PC in the following cases.
- When the power is applied to the IV-S30J.
- When a write mode nonconformity error (code 10
(H)
) occurs after a result write command (WRG)
is transmitted (when the power is disconnected from the PC).
- When the output method is changed from the "OUT I/F (PARAL.)" to the "COMPUTER LINK."
■
Setting order
1
→
2
(
→
3
)
Programmable
controller
■
Configuration example
Data
(Computer link)
Start sampling
input X0
Object type change
(parallel I/F)
-
See page 16-5.
Controller
Power supply
(24 VDC)
Monitor
Camera 1 (image cap CCD trigger)
Camera 2 (image capturing)
Remote keypad
2
START CCD SAMPL
3
OUT I/F(PARAL.)
NO
PC-LINK
SERIAL
AUTO(EDGE)
AUTO(LEVEL)
PARALLEL
SERIAL
1
MEAS INP I/F
PSERIAL
TRIG CCD START
IV-S3
*
M
OUTPUT
INPUT
POWER
Y7
Y0
Y1
Y2
Y3
Y4
Y5
Y6
COM
COM
+
24V
X7
X0
X1
X2
X3
X4
X5
X6
READY
0V
VIDEO
CAMERA1
CAMERA2
USB
RS232C/RS422
REMOTE
(6) Measurement start input = CCD trigger, start sampling = parallel, object type change =
parallel, result output = computer link/parallel
When the start sampling input (X0) is turned ON, the CCD trigger is enabled. (Sampling starts)
Note 1: When the settings listed in section "16-3 CCD trigger" have not been made, a "CCD TRIG
NOT SET. (error 34)" will occur.
Note 2: Start sampling input (X0)
1. Sampling will be performed while this input terminal is ON. When it is turned OFF, the
sampling will stop. During sampling, O will flash in the upper right corner of the operation
screen.
2. After the measurement is terminated, the sampling will be restarted when the X0 terminal
is changed from OFF to ON.
■
Time chart
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
P
C
Result output
Result output
Result
output
Result
output
Measurement
start input
(X0)
CCD trigger
cycle
Computer link
Start CCD sampling by turning ON
measurement start input (X0).
READY signal is turned ON
at the end of
the result output.
CCD trigger
window
(not highlighted)
Specified object type number
Black
White
Trigger
Trigger
Black
Terminate
measurement
(C119)
Measurement result is valid at the
end of a measurement
PC calculation
condition
Halt PC operation
during measurement
Halt PC operation
during measurement
When the object type is changed,
all Y output and auxiliary relays
turn OFF.
Parallel output is valid for PC control after
the measurement result is determined.
Parallel output
(Y0 to Y7)
READY output
(While measuring or setting = L)
Type selection
input
Halt CCD
sampling by
turning OFF
measurement
start input
(X0).
See page
16-5.