UM-0085-B09
DT80 Range User Manual
Page 121
RG
User Defined Functions
Not applicable to DT81
The user can define up to 10 named macros called functions. These functions can be executed by the user via the LCD
and keypad of the
DT80
.
Defining Functions
Functions are defined using the following profile settings, one pair for each of the 10 available functions:
PROFILE FUNCTION F1_LABEL=
label
PROFILE FUNCTION F1_COMMAND=
command string
These will define the label to display on the LCD (up to 16 characters), and the command string to execute when the
function is selected. Substitute
F2
,
F3
etc. in the profile key names to define further functions.
Enclose
label
or
command string
in double quotes if they contain spaces or special characters.
For example:
Command
Description
PROFILE FUNCTION F1_LABEL=Start
PROFILE FUNCTION F1_COMMAND=G
This function would display
Start
and when selected would issue
the G or go command to the logger which would start all schedules
PROFILE FUNCTION F2_LABEL="Temp \176F"
PROFILE FUNCTION F2_COMMAND=REFT(S2,=5CV)
This function would display
Temp °F
and when selected would
measure the logger's internal temperature and store the scaled
value to channel variable 5CV
PROFILE FUNCTION F3_LABEL=Upload
PROFILE FUNCTION F3_COMMAND="copyd start=new
dest=ftp://x.com/unit42/"
This would display
Upload
and when selected would unload new
data to an FTP server
PROFILE FUNCTION F4_LABEL=Clear
PROFILE FUNCTION F4_COMMAND=1..20CV(W)=0
This function would display
Clear
and would set channel variables
1-20 back to zero.
Selecting Functions
Pressing the
Cancel/Func
key will cause the function list to be shown on the display. One function is shown at a time,
and only those functions which have a command defined are shown. The up and down direction keys can be pressed to
scroll through the list of functions. Once the desired function is visible on the display it can be executed by pressing the
OK/Edit
key. If you wish to exit the function list without executing any function then press the
Cancel/Func
key to cancel
the function selection process.
After selecting the function to execute, the display will indicate that the function selected has been initiated.
Default Functions
Following reset, the
DT80
automatically defines three commonly used functions:
•
Remove USB
– disables USB memory device to allow safe removal
•
Copy logged data
– unload all logged data for current job to USB memory device
•
Auto Ethernet IP
– sets Ethernet port to AUTO and forces the
DT80
to re-acquire an IP address
For models with an integrated modem, the following additional functions are defined by default:
•
Start comms
– starts a communications session
•
Stop comms
– ends a communications session
•
Check signal
– continuously measure and update signal strength
These functions can be redefined or removed if desired by changing the profile settings, or using the
dEX
configuration
builder (see
).