CONTENTS HOST MODE PROGRAMMING................... 1 PROGRAMMING COMMANDS ................... 2 Connection To Device ....................2 Disconnection From Device..................3 Self Disconnection ......................4 PROGRAMMING STRINGS..................7 Definitions ........................7 How To Send Single Parameter To The Reader ............11 How To Get Single Parameter From The Reader ............13 How To Access Installer Parameters................
HOST MODE PROGRAMMING 1 HOST MODE PROGRAMMING An alternative method of programming the 6K family and the 8KA family laser scanners is by sending programming strings. These strings must be transmitted from the Host system to the device either on the auxiliary RS232 serial interface or on the main RS232/RS485 serial interface, or, if available, on the Ethernet System Socket.
6K-8KA FAMILY HOST MODE PROGRAMMING 2 PROGRAMMING COMMANDS 2.1 CONNECTION TO DEVICE DESCRIPTION HOST COMMAND REPLY MESSAGE Enter Host Mode <ESC> [ C <ESC> H <CR><LF> After entering this command, the device responds with the first reply message and then waits for the following command.
PROGRAMMING COMMANDS 2.2 DISCONNECTION FROM DEVICE DESCRIPTION HOST COMMAND REPLY MESSAGE Exit Programming Mode <ESC> d M <B0 > ADDR <ESC> d <CR><LF> Where ADDR is the address of the device in an LONWORKS Master/Slave layout. This message must always be transmitted to exit from programming mode. Exit Terminal Mode <ESC>...
6K-8KA FAMILY HOST MODE PROGRAMMING 2.3 SELF DISCONNECTION Specific situations exist where the device is automatically disconnected from the Host and is restored to the IDLE state. Once connected, the following message could be sent: DESCRIPTION HOST REPLY DEVICE MESSAGE Self Disconnection <ESC>...
Page 9
PROGRAMMING COMMANDS HOST DEVICE <ESC> [ C (Enter Host Mode) <ESC> H <CR><LF> <ESC> ] B (Enter Terminal Mode) <ESC> R <CR><LF> <ESC> c M <B0 > 0 (Enter Programming Mode) <ESC> c <CR><LF> Figure 1 - Connection to Stand Alone Device...
Page 10
6K-8KA FAMILY HOST MODE PROGRAMMING HOST DEVICE <ESC> d M <B0 > 0 (Exit Programming Mode) <ESC> d <CR><LF> <ESC> I A <space> (Exit Terminal Mode) <ESC> K <CR><LF> <ESC> [ A (Exit Host Mode) <ESC> X <CR><LF> Figure 2 - Disconnection from Stand Alone Device...
PROGRAMMING STRINGS 3 PROGRAMMING STRINGS 3.1 DEFINITIONS Common definitions for each parameter are: Path The complete parameter path must have the following format: /Folder1[#Depth1]/Folder2[#Depth2]/ … /FolderN[#DepthN]/Param[#DepthM] Where: Folder Name FolderX: [#DepthX]: Folder or Parameter Depth (not necessary if equal to 1) ...
Page 12
6K-8KA FAMILY HOST MODE PROGRAMMING Type (Parameter Type) Parameter type is essential in order to decide the parameter VALUE format used in the programming strings. Types are: Type Integer (Numeric) Type Enumeration Type String Type Binary String Type Floating Point The other definitions change according to the parameter type.
Page 13
PROGRAMMING STRINGS String (Type = 2) Length Minimum and maximum number of characters allowed for this parameter. Example: Device Name parameter (USER INFORMATION SECTION folder). Path: /UserInfo/Name Shortcut: Type: Label: Device Name (max. 128 chars) Length: 0 to 128 Default: Empty string Binary String (Type = 3) The value of a Binary String parameter must have the following format:...
Page 14
6K-8KA FAMILY HOST MODE PROGRAMMING Floating Point (Type = 4) The Floating Point parameter value has the following format: XXX.YYY Range Minimum and maximum values allowed for the parameter. Example: Max Angle parameter (OSCILLATING MIRROR folder). Path: /Reading/Oscillating/ContMaxAngle Shortcut: Type:...
PROGRAMMING STRINGS 3.2 HOW TO SEND SINGLE PARAMETER TO THE READER To guarantee the complete compatibility with future software releases, It is strongly suggested to use the shortcuts programming strings. NOTE Using Complete Parameter Path The 'Set Parameter' programming string must have the following format: SP<space>PATH:VALUE<CR><LF>...
Page 16
6K-8KA FAMILY HOST MODE PROGRAMMING Using Short Parameter Description (Shortcut) The 'Set Shortcut' programming string (based on the short parameter description) must have the following format: SS<space>SHORTCUT:VALUE<CR><LF> Where: 'Set Shortcut' command Short Parameter Description (SHC) SHORTCUT: Parameter Value...
PROGRAMMING STRINGS 3.3 HOW TO GET SINGLE PARAMETER FROM THE READER To guarantee the complete compatibility with future software releases, It is strongly suggested to use the shortcuts programming strings. NOTE Using Complete Parameter Path The 'Get Parameter' programming string must have the following format: GP<space>PATH<CR><LF>...
Page 18
6K-8KA FAMILY HOST MODE PROGRAMMING Using Short Parameter Description (Shortcut) The 'Get Shortcut' programming string (based on the short parameter description) must have the following format: GS<space>SHORTCUT<CR><LF> Where: 'Get Shortcut' command. Short Parameter Description (SHC). SHORTCUT: After entering this command, the device responds with the proper reply message and then waits for one or more programming strings.
N<space>ERRCODE<CR><LF> Where: Error Code (signed DEC value) ERRCODE: For information on Error Codes see the "Error Codes Table" in the Appendix. To set the INSTALLER level (the only one available outside the Datalogic Company) use: SR<space>1<space>STHD<CR><LF> NOTE...
6K-8KA FAMILY HOST MODE PROGRAMMING 3.5 SAVE AND RESTORE COMMANDS The 'Data Storage' programming command must have the following format: E<space>MODE<CR><LF> Where: Data Storage command. Data Storage mode. The possible values are: MODE: V = Storage in temporary (volatile) memory only.
Page 21
PROGRAMMING STRINGS The 'Restore Default Configuration' programming command must have the following format: SD<space>DEFNUM<CR><LF> Where: Restore Default configuration command Default configuration number. The only possible value is currently: DEFNUM: 0 = Factory Default After entering this command, the device responds with the proper reply message and then waits for one or more programming strings.
Page 22
6K-8KA FAMILY HOST MODE PROGRAMMING HOST DEVICE SP<space>PATH1:VALUE1<CR><LF> (Set parameter 1) Y<space>VALUE1<CR><LF> SP<space>PATH2:VALUE2<CR><LF> (Set parameter 2) Y<space>VALUE2<CR><LF> E<space>MODE<CR><LF> (Data Storage) Y<space>MODE<CR><LF> Figure 3 - Two Parameters Programming Session With Data Storage...
PROGRAMMING STRINGS 3.6 EXAMPLES - 1 - Set Minimum Label Length parameter in CODE LABEL SETTING #2 folder: Path: /Codes/Code#2/MinLength Shortcut: Type: 0 (Integer) Range: 1 to 60 Value: The 'Set Parameter' programming string is: SP<space>/Codes/Code#2/MinLength:4<CR><LF> The 'Set Shortcut' programming string is: SS<space>3#2:4<CR><LF>...
Page 24
6K-8KA FAMILY HOST MODE PROGRAMMING - 3 - Set Device Name parameter in USER INFORMATION SECTION folder: Path: /UserInfo/Name Shortcut: Type: 2 (String) Length: 0 to 128 Value: 6K_FAMILY The 'Set Parameter' programming string is: SP<space>/UserInfo/Name:6K_FAMILY<CR><LF> The 'Set Shortcut' programming string is: SS<space>522:6K_FAMILY<CR><LF>...
Page 25
PROGRAMMING STRINGS - 5 - Set Min Angle parameter in OSCILLATING MIRROR folder: Path: /Reading/Oscillating/ContMinAngle Shortcut: Type: 4 (Floating Point) Range: -2.5 to 37.5 Value: -1.5 The 'Set Parameter' programming string is: SP<space>/Reading/Oscillating/ContMinAngle:-1.5 <CR><LF> The 'Set Shortcut' programming string is: SS<space>256:-1.5<CR><LF>...
Page 26
6K-8KA FAMILY HOST MODE PROGRAMMING - 7 - Get value of No Read String parameter in CODE DEFINITION folder: Path: /Codes/NoReadStr Shortcut: Type: 3 (Binary String) Current Value: Empty string The 'Get Parameter' programming string is: GP<space>/Codes/NoReadStr<CR><LF> The 'Get Shortcut' programming string is: GS<space>9<CR><LF>...
PARAMETERS LIST PARAMETER COMPLETE PATH VALUE Start Character /Codes 0 = Disabled Transmission /Code#N 2 = Lower Case (only for Codabar) /StartChTx 3 = Upper Case Stop Character /Codes 0 = Disabled Transmission /Code#N 2 = Lower Case (only for Codabar) /StopChTx 3 = Upper Case Stacked Code Margin /Codes...
Page 34
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH PT VALUE Stop Priority /Operating 0 = Input / SerialStop /ONLStopPrio 1 = Always Timeout Automatic Threshold Operating Range: 10 to 32765 (number of scans) /AutomaticThreshold Continuous /Operating Range: 10 to 32765...
Page 35
PARAMETERS LIST PARAMETER COMPLETE PATH PT VALUE Direction Input /Operating Range: 1 to 4 /PktrInDir Reverse Direction /Operating 0 = Closed Level /PktrInDirLev 1 = Open Reverse Presence /Operating Range: 1 to 4 Sensor Input /PktrPsRev Reverse Presence /Operating 0 = Active Closed Sensor Input Level /PktrPsRevLev 1 = Active Open...
Page 36
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH PT VALUE Replicate same code /Operating 0 = Disable when X positions /CodUseCoordinateX 1 = Enable don't match Replicate same code /Operating 0 = Disable when Y positions /CodUseCoordinateY 1 = Enable...
Page 37
PARAMETERS LIST PARAMETER COMPLETE PATH PT VALUE Protocol Index /Operating 0 = Length In Length /ProtocolIndexParameters Message /AuxPar/PILengthAux 1 = Variable length 3 = 3 4 = 4 5 = 5 … 12 = 12 No Index Char /Operating Length: 0 to 1 /ProtocolIndexParameters /AuxPar/NOIndexCharAux Protocol Index...
Page 38
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH PT VALUE PROTOCOL INDEX PARAM. / ETH1 / PIUSERSOCKET #N (DEPTH: N = 1 to 3) Use Socket /Operating 0 = Disable /ProtocolIndexParameters 1 = Enable Without /Eth1/PIUserSocket#N Request Message /SockEn 2 = Enable With...
Page 39
PARAMETERS LIST PARAMETER COMPLETE PATH PT VALUE NVS9000 HYBRID SYSTEM SLAVE PARAMETERS / READ INFO MESSAGE Distance from Read /Operating/NVSHS/NVSRI Info Message to /NVSSockTxRI Trigger Line (mm) Distance From NVS /Operating/NVSHS/NVSRI Trigger Line And /NVSDELTA 6/8K Reference Line (mm) Encoder /Operating/NVSHS/NVSRI 1 = Input 1 Synchronization...
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH PT VALUE 6/8K SCANNER HYBRID SYSTEM SLAVE PARAMETERS / HEARTBEAT MSG 6/8K Scanner /Operating/SLVHS/SLVHB Range: 5 to 3600 Heartbeat Timeout /SLVHBSockTimeOutHB (sec) 4.3 READING SYSTEM LAYOUT PARAMETER COMPLETE PATH VALUE READING SYSTEM LAYOUT...
Page 41
PARAMETERS LIST PARAMETER COMPLETE PATH VALUE Code EAN 8 /Layout/SlvPar/CodPar 0 = Disable /EAN8 1 = Enable Code UPC A /Layout/SlvPar/CodPar 0 = Disable /UPCA 1 = Enable Code UPC E /Layout/SlvPar/CodPar 0 = Disable /UPCE 1 = Enable EAN/UPC /Layout/SlvPar/CodPar 0 = Disable ADD ON 2...
Page 42
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE Length Type /Layout/SlvPar/CodPar 0 = Variable /CodBarPar/Lentyp 1 = Fixed CODABAR FIXED LENGTH #N (DEPTH: N = 1 to 12) Fixed Length /Layout/SlvPar/CodPar Range: 1 to 50 /CodBarPar/Digit#N CODE 93 PARAMETERS...
Page 43
PARAMETERS LIST PARAMETER COMPLETE PATH VALUE Reconstruction /Layout/SlvPar/RecPar Range: 1 to 5 Severity /RecSev Max Stacked Codes /Layout/SlvPar/RecPar Range: 1 to 3 /MaxStCd Out Codes Per /Layout/SlvPar/RecPar Range: 1 to 3 Cluster /OutCdPC Inter Character Gap /Layout/SlvPar/RecPar Range: 2 to 8 /InterChG LONWORKS SINGLE SLAVES PARAMETERS (for backward compatibility) SLAVE NUMBER #N (DEPTH: N = 1 to 31)
Page 45
PARAMETERS LIST PARAMETER COMPLETE PATH VALUE Ratio /Extended/AddonOverflow Addon Overflow Stop /Reading/Reconstruction Range: 1 to 50 Ratio /Extended /AddonOverflowStop Max Distance /Reading/Reconstruction Range: 1 to 256 between EAN/UPC /Extended/AddonDistance and Addon (in modules) SCAN LINE AMPLITUDE Amplitude Settings /Reading/ScanAmp 0 = Disable Enable /Enable 1 = Enable...
Page 46
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE Angle 1 (degrees) /Reading/ADRAngle1 Range: -2,5 to 37,5 Angle 2 (degrees) /Reading/ADRAngle2 Range: -2,5 to 37,5 Angle 3 (degrees) /Reading/ADRAngle3 Range: -2,5 to 37,5 Angle 4 (degrees) /Reading/ADRAngle4 Range: -2,5 to 37,5...
PARAMETERS LIST PARAMETER COMPLETE PATH VALUE Leg 2: Ignore From /Reading/Flash/DFlash Range: 0 to 100 Stop (%) /FilterOnXStop OSCILLATING MIRROR (DS6X00-105-XXX and 8KA-XXX5 models only) Oscillating Mode /Reading/Oscillating 0 = Off Line /Mode 1 = Fixed 2 = Continuous Angle /Reading Range: -2.5 to +37.5 /Oscillating/FixedAngle...
Page 48
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH SHC PT VALUE Termination after No /Comms 0 = Disable Read Message /OutForm 1 = Enable /TermAfter Message Tx selection /Comms 0 = On Decoding (On Line /OutForm 1 = After Reading...
Page 49
PARAMETERS LIST PARAMETER COMPLETE PATH SHC PT VALUE DATA FORMAT / CUSTOM CODE IDENTIFIER STRINGS Code 128 Identifier /Comms/OutForm Length: 1 to 32 String /codIDStr/cod128 Code Interleaved 2/5 Comms/OutForm Length: 1 to 32 Identifier String /codIDStr/cod25IL Code 39 Standard Comms/OutForm Length: 1 to 32 Identifier String /codIDStr/cod39...
Page 50
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH SHC PT VALUE Code Direction /Comms/OutForm 0 = Disable Identifier Enable /Standard/DirEn 1 = Enable Forward Direction /Comms/OutForm Length: 0 to 32 String /Standard/FwDirection Reverse Direction /Comms/OutForm Length: 0 to 32 String...
Page 51
PARAMETERS LIST PARAMETER COMPLETE PATH SHC PT VALUE Code Field Length /Comms/CargoPar Range: 0 to 48 /FieldLen Data Justification /Comms/CargoPar/FillDir 0 = Left 1 = Right Fill Character /Comms/CargoPar/FillCh Length: 1 Header String /Comms/CargoPar/Header Length: 0 to 128 Termination String /Comms/CargoPar Length: 0 to 128 /Terminator...
Page 52
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH SHC PT VALUE Debug Data on Main /Comms/CargoPar 0 = Disable Serial Channel /OutMsg/DbgSerMain 1 = Enable Debug Data on /Comms/CargoPar 0 = Disable Auxiliary Serial /OutMsg/DbgSerAux 1 = Enable Channel Debug Data on User...
Page 53
PARAMETERS LIST PARAMETER COMPLETE PATH SHC PT VALUE Start with '420' length /Comms/CargoPar 0 = Disable 8 or 12 /CarCodes 1 = Enable /UPSFIlter/POS/POS420 Start with '421' length /Comms/CargoPar 0 = Disable from 6 to 15 /CarCodes 1 = Enable /UPSFIlter/POS/POS421 Start with '51L' length /Comms/CargoPar...
Page 54
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH SHC PT VALUE Send Diagnostic Info /Comms 0 = Disable /SerMain/SDSMAIN 1 = Enable MAIN SERIAL PORT PARAMETERS Main Port /Comms/SerMain 0 = Standard Communication Mode /Line/Mode 1 = MUX 32 Slave...
Page 55
PARAMETERS LIST PARAMETER COMPLETE PATH SHC PT VALUE Filler Position /Comms/SerMain 0 = Before Data (Siemens RK512) /Line/SRKFillerPos 1 = After Data AUXILIARY SERIAL PORT Search For Backup /Comms/SerAux 5247 1 0 = Disable Memory at Device /SearchForCBX 1 = Enable Startup Data Tx /Comms/SerAux...
Page 56
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH SHC PT VALUE MAC Address /Comms/Ethernet Length: 0 to 16 (Read-only) /System/MAC Ethernet Speed /Comms/Ethernet 0 = Auto /System/Eth_speed 1 = 10Mbit Half 2 = 10Mbit Full 3 = 100Mbit Half 4 = 100Mbit Full"...
Page 57
PARAMETERS LIST PARAMETER COMPLETE PATH SHC PT VALUE ETHERNET / SERVICES / MODBUS CLIENT Status /Comms/Ethernet 0 = Disable /Services/ModbusClient 1 = Enable /Status Data Tx /Comms/Ethernet 0 = Disable /Services/ModbusClient 1 = Enable /ModbusC Server Address /Comms/Ethernet Max Length: 256 /Services/ModbusClient /Server_address Start Register...
Page 58
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER COMPLETE PATH SHC PT VALUE ETHERNET / SERVICES / USER SOCKET #N (DEPTH: N = 1 to 3) Status /Comms/Ethernet 0 = Disable /Services/UserSocket#N 1 = Enable /Status Data Tx /Comms/Ethernet 0 = Disable...
Page 59
PARAMETERS LIST PARAMETER COMPLETE PATH SHC PT VALUE Termination Char /Comms/DeviceNet Range: 0 to 31 Value /SerialData /InStrSuffixValue Buffer Flush Enable /Comms/DeviceNet 0 = Disable /SerialData 1 = Enable /BufFlushEnable Buffer Flush Delay /Comms/DeviceNet Range: 8 to 9999 (milliseconds) /SerialData /BufFlushDelay DEVICENET / BUS COMMUNICATION Data Rate...
SPECIAL COMMANDS AND TABLES SPECIAL COMMANDS AND TABLES CONTROL RULES TABLE This paragraph provides a list of the most important control rules that can be applied to the 6K and 8KA Family parameters. PARAMETER CONTROL RULES CODE DEFINITION Must be Single Label and Code Collection if Code Combination Host Application Protocol Type...
Page 70
6K-8KA FAMILY HOST MODE PROGRAMMING PARAMETER CONTROL RULES VERIFIER Single Label. Code Verifier Not available if Code Combination On Line and Automatic Not available if Operating Mode Selection and Continuous. READING SYSTEM LAYOUT Device Assignment Must be Master RS232 (Type A) and Slave RS232 (Type A) if ...
SPECIAL COMMANDS AND TABLES ERROR CODES TABLE This paragraph provides a list of the most important error codes. CODE INTERPRETATION COMMAND PARSING Parameter does not exist. Invalid range. Wrong syntax error. Wrong shortcut error. Path not found. Unknown command. Too many parameters in the programming string. No command is present in the programming string.
Need help?
Do you have a question about the 6K-8KA FAMILY and is the answer not in the manual?
Questions and answers