
43-TV-25-35 GLO Iss.4 Dec 06 UK
233
A5E01001767-04
Appendix B: Maths Expressions
Full Maths & Script Processing
The
SIREC D200, D300 and D400
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 Script-
ing Maths must be activated in the recorder as a Firmware credit option. (Scripting is not
available on the
SIREC D200
).
When a recorder setup is loaded into the
SIREC D
software the Maths capabilities will be
transferred with the setup. If you are creating a new recorder in
SIREC D
software to be
transferred to a recorder the Maths capabilities will be available but will only become ac-
tive 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 167.
Notes:
• 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
Maths Credit Options
Full Maths firmware credit option will allow the functions listed in
and
.
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.
Содержание SIREC D200
Страница 2: ......
Страница 176: ...170 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 Firmware Credit System ...
Страница 213: ...43 TV 25 35 GLO Iss 4 Dec 06 UK 207 A5E01001767 04 SIREC D400 Recorder 14 15 32 46 50 30 31 35 36 28 55 ...
Страница 214: ...208 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 52 11 23 33 39 5 6 RS485 USB host Ethernet 1 2 3 4 ...
Страница 218: ...212 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 SIREC D200 Recorder 16 5 3 1 4 2 24 49 9 45 19 6 49 ...
Страница 222: ...216 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Страница 238: ...232 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Страница 258: ...252 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Страница 270: ...264 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Страница 274: ...268 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 Modbus Function Codes ...
Страница 284: ...278 43 TV 25 35 GLO Iss 4 Dec 06 UK A5E01001767 04 ...
Страница 285: ......