epicsdev_ps_caen_fastps
EPICS PVAccess server for CAEN FAST-PS power supplies, implemented with epicsdev.
Main server module: caen_fastps/main.py
IOC reference DB: ioc/fastps.db
Phoebus screen generator: opi/generate_screen.py
- Main server module: epicsdev_ps_caen_fastps/main.py
- IOC reference DB: docs/fastps.db
- Phoebus screen generator: opi/generate_opi.py
Features
- TCP remote control interface to FAST-PS (default port
10001) - PV set modeled after the IOC records in docs/fastps.db
- Setpoint control with optional ramping:
Voltage,Current,RampEnable
- Output and diagnostic readback:
OutputVoltage,OutputCurrent,GroundCurrent,DCLinkVoltage,HeatsinkTemp
- Status and state control:
StatusMSB,StatusLSB,StatusReset,Enable,RegulationMode,Upmode
- Ramp-rate control:
RampRateV,RampRateI
- Device identity and inferred limits:
Model,Version,Limits
- Generic command passthrough:
instrCmdS,instrCmdR
FAST-PS protocol mapping
Implemented command families:
VERMON,MOFFLOOP,LOOP ?MWV,MWV ?,MWVRMWI,MWI ?,MWIRMRESETMSTUPMODE:?,UPMODE:<mode>MSRV:?,MSRV:<value>MSRI:?,MSRI:<value>MRV,MRI,MGC,MRP,MRT
Requirements
- Python 3.10+
epicsdevand its runtime dependencies (includingp4p)- Network access to the CAEN FAST-PS device
Install and run
- `pip install epicsdev_ps_caen_fastps
python -m epicsdev_ps_caen_fastps
Useful arguments:
--hostFAST-PS IP/hostname (default:130.199.104.57)--portTCP port (default:10001)--timeoutsocket timeout in seconds (default:2.0)-d, --devicePV prefix device root (default:caen_fastps)-i, --indexPV prefix index (default:0)-vincrease verbosity (-vvfor more)-a, --autosaveenable autosave with optional directory-c, --recalldisable restoring autosaved values on startup
Example:
python -m epicsdev_ps_caen_fastps --host 130.199.104.57 -d caen_fastps:
Default PV prefix:
caen_fastps0:
Generate a Phoebus screen
Generate .bob OPI file:
python generate_opi.py -t FAST-PS pva://caen_fastps:0:
Options:
-t, --titlescreen titleprefixPV prefix macro/value (default:$(DEV):)
Output:
Screenshot
Notes
- The server uses common
epicsdevcontrol PVs such asserver,sleep,status, andHEARTBEAT. Enableis synchronized from bit 0 ofStatusLSBduring polling.- For unsupported/custom diagnostics, use
instrCmdSand read the reply frominstrCmdR.
Metadata
Release files for epicsdev_ps_caen_fastps 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| epicsdev_ps_caen_fastps-0.0.3.tar.gz | 81.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| epicsdev_ps_caen_fastps-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 89.0 kB
Release files / epicsdev_ps_caen_fastps-0.0.3.tar.gz
| Download URL | epicsdev_ps_caen_fastps-0.0.3.tar.gz |
|---|---|
| Size | 81.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ac439373e5745562af2fa2cbf908c48397c9d677bb0598af760ff74952ac47c
|
|
BLAKE2b-256 checksum How to use checksums |
efd0a698cc999992b03fb312019139a3c7b7ff636105f30cb537aab5659f5d0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|
Release files / epicsdev_ps_caen_fastps-0.0.3-py3-none-any.whl
| Download URL | epicsdev_ps_caen_fastps-0.0.3-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd3b2b41ea7294628615b291526a2fdfbde934b7ea02c046d07d45e30a3e4ed8
|
|
BLAKE2b-256 checksum How to use checksums |
24f3fa16cc79eb40ce736a9780a4e90d1057e42330200eff28f8b313a412ece8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|