SPEAR EPICS

Power Supply Control

General

Facilities

Kicker Power Supply Control

MCOR Power Supply Control

EMCOR Power Supply Control

Ethernet and Bitbus Power Supply Control

Genesys Power Supply Control

Injector CAMAC Power Supply Control

Injector Ethernet Power Supply Controllers

Power Supply Node Name IP Address Location IOC
GTL-ALPHA b140-epsc-gtl-alpha 172.22.247.176 B140-103 soft-iocpsinj
GTL-CHOP b140-epsc-gtl-chop 172.22.247.180 B140-103 soft-iocpsinj
GUN-HEATER b140-epsc-gun-heater 172.22.247.179 B140-103 soft-iocpsinj
BOO-DC b140-epsc-boo-dc 172.22.247.155 B140 WC Bias soft-iocpsinj
BOO-AC b140-epsc-boo-ac 172.22.247.154 B140 WC Pulser soft-iocpsinj
BOO-IS b140-epsc-boo-is 172.22.247.177 B140-103 soft-iocpsinj
BOO-ES b140-epsc-boo-es 172.22.247.167 B140-310-40 soft-iocpsinj
LTB-B1 b140-epsc-ltb-b1 172.22.247.157 B140-103-42 soft-iocpsinj
LTB-B2 b140-epsc-ltb-b2 172.22.247.158 B140-103-41 soft-iocpsinj
LTB-CORB2 b140-epsc-ltb-corb2 172.22.247.174 B140-103 soft-iocpsinj
LTB-B3 b140-epsc-ltb-b3 172.22.247.159 B140-103-43 soft-iocpsinj
BTS-B1V b140-epsc-bts-b1v 172.22.247.178 B140-103 soft-iocpsinj
BTS-B2B6 b140-epsc-bts-b2b6 172.22.247.156 B140 BTS-B2B6 soft-iocpsinj
BTS-Q1F b140-epsc-bts-q1f 172.22.247.160 B140-310-33 soft-iocpsinj
BTS-Q2D b140-epsc-bts-q2d 172.22.247.161 B140-310-34 soft-iocpsinj
BTS-Q3F b140-epsc-bts-q3f 172.22.247.162 B140-310-35 soft-iocpsinj
BTS-Q4D b140-epsc-bts-q4d 172.22.247.163 B140-310-36 soft-iocpsinj
BTS-Q5D b140-epsc-bts-q5d 172.22.247.164 B140-310-37 soft-iocpsinj
BTS-Q6F b140-epsc-bts-q6f 172.22.247.165 B140-310-38 soft-iocpsinj
BTS-Q7D b140-epsc-bts-q7d 172.22.247.166 B140-310-39 soft-iocpsinj
BTS-B2TRIM b140-epsc-bts-b2trim 172.22.247.168 B140-311-33 soft-iocpsinj
BTS-B3TRIM b140-epsc-bts-b3trim 172.22.247.169 B140-311-34 soft-iocpsinj
BTS-B4TRIM b140-epsc-bts-b4trim 172.22.247.170 B140-311-35 soft-iocpsinj
BTS-B5TRIM b140-epsc-bts-b5trim 172.22.247.171 B140-311-36 soft-iocpsinj
BTS-B6TRIM b140-epsc-bts-b6trim 172.22.247.172 B140-311-37 soft-iocpsinj

SPEAR Ethernet Power Supply Controllers

Power Supply Node Name IP Address Location IOC
RF-SOLN-MAIN b132-epsc-rf-soln 172.22.247.173 B132-101-15 soft-iocpsspr
07G-ECD-BL08 b118-epsc-07g-ecd 172.22.247.128 B118-10-29 soft-iocpsspr
17G-ECD-BL14 b118-epsc-17g-ecd 172.22.247.139 B118-10-37 soft-iocpsspr
11G-ECD-BL16 b118-epsc-11g-ecd 172.22.247.198 B118-09-37 soft-iocpsspr
10G-QFX b118-epsc-10g-qfx 172.22.247.136 B118-04-37 soft-iocpsspr
10G-QFY b118-epsc-10g-qfy 172.22.247.137 B118-05-37 soft-iocpsspr
10G-QFZ b118-epsc-10g-qfz 172.22.247.138 B118-06-37 soft-iocpsspr
10G-QDX b118-epsc-10g-qdx 172.22.247.133 B118-34-37 soft-iocpsspr
10G-QDY b118-epsc-10g-qdy 172.22.247.134 B118-35-37 soft-iocpsspr
10G-QDZ b118-epsc-10g-qdz 172.22.247.135 B118-36-37 soft-iocpsspr
09S-CD1 b118-epsc-09s-cd1 172.22.247.129 B118-13-33 soft-iocpsspr
09S-CD2 b118-epsc-09s-cd2 172.22.247.130 B118-08-31 soft-iocpsspr
09S-CD3 b118-epsc-09s-cd3 172.22.247.131 B118-09-31 soft-iocpsspr
09S-CD4 b118-epsc-09s-cd4 172.22.247.132 B118-10-31 soft-iocpsspr
BTS-B9V b118-epsc-bts-b9v 172.22.247.140 B118-12-31 soft-iocpsspr
BTS-B7H b118-epsc-bts-b7h 172.22.247.175 B118-11-29 soft-iocpsspr
MS1-BD b118-epsc-ms1-bd 172.22.247.141 B118-48 soft-iocpsspr
MS1-SDBLK b118-epsc-ms1-sdblk 172.22.247.146 B118-PS1 soft-iocpsspr
MS2-SD b118-epsc-ms2-sd 172.22.247.182 B118-51-41 soft-iocpsspr
MS3-SD b118-epsc-ms3-sd 172.22.247.183 B118-52-41 soft-iocpsspr
MS4-SD b118-epsc-ms4-sd 172.22.247.184 B118-52-40 soft-iocpsspr
MS5-SD b118-epsc-ms5-sd 172.22.247.185 B118-51-40 soft-iocpsspr
MS1-SFBLK b118-epsc-ms1-sfblk 172.22.247.147 B118-PS2 soft-iocpsspr
MS2-SF b118-epsc-ms2-sf 172.22.247.186 B118-53-41 soft-iocpsspr
MS3-SF b118-epsc-ms3-sf 172.22.247.187 B118-54-41 soft-iocpsspr
MS4-SF b118-epsc-ms4-sf 172.22.247.188 B118-54-40 soft-iocpsspr
MS5-SF b118-epsc-ms5-sf 172.22.247.189 B118-53-40 soft-iocpsspr
MS5-SF b118-epsc-ms5-sf 172.22.247.189 B118-53-40 soft-iocpsspr
03G-QD1 b118-epsc-03g-qd1 172.22.247.190 B118-50-35 soft-iocpsspr
03G-QD2 b118-epsc-03g-qd2 172.22.247.191 B118-50-33 soft-iocpsspr
03G-QF1 b118-epsc-03g-qf1 172.22.247.192 B118-49-35 soft-iocpsspr
03G-QF2 b118-epsc-03g-qf2 172.22.247.193 B118-49-33 soft-iocpsspr
04G-QD1 b118-epsc-04g-qd1 172.22.247.194 B118-50-31 soft-iocpsspr
04G-QD2 b118-epsc-04g-qd2 172.22.247.195 B118-50-29 soft-iocpsspr
04G-QF1 b118-epsc-04g-qf1 172.22.247.196 B118-49-31 soft-iocpsspr
04G-QF2 b118-epsc-04g-qf2 172.22.247.197 B118-49-29 soft-iocpsspr
MS2-QFC b118-epsc-ms2-qfc 172.22.247.148 B118-PS4 soft-iocpsspr
MS1-BDBLK b118-epsc-ms1-bdblk 172.22.247.142 B118-PS7 soft-iocpsspr
TSP1 Bulk b118-epsc-tsp1 172.22.247.149 B118-14-35 soft-iocpsspr
TSP2 Bulk b118-epsc-tsp2 172.22.247.150 B118-14-33 soft-iocpsspr
TSP3 Bulk b118-epsc-tsp3 172.22.247.151 B118-14-31 soft-iocpsspr
TSP4 Bulk b118-epsc-tsp4 172.22.247.152 B118-14-29 soft-iocpsspr
TSP5 Bulk b118-epsc-tsp5 172.22.247.153 B118-14-37 soft-iocpsspr
TSP6 Bulk b118-epsc-tsp6 172.22.247.181 B118-14-39 soft-iocpsspr
Spare Spare 172.22.247.143 Spare Spare
Spare Spare 172.22.247.144 Spare Spare
118-PSD4 b118-epsc-test 134.79.35.104 TBD iocpsgendev

SLAC Bitbus Power Supply Controllers

Power Supply Bitbus Line Bitbus Address Location IOC
05G-QD1 2 4 B118-31-35 b118-iocps
05G-QD2 2 5 B118-31-33 b118-iocps
06G-QD1 2 6 B118-31-31 b118-iocps
06G-QD2 2 7 B118-31-29 b118-iocps
07G-QD1 2 8 B118-32-35 b118-iocps
07G-QD2 2 9 B118-32-33 b118-iocps
08G-QD1 2 10 B118-32-31 b118-iocps
08G-QD2 2 11 B118-32-29 b118-iocps
11G-QD1 2 12 B118-33-35 b118-iocps
11G-QD2 2 13 B118-33-33 b118-iocps
12G-QD1 2 14 B118-33-31 b118-iocps
12G-QD2 2 15 B118-33-29 b118-iocps
13G-QD1 2 16 B118-34-35 b118-iocps
13G-QD2 2 17 B118-34-33 b118-iocps
14G-QD1 2 18 B118-34-31 b118-iocps
14G-QD2 2 19 B118-34-29 b118-iocps
15G-QD1 2 20 B118-35-35 b118-iocps
15G-QD2 2 21 B118-35-33 b118-iocps
16G-QD1 2 22 B118-35-31 b118-iocps
16G-QD2 2 23 B118-35-29 b118-iocps
17G-QD1 2 24 B118-36-31 b118-iocps
17G-QD2 2 25 B118-36-29 b118-iocps
05G-QF1 0 27 B118-01-35 b118-iocps
05G-QF2 0 28 B118-01-33 b118-iocps
06G-QF1 0 29 B118-01-31 b118-iocps
06G-QF2 0 30 B118-01-29 b118-iocps
07G-QF1 0 31 B118-02-35 b118-iocps
07G-QF2 0 32 B118-02-33 b118-iocps
08G-QF1 0 33 B118-02-31 b118-iocps
08G-QF2 0 34 B118-02-29 b118-iocps
11G-QF1 0 35 B118-03-35 b118-iocps
11G-QF2 0 36 B118-03-33 b118-iocps
12G-QF1 0 37 B118-03-31 b118-iocps
12G-QF2 0 38 B118-03-29 b118-iocps
13G-QF1 0 39 B118-04-35 b118-iocps
13G-QF2 0 40 B118-04-33 b118-iocps
14G-QF1 0 41 B118-04-31 b118-iocps
14G-QF2 0 42 B118-04-29 b118-iocps
15G-QF1 0 43 B118-05-35 b118-iocps
15G-QF2 0 44 B118-05-33 b118-iocps
16G-QF1 0 45 B118-05-31 b118-iocps
16G-QF2 0 46 B118-05-29 b118-iocps
17G-QF1 0 47 B118-06-31 b118-iocps
17G-QF2 0 48 B118-06-29 b118-iocps
MS1-QDX 1 51 B118-08-35 b118-iocps
MS1-QDY 1 52 B118-08-33 b118-iocps
MS1-QDZ 1 53 B118-09-35 b118-iocps
MS1-QFX 1 54 B118-09-33 b118-iocps
MS1-QFY 1 55 B118-10-35 b118-iocps
MS1-QFZ 1 56 B118-10-33 b118-iocps
MS1-SDM 1 59 B118-07-31 b118-iocps
MS1-SFM 1 60 B118-07-29 b118-iocps
BTS-B8V 1 63 B118-12-29 b118-iocps
BTS-Q8F 1 64 B118-13-31 b118-iocps
BTS-Q9D 1 65 B118-13-29 b118-iocps
04G-ECD-BL01 1 66 B118-08-29 b118-iocps
05G-ECD-BL02 1 67 B118-09-29 b118-iocps
09G-QFX 0 72 B118-01-37 b118-iocps
09G-QFY 0 73 B118-02-37 b118-iocps
09G-QFZ 0 74 B118-03-37 b118-iocps
02G-QF1 0 75 B118-06-35 b118-iocps
02G-QF2 0 76 B118-06-33 b118-iocps
09G-QDX 2 77 B118-31-37 b118-iocps
09G-QDY 2 78 B118-32-37 b118-iocps
09G-QDZ 2 79 B118-33-37 b118-iocps
02G-QD1 2 80 B118-36-35 b118-iocps
02G-QD2 2 81 B118-36-33 b118-iocps
09S-QF1 1 82 B118-07-35 b118-iocps
09S-QD1 1 83 B118-07-37 b118-iocps
09S-QF2 1 84 B118-07-33 b118-iocps
015-PSD1 0 22 B15 PS Test ioc-b15-mg02
015-PSD2 0 23 B15 PS Test ioc-b15-mg02

EPSC Serial Connection

The 15 pin serial port on the controller can be used for debugging as shown in the example screen. The communication settings must be: To connect to a PC serial port, a 15 pin male D and a 9 pin female D connector are required. The connections are as follows:
Signal 9 Pin 15 Pin
TX 2 9
RX 3 1
GND 5 5
RTS 6 10
CTS 7 2
All unspecified pins must be open. They are used for other applications.

Once connected, the only menu that causes changes in the controller is #1 ("Program EEPROMs"). The other menus only report status information. Typing an "A" within 2 seconds after a reset puts you in the Netburner menu, but the watchdog timer in the Xilinx will reset the board after 10 seconds. Connecting a local control board and putting the controller in local mode disables the watchdog timer and allows stable operation of the Netburner monitor program.

EPSC Telnet Connection

The 11/24/08 version of the EPSC firmware allows diagnostic information to be displayed using a TCP/IP Telnet session. To access from a linux server:
telnet <EPSC node name or ip address>
See the example screen for commands and usage detail

Genesys PS Ethernet Setup

  1. Choose a node name and email m$network@ssrl to get an IP address and have it entered into DNS. If it is production, the IP address must be chosen from the 466-EPSC group and must be added to the SPEAR_PSs group in the SSRL firewall.
  2. Make sure the LAN enable switch on the back of the power supply is set correctly as specified by the Genesys Technical Manual for LAN Option 1683.
  3. Connect the ethernet cable to a port (100/full or auto-negotiate) on the SSRL network, outside the firewall. Currently DHCP does NOT work when the PS is behind the firewall.
  4. Power on the PS and note the MAC address using instructions in the manual.
  5. If necessary (ie, if the PS has static IP addressing and is currently using the wrong configuration), reset the LAN configuration on the power supply using instructions in the manual.
  6. Update DHCP using the same procedure as RTEMS IOCs except put the node in the gpiblan group.
  7. Power cycle the PS. The LAN status LED on the back of the power supply should change to green within about 20 seconds. If necessary, check the DHCP log messages in /var/log/messages on spearnfs. Root privilege is needed to view the file.
  8. Use ping to verify the PS is using the correct IP address. In a web browser on a SPEAR host, access the web page for the power supply using http://<node name> as URL.
  9. On the web page, use instructions from the manual to log in and configure the LAN using the following settings:
    Name Value
    TCP/IP Mode Static IP
    IP address <PS IP address>
    Subnet Mask 255.255.255.0
    Default Gateway 172.22.247.1
    Controller Access One Client Only
  10. Log out from the web browser. Move the ethernet port to one behind the firewall so only SPEAR servers can access the PS web page. Power cycle the PS and verify that it comes up correctly configured. Remove the node from DHCP (added in a previous step).

EPICS Setup

  1. Add the PS to the $EPICS_APP/PowerSupply application.
  2. Add the PS sequence and configuration (if applicable) to the appropriate IOC startup file.
  3. Add the PS to various $EDM displays.
  4. Add applicable PVs to ChannelWatcher configuration files and restart ChannelWatcher.
  5. Add applicable PVs to Alarm Handler configuration files and restart ALH.
  6. Add setpoint PVs that need to be restored on restart and readback PVs for history using the PV database web interface.
  7. Add the PS to the appropriate table of this web page.

Conversion from Synergy to MVME6100 MCOR CPU

  1. Make sure PEM has upgraded the MCOR crate to supply more power.
  2. Get PEM to attach a Frankenboard, modified for higher power, to the MVME6100. Use a MVME6100 with scanbe handles.
  3. Move the PMC ethernet card from the Synergy to MVME6100 if the CPU is part of fast feedback.
  4. Request m$network to change the CPU serial cable from Synergy to MVME6100 pinout.
  5. Update the IOC web page for the change in model, MAC address, and battery replacement date. Add a line to the spares list for the now unused Synergy CPU. Update total spares for both MVME6100 and Synergy on the VME web page
  6. Change the $APP/Mcor/prod/mcorApp/DbIoc substitution file for the IOC to use iocMonDummy.db instead of iocMon.db.
  7. Change the $APP/Mcor/prod/iocBoot ioc startup file (st.cmd) to use b118-iocmcor/st.cmd.mvme instead of b118-iocmcor/st.cmd.
  8. Change the MAC address and BSP type in DHCP for the ioc node name following instructions on the IOC web page. This page also has instructions for flashing and configuring a new CPU.
  9. Release a new version of the Mcor application and reboot the IOC. Reboot a second time as always needed after a CPU power cycle.
  10. Remove the IOC CPU temperature and battery status from the $EDM mcortemp.edl and diagnostics/cpu_diags.edl and cpu_time.edl displays.
  11. Change IOCManager/IOCManagerApp/Db/spear/ntwk_spr.alhsubstitutions to move the IOC from ioc_rtems_nv.alhConfig to ioc_rtems.alhConfig. Generate ntwk_spr.alhconfig, copy it to $TOOLS/AlarmConfigsTop/ntwk/MAIN_TRUNK/spear/src/ntwk_spr.alhConfig, commit, release, and restart the NTWK ALH.
  12. Change $TOOLS/AlarmConfigsTop/temp/MAIN_TRUNK/spear/src/temp_spr.alhConfig to remove the IOC CPU temperature. Commit, release, and restart the TEMP ALH.
  13. Remove CPU temperature from $APP/PowerSupply/prod/bitPSCApp/Db/ mcorInhibitAll.db. This change can wait for the next release of PowerSupply.


SPEAR EPICS | SPEAR Home | SSRL Computing/Networking | SSRL Home | SLAC Computing | SLAC Networking | SLAC Home

Contact: Stephanie Allison
Last Modified: May 18, 2015