Appendix D. Servicing the CS110
D-3
'CS110 program to trim index to fully closed shutter position (CS110_Index_Trim.cr1).
' Index/shutter trim procedure follows:
' 1. Take at least 8 full-steps open via flag(1) in order to synchronize
' motor coils with motor controller phase state.
' 2. Open shutter to the fully opened position via flag(1) and flag(2).
' 3. Utilizing flag(3) drop into scan that fully closes shutter with 25 full steps.
' 4. Monitor index output on o-scope or voltmeter and trim encoder adjustment so that
' Index = 5 V in fully closed position.
' 5. Take a step open (flag(1)) and then closed (flag(2)) and verify park on Index.
' Updated last by Jody Swenson on 7/15/04.
Public Flag(3)
Public I
Public Battery
Public Panel_Temp
BeginProg
Scan(10,msec,0,0)
If
Flag(1)
Then
CS110Trim(1)
'Take a step open.
Flag(1) = 0
'Reset Flag 1.
EndIf
If
Flag(2)
Then
CS110Trim(-1)
'Take a step closed.
Flag(2) = 0
'Reset Flag 2.
EndIf
If
Flag(3)
Then
'Exit scan via Flag 3.
Flag(3) = 0
ExitScan
EndIf
NextScan
Scan(1000,msec,0,0)
For I = 1 To 25
'Loop to fully close a fully opened shutter.
CS110Trim(-1)
'Take a step closed.
Delay
(0,10,mSec)
Next
I
ExitScan
NextScan
Scan(10,msec,0,0)
If
Flag(1)
Then
CS110Trim(1)
'Take a step open.
Flag(1) = 0
'Reset Flag 1.
EndIf
If
Flag(2)
Then
CS110Trim(-1)
'Take a step closed.
Flag(2) = 0
'Reset Flag 2.
EndIf
NextScan
EndProg
The CS110_Index_Trim.cr1 program uses flags 1, 2 and 3 available in
LoggerNet, for user control. Flags 1 and 2 are used to single step the shutter one
step open and closed, respectively. These flags are used initially to position the
shutter into the fully opened position, as observed visually by stator to shutter
overlap.
Summary of Contents for CS110
Page 2: ......
Page 4: ......
Page 6: ......
Page 10: ...iv This is a blank page ...
Page 37: ...Instruction Manual 27 ...
Page 48: ......
Page 52: ...Appendix B CS110 Accessories This is a blank page B 2 ...
Page 56: ...Appendix C CS110 Connector Pin outs C 4 This is a blank page ...
Page 72: ...Appendix F Example CRBasic Programs This is a blank page F 4 ...
Page 78: ...Appendix G CS110 2 Metre CM10 Tripod Site This is a blank page G 6 ...
Page 85: ......