CS-GSM/GPRS Digital Transceiver Kits (including the COM110A modem)
B-4
B.1.2 CR10X Program Example
;COM110A power control example code for the CR10X
;Port 1 is the control port used to control the switch ON/OFF
;Flag 1 is used to indicate the COM110A should be turned off
;when any current call has ended.
;On the hour turn the COM110A on
;IF the battery voltage is good (see text below)
1: If time is (P92)
1: 0000 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 30 Then Do
;Measure the logger battery voltage
2: Batt Voltage (P10)
1: 1 Loc [ BattV ]
;and if it is > than 11.5 V turn on the COM110A
3: If (X<=>F) (P89)
1: 1 X Loc [ BattV ]
2: 3 >=
3: 11.5 F
4: 41 Set Port 1 High
4: End (P95)
;At 5 past every hour set Flag 1 to indicate to turn off the
;COM110A when any current call is finished.
5: If time is (P92)
1: 5 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 11 Set Flag 1 High
;If Flag 1 is set AND
6: If Flag/Port (P91)
1: 11 Do if Flag 1 is High
2: 30 Then Do
;the datalogger is not communicating (ME off) THEN
7: If Flag/Port (P91)
1: 50 Do if Modem is Off
2: 30 Then Do
;Turn off the power to the COM110A
8: Do (P86)
1: 51 Set Port 1 Low
;and set low flag 1, to allow it to be turned on next time
9: Do (P86)
1: 21 Set Flag 1 Low
10: End (P95)
11: End (P95)
Содержание COM110A
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ......
Страница 48: ...CS GSM GPRS Digital Transceiver Kits including the COM110A modem 38...
Страница 54: ......
Страница 60: ......
Страница 66: ......
Страница 68: ...CS GSM GPRS Digital Transceiver Kits including the COM110A modem D 2...
Страница 72: ......
Страница 75: ......