Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Move (MA) to positive closed position (P1)
  • If error checking is enabled (Ec=1)
    • Calculate drift at previous position P0: Dr=Cs-N0
    • If calculated drift is out of spec (Dr>=Dl)
      • Increment upper drift violation counter Ud
    • EndIf
  • EndIf
  • Specify Burst Open ISR (J3) to run on Input Trip
  • Hold until movement complete
  • Copy current encoder count (C2) to shadow register Cs
  • Set Df=1 to indicate slits are at positive closed position
  • Re-arm input trip (TE=4)
  • Return

Mode 4: Fast Open (LB Z4)

  • Signal state change to 40 (Fast Open Init)
  • Load fast open speeds (CL V4)
  • Move (MA) to the open position (P0)
  • If error checking is enabled (Ec=1), check drift at previous, assumed positive closed position (call CL X8)
  • Hold until movement complete
  • Set Df=0 to indicate that slits are in open position
  • Signal state change to 41 (Fast open complete)
  • Goto mode select

Mode 5: Fast Close (LB Z5)

  • Signal state change to 50 (Fast close init)
  • Load fast close speeds (CL V5)
  • If neither at Df=1 (positive closed) nor at Df=-1 (negative closed), then
    • Move (MA) to the positive closed position (P1)
    • If error checking is enabled (Ec=1), check drift at previous, assumed negative closed position (call X8)
    • Hold until movement complete
    • Copy current encoder count to Cs for future drift checks
    • Set Df=1 to indicate that slits are in positive closed position
    • Copy current encoder count to Cs for future drift checks
  • EndIf
  • Signal state change to 51 (Fast close complete)
  • Goto mode select

Mode 7: Home to Index Mark (LB Z7)

  • Signal state change to 70 (Homing init)
  • Load homing/alignment speeds (CL V9)
  • Execute home-to-index (HI) with option 3 (slew at VM in + direction, creep in - direction)
  • Hold until movement complete
  • Relative move (MR) by Mo to positive closed position
  • Hold until movement completecomplete
  • Set C1 to P1 - tell the motor where it is
  • Set C2 to N1 - tell the encoder where it is
  • Set Cs to C2 - copy the encoder count to shadow registerSet C1 to P1, C2 to N1, Cs to N1
  • Set Df to 1 (positive closed position, known)
  • Reset limit violation counters Ld and Ud to 0
  • Signal state change to 79 (Homing complete)
  • Goto mode select

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b0305d9a8cf293b8-85edd744-416e4b1e-b44bade1-32b36002cdcf1403254ed8d2"><ac:plain-text-body><![CDATA[

Var

Value [step/s(^2)]

[deg/s(^2)]

[rev/s(^2)]

]]></ac:plain-text-body></ac:structured-macro>

VI

5300

1192.5

3.3125

VM

10000

2250

6.25

A

1875000

421880

1171.9

D

1875000

421880

1171.9

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4bcca7303b92da7a-84d0d9c1-45d8413c-938a905d-1cc45d5843d662219ca5ba8b"><ac:plain-text-body><![CDATA[

Var

Value [step/s(^2)]

[deg/s(^2)]

[rev/s(^2)]

]]></ac:plain-text-body></ac:structured-macro>

VI

7500

1687.5

3.3125

VM

10000

2250

4.6875

A

1875000

421880

1171.9

D

1875000

421880

1171.9

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0078a73af6c926c3-19fd8c3a-4b764991-a1d8ab63-4f8ee5bf89cf85cc0632ce7f"><ac:plain-text-body><![CDATA[

Var

Value [step/s(^2)]

[deg/s(^2)]

[rev/s(^2)]

]]></ac:plain-text-body></ac:structured-macro>

VI

7500

1687.5

3.3125

VM

10000

2250

4.6875

A

1875000

421880

1171.9

D

1875000

421880

1171.9

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="270fd7554f8897b0-86fb26a0-440e4aa3-bf07b737-4e2d5abcab8afc3bc487d7ff"><ac:plain-text-body><![CDATA[

Var

Value [step/s(^2)]

[deg/s(^2)]

[rev/s(^2)]

]]></ac:plain-text-body></ac:structured-macro>

VI

640

144

0.4

VM

2560

576

1.6

A

640

144

0.4

D

640

144

0.4

...