EPICS Record Reference Manual. Philip Stanley, Janet Anderson, Marty Kraimer. Wikified by Andrew Johnson. Copyright · Preface. EPICS Input Output Controller (IOC) Record Reference Manual. Janet B. Anderson and. Martin R. Kraimer. Advanced Photon Source. Issue 1: December 1. EPICS R Channel Access Reference Manual .. link -nologo /LTCG / incremental:no /opt:ref /release /version -out: acctst. obj .. by the EPICS record support (see the EPICS Application Developer Guide ).
|Published (Last):||16 August 2013|
|PDF File Size:||18.73 Mb|
|ePub File Size:||7.57 Mb|
|Price:||Free* [*Free Regsitration Required]|
Square root unary MIN: The Calc record has the standard fields for specifying under what circumstances the record will be processed.
Not a Number Constants PI: Conditional Expression The C language’s question mark operator is supported. Nested parenthesis are supported. The result of its operations can then be accessed by another record so that it can be used. They are used to process the record. Sets the upper control and the lower control limits for a field. Log base 10 unary LOGE: Spaces may be used anywhere within an expression except between the characters that make up a single expression element.
Minimum any number of args MAX: Browse Main page Recent changes Random page Help. Retrieved from ” https: This page Page Discussion History. The keyword VAL returns the current contents of the VAL field which can be written to by a CA put, so it might not be the result from last time the expression was evaluated.
If they are constants, they will be initialized with the value they are configured with and can be changed via dbPuts. Yes The keyword VAL returns the current contents of the VAL field which can be written to by a CA put, so it might not be the result from last time the expression was evaluated.
The infix expressions that can be used are very similar to the C expression syntax, but with some additions and subtle differences in operator meaning and precedence.
Although only one traditional calculation expression is allowed, multiple assignment expressions are allowed. A routine postfix is called to convert the infix expression in CALC to reverse polish notation. Right shift Assignment Operator: See Address Specification for information on how to specify database links. The calculation or “Calc” record is used to perform algebraic, relational, and logical operations on values retrieved from other records.
No Run-time Parameters These fields are not configurable using a configuration too and none are modifiable at run-time.
The EGU string is solely for an operator’s sake and does not have to be used.
If they are links, they must specify another record’s field or a channel access link. No Literals Standard double precision floating point numbers Inf: These values retrieved from the input links are stored in the A-L fields. The Calculation alarm is called by the record processing routine when the CALC expression is an invalid one, upon which an error message is generated.
It is this expression which is actually used to calculate VAL. These parameters are used to present meaningful data to the operator.
RRM Calculation – EPICSWIKI
The range of expressions supported by the calculation record are separated into literals, constants, operands, algebraic operators, trigonometric operators, relational operators, logical operators, the assignment operator, parentheses and commas, and the question mark or ‘?: The LA-LL fields are used to manuql when to trigger monitors for the corresponding fields.
Natural log unary EXP: In addition, Scanning Specification explains how these fields are used. For instance, if LA does rrcord equal the value for A, monitors for A are triggered. Natural log unary LN: The HYST field defines an alarm deadband for each limit. The expression uses the values retrieved from the INP x links as operands, though constants can be used as operands too.
RRM 3-14 Calculation
These fields are used to display VAL referrence the other parameters of the calculation record either textually or graphically. Alarm Fields lists other fields related to alarms that are common to all record types. The Reverse Polish expression is evaluated more efficiently during run-time than an infix expression. The result is stored in RPCL.
The resulting value is placed in the VAL field and can be accessed from there. This page was last edited on 22 Marchat The semicolon is used to separate referdnce.
See Monitor Specification rsference a complete explanation of monitors. The EGU field contains a string of up to 16 characters which is supplied by the user and which describes the values being operated upon. See Alarm Specification for a complete explanation of alarms and these fields. No Monitor Parameters These parameters are used to determine when to send monitors for the value fields.
The fields can be database links, channel access links, or constants. The values to be used in the expression are simply referenced by the field letter.