Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

CR10X - PROGRAMMING WITH EDLOG


geror86 Jan 7, 2011 09:12 PM

I am a Final Year University Student compiling a thesis on the setup of a wireless data acquisition system for vibrating wire gauges for the purpose of measuring strain and that of temperature (this also done by the vw gauges).

These were installed in 1988 in a twin box girder pre-stressed bridge. The equipment used are a CR10X datalogger with a AVW1 interface. In total 158 gauges were installed (130 longitudinal, 22 diaphragm and 6 reinforcement gauges) with only 4 failing to survive the concrete pour.

Up until 2004, any information that was retrieved from the gauges were done so manually.

This has been unsuccessfully tried since 2004 by Final Year Students.

I have read the CR10X overview and manual, viewed the PCTour tutorial along with other texts, viewed sample programs on Slopeindicator, read through 3 past FYP's. Is there any other sources of information available with regard programming via Edlog?.. Is it possible to use Shortcut?..

Any help at all at this point would be greatly appreciated.

At the moment the program developed only success was that it read new strain gauges (not the pre-existing strain gauges) that were installed for initial readings of strain but this was only during the first execution of the program and then the readout returned to zero.

The current program developed at the moment is shown below;


;<CR10X>
*Table 1 Program
01: 120 Exceution Intervals (seconds)

1: Internal Temperature (P17)
1: 35 Loc [ CR10XdegC ]

2: Batt Voltage (P10)
1: 34 Loc [ BatteryV ]

3: Do (P86)
1: 81 Call Subroutine 81
;Reads multiplexer 1 & 2

4: If time is (P92)
1: 0 Minutes (Seconds --) into a
2: 1 Interval (same units as above)
3: 10 Set Output Flag High (Flag 0)
;To alter the storage interval change variable 2 of the 3rd instruction above
;60min = 1 hour
;120min = 2 hours
;180min = 3 hours

5: Set Active Storage Area (P80)^22219
1: 1 Final Storage Area 1
2: 41 Array ID

6: Real Time (P77)^15739
1: 1110 Year,Day,Hour/Minute (midnight = 0000)

7: Resolution (P78)
1: 1 High Resolution

8: Sample (P70)^8852
1: 16 Reps
2: 1 Loc [ vw_1 ]


9: Sample (P70)^12606
1: 16 Reps
2: 17 Loc [ vw_17 ]

10: Resolution (P78)
1: 0 Low Resolution

11: Sample (P70)^16935
1: 2 Reps
2: 35 Loc [ CR10XdegC ]
;Store battery voltage and CR10X temp

12: Sample (P70)^19746
1: 2 Reps
2: 37 Loc [ RH_1 ]
;Stores the relative humidity (%) of the two probes

13: Sample (P70)^831
1: 2 Reps
2: 39 Loc [ tempera_1 ]
;Stores the temperature of the two probes

* Table 2 Program
02: 0.0000 Execution Interval (seconds)

* Table 3 Subroutines

1: Beginning of Subroutine (P85)
1: 81 Subroutine 81

2: Do (P86)
1: 42 Set Port 2 High
;Turn on multiplexer

3: Beginning of Loop (P87)
1: 0 Delay
2: 16 Loop Count
;Read 16 AM1632 channels

4: Do (P86)
1: 71 Pulse Port 1
;Activate next terminal on the multiplexer

5: Excitation with Delay (P22)
1: 1 Ex Channel
2: 0 Delay W/Ex (0.01 sec units)
3: 10 Delay After Ex (0.01 sec units)
4: 0 mV Excitation
;Delay allows relay to settle

6: Vibrating Wire (SE) (P28)
1: 1 Reps
2: 1 SE Channel
3: 01 Excite all reps w/Exchan 1
4: 10 Starting Freq. (100 Hz units)
5: 18 End Freq. (100 Hz units)
6: 100 No. of Cycles
7: 20 Rep Delay (0.01 sec units)
8: 1 Loc [ vw_1 ]
9: 1.0 Multiplier
10: 0.0 Offset

7: End (P95)
;End of 1st AM1632 loop

8: Do (P86)
1: 52 Set Port 2 Low
;Turns off AM1632

9: Do (P86)
1: 43 Set Port 3 High
;Turns on the second AM1632

10: Beginning of Loop (P87)
1: 0 Delay
2: 16 Loop Count
;Loop for next 16AM 1632 channels

11: Do (P86)
1: 71 Pulse Port 1
;Clock next AM1632 channel

12: Excitation with Delay (P22)
1: 1 Ex Channel
2: 0 Delay W/Ex (0.01 sec units)
3: 10 Delay After Ex (0.01 sec units)
4: 0 mV Excitation
;Delay to allow relays to settle

13: Vibrating Wire (SE) (P28)
1: 1 Reps
2: 1 SE Channel
3: 01 Excite all reps w/Exchan 1
4: 10 Starting Freq. (100 Hz units)
5: 18 End Freq. (100 Hz units)
6: 100 No. of Cycles
7: 20 Rep Delay (0.01 sec units)
8: 17 Loc [ vw_17 ]
9: 1.0 Multiplier
10: 0.0 Offset

14: End (P95)
;End of 1st AM1632 loop

15: Do (P86)
1: 53 Set Port 3 Low

16: Do (P86)
1: 44 Set Port 4 High

17: Excitation with Delay (P22)
1: 1 Ex Channel
2: 0 Delay W/Ex (0.01 sec units)
3: 100 Delay After Ex (0.01 sec units)
4: 0 mV Excitation

18: Volt (SE) (P1)
1: 2 Reps
2: 5 2500 mV Slow Range
3: 9 SE Channel
4: 37 Loc [ RH_1 ]
5: -1 Multiplier
6: 0.0 Offset
;Forces a wait of 1 second

19: Volt (SE) (P1)
1: 2 Reps
2: 5 2500 mV Slow Range
3: 10 SE Channel
4: 39 Loc [ tempera_1 ]
5: -1 Multiplier
6: -40 Offset
;Measure both readings with one instruction to location 1 & 2

20: Z=X+F (P34)
1: 39 X Loc [ tempera_1 ]
2: 40 F
3: 39 Z Loc [ tempera_1 ]

21: Z=X+F (P34)
1: 40 X Loc [ tempera_2 ]
2: 40 F
3: 40 Z Loc [ tempera_2 ]

22: Do (P86)
1: 54 Set Port 4 Low

;TC35T power control code for the CR10X
;Port 7 is the control port used to turn on/off the TC35T
;Flag 1 is used to indicate the TC35T should be turned off
;when any current call is ended


23: If time is (P92)
1: 0000 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 30 Then Do

24: Batt Voltage (P10)
1: 34 Loc [ BatteryV ]
;Measures the logger battery voltage

25: If (X<=>F) (P89)
1: 34 X Loc [ BatteryV ]
2: 3 >=
3: 11.5 F
4: 41 Set Port 1 High
;Means if the voltage is>than 11.5 volts
;the TC35T turns on

26: Initiate Telecommunications (P97)
1: 72 Generic Modem/9600 Baud
2: 1 Disabled when User Flag 1 is High
3: 20 Seconds Call Time Limit
4: 30 Seconds Before Fast Attempts
5: 1 Fast Attempts
6: 9999 Minutes Before Slow Attempts
7: 33 Failures Loc [ BadPINcnt ]
8: 0000 Call-Back ID
;Begins the TC35T sending back the information

27: If time is (P92)
1: 10 Minutes (Seconds --) into a
2: 60 Interval (same units as above)
3: 12 Set Flag 2 High
;At 5 past the hour set Flag 2 to indicate to turn off

28: If Flag/Port (P91)
1: 50 Do if Modem is Off
2: 30 Then Do
;If the logger is not communicating i.e. 'modem is off' (ME line low)

29: If Flag/Port (P91)
1: 12 Do if Flag 2 is High
2: 30 Then Do
;Then flag 2 is high

30: Do (P86)
1: 51 Set Port 1 Low
;Turn off the TC35T

31: Do (P86)
1: 22 Set Flag 2 Low

32: Do (P86)
1: 11 Set Flag 1 High

33: End (P95)

34: End (P95)

35: End (P95)

;The following two instructions calculate Hz from the P28 command

36: Z=SQRT(X) (P39)
1: 1 X Loc [ vw_1 ]
2: 1 Z Loc [ vw_1 ]

37: Z=X*F (P37)
1: 1 X Loc [ vw_1 ]
2: 1000 F
3: 1 Z Loc [ vw_1 ]

38: Z=SQRT(X) (P39)
1: 17 X Loc [ vw_17 ]
2: 17 Z Loc [ vw_17 ]

39: Z=X*F (P37)
1: 17 X Loc [ vw_17 ]
2: 1000 F
3: 17 Z Loc [ vw_17 ]

40: Do (P86)
1: 51 Set Port 1 Low
;Turns off the relay multiplexer

41: End (P95)

End Program

My main thoughts up until now to explain why this has not been functioning are as follows;

1. The program duration is longer that that of the execution intervals.

2. The data acquisition system is using a AVW1 with a frequency sweep range of 1000-9900HZ, but the strain gauges operating at a max of 850HZ. However I came across an article that said that this is not an issue.

3. Electrical noise in the form of AC power lines are not being rejected.

4. Do I need to toggle a flag to start measuring?

5. The time into an interval is only true the first time Instruction 92 is executed within a given minute (or second). For example, if the command is set to the Output Flag at 0 minutes into a 10minute interval, and the execution interval of a table is 10seconds, every 10 minutes there will only be one output generated by this instruction, not five. (The program obtained readings during the first execution of the program but then the readout returned to zero.).

Any thoughts?...


Ken Conner Jan 12, 2011 11:24 PM

geror86

What is the setup? Is there one CR10X, one AVW1, and 2 Am16/32s per 32 sensors?

In your subroutine in lie 6.8 and 13.8 you need to index the reference location. (Press F4 with this input location field highlighted. '--' will indicate that the location is indexed) Without the location indexed all consecutive measurements will be rewritten over that same location. You'll also want to check out your input location editor window and make sure that you have enough input blocks set aside for 32 consecutive measurements.

* Last updated by: Ken Conner on 1/12/2011 @ 5:27 PM *


geror86 Jan 15, 2011 04:47 PM

(Sorry if this reply posted twice, but it did not seem to register the first time)

Yes that is correct, the set up is 1 x CR10X, 1 x AVW1 and 2 x AM16/32 relay multiplexers.

Thank you for that, I have now indexed both of these locations in my program (This had been included in the previous attempts).

I am currently reviewing the input blocks, with it currently standing as follows;

1 [vw_1] RW-- 3 3 ---- ---- ----
2-16 [vw_n] R--- 1 0 ---- ---- ----
17 [vw_17] RW-- 3 3 ---- ---- ----
18-25 [vw_n] R--- 1 0 ---- ---- ----
26-29 [vw_n] ---- 0 0 ---- ---- ----
30-32 [vw_n] R--- 1 0 ---- ---- ----
33 [vw_n] -W-- 0 1 ---- ---- ----
34 [vw_34] RW-- 1 2 ---- ---- ----
35-36 [vw_n] RW-- 1 1 ---- ---- ----
37 [vw_37] -W-- 0 1 Start ---- ----
38 [vw_38] -W-- 0 1 ---- ---- End


geror86 Jan 27, 2011 11:59 AM

I believe that I have found the issue.. (Where the issue was it was executing the program - you could hear the sweeps - but was not giving/saving any of the readings)

I have a few questions if that’s ok..

I have found that the internal lithumen battery of the CR10X has only a 0.29V reading.
1) Am I correct in saying that this needs to be at least 3V??

So this would be required to be replaced.

In addition, with regard to the limitations of using the CR10X over the C1000;

2) Is the CR10X (with a limited memory of 128kb) capable of reading 32 consecutive readings for both temperature and strain?..

3) Also would this be realistically capable of reading the sensors on the bridge for retrieval of viable information?..

4) Would the CR10X be powerful enough to have a telecommunication setup for the retrieval of data from the bridge nearly 1km away?

I would greatly appreciate it if you could take to time to answer these questions..


Ken Conner Jan 29, 2011 06:43 PM

Geror86,

You are correct, the internal battery voltage should at a minimum be 3.0V, so you'll want to replace this battery.

The CR10X has enough memory to read all the sensors with no problem. The limitation is how long you will be going between data collections and how fast you are recording the data. The faster you record the sensor data the more frequently you will need to collect the data.

I'm not sure what you mean in your 3rd question.

The CR10X can work with a number of communication peripherals. If you are in an area where the location that will be receiving data from the bridge has a clear line of site you could you something like one of our RF401 spread spectrum radios to remotely collect the data from the CR10X. Other options include phone modems, ethernet and cellular communications. The data collect process can be automated by using LoggerNet software. Doing this could help with any memory issues as well. You could configure LoggerNet to automatically collect data from the CR10X once an hour to avoid overwriting of old data in the logger.

Log in or register to post/reply in the forum.