...
Table of Contents |
---|
==================================================
in xcs-control:
caput XCS:SB2:MMS:09:SET_VE 0
modify reg/d/iocCommon/sioc/ioc-xcs-trigger-ims/startup.cmd
to point to working area,
ssh ioc-xcs-mot1
kill ioc (telnet localhost...)
boot ioc from reg/d/iocCommon/sioc/ioc-xcs-trigger-ims/startup.cmd
===================================================
1. START STOP mode3.3
SET_TG 2
SET_MODE 3
2. FAST OPEN/CLOSE PV
3. START POSITION INDEPENDENT:
...
Code Block |
---|
initial condition: Motor is homing from outside: C2 = 0 C1= 0 MN = ? MF = XXXX steps (known) forward MB = XXXX steps (known) backward MO = XXXX steps (known) open position Idle routine: looking for where to go... (mod 2, mod 3, mod 4, fastopen, fastclose) checkset subroutine check my pos: read C2 MN=MB, C2=MF +/- DELTA (dead band) RT MN=MF, C2=MB +/- DELTA (dead band) RT (MA MF and MN=MF), C2=MO +/- DELTA (dead band) RT if I m in startup+: set next move to startup- (MB) return subroutine if I m in startup-: set next move to startup+ (MF) return subroutine if I m open (MO): MA to startup+ (MF) set next move to startup- (MB) mod 2 call chekset waiting for trigger ... mod 3 call chekset waiting for trigger ... mod 4 call chekset waiting for trigger ... fastopen MA to open pos fastclose if in open pos MA to startup+ |
Code Block |
---|
' Program Fragment: MODE_1 (Single Shot)
|
Code Block |
---|
' Program Fragment: MODE_2 (Continuous)
|
Code Block |
---|
' Program Fragment: MODE_3 (Burst mode)
|
...
Code Block |
---|
ssh ioc-tst-cam5 |
Code Block |
---|
sudo /reg/d/iocCommon/sioc/ioc-tst-cam5/startup.cmd |
Code Block |
---|
[paiser@ioc-xrt-xcscam04 ~ 12:18:20] psproc PID USER-ID SIOC COMMAND HOSTNAME PORT 4851 tstioc caRepeater procServ ioc-xrt-xcscam04 30000 5147 tstioc ioc-tst-cam5 procServ ioc-xrt-xcscam04 30001 5150 tstioc ioc-tst-cam5 procServ ioc-xrt-xcscam04 40000 |
Code Block |
---|
ipmitool -I lanplus -U ADMIN -P <you_should_know> -H ioc-tst-cam5-ipmi power status
ipmitool -I lanplus -U ADMIN -P <you_should_know> -H ioc-tst-cam5-ipmi power reset
|
Where: <you_should_know> is the standard ipmi password that you_should_know...
...