Campbell-scientific CS10-L and CS15-L Current Transformers Manuale Utente Pagina 17

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 30
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 16
CS10-L and CS15-L Current Transformers
5.6 CR10X with Multiplexer Sample Program
This program uses the CR10X and an AM16/32-series multiplexer to read 32
CS10-L current transformers.
;{CR10X}
; Example program for CS10-L
;
; Program to test the CS10-L or CS15-L sensor on a CR10X datalogger
; and AM1632 Multiplexer.
;
*Table 1 Program
01: 30 Execution Interval (seconds)
; Turn on the multiplexer
1: Do (P86)
1: 41 Set Port 1 High
2: Excitation with Delay (P22)
1: 1 Ex Channel
2: 0 Delay W/Ex (0.01 sec units)
3: 15 Delay After Ex (0.01 sec units)
4: 0 mV Excitation
3: Beginning of Loop (P87)
1: 0000 Delay
2: 32 Loop Count
; Clock multiplexer to next channel
4: Do (P86)
1: 72 Pulse Port 2
5: Excitation with Delay (P22)
1: 1 Ex Channel
2: 0 Delay W/Ex (0.01 sec units)
3: 1 Delay After Ex (0.01 sec units)
4: 0 mV Excitation
6: Do (P86)
1: 1 Call Subroutine 1
; This part of the program will calculate the RMS Amperage
; Standard Deviation in this part of the code works mathematically the same
; as RMS calculation, and it is easier to program this way. The RMS
; value is calculated and stored back into an input location for further
; processing if needed.
7: Do (P86)
1: 2 Call Subroutine 2
11
Vedere la pagina 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 29 30

Commenti su questo manuale

Nessun commento