How To Get Single Parameter From The Reader ........13 How to access installer parameters ............15 Save And Restore Commands..............16 Examples ....................19 VB14N PARAMETERS LIST..............22 Code Definition ................... 22 Operating Modes ..................34 Reading System Layout ................36 Device Network Setting................
HOST MODE PROGRAMMING HOST MODE PROGRAMMING An alternative method of programming the VB14N 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. This is called Host Mode Programming.
HOST MODE PROGRAMMING PROGRAMMING COMMANDS 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. From now on device is in CONNECTED state.
HOST MODE PROGRAMMING 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 a ID-NET™ Master/Slave layout. This message must always be transmitted to exit from programming mode. Exit Terminal Mode <ESC>...
HOST MODE PROGRAMMING SELF DISCONNECTION Specific situations exist so that the device is automatically disconnected from the Host and its IDLE state is reached again. Once connected, following message could be sent: DESCRIPTION HOST REPLY DEVICE MESSAGE Self Disconnection <ESC> [ A This message notifies a forced disconnection from the Host.
Page 7
HOST MODE PROGRAMMING 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 standalone device...
Page 8
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 standalone device...
HOST MODE PROGRAMMING PROGRAMMING STRINGS 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: Folder or Parameter Depth (not necessary if equal to 1) [#DepthX]: ...
Page 10
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 Integer (Type = 0) Range Minimum and maximum values allowed for the parameter.
Page 11
HOST MODE PROGRAMMING Item List 0 = On Line 1 = Automatic 3 = Test 4 = Continuous 0 (Entry 0 On Line) Default: String (Type = 2) Length Minimum and maximum number of characters allowed for this parameter. Example: Device Name parameter (USER INFORMATION SECTION folder).
Page 12
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. The sign can be omitted if the parameter value is not negative.
HOST MODE PROGRAMMING HOW TO SEND SINGLE PARAMETER TO THE READER To guarantee the complete compatibility with future software releases, It strongly suggests 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 14
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 VALUE: After entering this command, the device responds with the proper reply message and then waits for one or more programming strings.
HOST MODE PROGRAMMING HOW TO GET SINGLE PARAMETER FROM THE READER To guarantee the complete compatibility with future software releases, It strongly suggests 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 16
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.
HOST MODE PROGRAMMING HOW TO ACCESS INSTALLER PARAMETERS Set Right Parameter Description The 'Set Right' programming string allows the user to access some particular parameters not available as standard user: SR<space>L<space>PASSWORD<CR><LF> Where: 'Set Right' command Access Level Description ...
HOST MODE PROGRAMMING 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. P = Storage in temporary and permanent memory.
Page 19
HOST MODE PROGRAMMING 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 DEFNUM: currently: 0 = Factory Default After entering this command, the device responds with the proper reply message and then waits for one or more programming strings.
HOST MODE PROGRAMMING EXAMPLES - 1 - Set Minimum Label Length parameter in CODE LABEL SETTING #2 folder: Path: /Codes/Code#2/MinLength Shortcut: Type: 0 (Integer) Range: 0 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 22
HOST MODE PROGRAMMING After entering the programming string, the reader responds with the message: Y<space>1<CR><LF> - 3 - Set Device Name parameter in USER INFORMATION SECTION folder: Path: /UserInfo/Name Shortcut: Type: 2 (String) Length: 0 to 128 Value: 2KN_FAMILY The 'Set Parameter' programming string is: SP<space>/UserInfo/Name:2KN_FAMILY<CR><LF>...
Page 23
HOST MODE PROGRAMMING After enter the programming string, the reader responds with the message: Y<space>6<space> 484541444552<CR><LF> - 5 - Get value of Digital Output 2 Activation Event parameter in DIGITAL OUTPUT LINES SETTING folder: Path: /IO/Out/Out1/Active Shortcut: Type: 1 (Enumeration) 2 (Entry 2 ...
HOST MODE PROGRAMMING VB14N PARAMETERS LIST CODE DEFINITION PARAMETER COMPLETE PATH VALUE CODE DEFINITION Code Combination /Codes 0 = Single Label /MultiLabel 1 = Standard Multi Label 2 = Logical Combination 3 = Code Collection Logical Combination /Codes Length: 0 to 64...
Page 25
HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE Multiple Read is /Codes 5036 1 0 = No Read treated as /LedIndic 1 = Good Read /MultipleReadAs LOCAL NO READ STRINGS #N (DEPTH: N = 1 to 15) Group Label Local /Codes Length: 0 to 48 No Read String /LocNoReadComb...
Page 26
HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE 11 = Staff Member 12 = Nat. Product Code 13 = Nat. Special Testing 14 = Nat. Use Bar Code 15 = Nat. CUE Status 16 = Nat. Donor ID Chain 1: - Right /Codes 5003 1 0 = None...
Page 27
HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE Chain 6: Left - /Codes 5012 1 0 = None /Symbology 1 = Donation ID /Cod128Par … /Chain6Left 16 = Nat. Donor ID Chain 6: - Right /Codes 5013 1 0 = None /Symbology 1 = Donation ID /Cod128Par...
Page 28
HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE Decoding Severity /Codes 5044 0 Range: 1 to 5 /Symbology /Cod39Par /DecSev Inter Character Gap /Codes 5045 0 Range: 1 to 12 /Symbology /Cod39Par /InterCharGap FAMILY SETTING / EAN-UPC Decoding Safety /Codes 5053 0 Range: 1 to 100 /Symbology /EanUpc...
Page 29
HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE Decoding Severity /Codes 5050 0 Range: 1 to 5 /Symbology /CodBarPar /DecSev Inter Character Gap /Codes 5051 0 Range: 1 to 12 /Symbology /CodBarPar /InterCharGap ABC Codabar /Codes 5001 1 0 = Do Not Chain Concatenation /Symbology 1 = Optional Chain...
Page 30
HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE FAMILY SETTING / PLESSEY Decoding Safety /Codes 5271 0 Range: 1 to 100 /Symbology /Pharmacode /DecSaf Decoding Severity /Codes 5272 0 Range: 1 to 5 /Symbology /Pharmacode /DecSev CODE LABEL SETTING #N (DEPTH: N = 1 to 10) Enable /Codes 0 = Disable...
HOST MODE PROGRAMMING OPERATING MODES PARAMETER COMPLETE PATH VALUE OPERATING MODES Operating Mode /Operating 0 = On Line Selection /Selection 1 = Automatic 4 = Continuous 3 = Test On Line Options /Operating 0 = On Line 1 input /OnLOpt 1 = On Line 2 input 2 = Serial On Line Extended Phase...
Page 37
HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE Automatic Operating Range: 10 to 32765 Threshold (number /AutomaticThreshold of scans) Start Input from /Operating 5313 0 = Disable FieldBus /FieldbusOnl 1 = Enable Continuous /Operating 5185 Range: 10 to 32765 Threshold (number /ContThreshold of scans) Code Filter Depth...
HOST MODE PROGRAMMING DATA COMMUNICATION SETTING PARAMETER COMPLETE PATH SHC PT VALUE DATA COMMUNICATION SETTING Host Application /Comms 0 = Standard Protocol Type /Application 1 = Crisplant DATA FORMAT Header TX Start /Comms 0 = With Data /OutForm 1 = After Reading Phase /HeadTx Termination after /Comms...
HOST MODE PROGRAMMING DIGITAL I/O SETTING PARAMETER COMPLETE PATH SHC PT VALUE BUILT-IN DIGITAL INPUT LINES Input 1 Active Level 0 = Active Closed Overridden by /In/In1Lev 1 = Active Open Operating Mode Input 2 active level 0 = Active Closed Overridden By /In/In2Lev 1 = Active Open...
Page 70
HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE Deactivation Event 0 = None /Out/Out0 7 = Timeout /Deactive 5 = Phase On 6 = Phase Off 8 = Quality Counter >= Threshold Alternative 0 = None Deactivation Event /Out/Out0 5 = Phase On /Deactive1 6 = Phase Off 8 = Quality Counter >=...
Page 71
HOST MODE PROGRAMMING PARAMETER COMPLETE PATH VALUE 3 = No Read 5 = Phase On 6 = Phase Off 8 = Multiple Read 9 = Right 10 = Wrong 11 = Ready 12 = Quality Counter < Threshold Alternative 0 = None Activation Event /Out/Out1 1 = Complete Read...
HOST MODE PROGRAMMING SYSTEM INFORMATION SECTION PARAMETER COMPLETE PATH VALUE DEVICE INFORMATION Serial Number /SystemInfo 5172 0 Range: 1 to 255 /Model /SerialNumber...
HOST MODE PROGRAMMING 4.12 USER INFORMATION SECTION PARAMETER COMPLETE PATH SHC PT VALUE USER INFORMATION SECTION User Name /UserInfo Length: 0 to 32 /EndUser Device Name /UserInfo Length: 0 to 128 /Name Line Name /UserInfo Length: 0 to 128 /Line...
(for Serial On Line operating mode option) to a Slave device in an ID-NET™ reading system layout. The VB14N 'Send String To Slave Device #N' special command must have the following format: <ESC> ( <B0 > ADDR STRING ) <ESC>...
HOST MODE PROGRAMMING CONTROL RULES TABLE This chapter provides a list of the most important control rules that can be applied to the VB14N parameters. PARAMETER CONTROL RULES CODE DEFINITION Must be Single Label and Code Collection if...
Page 87
HOST MODE PROGRAMMING PARAMETER CONTROL RULES Must be Leading if Enable Stop Phase Edge Extended Phase (only for On Line 2 Input) On Line. ACK/NAK Not available if Operating Mode Selection Slave Protocol Not available if Scanner Cluster Topology Role Synchronized.
Page 88
HOST MODE PROGRAMMING PARAMETER CONTROL RULES DIGITAL OUTPUT LINES SETTING Enabled. Activation Event, Not available if Activate On Any Diagnostics Error Alternative Activation Event, Deactivation Event, Alternative Deactivation Event STATISTICS Slave Enable Not available if Local Device Alternative Network Setting RS232 (Type A).
HOST MODE PROGRAMMING ERROR CODES TABLE This chapter 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 VB14N and is the answer not in the manual?
Questions and answers