Chapter 22: Communication (General Purpose Serial Interface) - Sharp IV-C35M User Manual

Compact color image sensor camera
Hide thumbs Also See for IV-C35M:
Table of Contents

Advertisement

Chapter 22: Communication (General Purpose Serial Interface)

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

Advertisement

Table of Contents
loading

Table of Contents