Legacy Hardware and Apps
Sending text via GSM modem

I want to use our DT800 to send texts via a GSM modem. I want to send a string of the form "Fault at Time t1, Left Tension = x N, Right Tension = y N" Where t1 is the loggers current time and x & y are logged values.

I've set up the alarm. I know how to talk to the modem. How do I get Delogger to set up an action to send this string?

Cheers,
TW

I want to use our DT800 to send texts via a GSM modem. I want to send a string of the form "Fault at Time t1, Left Tension = x N, Right Tension = y N" Where t1 is the loggers current time and x & y are logged values. I've set up the alarm. I know how to talk to the modem. How do I get Delogger to set up an action to send this string? Cheers, TW

Good morning Ted,

Yes you can substitute times and values into your alarm statements.
Page 99 of the DT800 manual has a list of substitution characters for just this type of work.

For example,

@ will put the time in your string.
?1 will put the value of 1 CV in the string.

So you code might look something like this,

BEGIN
Y1=0,1000,0,2000"N"
RA1S LOGONA
1BGI(Y1,=1CV)
2BGI(Y1,=2CV)

ALARM1(1CV>250)"Fault at @, Left Tension = ?1 N, Right Tension = ?2 N"

END

Cheers,
Roger

Good morning Ted, Yes you can substitute times and values into your alarm statements. Page 99 of the DT800 manual has a list of substitution characters for just this type of work. For example, @ will put the time in your string. ?1 will put the value of 1 CV in the string. So you code might look something like this, ```` BEGIN Y1=0,1000,0,2000"N" RA1S LOGONA 1BGI(Y1,=1CV) 2BGI(Y1,=2CV) ALARM1(1CV>250)"Fault at @, Left Tension = ?1 N, Right Tension = ?2 N" END ```` Cheers, Roger
7
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft