🧾 Description
Explanation about Software Configuration Strings (aka service port commands).RS-232 models (as well as USB models with the USB-COM Interface selected) can be configured using the serial strings contained in this chapter.
🛠️ Resolution Steps
To configure RS-232 models by using the configuration strings:
Connect your reader to a PC RS-232 port according to the scanner's PRG.
- Using Datalogic Aladdin or a serial terminal emulation program, suggest sending the Restore Current Interface (Custom) Default string to the reader using the syntax described below.
- Send all the necessary command strings according to your application's requirements.
- NOTE: To configure the reader using configuration strings you must enter Service Mode, which automatically sets the reader communication to 115200 baud rate. You must therefore set the host accordingly for RS-232 communications. Upon exiting Service Mode, the programmed baud rate will be restored.
To configure USB models (only for USB-COM Interface) by using the configuration strings:
- Note: USB models by default have the USB-COM Interface selected. They can be easily configured by reading the barcodes in the scanner's PRG
- Download and install the USB-COM driver from www.adc.datalogic.com.
- Connect your reader to a PC USB port according to the information from the scanner's PRG.
- Change the interface to USB-COM by reading the Interface USB Com barcode.
Using a Terminal Emulation Program, send the Restore Current Interface (Custom) Default string to the reader using the syntax described on the next page.
Send all the necessary command strings according to your application's requirements.
Command Syntax
- Enter Service (Serial String Programming) Mode
$S<CR>
- Note: This command automatically sets the reader communication to 115200 baud rate. Before continuing, please set the baud rate of the Terminal Emulation Program to 115200.
- Send Command
Where:
| Command: | Description |
| HAXX | Interface Selection |
| AA | Enable All Symbologies |
| AD | Disable All Symbologies |
| R | Reset Reader |
| CXXXXXX | Write Single Configuration Item to RAM |
| Parameter: | |
| XXXX | A 4-character ASCII string See Serial Configuration Strings Table |
| Value: | |
| XX | A 2-character Hex string See Serial Configuration Strings Table |
- Apply and Save Configuration to FLASH (permanent memory) and Exit Ser- vice Mode
$Ar<CR>
Example 1:
- $S<CR>
Enter Service Mode.
- $CLFCA02<CR>
Write command "Convert to Lower Case" to current configuration.
- $Ar<CR>
Apply and Save Configuration to FLASH (permanent memory) and Exit Ser- vice Mode.
Each configuration parameter setting removes the condition previously active for that parameter.
Example 2:
1. $S<CR>
Enter Service Mode.
2. $HA05<CR>
Select RS232 Interface.
3. $Ar<CR>
Apply and Save Configuration to FLASH (permanent memory) and Exit Ser- vice Mode.
Example 3:
1. $+$!<CR>
Read Application Software Release.
Example 4:
Some parameters (ex. Strings) need to insert all the characters (typically 20 Chrs). For example, to apply the Chr "T" (0x54) as Serial Stop String:
1. $S<CR>
Enter Service Mode
2. $CSTON5400000000000000000000000000000000000000<CR>
Select the string:"T" (54 = T) as Serial Stop Character. You must insert all the 20 Chrs (00 = one empty Chr)
- $Ar<CR>
Apply and Save Configuration to FLASH (permanent memory) and Exit Ser- vice Mode.
SERIAL CONFIGURATION STRINGS
| ENTER/EXIT CONFIGURATION COMMANDS | |
| Description Enter Service Mode (configuration) fixed 115200 Baud rate | Command S |
| Exit Service Mode (configuration) return to programmed Baud rate | s |
| Apply Configuration to RAM (temporary memory) and Exit Service Mode | r01 |
| Apply and Save Configuration to FLASH (permanent memory) and Exit Service Mode | Ar |
- Note: To configure the reader using configuration strings, it must be placed into Service Mode, which automatically sets the reader communication to 115200 baud rate. You must therefore set the host accordingly for RS-232 communications. Upon exiting Service Mode, the programmed baud rate will be restored.
| CONFIGURATION COMMANDS | |
| Description | Command |
| Write Single Configuration Item to RAM (temporary memory) | Cxxxxxx |
| Read Single Configuration Item from RAM (temporary memory) | cxxxx |
| Reset Reader | R |
| Read Application Software Release (does not require Enter/Exit Service Mode) | $+$! |
| Host Commands Obey | CIFIH00 |
| Host Commands Ignore | CIFIH01 |
| Enable All Symbologies | AA |
| Disable All Symbologies | AD |
- Note: The Interface Selection commands store and load the new interface type with its factory defaults into the current configuration.
| INTERFACE SELECTION COMMANDS | |
| Description | Command |
| Restore Current Interface (Custom) Default Configuration | HA00 |
| RS232-STD | HA05 |
| USB-COM | HA47 |
| RS232-Wincor-Nixdorf | HA12 |
| USB-KBD | HA35 |
| USB-KBD-ALT | HA2B |
| USB KBD-APPLE | HA2C |
To read or write any particular parameter setting, refer to the scanner's PRG, QRG, Aladdin and any other resource available to look up the configuration item.
==========
References
- This information was extracted from the GFS4400 PRG. However, this information applies to all Handhelds HHS products.
- Link to another knowledge article: https://datalogic.crm4.dynamics.com/main.aspx?appid=09fd3f09-d340-4852-a5e5-303417d15960&forceUCI=1&pagetype=entityrecord&etn=knowledgearticle&id=cc42d1da-9b5a-4b2b-aaff-6bc2d6356d9c
