Epics records
This presentation is the property of its rightful owner.
Sponsored Links
1 / 13

EPICS Records PowerPoint PPT Presentation


  • 98 Views
  • Uploaded on
  • Presentation posted in: General

EPICS Records. J. Frederick Bartlett Fermilab June 1,1999. The EPICS PV/Record. The control system is composed of Process Variables (PV) example: RM1/AD00 Each PV is represented by an instance of a Record RM1/AD00 is the name of a record Each record has a type

Download Presentation

EPICS Records

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Epics records

EPICS Records

J. Frederick Bartlett

Fermilab

June 1,1999


The epics pv record

The EPICS PV/Record

  • The control system is composed of Process Variables (PV)

    • example: RM1/AD00

  • Each PV is represented by an instance of a Record

    • RM1/AD00 is the name of a record

  • Each record has a type

    • The Rm1/AD00 record is of type ai (analog input)


Record properties

Record Properties

  • Properties of a record

    • Name, e.g. RM1/AD00

    • Type, e.g. ai

    • Fields , e.g. DESC

  • Name

    • 29 character string

    • Composed of the characters: a-z A-Z 0-9 _ - : [ ] < > / ;

  • Type Categories

    • Input

    • Output

    • Control

    • Compound


Record properties type

Record Properties (Type)

  • Input

    • ai (analog input), bi (binary input), longin (long input), stringin (string input), mbbi (multi-bit binary input), wave (waveform)

  • Output

    • ao (analog output), bo (binary output), longout (long output), stringout (string output), mbbo (multi-bit binary output)

  • Control

    • event, scan, sequence, state, subroutine, wait, fanout


Record properties type1

Record Properties (Type)

  • Computation

    • calc (calculation), compress

  • Compound

    • rm (rack monitor), hv (high voltage), svxSeq (SVX sequence controller), pulseTrain, steppermotor


Record properties field

Record PropertiesField

  • Field

    • Name

      • Upper case

    • Value

      • Valid value depends upon field type

  • Field types

    • String

    • Integer (6)

    • Float (2)

    • Menu - enumerated string

    • Device

    • Link (to another record)


Field categories

Field Categories

  • General Fields

    • NAME - same as record name

    • DESC - descriptive text

    • TIME - time of last process

  • Device Fields

    • DTYP

    • INP

    • OUT


Field categories1

Field Categories

  • Scan Fields

    • SCAN - scan mode (menu)

    • PHAS - order within scan group

    • PRIO - scheduling priority

    • PROC - process

      • writing (put) to this field triggers record processing

    • FLNK -


Field categories2

Field Categories

  • Alarm Fields

    • Limits

      • LOLO - low limit for major alarm

      • LO - low limit for minor alarm

      • HI - high limit for minor alarm

      • HIHI - high limit for major alarm

    • Severity Level

      • LLSV - LOLO severity

      • LSV - LO severity

      • HSV - HI severity

      • HHSV - HIHI severity


Linked records

Linked Records

  • A record may be linked to other records

    • Source for input

      • RM1/AD00 is linked to the AD00 field of the RM1 record for input

    • Destination for output

    • Process trigger (control action)


Record format

Record Format

record(<record-type>, “<record-name>”)

{

field(<field-name>, “<field-value>”)



}


Record format1

Record Format

record(<record-type>, “<record-name>”)

{

field(<field-name>, “<field-value>”)



}


Record example

Record Example

record(ai, “RM1/AD00”)

{

field(DESC, “Rack Monitor RM1/AD00”)

field(DTYP, “Raw Soft Channel”)

field(INP, “RM1.AD00 NPP NMS”)

field(SCAN, “1 second”)

field(ASLO, “4.885E-3”)

field(HIHI, “9”)

}


  • Login