[INSTRM-1624] Tweak peb to powercycle fiber-USB convertor ("usb2") Created: 11/Jun/22  Updated: 13/Sep/22  Resolved: 13/Sep/22

Status: Done
Project: Instrument control development
Component/s: ics_pebActor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: yuki.moritani Assignee: chyan
Resolution: Done Votes: 0
Labels: EngRun
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 3
Sprint: preEngRun07Sep

 Description   

While troubleshooting PFI old E-box, it was found that one of the fiber-USB convertor (usb2) was always on, because it is connected to different port (flow = boardb) of the PDU. As the current pebActor only has "bounce" option for "boardb" we need to send raw command (see below),or power-cycle the whole PFI E-box, in order to intentionally turn off and on the usb2. 

oneCmd.py peb power raw=:S1FC017C0
oneCmd.py peb power raw=:S1FC01FC0

To powercycle both usb convertors rather simply, it would be nice to tweak the software. In longer-term, the PDU board and the wiring of the old E-box will be fixed.



 Comments   
Comment by yuki.moritani [ 12/Jun/22 ]

I talked about this with Chi-Hung, and he suggest to tweak the pin assignment in https://github.com/Subaru-PFS/ics_pebActor/blob/master/python/pebActor/Controllers/power.py  :

POWER_BOARDB =  int('0000100000000',base=2)
POWER_USB2 =    int('0100000000000',base=2)
Comment by hassan [ 08/Sep/22 ]

So can this change be made to ics_pebActor chyan?

Comment by chyan [ 13/Sep/22 ]

This feature is implemented in https://github.com/Subaru-PFS/ics_pebActor/blob/master/python/pebActor/Controllers/power.py by using different E-Box setting.

Generated at Sat Feb 10 16:37:41 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.