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):||9 February 2005|
|PDF File Size:||19.2 Mb|
|ePub File Size:||20.88 Mb|
|Price:||Free* [*Free Regsitration Required]|
Minimum any number of args MAX: See Monitor Specification for a complete explanation of monitors. If they are links, they must specify another record’s field or a channel access link.
Natural log unary LN: The fields can be reford links, channel access links, or constants.
RRM Calculation – EPICSWIKI
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. The result of its operations can then be accessed by another record so that it can be used.
The semicolon is used to separate expressions. These parameters are used to present meaningful data to the operator.
Conditional Expression The C language’s question mark operator is supported. No Monitor Parameters These parameters are used to determine when to send monitors for the value fields.
RRM 3-14 Calculation
In addition, Scanning Specification explains how these fields are used. Absolute value unary SQR: Although only one traditional calculation expression is allowed, multiple assignment expressions are allowed. It is this expression which is actually used to calculate VAL. They cannot be hardware addresses. Spaces may be used anywhere within an expression except between the epicd that make up a single expression element. 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 LA-LL fields are used to decide when to trigger monitors for the corresponding fields. The calculation or referenc record is used to perform algebraic, relational, and logical operations on values retrieved from other records.
The comma is supported when used to separate the arguments of a binary function. These parameters are used to determine when to send monitors for the manuak fields. These fields are not configurable refreence a configuration too and none are modifiable at run-time. The monitors are sent when the value field exceeds the last monitored field by the appropriate deadband, the ADEL for archiver monitors and the MDEL field for all other types of monitors. CALC can be changed at run-time, and a special record routine epcs a function to convert it to Reverse Polish Notation.
No Literals Standard double precision floating point numbers Inf: 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 ‘?: Also, the RNDM nullary function can be included as an operand in the expression in order to generate a random number between 0 and 1. These fields are used to display VAL and the other parameters of the calculation record either textually or graphically.
The expression uses the values retrieved from the INP x links as operands, though constants can be used as operands too.
All alphabetic elements described below are case independent, so upper and lower case letters may be used and mixed in the variable and function names as desired. 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.
This reeference was last edited on 22 Marchat Natural log unary EXP: The result is stored in RPCL. The HYST field defines an alarm deadband for each limit. If these fields have a value of zero, everytime the value changes, monitors are triggered; if they have a value of -1, everytime recird record is scanned, monitors are triggered. See Alarm Specification for a complete explanation of alarms and these fields.
The Calc record has the standard fields for specifying under what circumstances the record will be processed.
Sets the upper control and the lower control limits for a field. 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.
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. See Address Specification for information on how to specify database links. They are used to process the record.
The Reverse Polish expression is evaluated refeence efficiently during run-time than an infix expression. For instance, if LA does not equal the value for A, monitors for A are triggered.
Browse Main page Recent changes Random page Help. The resulting value is placed in the VAL field and can be accessed from there. These fields are listed in Scan Fields.
If they are constants, they will be initialized with the value they are configured with and can be changed via dbPuts.