Appendix
F
Serial Commands
F-6
HAWK MV-4000 Smart Camera Guide
SET <tagname> <value>
Sets value of a global tag.
The tagname must correspond to one of the supported tags within the device. Use the
INFO
command to get a full list of tags and services, as well as attributes of the tag and list
of subtags.
The value can contain spaces.
The command is terminated by a carriage return and/or line feed character.
The value can be a list of comma-separated items to set a sequence of tags:
Send
SET int1 1, 2, 3
to set int1 = 1, int2 = 2, int3 = 3.
The AVP service allows setting of step and datum information from the job tree using
forward slash ‘/’ in the symbolic name path.
SET avp/insp1/snapshot1/acq1/gain 2.0
paths are not case-sensitive and do not need to be fully qualified if unique.
SET avp/acq1/gain 2.0
will set the same gain value if there is only one acquire.
Control tags in the AVP service such as
START
,
STOP
, and
TRIGGER
act as momentary
switches.
SET avp.start 1
is equivalent to the
ONLINE
command.
avp.start
will reset
immediately and always read as
0
.
Success Return:
On success will return
!OK
followed by an echo of the command.
For example:
!OK SET matchstring1
Fail Return:
On failure will return
!ERROR
followed by the reason for the failure.
For example:
!ERROR Tag matchstring66 not found
SETFOCUSUNITS
Sets units used for autofocus, mm (0) or inches (1).
TARGET {0|1|off|on}
Turns targeting LEDs On or Off.
target 1
= Turn Target On
target 0
= Turn Target Off
TRIGGER
Triggers an inspection.
VERSION
Returns Visionscape software version.
Summary of Contents for HAWK MV-4000
Page 1: ...HAWK MV 4000 Smart Camera Guide 84 9007433 02 Rev A ...
Page 22: ...Chapter 2 System Components 2 8 HAWK MV 4000 Smart Camera Guide Standard HAWK MV 4000 Side ...
Page 66: ...Chapter 2 System Components 2 52 HAWK MV 4000 Smart Camera Guide ...
Page 94: ...Appendix C General Specifications C 14 HAWK MV 4000 Smart Camera Guide ...
Page 98: ...Appendix D MVMonitor Web Page D 4 HAWK MV 4000 Smart Camera Guide ...
Page 106: ...Appendix E CloudLink Web HMI E 8 HAWK MV 4000 Smart Camera Guide ...
Page 114: ...Appendix F Serial Commands F 8 HAWK MV 4000 Smart Camera Guide ...
Page 134: ...Appendix G Operating System Save and Restore G 20 HAWK MV 4000 Smart Camera Guide ...