XL™ Series
Functions 22-9
transmission is entered and tested under the GOES option menus and the digital I/O conditional
output functions are entered and tested under the digital I/O setup menus.
Complex Functions:
functions can have more than one expression section. A standard function has the following
form.
fntXX = expression
A complex expression will have the following form.
fntXX = expression1;expression2;expressionX
The function being edited will take on the results of the first expression automatically. Normally
the second expression is an assignment type of expression for assigning a value to another
function or variable; for example, fnt01=10*ana1;fnt02=fnt01/5.
@ Functions:
Functions that start with the ‘@’ character will be evaluated automatically at the beginning of
each scan, and will not be evaluated again if used as a log column source or GOES column
source, etc. Normally to evaluate a function, it must be used as the data source for a logging or a
GOES column, but not so with an @ function. @ functions are used for counters or running
averages where if it was evaluated more than once a scan it could create errors in the returned
value and it is not desirable to include the information in the logging report. The following
example functions will count up on each scan and reset to 0 every day.
Fnt01 = 0
Fnt02 = @if(fnt01==day, fnt02+1,0);fnt01=day
When scanning is started function 1 is set to 0, function 2 is set to 0 then function 1 is set to the
current day. On each scan function 2 is incremented if the same day, else reset to 0.0, and then
function 1 is set the to current day again.
# Functions:
Functions that start with the ‘#’ character will not be evaluated but the current value of the
equation will be returned. The function value may be changed by other functions or operations
that are using this function as a storage location. For example in the following function
definition, function 01 will calculate the temperature in both degrees C and degrees F and will
return degrees C for function 01 and used function 02 as a storage location for the temperature in
degrees F.
fnt01=h377c(ana1);fnt02=h377f(ana1)
fnt02=#temperature in degrees F.
Summary of Contents for H-350XL
Page 1: ...XL Series Models H 350XL H 500XL H 510XL H 522 H 522 Plus Owner s Manual ...
Page 30: ...2 16 Hardware Options and Installation XL Series ...
Page 42: ...3 12 Using The Built In Keypad Display XL Series ...
Page 46: ...4 4 PC Menu Interface Operation XL Series ...
Page 58: ...5 12 Miscellaneous System Setup XL Series ...
Page 66: ...6 8 Serial Port Options XL Series ...
Page 74: ...7 8 System Configuration Files XL Series ...
Page 84: ...8 10 System Status Menus Options XL Series ...
Page 88: ...9 4 Scanning Options XL Series ...
Page 156: ...15 12 Logging Options XL Series ...
Page 198: ...16 42 Operation with the GOES Radio XL Series ...
Page 216: ...19 6 Alarm Call Out XL Series ...
Page 234: ...21 8 Operation with the H 355 Smart Gas System XL Series ...
Page 246: ...22 12 Functions XL Series ...