plctbl

!
! PLCTBL for polling data
! n.k. jan.16.1998
!
! $BCm0U!'(B $B?7$7$$(BPOLLHOST$B$,DI2C!&:o=|$5$l$?>l9g$O!"(BUnix shared-mem$B$r0lEY>C$7!"(B
! plcrecv$B$r:F5/F0$7$F$/$@$5$$(B
! $B$*$=$i$/(B shared-mem $B$N>C5n$OI,MW$J$$$i$7$$!"$7$+$7!"?t$O(B 24x10 $B$r(B
! $BD6$($i$l$J$$(B
!
! Modifications:
! n.k. feb.17.1998 remove KL_36
! n.k. mar.27.1998 use dot-addr for PLCs
! n.k. mar.30.1998 add KL_21
! n.k. mar.31.1998 change pollhost of KL_C5/KL_C6 (monCB->monCA)
! n.k. apr. 1.1998 change pollhost of KL_C5/KL_C6 (monCA->monCB)
! n.k. aug.26.1998 add SH_A1_S1/SH_A1_S8, do not use IP-addresses
! n.k. sep. 4.1998 add POLLSN (Polling-SeriaNumber)
! n.k. sep.11.1998 add GU_A1(gunplca1mod)
! n.k. sep.17.1998 use 192.168.240.xx for KL_xx (1-5sector)
! n.k. sep.21.1998 change pollhost of {SB_C,KL_C1/C2/C3/C4} - monCA to monRA to mon6A
! n.k. dec.8-9.1998 change GU_A1 gunplca1mod -> guplca1mod, add GU_CT
! n.k. dec.14.1998 add INTL_1
! n.k. dec.28.1998 change pollhost of {SB_C,KL_C1/C2/C3/C4} - mon6A to monCA
! n.k. feb. 9.1999 use hostnames instead of IP (most of the KLPLCs)
! n.k. feb.25.1999 add PLCID for klystron identify (to be used soon, not yet)
! n.k. apr.11.1999 add POLLID; remove PORT,MSGSIZE
! n.k. jun.24.1999 add A/B sectors
! n.k. sep. 3.1999 re-arrange with cachesrv2/cachesrv3 completly
! n.k. sep. 7.1999 add KL_61, use %X format for POLLID
! n.k. mar.17.2000 remove KL_44, add KL_18, move GU_CT
! n.k. sep. 5.2000 add BT0-1/0-2/2-1/2-4/2-5/3-4
! n.k. sep. 5.2000 add BT0-1/0-2/2-1/2-4/2-5/3-4
! n.k. mar. 8.2001 add KL_R1,KL_R2
! n.k. mar.22.2001 re-arrange all : KL=cachesrv2, BT+VAC=cachesrv3
! n.k. aug.22.2001 re-arrange BT
! n.k. nov.15.2001 add UNUSED bit
! n.k. nov.26.2001 add vacplcR-B
! n.k. feb.28.2008 rename KL_R1/R2 to KL_T1/T2
! n.k. sep.19.2002 add tgtplc (172.19.68.17) at cachesrv3
! n.k. jan.30.2003 add sftplc2 (192.153.107.53) at cachesrv2
! k.f. feb.28.2003 add KL_T3
! s.k. jul. 2.2003 add vacplcR-C
! s.k. aug.15.2003 change node to chachesrv6,7 to cachesrv2,3
! s.k,k.f. feb.19.2004 add KL_S1,T4,GU_S1
! k.f. sep.30.2004 add VACS-A
! s.k. apr.28.2005 add KL_T5
! t.k. jul.06.2005 remove KL_T5
! s.k. aug.24.2005 add KL_CT, BT6-A
! s.k. jan.25.2007 add magplcS-{A1,E1,E2,E3},vacplcS-{A,E}
! s.k. may.17.2007 change KL_T5 id 95 -> 05
! s.k. feb.07.2008 add magplc2-a6
! s.k. nov.18.2008 add P[XY]_28_4,P[XY]_38_4,P[XY]_48_4
! s.k. jul.29.2010 change pollhost to lcba11,12 from cachesrv6,7
! t.k. sep.09.2011 add vacplc3-A2
! s.k. feb.09.2012 change type to suxaku from plc for klplc36
! s.k. jun.21.2012 change type to suxaku from plc for klplc14
! n.t. mar.18.2013 add magplcR-C
! s.k. jan.10.2014 add magplc2-a1,magplc1-b3,magplc1-b4,magplc1-c1
! magplc1-c2,magplc2-d1,magplc2-d2,magplc2-c1
! t.k. apr.16.2014 add klplcfl15
! t.k. aug.25.2014 add klplca1b. rename KL_A1 -> KL_A1_A
! n.t. sep.09.2014 add vacplcA-B
! s.k, sep.18.2014 remove VACS-A on lcba12 pollid=16 duplicate registered
! t.k, oct.02.2014 rename FL_15 -> FC_15
! t.k, oct.29.2014 rename KL_13 -> FC_13
! t.k, feb.27.2015 remove BT2-2, add BTA-9
! s.k, mar.25.2015 change sb_b-2 plc to armadillo
! s.k, apr.02.2015 add sftplcABC INTL_ABC
! s.k, jun.22.2015 add KL_T7
! s.k, jan.20.2016 remove GU_A1, SB_A
! s.k, mar.29.2016 chage sh_a1_s1/s8 plc to armadillo
! s.k, jul.24.2018 remove not use plc
! t.k, oct.09.2018 change pollhost to lcbbc65,66 from lcba11,12
! n.t, apr.12.2019 remove magplcC-A1,magplcC-B1
! s.k, nov.11.2020 add KL_44_B
!
!-----------------------------------------------------------------------
!
! POLLHOST: the nodename where the polling process with ID=POLLID starts
!
! POLLSN: serial number of each PLC in one process (see struct plc_poll)
! $B!t#1$D$N(Bprocess$B$KF1$8(BPOLLSN$B$,#28D$D$+$J$$$h$&Cm0U!*(B
!
! POLLID: polling ID, unique for each polling process
! $B!tA4%7%9%F%`$G(Bpolling process$B$K(BUnique$B$JHV9f!"#0$+$i(BPLC_MAXID$B$^$G(B
!
! TYPE:
! BT-Yokogawa-PLC 0000 0000 0000 0001
! VAC-Yokogawa-PLC 0000 0000 0001 0000
! KLY-Yokogawa-PLC 0000 0001 0000 0000
! Interlock-Yokogawa-PLC 0001 0000 0000 0000
! KLY-Armadillo 1000 0000 0000 0000
! UNUSED - in test but exist 0000 0000 0000 0100
!
! PLCID: ID-number for each PLC (0x21 for klplc21) [for KLY-PLCs]
! set 0 for un-used PLCs
! IP$B%"%I%l%9$NKvHx$H0lCW$5$;$kI,MW$"$j(B
! 192.168.240.15 -> 0f
!
!-----------------------------------------------------------------------
!separator = ' '
!keyword = "NAME NODE POLLHOST POLLID POLLSN TYPE PLCID"
!format = "%s %s %s %x %d %x %x"
!-----------------------------------------------------------------------
!
! [A] Kly - A sector
!
!SB_A sbplca lcbbc65 0A 0 0100 a0
!GU_A1 guplca1mod lcbbc65 0A 5 0100 a5
!GU_A1 192.168.240.165 lcbbc65 0A 5 0100 a5
NAME NODE POLLHOST POLLID POLLSN TYPE PLCID
SH_A1_S1 shplca1-1 lcbbc65 0A 6 8000 a6
SH_A1_S8 shplca1-2 lcbbc65 0A 7 8000 a7
!
!GU_CT guplcctmod lcbbc65 0A 8 0100 d0
!GU_3T guplcctmod lcbbc65 0A 8 0100 d0
!
!
!KL_T5 klplct5 lcbbc65 0A 8 0100 95
!
KL_A1_A klplca1 lcbbc65 0A 0 8000 a1
KL_A1_B klplca1b lcbbc65 0A 1 8000 a8
KL_A2 klplca2 lcbbc65 0A 2 8000 a2
KL_A3 klplca3 lcbbc65 0A 3 8000 a3
KL_A4 klplca4 lcbbc65 0A 4 8000 a4
KL_T7 klplct7 lcbbc65 0A 5 8000 07
!
!
! [B] Kly - B sector
!
SB_B sbplcb lcbbc65 0B 0 8000 b0
KL_B1 klplcb1 lcbbc65 0B 1 8000 b1
KL_B2 klplcb2 lcbbc65 0B 2 8000 b2
KL_B3 klplcb3 lcbbc65 0B 3 8000 b3
KL_B4 klplcb4 lcbbc65 0B 4 8000 b4
KL_B5 klplcb5 lcbbc65 0B 5 8000 b5
KL_B6 klplcb6 lcbbc65 0B 6 8000 b6
KL_B7 klplcb7 lcbbc65 0B 7 8000 b7
KL_B8 klplcb8 lcbbc65 0B 8 8000 b8
!KL_T7 klplct7 lcbbc65 0B 9 8000 07
!
! [C] Kly - C sector
!
SB_C sbplcc lcbbc65 0C 0 8000 c0
KL_C1 klplcc1 lcbbc65 0C 1 8000 c1
KL_C2 klplcc2 lcbbc65 0C 2 8000 c2
KL_C3 klplcc3 lcbbc65 0C 3 8000 c3
KL_C4 klplcc4 lcbbc65 0C 4 8000 c4
KL_C5 klplcc5 lcbbc65 0C 5 8000 c5
KL_C6 klplcc6 lcbbc65 0C 6 8000 c6
KL_C7 klplcc7 lcbbc65 0C 7 8000 c7
!KL_CT klplcct lcbbc65 0C 8 0100 cc
!KL_3T klplc3t lcbbc65 0C 8 8000 cc
!KL_DN klplc3t lcbbc65 0C 8 8000 cc
KL_C8 klplcc8 lcbbc65 0C 9 8000 c8
!
! [1] Kly - 1 sector (and GU_CT)
!
SB_1 sbplc1 lcbbc65 1 0 8000 10
KL_11 klplc11 lcbbc65 1 1 8000 11
KL_12 klplc12 lcbbc65 1 2 8000 12
KL_13 klplc13 lcbbc65 1 3 8000 13
!KL_14 klplc14 lcbbc65 1 4 8000 14
KL_15 klplc15 lcbbc65 1 5 8000 15
KL_16 klplc16 lcbbc65 1 6 8000 16
KL_17 klplc17 lcbbc65 1 7 8000 17
KL_18 klplc18 lcbbc65 1 8 8000 18
FC_15 klplcfl15 lcbbc65 1 9 8000 0f
!
! [2] Kly - 2 sector
!
!KL_25 klplc25 lcbbc65 2 5 8000 25
SB_2 sbplc2 lcbbc65 2 0 8000 20
KL_21 klplc21 lcbbc65 2 1 8000 21
KL_22 klplc22 lcbbc65 2 2 8000 22
KL_23 klplc23 lcbbc65 2 3 8000 23
KL_24 klplc24 lcbbc65 2 4 8000 24
KL_26 klplc26 lcbbc65 2 5 8000 26
KL_27 klplc27 lcbbc65 2 6 8000 27
KL_28 klplc28 lcbbc65 2 7 8000 28
KL_DN klplc3t lcbbc65 2 8 8000 CC
FC_21 klplcfc21 lcbbc65 2 9 8000 0e
!
!KL_61 klplc61 lcbbc65 2 9 8000 61
!
! [3] Kly - 3 sector
!
!KL_31 klplc31 lcbbc65 3 1 8000 31
SB_3 sbplc3 lcbbc65 3 0 8000 30
KL_32 klplc32 lcbbc65 3 1 8000 32
KL_33 klplc33 lcbbc65 3 2 8000 33
KL_34 klplc34 lcbbc65 3 3 8000 34
KL_35 klplc35 lcbbc65 3 4 8000 35
KL_36 klplc36 lcbbc65 3 5 8000 36
KL_37 klplc37 lcbbc65 3 6 8000 37
KL_38 klplc38 lcbbc65 3 7 8000 38
KL_DS klplcds lcbbc65 3 8 8000 2a
!
! [4] Kly - 4 sector
!
SB_4 sbplc4 lcbbc65 4 0 8000 40
KL_41 klplc41 lcbbc65 4 1 8000 41
KL_42 klplc42 lcbbc65 4 2 8000 42
KL_43 klplc43 lcbbc65 4 3 8000 43
KL_44_A klplc44 lcbbc65 4 4 8000 44
KL_45 klplc45 lcbbc65 4 5 8000 45
KL_46 klplc46 lcbbc65 4 6 8000 46
KL_47 klplc47 lcbbc65 4 7 8000 47
KL_48 klplc48 lcbbc65 4 8 8000 48
KL_44_B klplc44b lcbbc65 4 9 8000 4C
!
! [5] Kly - 5 sector
!
SB_5 sbplc5 lcbbc65 5 0 8000 50
KL_51 klplc51 lcbbc65 5 1 8000 51
KL_52 klplc52 lcbbc65 5 2 8000 52
KL_53 klplc53 lcbbc65 5 3 8000 53
KL_54 klplc54 lcbbc65 5 4 8000 54
KL_55 klplc55 lcbbc65 5 5 8000 55
KL_56 klplc56 lcbbc65 5 6 8000 56
KL_57 klplc57 lcbbc65 5 7 8000 57
!KL_58 klplc58 lcbbc65 5 8 8000 58
!
! [6] Kly - 61
!
!see ID=2 for 2-sector
KL_61 klplc61 lcbbc65 5 9 8000 61
!
! [Test] at ARC (Aging Stand)
!
!KL_R1 klplcr1 lcbbc65 9 0 0100 91
!KL_R2 klplcr2 lcbbc65 9 1 0100 92
KL_T1 klplcr1 lcbbc65 9 0 0100 91
KL_T2 klplcr2 lcbbc65 9 1 0100 92
KL_T3 klplcr3 lcbbc65 9 2 0100 93
KL_T4 klplct4 lcbbc65 9 3 0100 94
KL_T5 klplct5 lcbbc65 9 4 0100 05
!
! [Slow e+]
!
GU_S1 guplcs1 lcbbc65 9 5 8000 d2
KL_S1 klplcs1 lcbbc65 9 6 8000 d1
!
INTL_2 sftplc2 lcbbc65 9 9 0010 0
!
! *********************************************************************
!
! [ABRC1] Vac - A,B,R,C,1 sectors (and INTL)
!
VACA-A vacplcA-A lcbbc66 6 0 0010 0
VACA-B vacplcA-B lcbbc66 6 1 0010 0
VACB-A vacplcB-A lcbbc66 6 2 0010 0
VACB-B vacplcB-B lcbbc66 6 3 0010 0
VACR-A vacplcR-A lcbbc66 6 4 0010 0
VACR-B vacplcR-B lcbbc66 6 5 0010 0
VACR-C vacplcR-C lcbbc66 6 6 0010 0
VACC-A vacplcC-A lcbbc66 6 7 0010 0
VACC-B vacplcC-B lcbbc66 6 8 0010 0
VAC1-A vacplc1-A lcbbc66 6 9 0010 0
!
! [12345] Vac - 1,2,3,4,5 sectors
!
VAC1-B vacplc1-B lcbbc66 7 0 0010 0
VAC2-B vacplc2-B lcbbc66 7 1 0010 0
VAC2-C vacplc2-C lcbbc66 7 2 0010 0
VAC3-A vacplc3-A lcbbc66 7 3 0010 0
VAC3-A2 vacplc3-A2 lcbbc66 7 4 0010 0
VAC3-B vacplc3-B lcbbc66 7 5 0010 0
VAC4-A vacplc4-A lcbbc66 7 6 0010 0
VAC4-B vacplc4-B lcbbc66 7 7 0010 0
VAC5-A vacplc5-A lcbbc66 7 8 0010 0
VAC5-B vacplc5-B lcbbc66 7 9 0010 0
!
! [5ECS,Slow] Vac - 5,ECS,Slow sectors
!
VAC6-A vacplc6-A lcbbc66 8 0 0010 0
VACECS vacplcECS lcbbc66 8 1 0010 0
VACS-A vacplcS-A lcbbc66 8 2 0010 0
!
INTL_1 sftplcmain lcbbc66 8 3 0010 0
INTL_ABC safplcABC lcbbc66 8 4 0010 0
!
! *********************************************************************
!
! [A] BT - A sector
!
BTA-1 magplcA-A1 lcbbc66 10 0 0001 0
BTA-2 magplcA-A2 lcbbc66 10 1 0001 0
BTA-3 magplcA-A3 lcbbc66 10 2 0001 0
BTA-4 magplcA-A4 lcbbc66 10 3 0001 0
BTA-5 magplcA-B1 lcbbc66 10 4 0001 0
BTA-6 magplcA-B2 lcbbc66 10 5 0001 0
BTA-7 magplcA-C1 lcbbc66 10 6 0001 0
BTA-8 magplcA-C2 lcbbc66 10 7 0001 0
BTA-9 magplcA-A5 lcbbc66 10 8 0001 0
!
! [BR] BT - B sector
!
BTB-1 magplcB-A1 lcbbc66 11 0 0001 0
BTB-2 magplcB-A2 lcbbc66 11 1 0001 0
BTB-3 magplcB-B1 lcbbc66 11 2 0001 0
BTB-4 magplcB-B2 lcbbc66 11 3 0001 0
!
! [R] BT - R sector
!
BTR-1 magplcR-A lcbbc66 11 4 0001 0
BTR-2 magplcR-B lcbbc66 11 5 0001 0
BTR-3 magplcR-C lcbbc66 11 6 0001 0
!
! [C] BT - C sector
!
!BTC-1 magplcC-A1 lcbbc66 11 7 0001 0
BTC-2 magplcC-A2 lcbbc66 11 8 0001 0
!BTC-3 magplcC-B1 lcbbc66 11 9 0001 0
BTC-4 magplcC-B2 lcbbc66 12 0 0001 0
!
! [0] BT - 0 sector
!
!BT0-1 magplc0-11 lcbbc66 12 0 0001 0
!BT0-2 magplc0-12 lcbbc66 12 1 0001 0
!
! [1] BT - 1 sector and TGT
!
!BT1-3 magplc1-B1 lcbbc66 12 4 0001 0
!BT1-5 magplcBCS lcbbc66 12 6 0001 0
!TGTPLC tgtplc lcbbc66 12 5 1000 0
!GU_3T guplcctmod lcbbc66 12 6 0100 d0
BT1-1 magplc1-A1 lcbbc66 12 1 0001 0
BT1-2 magplc1-A2 lcbbc66 12 2 0001 0
BT1-4 magplc1-B2 lcbbc66 12 3 0001 0
!
! [2] BT - 2 sector
!
!BT2-2 magplc2-A2 lcbbc66 13 1 0001 0
!BT2-4 magplc2-A4 lcbbc66 13 3 0001 0
BT2-1 magplc2-A1 lcbbc66 12 4 0001 0
BT2-3 magplc2-A3 lcbbc66 12 5 0001 0
BT2-5 magplc2-A5 lcbbc66 12 6 0001 0
BT2-6 magplc2-B1 lcbbc66 12 7 0001 0
BT2-7 magplc2-B2 lcbbc66 12 8 0001 0
!
!BT2-8 magplc2-A6 lcbbc66 12 9 0001 0
!BT2-9 magplc3-A3 lcbbc66 13 0 0001 0
!BT2-10 magplc2-A7 lcbbc66 13 1 0001 0
!BT2-11 magplc2-B3 lcbbc66 13 2 0001 0
!
! [34] BT - 3,4 sector
!
!BT3-1 magplc3-A1 lcbbc66 14 0 0001 0
!BT3-2 magplc3-B1 lcbbc66 14 1 0001 0
!BT3-6 magplc3-T1 lcbbc66 14 5 0001 0
!BT3-7 magplc3-T2 lcbbc66 14 6 0001 0
!BT3-3 magplc3-A2 lcbbc66 13 3 0001 0
!BT3-4 magplc3-B2 lcbbc66 13 4 0001 0
!BT3-5 magplc4-A3 lcbbc66 13 5 0001 0
!
!BT4-1 magplc4-A lcbbc66 13 6 0001 0
!BT4-2 magplc4-B1 lcbbc66 13 7 0001 0
!BT4-3 magplc4-B2 lcbbc66 13 6 0001 0
!BT4-4 magplc5-A3 lcbbc66 13 7 0001 0
!
! [5E] BT - 5,ECS sector
!
!BT5-1 magplc5-A lcbbc66 15 0 0001 0
!BT5-2 magplc5-B1 lcbbc66 15 1 0001 0
!BT5-4 magplcECS2 lcbbc66 15 3 0001 0
!BT5-5 magplcECS1 lcbbc66 15 4 0001 0
!BT5-6 magplcECS3 lcbbc66 15 5 0001 0
!BT5-3 magplc5-B2 lcbbc66 13 8 0001 0
!
! PF-BT
!
BT6-1 magplcECS1 lcbbc66 13 0 0001 0
BT6-2 magplcECS2 lcbbc66 13 1 0001 0
BT6-3 magplcECS3 lcbbc66 13 2 0001 0
BT6-A magplc6-A lcbbc66 13 3 0001 0
!
! [SLOW] BT/VAC Slow positron
!
BTS-A1 magplcS-A1 lcbbc66 13 4 0001 0
!BTS-E1 magplcS-E1 lcbbc66 16 1 0001 0
!BTS-E2 magplcS-E2 lcbbc66 16 2 0001 0
!BTS-E3 magplcS-E3 lcbbc66 16 3 0001 0
!VACS-E vacplcS-E lcbbc66 16 4 0010 0
!VAC4-A2 vacplc4-A2 lcbbc66 16 5 0010 0
!
!
! END OF THE TABLE
!

List $B$KLa$k(B


lcont@mail-linac.kek.jp