Full Maths & Script Processing; Maths Credit Options; Appendix B: Maths Expressions - Honeywell X Series User Manual

Hide thumbs Also See for X Series:
Table of Contents

Advertisement

Appendix B: Maths Expressions

Full Maths & Script Processing
The X Series recorders are supplied with Basic Maths functions: Add, Subtract, Divide
and Multiply. There are two further options that can be added, Full Maths and an
extremely powerful Scripting processing module. Scripting delivers an additional level of
enhanced capabilities with multi line script processing. Full and Scripting Maths must be
activated in the recorder as a Firmware credit option. (Scripting is not available on the
eZtrend QXe).
When a recorder setup is loaded into the TrendManager software the Maths capabilities
will be transferred with the setup. If you are creating a new recorder in TrendManager
software to be transferred to a recorder the Maths capabilities will be available but will only
become active if the recorder has the same Maths functions enabled.
This document provides the Maths Variable and Function table and examples of the capa-
bilities from the simple to the complex to assist the user in understanding the concepts and
potential of these features.
*** Important Note, Full Maths and Script functions are Options and must be enable using
the Credit System. Be sure to enable these options or they will not be available.
ware Credit System" on page 201.
Notes:

Maths Credit Options

Full Maths firmware credit option will allow the functions listed in
page 272
43-TV-25-30 Iss.6 GLO Aug 07 UK
• if, elseif & else are followed by expressions in "curly brackets" {....}
• lines within the curly brackets always end in semicolon e.g. ;
• every execution path must have a return statement. As soon as a return is executed the
script finishes; make sure that the return is the last operation to be executed.
• every expression within curly brackets "{...}" must include a "return"
• Small values (fractions) entered into a maths expression will require a zero before the deci-
mal point. Eg. 0.5. Decimal point and not comma must be used always.
• Outputs that are set to Single Pulse should not be used as a part of a maths expression as
it can cause spurious values.
• No white spaces
• Syntax is not case sensitive
• 500 character limit for scripting
NOTICE
Full Maths and Scripting functions are Options and must be enabled using the
Credit System. Be sure to enable these options in the recorder or they will not be
available.
See "Firmware Credit System" on page 201.
and
Table 14.2 on page
274.
See "Firm-
Table 14.1 on
271

Advertisement

Table of Contents
loading

This manual is also suitable for:

Multitrend sxMinitrend qxEztrend qxe

Table of Contents