17-10
Setting the Input/Output Conditions
17
When a Sharp PC is used, a write enable command (EWR) is transmitted from the IV-S30 to the PC
in the following cases.
- When the power is applied to the IV-S30.
- 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 SERIAL OUTPUT to the "COMPUTER LINK."
■
Setting order
Programmable
controller
■
Configuration example
Data
(Computer link)
Start sampling
input X0
Object type change
(paralell I/F)
-
See page 17-4.
Controller
Power supply
(24 VDC)
Monitor
Camera 1 (image cap CCD trigger)
Camera 2 (image capturing)
Remote keypad
Setting "17-3 CCD trigger"
[SYSTEM COND]
1
I/O CONDITIONS (TO NEXT SUB-MENU)
2
COMM.SET
(TO NEXT SUB-MENU)
3
COMPUTER LINK
(TO NEXT SUB-MENU)
[I/O CONDITIONS]
1
MEAS INP I/F
PSERIAL CCD-TRIG
2
START CCD SAMPLE AUTO(EDGE LEVL) PARALLEL USB
3
SERIAL OUTPUT NO PC-LINK SERIAL
(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 "17-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 MAIN OPS
MENU.
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 accd sampling by turning ON
measurement start input (X0).
READY signal is turned ON
at the clusion 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
IV-S33M: X1 to X6
or X1 to X5
Halt CCD
sampling by
turning OFF
measurement
start input
(X0).