11
Serial Programming Specifications
This is for the scan engine and via internal Com Port #
Serial Command Structure
“Start Character”<Command 1>…<Command n>”End Character”
The command structure consists of:
Start character
Command/s
End character
Start Character
Every serial programming starts with an SOH character (ASCII value 01). The SOH character is needed only
once for each set of commands, for example if there is a need to send two consecutive commands, it would
require one SOH character followed by the two commands and the End character.
Commands
Each command data is bounded in <> characters. For example, the factory default command is:
<FACDEF=1>
End Character
At the end of each set of command\s, the end character EOT (ASCII value 04) is required.
Scanner Responds
After each successful command\s, the scanner will respond with an ACK
character. If the command is incomplete or out of rang, then the scanner responds with a NAK character.
Example:
This is a command for setting the Factory defaults :
“SOH”<FACDEF=1>”EOT”
In Visual Basic:
Dim Command As String
Command = Chr$(1) & “<FACDEF=1>” & Chr$(4)
The scanner response is:
ACK
Changes will be effective after scanner ACK response.
.0 Working With Engine
Working With Engine