Skip to content

Commit

Permalink
Modify the record names to match the LNLS Naming System.
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavosr8 committed Sep 2, 2024
1 parent a8e3dfd commit a72d38a
Show file tree
Hide file tree
Showing 19 changed files with 570 additions and 217 deletions.
354 changes: 354 additions & 0 deletions PVList.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,354 @@
# IPMI Manager Process Variables naming list

This document have the purpose of making easier to understand the substitution
tree on this IOC and to check if the [LNLS's naming convention](https://wiki-sirius.lnls.br/mediawiki/index.php/Machine:Naming_System)
of is being followed. It is also useful for any user to check what PVs are
available.
Each new record created or aliased from the ipmiComm module must be documented
here.

```
AREA=IA-{{01..20}RaBPM|20RaBPMTL} # Area = LNLS uTCA crates
DIS=CO #Discipline = Control
```
# MCH
## `$(AREA):$(DIS)-MCHBase:`
<details>
<summary>sensors</summary>
TempCPU{-Mon|Prs-Cte} <br>
TempIO{-Mon|Prs-Cte} <br>
VoltBase1V2{-Mon|Prs-Cte} <br>
VoltBase1V5{-Mon|Prs-Cte} <br>
VoltBase1V8{-Mon|Prs-Cte} <br>
VoltBase2V5{-Mon|Prs-Cte} <br>
VoltBase3V3{-Mon|Prs-Cte} <br>
VoltBase12V{-Mon|Prs-Cte} <br>
CurrBase{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
<br>
</details>

## `$(AREA):$(DIS)-MCHClkSw:`
<details>
<summary>sensors</summary>
TempDCDC{-Mon|Prs-Cte} <br>
TempDCDCMax{-Mon|Prs-Cte} <br>
TempMux{-Mon|Prs-Cte} <br>
TempMuxMax{-Mon|Prs-Cte} <br>
Volt3V3{-Mon|Prs-Cte} <br>
Volt12V{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
<br>
</details>

## `$(AREA):$(DIS)-PciHub:`
<details>
<summary>sensors</summary>
TempDCDC{-Mon|Prs-Cte} <br>
TempDCDCMax{-Mon|Prs-Cte} <br>
TempSwitch{-Mon|Prs-Cte} <br>
TempSwitchMax{-Mon|Prs-Cte} <br>
TempPCB{-Mon|Prs-Cte} <br>
TempPCBMax{-Mon|Prs-Cte} <br>
Volt0V9{-Mon|Prs-Cte} <br>
Volt0V9Analog{-Mon|Prs-Cte} <br>
Volt1V8{-Mon|Prs-Cte} <br>
Volt3V3{-Mon|Prs-Cte} <br>
Volt12V{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
<br>
</details>

## `$(AREA):$(DIS)-RtmCpu:`
<details>
<summary>sensors</summary>
TempPCB{-Mon|Prs-Cte} <br>
TempPCBMax{-Mon|Prs-Cte} <br>
TempDCDC{-Mon|Prs-Cte} <br>
TempDCDCMax{-Mon|Prs-Cte} <br>
TempComExCPU{-Mon|Prs-Cte} <br>
TempComExPCH{-Mon|Prs-Cte} <br>
TempComExDDR{-Mon|Prs-Cte} <br>
Volt1V0{-Mon|Prs-Cte} <br>
Volt1V8{-Mon|Prs-Cte} <br>
Volt3V3{-Mon|Prs-Cte} <br>
Volt5V{-Mon|Prs-Cte} <br>
VoltVBAT{-Mon|Prs-Cte} <br>
Volt12VInt{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
<br>
</details>

# Cooling Unit

## `$(AREA):$(DIS)-CU{Top|Bot}:`
<details>
<summary>sensors</summary>
LM75Temp1{-Mon|Prs-Cte} <br>
LM75Temp2{-Mon|Prs-Cte} <br>
Volt3V3{-Mon|Prs-Cte} <br>
Volt12V{-Mon|Prs-Cte} <br>
Volt12V_1{-Mon|Prs-Cte} <br>
SFan1{-Mon|Prs-Cte} <br>
SFan2{-Mon|Prs-Cte} <br>
SFan3{-Mon|Prs-Cte} <br>
SFan4{-Mon|Prs-Cte} <br>
SFan5{-Mon|Prs-Cte} <br>
SFan6{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
Pwr <br>
<br>
</details>

# Power Module
## `$(AREA):$(DIS)-PM-{2|4}:`
<details>
<summary>sensors</summary>
TempDCDC{-Mon|Prs-Cte} <br>
TempPath{-Mon|Prs-Cte} <br>
TempCooler{-Mon|Prs-Cte} <br>
TempTrafo{-Mon|Prs-Cte} <br>
VoltMP{-Mon|Prs-Cte} <br>
VoltSMP{-Mon|Prs-Cte} <br>
VoltSMPP{-Mon|Prs-Cte} <br>
VoltPP{-Mon|Prs-Cte} <br>
Volt12VHHV{-Mon|Prs-Cte} <br>
CurrSum{-Mon|Prs-Cte} <br>
CurrCh01{-Mon|Prs-Cte} <br>
CurrCh02{-Mon|Prs-Cte} <br>
CurrCh03{-Mon|Prs-Cte} <br>
CurrCh04{-Mon|Prs-Cte} <br>
CurrCh05{-Mon|Prs-Cte} <br>
CurrCh06{-Mon|Prs-Cte} <br>
CurrCh07{-Mon|Prs-Cte} <br>
CurrCh08{-Mon|Prs-Cte} <br>
CurrCh09{-Mon|Prs-Cte} <br>
CurrCh10{-Mon|Prs-Cte} <br>
CurrCh11{-Mon|Prs-Cte} <br>
CurrCh12{-Mon|Prs-Cte} <br>
CurrCh13{-Mon|Prs-Cte} <br>
CurrCh14{-Mon|Prs-Cte} <br>
CurrCh15{-Mon|Prs-Cte} <br>
CurrCh16{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
<br>
</details>

# AMC
## `$(AREA):$(DIS)-AMC-{1,3..12}:`
<details>
<summary>sensors</summary>
FMC{1|2}{Volt|Curr}12V{-Mon|Prs-Cte} <br>
FMC{1|2}{Volt|Curr}VADJ{-Mon|Prs-Cte} <br>
FMC{1|2}{Volt|Curr}3V3{-Mon|Prs-Cte} <br>
TempFPGA{-Mon|Prs-Cte} <br>
TempUC{-Mon|Prs-Cte} <br>
TempClkSwitch{-Mon|Prs-Cte} <br>
TempDCDC{-Mon|Prs-Cte} <br>
TempRAM{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
Pwr <br>
<br>
</details>

## `$(AREA):$(DIS)-AMC-2:`
<details>
<summary>sensors</summary>
AMC{Volt|Curr}12V{-Mon|Prs-Cte} <br>
RTM{Volt|Curr}12V{-Mon|Prs-Cte} <br>
FMC{1|2}{Volt|Curr}VADJ{-Mon|Prs-Cte} <br>
FMC{1|2}{Volt|Curr}3V3{-Mon|Prs-Cte} <br>
TempFPGA{-Mon|Prs-Cte} <br>
TempUC{-Mon|Prs-Cte} <br>
TempClkSwitch{-Mon|Prs-Cte} <br>
TempDCDC{-Mon|Prs-Cte} <br>
TempRAM{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
Pwr <br>
<br>
</details>

# RTM
## `$(AREA):$(DIS)-Rtm8sfp:`
<details>
<summary>sensors</summary>
RTMTemp1{-Mon|Prs-Cte} <br>
RTMTemp2{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
<br>
</details>

## `$(AREA):$(DIS)-RtmLamp:`
<details>
<summary>sensors</summary>
RTMTemp1{-Mon|Prs-Cte} <br>
RTMTemp2{-Mon|Prs-Cte} <br>
RTMTemp3{-Mon|Prs-Cte} <br>
<br>
</details>
<details>
<summary>FRU</summary>
Prs-Cte <br>
MState-Cte <br>
FruId-Cte <br>
BoardManuf-Cte <br>
BoardName-Cte <br>
BoardSN-Cte <br>
BoardPN-Cte <br>
ProdManuf-Cte <br>
ProdName-Cte <br>
ProdSN-Cte <br>
ProdPN-Cte <br>
PowerCtl-Sel <br>
<br>
</details>

# System
## `$(AREA):$(DIS)-Crate:`
<details>
<summary>System Common</summary>
MCHType-Cte <br>
DbgLvl-Sel <br>
Online-Mon <br>
Init-Mon <br>
InitBypass-Cmd <br>
Connect-Cmd <br>
Rst-Cmd <br>
SensorScanPeriod-Sel <br>
<br>
</details>
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ services:
REPONAME: ipmi-mgr-epics-ioc
RUNDIR: /opt/ipmi-mgr-epics-ioc/iocBoot/iocIpmiMgr
environment:
P: ${P}
R: ${R}
AREA: ${AREA}
IPADDR: ${IPADDR}
4 changes: 2 additions & 2 deletions iocBoot/iocIpmiMgr/st.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ drvAsynIPPortConfigure ("$(PORT)","$(IPADDR):623 udp",0,0,0)
mchInit("$(PORT)")

## Load record instances
dbLoadRecords("$(TOP)/db/asynRecord.db","P=${P}, R=${R}:asyn,PORT=$(PORT),ADDR=0,OMAX=80,IMAX=80")
dbLoadRecords("${TOP}/db/microtca_bpm_crate.db", "link=$(PORT),P=$(P),R=$(R):,dev=$(P)$(R),unit=''")
dbLoadRecords("$(TOP)/db/asynRecord.db","P='${AREA}:', R=asyn,PORT=$(PORT),ADDR=0,OMAX=80,IMAX=80")
dbLoadRecords("${TOP}/db/microtca_bpm_crate.db", "link=$(PORT),AREA=$(AREA):,DIS='CO-',id='',prefix='',unit=''")

# < save_restore.cmd

Expand Down
Loading

0 comments on commit a72d38a

Please sign in to comment.