# These are the instructions for modifying the settings.txt file that is loaded by K-Link when the service starts
#  -------------------------------------
# Lines beginning with # are ignored, and lines containing # ignore the rest of the line after #, so that you can add your own comments to each entry
# -------------------------------------
# The first line must be the directory where the torque data files will be saved
# You can enter any directory for this
# The second and any following lines must contain any of the following "entries". Entries can be added in any order, and you can add as many as you need.
# -------------------------------------
# Zero or more KDU-1A entries (for KDU-1A series controllers)
#   formatted like this: "KDU-1A = 192.168.32.103" (without quotes)
#
# Zero or more KDU-NT entries (for KDU-NT series controllers)
#   formatted like this: "KDU-1A = 192.168.32.103" (without quotes)
#
# Zero or more EDU2AE entries (for EDU2AE series controllers using a serial-to-ethernet adapter)
#   formatted like this: "EDU2AE = 192.168.32.103, 7115" (without quotes. the space between the comma and the port is optional.)
#
# Note: if you are using DHCP (with KDU controllers that support it, or with the EDU2AE etheret-serial-adapter), you must reserve an IP address to the KDU MAC, otherwise the IP address of the KDU might change
# Zero or more option entries. Option entries are optional. If not specified, default options will be used (recommended).
#   formatted like this: "$OPTION = VALUE" (without quotes), where the available OPTION and VALUE are described here below
#
#   USE_PC_TIMESTAMPS = YES or NO
#                Default is YES, replaces the timestamp of each result with the timestamp at which the result was received on this computer.
#                This is recommended because the PC has better timekeeping than the controllers (timezones, daylight time, etc), and you don't have to manage the clock of each controller.
#
#   CSV_FORMAT_KDU1A = MULTILINE or SINGLELINE
#                Default is MULTILINE, which follows the CSV format of the KDU-1A firmware v38 (three lines per result: Results,Angle Chart,Torque Chart, associated by the tightening ID)
#                SINGLELINE follows the CSV format of the KDU-1A firmward v36/v37 (one line per result with angle and torque chart data at the end)
#                This setting only applies to KDU-1A results. KDU-NT results always follow the MULTILINE format, and EDU2AE results are always saved in TXT format (not a CSV file and no graph data)
#
#   USE_HIGH_RESOLUTION_GRAPHS_KDU1A = YES or NO
#                Default is YES. This settings enables saving the high-resolution graphs for KDU-1A results.
#                The high-resolution graphs contain torque and angle values in 1-ms time intervals.
#                This setting is only applicable if CSV_FORMAT_KDU1A is MULTILINE (default) and if the KDU-1A firmware version is v38 or newer.
#                K-Link automatically detects if the connected KDU-1A has a firmware compatible with this option.
#
#   TCP_TIMEOUT = 1500
#                Default is 1500, this is the timeout in milliseconds for the underlying TCP connection(s) between K-Link and each connected controller
#                1500 (1.5 seconds) is adequate for LAN networks and normally there is no need to modify this parameter
#
#   POLLING_INTERVAL_KDU = 50
#                Default is 50, this is the frequency in milliseconds at which each KDU-1A and KDU-NT is independently polled for a new tightening result
#                Normally there is no need to modify this parameter
#                You can increase this parameter if you want less network traffic originating from K-Link
#                Values less than 50 are ignored and 50 will be used instead
#                This parameter does not apply to EDU2AE entries
#
# -------------------------------------
# Below is an example setup for three KDU-1A, two KDU-NT, and two EDU2AE controllers
# -------------------------------------
C:\K-Link-Data
KDU-1A = 192.168.32.103 # this is an example KDU-1A entry
KDU-1A = 192.168.32.104 # this is an additional KDU-1A entry for another KDU-1A controller
KDU-NT = 192.168.32.105 # this is a KDU-NT entry
KDU-NT = 192.168.32.106 # this is an additional KDU-NT entry for another KDU-NT controller
EDU2AE = 192.168.32.107, 7115 # this is an example EDU2AE entry with the IP address of the ethernet-to-serial converter (configured as a TCP SERVER) and the TCP server port of the ethernet-to-serial converter
$CSV_FORMAT_KDU1A = MULTILINE # this sets the CSV format to MULTILINE (which is the default value, so this line would be redundant)