QuickServer Start-up Guide
Page 26 of 43
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
Appendix A.1.3.
Configure DIP switches S0 – S3
The S0 - S3 DIP switch selection is read directly into a Data Array. This Data Array value can be used for customized
operations such as config file selection which allows a FieldServer to be loaded with several configurations /
profiles that are selected based on a Data Array value. See the example below where a Config Table and Dynamic
Parameter can be used in conjunction with the DIP Switches to achieve this type of customization. .
In this example, 5 configs will need to be downloaded to the QuickServer: config.csv (base config), profile1.csv,
profile2.csv, profile3.csv and profile4.csv. The profile configs will be configured as per FieldServer standard
configuration templates. The base config will be used to select the appropriate profile config to load.
Column Title
Function
Legal Values
Config_Table_Name Provide name for Config Table
Up
to
32
alphanumeric
characters
Table_Index_Value
A unique value that will be used to identify which table entry needs to
be used.
Table_String
A String value, representing the filename of the profile to be loaded
for the corresponding Table_Index_Value.
1-10, 000
Restart_Method*
The specified config or profile is loaded on start-up. If the parameter
is configured as On_Change, the QuickServer will restart and reload
the specified config every time the Data_Array value changes.
Otherwise the config or profile will remain unchanged even if the
Data_Array value changes.
On_Change,
Never,
_
Data_Arrays
Data_Array_Name , Data_Format
, Data_Array_Length
, Data_Array_Function , Scan_Interval
DA_LOAD_CSV
, UINT16
, 1
, Dip_Switches_S
, 2s
Config_Table
Config_Table_Name , Table_String , Table_Index_Value
csvfilenames
, profile1.csv , 1 // Profile config 1
csvfilenames
, profile2.csv , 2 // Profile config 2
csvfilenames
, profile3.csv , 3 // Profile config 3
csvfilenames
, profile4.csv , 4 // Profile config 4
Dynamic_Parameters
Function , Data_Array_Name , Data_Array_Offset , Config_Table_Name , Restart_Method
load_csv , DA_LOAD_CSV
, 2
, csvfilenames
, On_Change
Note: In this example the value 0 has no operation, so if 0 is read on the dip switches no profile will be loaded.
Similarly values larger than 4 will be ignored.