Omron MicroHAWK F320-F User Manual page 133

Smart camera
Table of Contents

Advertisement

Appendices
D-1 Serial Commands
Serial Command Syntax
< > = Required argument. Replace appropriately.
For example:
-u <DB_User_name> becomes -u av where av replaces DB_User_name.
| = Mutually exclusive arguments. Choose one from the list.
{ } = Used with | to specify a list of choices for an argument.
[ ] = Optional parameter.
Important: Unless otherwise stated, commands will respond with !OK on success and !ERROR on failure.
AUTOCAL [-exp={0|1}] [-expval={60-100000}] [-gain={0|1}] [-gainval ={0-100}]
[-focus={0|1}] [-focval{0-9999}]
Initiates camera calibration of gain, exposure, and focus. Each parameter is independent. Ranges are
device-dependent.
-exp enable=1 or disable=0 autocalibrate exposure.
-expval value of exposure in μs.
-gain enable=1 or disable=0 autocalibrate gain.
-gainval value of gain in percentage.
-focus enable=1 or disable=0 autocalibrate focus
-focval value of focus in mm.
Example 1:
Command: AUTOCAL
Response: 0;4632;134;50;300 (gain=0, exposure=4632 μs, focus=134, min allowable focus=50, max
allowable focus=300)
Example 2:
Command: OFFLINE
Response: !OK
Command: QUERYAUTOCAL
Response: 0;4632;134;50;300 (Gain was 0.)
Command: AUTOCAL -exp=1 -gain=0 -gainval=18 (Fixed gain at 18%.)
Response: 18;3308;128;50;300 (Gain did not change and exposure has changed from 4632 μs to
3308 μs.)
Example 3:
Command: OFFLINE
Response: !OK
Command: QUERYAUTOCAL
Response: 0;3478;226;50;300 (Exposure was 3478 μs.)
Command: AUTOCAL -exp=0 -expval=1000 (Fixed exposure at 1000 μs.)
Response: 31;1000;98;50;300 (Exposure stayed at 1000 μs and gain has changed from 0% to 31%.)
Important: AUTOCAL only functions when the camera is OFFLINE.
D-2
MicroHAWK F320-F / F330-F / F420-F / F430-F Smart Camera User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Microhawk f330-fMicrohawk f420-fMicrohawk f430-f

Table of Contents