Appendix A. Changing COM220 Settings

 

 

 

 

 

 

12: Initiate Telecommunications (P97)

;set baud-rate/modem

 

1:

22

Phone Modem/9600 Baud

 

2:

5

Disabled when User Flag 5 is High

 

3:

45

Seconds Call Time Limit

 

 

4:

0

Seconds Before Fast Retry

 

 

5:

0

Fast Retries

 

 

6:

0

Minutes Before Slow Retry

 

 

7:

3

Failures Loc [ Failures ]

;must also enter callback ID in LoggerNet Setup

 

8:

222

Callback ID

 

13:

Extended Parameters (P63)

;7-digit phone number

 

1:

5

Option

 

 

 

2:

5

Option

 

 

 

3:

5

Option

 

 

 

4:

1

Option

 

 

 

5:

2

Option

 

 

 

6:

1

Option

 

 

 

7:

2

Option

;13 is the termination character; always place after phone number

 

8:

13

Option

 

End Program

A.4.4 Example Programs for Data-Callbacks via a CR1000

Datalogger Router.

In order to do data callbacks via a datalogger router with COM220 and RF401s or MD485s, they must all be configured to communicate with one another. In addition, two programs are necessary: one for the datalogger router and one for the remote datalogger. Below are example programs for a datalogger router and a remote datalogger. For these examples, the COM220 is configured for SDC7 and the router datalogger has the following settings (you can enter these settings via the datalogger keypad or from the LoggerNet status table): PakBusAddress = 2, IsRouter = 1 or True, and BeaconSDC8=30, enabling the router to discover the remote. The remote datalogger’s PakBusAddress = 1. In addition, the RF401s or MD485s are set for CSDC8 (see the RF401 or MD485 manual for directions on configuring these devices).

Program for CR1000 Router:

'Router program for data callback via router w/ phone link to LoggerNet 'Phone to MD485 or RF401 w/DL at Base

'Router PakBus Address = 2, IsRouter = 1, BeaconSDC8 = 30 to discover Remote DL which has PBA = 1

'Router COM220= SDC7; Base RF401 CSDC8; Remote RF401 CSDC8. 'LoggerNet PakBusPort has PBA = 4094

PC-pcMODEM

--------COM220sdc7-CR1000(2)-RF401sdc8~~~~~~~~~~~RF401sdc8-CR1000(1)

Public PanelTemperature, BatteryVoltage, DialSuccess

Public Flag(10) AS BOOLEAN

A-11