Omron MicroHAWK V320-F Series User Manual page 95

Autofocus multicode reader
Hide thumbs Also See for MicroHAWK V320-F Series:
Table of Contents

Advertisement

3-2-5
Controlling Operation from an External Device
The code reader can be controlled, have its settings viewed and changed from an external device with
the use of serial commands.
The serial commands of this code reader are divided broadly in to two different types.
• Serial Configuration Commands (K Commands)
Commands to change settings on this code reader.
• Serial Utility Commands
Commands used to test Read Rate, get code reader status and control automatic adjustments.
Serial Command Format
Explanation of how commands are formatted in Serial communication.
 Common Command Format for Serial Configuration Commands and Serial
Utility Commands
• Enclose the commands in brackets "< >".
• Characters used in commands and data are case-sensitive. Use either upper-case, or lower-
case characters as required.
• Serial commands can be linked together in a chain. For example, the following command sets
Trigger Mode to External Trigger/Edge, sets the End of Read Cycle condition to New Trigger, and
saves the setting.
<K200,3> <K220,1> <Z>
 Serial Configuration Command (K Commands) Format
• The K Commands consist of the letter K, followed by a three digit number and comma-separated
parameters as shown below.
<
K
Separator
• Some K Commands can change multiple parameters. For those, if the final parameter does not
need to be changed, it can be omitted.
For example, when using the K Command <K541> which is used for changing both Exposure
time and Gain, if you only need to change the Exposure time, it can be entered as follows.
<K541,1000>
• If the parameter that does not need to be changed is not the last in sequence, only the comma
delimiter for it is necessary.
For example, when using the K Command <K541> which is used for changing both Exposure
time and Gain, if you only need to change the Gain, it can be entered as follows.
<K541,,30>
• If any characters other than numeric values, such as Control characters, need to be used in the
command, they must be entered in hexidecimal format. If you need to include the characters <,>,
comma (,) as parameters, enter them as their hexadecimal value. To enter a hexadecimal value
as a parameter, add lowercase h immediately after the K command.
For example, to set CR (hexadecimal value: 0D) to the footer (postamble), you can enter it as
follows.
Autofocus Multicode Reader MicroHAWK V320-F/V330-F/V420-F/V430-F Series User Manual for Communication Settings (Z407-E1)
3 Controlling Operation and Data Output with Ethernet
Command
Parameter1
5
4
1
,
2
0
Comma
Parameter2
0
0
,
3
0
>
Comma
Separator
3
3-39

Advertisement

Table of Contents
loading

Table of Contents