Responses; Examples - Newland FM515 Series User Manual

Ivd scanners
Table of Contents

Advertisement

Enter Setup
and Data fields must be repeated for each command in sequence. If an additional command is to be applied to the same
Tag, then the command is separated with a comma (,) and only the SubTag and Data fields of the additional commands
are issued. If the additional command requires a different Tag field, the command is separated from previous command by
a semicolon (;).
If you need to configure the scanner by serial commands sent from the host device in real time, it is
recommended to use the temporary setting with Storage as '#'. The permanent setting with Storage as '@'
involves erasing and writing process, which will affect the service life of the flash memory.

Responses

Different from command sequence, the prefix of a response consists of the six characters of "<STX><SOH>0000" (HEX: 02
01 30 30 30 30).
The scanner responds to serial commands with one of the following three responses:
<ACK> (HEX: 06)
Indicates a good command which has been processed.
<NAK> (HEX: 15)
Indicates a good configuration command with its Data field entry out of the allowable range for this
Tag and SubTag combination (e.g. an entry for an inter-keystroke delay of 100 when the field will
only allow 2 digits), or an invalid query command.
<ENQ> (HEX: 05)
Indicates an invalid Tag or SubTag command.
When responding, the scanner echoes back the command sequence with the status character above inserted directly before
each of the punctuation marks (the comma or semicolon) in the command.

Examples

Example 1: Enable Code 11, set the minimum and maximum lengths to 12 and 22 respectively.
7E 01 30 30 30 30 40 43 31 31 45 4E 41 31 2C 4D 49 4E 31 32 2C 4D 41 58 32 32 3B 03
Enter:
(~<SOH>0000@C11ENA1,MIFM5152,MAX22;<ETX>)
Response: 02 01 30 30 30 30 40 43 31 31 45 4E 41 31 06 2C 4D 49 4E 31 32 06 2C 4D 41 58 32 32 06 3B 03
(<STX><SOH>0000@C11ENA1<ACK>,MIFM5152<ACK>,MAX22<ACK>;<ETX>)
Example 2: Query the current minimum and maximum lengths of Code 11.
** Exit Setup
130

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fm515-vFm515-h

Table of Contents