Presentation is loading. Please wait.

Presentation is loading. Please wait.

Total view. Overall detector view One axis Horizontal motion overview.

Similar presentations


Presentation on theme: "Total view. Overall detector view One axis Horizontal motion overview."— Presentation transcript:

1 Total view

2 Overall detector view

3 One axis

4 Horizontal motion overview

5 Horizontal motion limits Beam center line = 0 HS=-0.4 ES=-0.2 SS=-0.1 STOP SS=-0.1 ES=-0.2 HS=-0.4 Overlap = 5mm HS=30.2 ES=30.0 RS=29.8 SS=29.7 STOP X X L SS=29.7 RS=29.8 ES=30.0 HS=30.2 STOP HS = hardstop (mm) ES = endswitch (mm) RS = reference switch (mm) SS = software stop (mm) EFNI H K

6 Support frame

7 Y translation frame

8 Vertical motion limits HS=5.2 ES=5.0 RS=4.8 SS=4.7 SS=-4.9 ES=-5.0 STOP up down beam center = 0 detector mounting = -7 bellow mounting = -20 HS = hardstop (mm) ES = endswitch (mm) RS = reference switch (mm) SS = software stop (mm) EFNI H K

9 The PLC hardware

10 Block diagram Service area Target area 60 meter switch interf. stepper interf. res. interf. step. drive resolverstepperm. 40:1 spindle XR U33 potm. interf. ES,RSES Potentiometer P1, P2, P3 switch interf. stepper interf. res. interf. step. drive resolverstepperm. 40:1 spindle XL U33 potm. interf. ES,RSES Potentiometer P1, P2, P3 switch interf. stepper interf. res. interf. step. drive resolverstepperm. 16:1 spindle Y U33 potm. interf. ES,RS ES Potentiometer P1, P2, P3, P4 Dig in Sm321 32 chann. Processor CPU 316-2DP Ana in Sm331 2x 16 chann. Dig in/out Sm323 Dig out Sm322 Rs232 Cp340 Power supply PS307-5 Ethernet Cp343 192.16.192.50 Rs232 Cp340 3x Hardware interlocks Beam safety system To scada system Control system Plug-in at service- or target area portable operator display EFNI H K UPS

11 PLC variables for one axis switch interf. stepper interf. res. interf. step. drive resolverstepperm. 40:1 spindle XR U33 potm. interf. ES,RSES Potentiometer P1, P2, P3 Write; Z to set referenceto stepper interface A nnn move to positionto stepper interface P read stepper valueto stepper interface L read resolver valueto stepper interface Q emergency stop for stepperto stepper interface M master mode bitto switch interface Read variables; Stepper value after movement resolutionrangeconv. to position Resolver value after movement10bit0…xx0..mm ES status out for each sub axis1bit1=active RS status as reference1bit1=active ES status in for each sub axis1bit1=active Stepper driver status1bit1=ok Read variables;resolutionrangeconv. to position P1 Value during movement 16bit0…5V0 - 50.00mm P2 Value during movement 16bit0…5V0 - 50.00mm P3 Value during movement 16bit0…5V0 - 50.00mm EFNI H K

12 PLC initial procedure physics mode out of reference n n n master limits active physics limits active physics mode time out ready enable beam injection Goto main-loop start init stop At start; First check mode to establish the right communication? Or always in physics mode? Check or this command is allowed? A priori out of reference Inhibit beam injection Goto reference position Error 101 on time out +? (other procedure) Enable beam injection Goto desired position (other procedure) So far it means that there is possible a beam without knowing the position of the detector? Procedure delivers a status flag that all values are referenced? Set reference values Z command EFNI H K disable beam injection n status check error105error101

13 PLC mode procedure Physics mode or Master mode. Status are presented to SCADA and portable display Physics mode: Accept only commands via SCADA system Narrower limits then master mode No password protection No change allowed of the mode Master mode: Accept only commands by portable display More limit privileges then physics mode Only via password protection changing of mode EFNI H K

14 PLC Main Loop read pos. calculation desired Pos. Check potm. Stepper position Resolver position End Pos. < limits At start; Only allowed if values are referenced? Mode depends on mode procedure During movement injection inhibit? Stepper drive power on? start main Potmeter position n n n master limits active physic limits active physics mode Calc.time-out value n n time out ready Position nnn error102error101 Status loop A nnn command error103 EFNI H K disable beam injection enable beam injection

15 PLC Status loop EFNI H K Read position stepper Store data Send P Read position resolver Store data Send L With potentiometer table start status Compare Tolerance +/- 25 steps Status ok Error 104 Select AxisXL-XR-Y start status Get XL swGet XR swGet Y sw Switch status ok Switch XL error Switch XR error Switch Y error

16 Error xx EFNI H K Position inconsistently Give status To scada and display Error102 Time out Error101 Input error Error103 Error101; Has to end with Q command? Error 101, 102; Back to ref. Pos.? Enable beam inj.? Error 103 Send to PVVS “Input?” Error 104 Send to PVVS “Axis undefined pos” Axis pos. error Error104

17 Frame parts Box2 Box4 Box3 XL XR XL XR Downstream Upstream Left Box2 Bottom Downstream DSLsw1x USLsw1x Ref sw. USLTsw1xUSRsw1x DSRsw1x Ref sw. Right EFNI H K Top Bottom Top Bottom Top Box1 Y Box5 Box6 DSLpy USLpy USLsw1y USLsw2y DSLsw1y DSLsw2y USRpy DSRpy DSRsw1y DSRsw2y USRsw1y USRsw2y Ref sw. USRTsw1x USLTsw1x DSRsw1x DSRpx DSLpx DSLsw2x Bottom USLTsw2x USLTpx USRTpx USRsw1x USRpx Ref sw. USRsw2x Top Bottom DSLsw1x USLsw1x Ref sw.

18 Commands goto reference position (takes 300 seconds maximum for XL and XR or 30 seconds for Y axis) check moving with the potentiometers goto nnn absolute postition (takes 300 seconds maximum for XL and XR or 30 seconds for Y axis) nnn in steps, value between 0 and 1.400.000 (35.00mm) check moving with the potentiometers read the position of the stepper read the actual value of the resolver equal on the stepper (+/- 25 steps) quit the command (Z and A), stops the steppermotor. Available commands to the stepper interface; XL XR Y Z Annn P L Q EFNI H K

19 Variable list 1 Variable layout; Nickname symbol address datatype value comment Global variable for the XL detector half; Symboladdressdata typevaluecomment XL-axis-mmxxxxvariableXL-axis distance in mm XL-axis-resolverxxxxXL-axis distance in resolver steps XL-axis-stepsxxxxXL-axis distance in steppermotor steps XL-res-ref-positionxxxxconstant EFNI H K

20 Variable list 2 EFNI H K

21 Variable list 3 EFNI H K

22 OLD Motion control To scada system PVSS II Hardware interlocks to the beam inhibit system PLC Siemens S7-300 CPU Power Supply Ethernet RS232 DIG I/O hand control panel hand control ADC ethernet PLC System Motion Controls Potmeter interface RESOLVER interface Switch interface Stepper and resolver controller RS232 steppermotor resolver 3x STEPPER DRIVE 3x Potmeter Shielding wall Power


Download ppt "Total view. Overall detector view One axis Horizontal motion overview."

Similar presentations


Ads by Google