Download CV-700 Series

Transcript
Chapter 8
RS-232C Interface
● Writing the environmental setting data
The environmental setting data is written to the current program number. The
stored setting data can be written from the PC to the CV-701(P)/751(P). Be sure to
save the data after writing.
Command
S B ,
Response
S B cr
Data Data Data
0
1
2
...
Data Check-
83
sum
cr
Checksum range: Data 0 to Data 83
Data 0 to Data 83: Binary data
Calculation is not necessary for the checksum.
Error
E R , S B , #1 #2 cr
Note: The environmental setting includes the white balance adjustment. When
setting two or more CVs, be sure to select the optimal white balance value for each
CV.
● Reading the registered screen
The image data for the registered screen is sent back to the PC. Data for one line
is sent in a single communication. To read the whole image, the transmission is
repeated to read the data from line 0 to 485.
Command
B R , Cn ,
Response
B R ,
Data Data
0
1
NUM NUM NUM
1
...
2
3
cr
Data Data Check-
510 511 sum
cr
Checksum range: Data 0 to Data 511 (512 data)
Data 0 to Data 511: Binary data
Cn: Camera No.
NUM: Line No. (Line 0 to 485) of image data
Calculation is not necessary for the checksum.
● Writing the registered screen
The stored image data in the PC is written to the CV’s registered screen. The
screen registration is saved when writing of image data of LINE 0 to 485 is completed.
8
Command
B W , Cn ,
Data Data Check-
510 511
Response
sum
NUM NUM NUM
1
cr
B W cr
Checksum range: Data 0 to Data 511 (512 data)
Data 0 to Data 511: Binary data
Cn: Camera No. (CAM1: 1, CAM2: 2)
NUM: Line No. (Line 0 to 485) of image data
Calculation is not necessary for the checksum.
184
2
3
,
Data Data
0
1
...