User`s manual

17-1
Communication (General Purpose Serial Interface)
17
Chapter 17: Communication (General Purpose Serial Interface)
The IV-S30J can communicate with a personal computer that transmits commands and receives responses to
measurement execution commands.
17-1 List of processing functions
The following functions can be used for communication between the IV-S30J and a personal
computer (using the general-purpose serial interface).
Shown below is the relationship of each selection when code 10 to 14 are specified is shown below.
The conditions below are what is shown when the "PARALLEL+SERIAL" is selected on the " MEAS
INP I/F" on the "I/O CONDITIONS" selection screen.
Measurement
start
Output
selection
Serial output Object type change
General purpose
serial port
--- Command codes 10 to 12 Command codes 10 to 12
Parallel port
None --- Parallel
Computer link
SHARP/MITSUBISHI/
OMRON/YOKOGAWA
Parallel
General-purpose
serial
Response output from
command codes 11
Parallel
Cate-
gory
Processing
description
Code Functions
Measurement
execution
function 1
10
- Executes all measurement programs for a specified object type.
(You can make measurements by specifying a camera.)
- Outputs the ladder results (Y0 to 15).
Measurement
execution
function 2
11
- Executes all measurement programs for a specified object type.
(You can make measurements by specifying a camera.)
- Outputs the ladder results (Y0 to 15) and the measurement
data in block 0 for each measurement program.
Measurement
execution
function 3
12
- Executes all measurement programs for a specified object type.
(You can make measurements by specifying a camera.)
- Outputs the ladder results (Y0 to 15) and the measurement
result from a specified block for a specified measurement
number.
Measurement
execution
function 4
14
- Executes all measurement programs for a specified object type.
(You can make measurements by specifying a camera.)
- Outputs any numerical data selected by the IV-S30J.
Measurement
data reading 1
20
Reads the result of the last measurement
- Outputs the ladder results (Y0 to 15).
Measurement
data reading 2
21
Reads the result of the last measurement
- Outputs the ladder results (Y0 to 15) and the measurement
data in block 0 for each measurement program.
Measurement
data reading 3
22
Reads the result of the last measurement
- Outputs the ladder results (Y0 to 15) and the measurement
result from a specified block for a specified measurement number.
Measurement
data reading 4
24
- Reads the results of the last measurement from a specified
measurement code.
- Outputs any numerical data selected by the IV-S30J.
Illumination
reading
28
- Reads the amount of illumination measured by the lighting
monitor function, and the evaluation result.
Corrected light
level reading
29
- Reads the corrected light level measured by the lighting monitor
function, evaluation result and preset reference density.
Reading result
Executing measurement