Total view Overall detector view One axis Horizontal

  • Slides: 22
Download presentation
Total view

Total view

Overall detector view

Overall detector view

One axis

One axis

Horizontal motion overview

Horizontal motion overview

Horizontal motion limits Beam center line = 0 Overlap = 5 mm SS=29. 7

Horizontal motion limits Beam center line = 0 Overlap = 5 mm SS=29. 7 RS=29. 8 ES=30. 0 HS=30. 2 SS=-0. 1 ES=-0. 2 HS=-0. 4 X STOP X LSTOP STOP STOP HS=-0. 4 ES=-0. 2 SS=-0. 1 STOP HS=30. 2 ES=30. 0 RS=29. 8 SS=29. 7 HS = hardstop (mm) ES = endswitch (mm) RS = reference switch (mm) SS = software stop (mm) NIKH EF

Support frame

Support frame

Y translation frame

Y translation frame

Vertical motion limits HS=5. 2 STOP ES=5. 0 STOP RS=4. 8 STOP SS=4. 7

Vertical motion limits HS=5. 2 STOP ES=5. 0 STOP RS=4. 8 STOP SS=4. 7 STOP up down beam center = 0 SS=-4. 9 STOP ES=-5. 0 STOP detector mounting = -7 bellow mounting = -20 NIKH EF HS = hardstop (mm) ES = endswitch (mm) RS = reference switch (mm) SS = software stop (mm)

The PLC hardware

The PLC hardware

Block diagram 60 meter Service area Target area Control system Rs 232 Cp 340

Block diagram 60 meter Service area Target area Control system Rs 232 Cp 340 Hardware interlocks Beam safety system ES, RS stepper res. interf. Dig out Sm 322 Rs 232 potm. interf. switch interf. resolver stepperm. U 33 step. drive ES 40: 1 spindle XR Potentiometer P 1, P 2, P 3 Cp 340 3 x To scada system Control system Ethernet Cp 343 192. 16. 192. 50 stepper res. interf. Processor CPU 316 -2 DP potm. interf. switch interf. ES, RS resolver stepperm. U 33 step. drive Ana in Dig in/out Sm 323 stepper res. interf. Plug-in at serviceor target area Dig in potm. interf. Sm 321 32 chann. UPS ES, RS step. drive spindle XL ES resolver stepperm. U 33 Power supply PS 307 -5 NIKH EF switch interf. 40: 1 Potentiometer P 1, P 2, P 3 Sm 331 2 x 16 chann. portable operator display ES 16: 1 Potentiometer P 1, P 2, P 3, P 4 spindle Y

PLC variables for one axis ES, RS stepper res. interf. potm. interf. switch interf.

PLC variables for one axis ES, RS stepper res. interf. potm. interf. switch interf. Read variables; P 1 Value during movement P 2 Value during movement P 3 Value during movement Write; Z A nnn P L Q M to set reference move to position read stepper value read resolver value emergency stop for stepper master mode bit Read variables; Stepper value after movement Resolver value after movement ES status out for each sub axis RS status as reference ES status in for each sub axis Stepper driver status NIKH EF resolver stepperm. U 33 step. drive ES 40: 1 spindle XR Potentiometer P 1, P 2, P 3 resolution 16 bit range 0… 5 V conv. to position 0 - 50. 00 mm to stepper interface to stepper interface to switch interface resolution 10 bit 1 bit range 0…xx 1=active 1=ok conv. to position 0. . mm

PLC initial procedure start init At start; First check mode to establish the right

PLC initial procedure start init 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) n status check physics mode out of reference n physics mode master limits active physics limits active disable beam injection So far it means that there is possible a beam without knowing the position of the detector? Z command Procedure delivers a status flag that all values are referenced? n n error 105 ready time out Set reference values error 101 Goto main-loop enable beam injection NIKH EF stop

PLC mode procedure Physics mode or Master mode. Status are presented to SCADA and

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 NIKH EF

PLC Main Loop start main At start; Only allowed if values are referenced? Mode

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

PLC Status loop start status Select Axis Get XL sw Get XR sw Get

PLC Status loop start status Select Axis Get XL sw Get XR sw Get Y sw Send P Switch XL error Switch XR error Read position stepper Store data Read position Send L resolver Store data Tolerance +/- 25 steps Switch Y error Compare Switch status ok Error 104 NIKH EF XL-XR-Y Status ok With potentiometer table

Error xx Error 101 Error 102 Time out Position inconsistently Give status To scada

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

Frame parts Downstream DSRpx DSLpx USLTpx DSLsw 2 x USLTsw 2 x USRTpx Top

Frame parts Downstream DSRpx DSLpx USLTpx DSLsw 2 x USLTsw 2 x USRTpx Top USRTsw 1 x USLsw 1 x USRpx Ref sw. USRsw 2 x USRsw 1 x USRpx XL XR Upstream Downstream Top Box 4 USRsw 1 x Left Right Ref sw. USRsw 1 x USLsw 1 x Ref sw. Bottom DSLpy DSLsw 2 y Bottom Box 1 USLsw 1 y Box 2 Y USLpy Box 6 USLsw 2 y Upstream Box 3 Top XR XL USLTsw 1 x DSLsw 1 y Ref sw. Bottom Upstream Top DSLsw 1 x Bottom DSRsw 1 x Bottom USRsw 1 y USRpy DSRsw 1 y DSRpy Box 5 USRsw 2 y Ref sw. NIKH EF Downstream DSLsw 1 x DSRsw 2 y

Commands Available commands to the stepper interface; XL XR Y Z goto reference position

Commands Available commands to the stepper interface; XL XR Y Z goto reference position (takes 300 seconds maximum for XL and XR or 30 seconds for Y axis) check moving with the potentiometers Annn 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. 00 mm) check moving with the potentiometers P L Q read the position of the stepper NIKH EF read the actual value of the resolver equal on the stepper (+/- 25 steps) quit the command (Z and A), stops the steppermotor.

Variable list 1 Variable layout; Nickname symbol address datatype value comment Global variable for

Variable list 1 Variable layout; Nickname symbol address datatype value comment Global variable for the XL detector half; Symbol XL-axis-mm XL-axis-resolver XL-axis-steps XL-res-ref-position NIKH EF address xx xx data type xx xx value variable constant comment XL-axis distance in mm XL-axis distance in resolver steps XL-axis distance in steppermotor steps

Variable list 2 NIKH EF

Variable list 2 NIKH EF

Variable list 3 NIKH EF

Variable list 3 NIKH EF

OLD Motion control PLC System Motion Controls Hardware interlocks to the beam inhibit system

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