Campbell-scientific CR800 and CR850 Measurement and Control Systems Bedienungsanleitung Seite 464

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 566
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 463
Appendix A. CRBasic Programming Instructions
464
A.5.7 Digital I/O
CheckPort
Returnsthestatusofacontrolport.
Syntax
X = CheckPort(Port)
PortGet
Readsthestatusofacontrolport.
Syntax
PortGet(Dest, Port)
PortsConfig
Configurescontrolportsasinputoroutput.
Syntax
PortsConfig(Mask, Function)
ReadIO
ReadsthestatusofselectedcontrolI/Oports.
Syntax
ReadIO(Dest, Mask)
A.5.7.1 Control
PortSet
Setsthespecifiedporthighorlow.
Syntax
PortSet(Port, State)
PulsePort
Togglesthestateofacontrolport,delaysthespecifiedamountoftime,toggles
theport,anddelaysasecondtime.
Syntax
PulsePort(Port, Delay)
WriteIO
WriteIOisusedtosetthestatusofselectedcontrolI/Ochannels(ports)onthe
CR800.
Syntax
WriteIO(Mask, Source)
A.5.7.2 Measurement
PWM
PerformsapulsewidthmodulationonacontrolI/Oport.
Syntax
PWM(Source,Port,Period,Units)
TimerIO
MeasuresintervalorfrequencyonadigitalI/Oport.
Syntax
TimerIO(Dest, Edges, Function, Timeout, Units)
Seitenansicht 463
1 2 ... 459 460 461 462 463 464 465 466 467 468 469 ... 565 566

Kommentare zu diesen Handbüchern

Keine Kommentare