Specifications
Appendix A. Door Switch
6. Attach PN 18431 switch to enclosure case using PN 18178 mount with
two #17909 screws and two #8548 nuts (see Figure A.1-15).
FIGURE A.1-15. The switch attached to the enclosure case.
A.2 Example Programs
A.2.1 CRBasic
'Program name: DOOR SWITCH CR1000.CR1
'Date written: 11/7/2005
'
' Door Switch Wiring
' +5V black - power to door switch
' C1 black - signal to control port 3
'\\\\\\\\\\\\\\\\\\\\\\\\\ DECLARATIONS /////////////////////////
Public DOOR_open_1
Public DOOR_output
'\\\\\\\\\\\\\\\\\\\\\\\\ OUTPUT SECTION ////////////////////////
DataTable(Table101,true,-1)
OpenInterval
DataInterval(0,5,Min,10)
Sample(1, DOOR_output, FP2)
EndTable
DataTable(Table102,true,-1)
OpenInterval
DataInterval(0,5,Min,10)
Histogram(DOOR_open_1, FP2, 0, 1,001, 1 , 0.5, 1.5)
EndTable
A-8










