TruTeq Modems (SmarTee, SmarToo, SmartOne)

TruTeq Modems
The TruTech Modem range offers a wide range of functionality.
To Load the modems on PNPSCADA, the SmarTee option must be selected. (the Sim Number must be correct)
Setting up of the TruTech hardware will depend on the unique Solution you are looking for.
We have made some default setup configurations that can be used.
For the SmaarToo:
Just copy the following script and paste it into Yat-Pro:


COMMAND MODE
!150 0
//!11 1 +27835352868 //Phone book position 1 to sdg support
!95 1 1 2 1 3 1 4 1 5 1 6 1 //allows use 1-5 to send/receve Commands
!18 1 !17 1 00:02:00 !42 0 150 '' //Timer time-out Command 1 (Timer 1 to 2 min) Send event over GPRS fall back by sending SMS to phone book position 0
!154 196.22.139.148 //ADAM (server IP)
//!154 //server IP
!157 7627 //Smartoo modem port for pnp
!158 internet //APN Name
!159 //APN user name
!160 //APN password
!161 1440 2 1 //Reboot the gprs connection every 24H
!51 1 00:01:00 //Analogue Input De-bounce 1min
!51 2 00:01:00 //Analogue Input De-bounce 1min
!58 1 -81.250 125.000 DegC //sets the temp range for
?58 1
!58 2 -81.250 125.000 DegC //sets the temp range for
?58 2
!32 1 00:00:00 //Digital Input De-bounce 1sec
!32 2 00:00:00 //Digital Input De-bounce 1sec
!34 1 !81 1 1 //Increment counter with 1
!34 2 !81 2 1 //Increment counter with 1
!34 2 !81 3 1 //Increment counter with 1
!34 2 !81 4 1 //Increment counter with 1
!16 1 0 //Control timer
!73 12:30:00 //SET Time
!74 09/07/14 //SET Date
!75 1 1 2 1 //en/disable Day-Time event
!78 1 6 //DMinute-of-Hour setting 1 to 6
!78 2 30 //Minute-of-Hour setting 2 to 30
//!79 1 !98 'L1,,,,'
//Writes A0-2 to the sd card on line L1 based on Minute-of-Hour setting 1 (for Smartone)
//!79 1 !98 'L1,,,,,'
//Writes A0-2 to the sd card on line L1 based on Minute-of-Hour setting 1
//!79 2 !98 'L2,,,'
//Writes Counter 1 to the sd card on line L2 based on Minute-of-Hour setting 2 (for Smartone)
!79 2 !98 'L2,,,,,,'
//Writes Counter 1-2 to the sd card on line L2 based on Minute-of-Hour setting 2
!16 1 1 //Control timer
!165 1 '8.8.8.8' //Ping KeepAlive 1 Min to google
!180 1 //DC Voltage Monitor
!181 00:01:00 //DC Voltage Monitor Debounce 1Min
!182 10 11 //Low DC Voltage setup params. Low trip=10v Low warning=11v
//!190 0 //Irda Disable
//!254 0 //RS485 enable 1/ disable 0
//!252 4 2 2 //IO setup
!261 1 //Return SMS Enable
!262 1 //Auto Remote Enable
!66 1440 //GSM reset interval 24h
!67 0 //GSM data call reset interval 0 minutes
!150 1
!15 !16 1 1 !17 1 00:01:00 //Start-up Command (Countdown timer to 1 and to 1 to 1 Min)
//!33 2 //Sets inputs to analog and digital (for Smartone)
MODEM MODE


This will enable the modem to connect to the server, log 4 water pulses and 2 temperature probes.

For the SmartOne Modem:
This Script will log two water meters and the battery voltage.
COMMAND MODE
!150 0 //Sets GPRS Manager to Inactive
!11 1 +27835352868 //Phone book position 1 to sdg support
!95 1 1 2 1 3 1 4 1 5 1 6 1 //allows use 1-5 to send/receve Commands
!18 1 !17 1 00:02:00 !42 0 150 '' //Timer time-out Command 1 (Timer 1 to 2 min) Send event over GPRS fall back by sending SMS to phone book position 0
!154 196.22.139.148 //ADAM
!157 7627 //Smartoo modem port for PNPSCADA
!158 internet //APN Name
!159 //APN user name
!160 //APN password
!161 1440 2 1 //Reboot the gprs connection every 24H
//!51 1 00:01:00 //Analogue Input De-bounce 1min
//!51 2 00:01:00 //Analogue Input De-bounce 1min
//!58 1 -81.250 125.000 DegC //sets the temp range for
//?58 1
//!58 2 -81.250 125.000 DegC //sets the temp range for
//?58 2
//!32 1 00:00:00 //Digital Input De-bounce 1sec
//!32 2 00:00:00 //Digital Input De-bounce 1sec
!16 1 0 //Control timer
!73 systemtime //SET Time
!74 systemdate //SET Date
!75 1 1 2 1 //en/disable Day-Time event
// to Log Line 1 every 5 minuts
!78 1 6 //DMinute-of-Hour setting 1 to 6
// to Log Line 2 every 30 minuts
!78 2 30 //DMinute-of-Hour setting 2 to 30
//!79 1 !98 'L1,,,,,' //Writes A0-2 to the sd card on line L1 based on Minute-of-Hour setting 1
!79 1 !98 'L1,,,' //Writes A0 to the sd card on line L1 based on Minute-of-Hour setting 1
!79 2 !98 'L2,,,,' //Writes Counter 1-2 to the sd card on line L2 based on Minute-of-Hour setting 2
!16 1 1 //Control timer
!165 1 '8.8.8.8' //Ping KeepAlive 1 Min to google
!180 1 //DC Voltage Monitor
!181 00:01:00 //DC Voltage Monitor Debounce 1Min
!182 10 11 //Low DC Voltage setup params. Low trip=10v Low warning=11v
//!190 0 //Irda Disable
!261 1 //Returne SMS Enable
!262 1 //Auto Remote Enable
!66 1440 //GSM reset interval 24h
!67 0 //GSM data call reset interval 0 minutes
//pulse counters setup and clear
!87 1 10000 //Asighne Pulses on input 1 When a pulse appears to increment the 1st pulse counter with 1
!87 2 01000 //Asighne Pulses on input 2 When a pulse appears to increment the 2nd pulse counter with 1
!88 1 0000 //This command is used to set the start value of internal pulse counter 1.
!88 2 0000 //This command is used to set the start value of internal pulse counter 2.
//!33 1 //Sets inputs to Anelog
!34 1 //Input trigger 1 (low to high) to nothing.
!35 1 //Input trigger 1 (high to low) to nothing.
!34 2 //Input trigger 2 (low to high) to nothing.
!35 2 //Input trigger 2 (high to low) to nothing.
!150 1 //Sets GPRS Manager to Active
// inputs
!31 1 1 2 1 //Sets Input 1 and 2 to pulup with command 1
!32 1 00:00:00 2 00:00:00 //Sets Input 1 and 2's debounse.
// Timers
!15 !16 1 1 !17 1 00:01:00 !150 1 //Start-up Command (Coutdown timer to 1 and to 1 to 1Min) reboots the unit
// inputs
!33 0 //Sets inputs to Digital (reboots the unit)
MODEM MODE



The following script sets the SmartToo modem to profile 2 temperature probes,
4 pulse counters and calibrate to 2 temperature probes to -73.882;121.800 and -81.250;125.000 respectively
COMMAND MODE
!150 0
!95 1 1 2 1 3 1 4 1 5 1 6 1 //allows use 1-5 to send/receve Commands
!11 1 +27835352868 //Phone book position 1 to sdg support
!11 2 27835352868 //Phone book position 1 to sdg support
!11 3 0835352868 //Phone book position 1 to sdg support
!18 1 !17 1 00:01:00 !42 0 150 '' //Timer time-out Command 1 (Timer 1 to 2 min) Send event over GPRS fall back by sending SMS to phone book position 0 so diling GPRS.
!18 2 !256
!154 196.22.139.148 //ADAM
!157 7627 //Smartoo modem port for pnp
!158 internet //APN Name
!159 guest //APN user name
!160 //APN password
!161 1440 2 1 //Reboot the gprs connection every 24H
!51 1 00:00:00 //Analogue Input De-bounce 1min
!51 2 00:00:00 //Analogue Input De-bounce 1min
!58 1 -73.882 121.800 DegC //sets the temp range for (depends on probe)
?58 1
!58 2 -81.250 125.000 DegC //sets the temp range for (depends on probe)
?58 2
!32 1 00:00:00 //Digital Input De-bounce 0sec
!32 2 00:00:00 //Digital Input De-bounce 0sec
!32 3 00:00:00 //Digital Input De-bounce 0sec
!32 4 00:00:00 //Digital Input De-bounce 0sec
!34 1 !81 1 1 //Increment counter with 1
!34 2 !81 2 1 //Increment counter with 1
!34 3 !81 3 1 //Increment counter with 1
!34 4 !81 4 1 //Increment counter with 1
!16 1 0 //Control timer
!73 systemtime //SET Time
!74 systemdate //SET Date
!75 1 1 2 1 //en/disable Day-Time event
!78 1 6 //DMinute-of-Hour setting 1 to 6
!78 2 30 //Minute-of-Hour setting 2 to 30
!79 1 !98 'L1,,,,,' //Writes A0-2 to the sd card on line L1 based on Minute-of-Hour setting 1
!79 2 !98 'L2,,,,,,' //Writes Counter 1-4 P1-8 to the sd card on line L2 based on Minute-of-Hour setting 2
!16 1 1 //Control timer
?161 1440 2 1 //Reboot the gprs connection every 24H
!165 10 '8.8.8.8' //Ping KeepAlive 1 Min to google
!180 1 //DC Voltage Monitor
!181 00:01:00 //DC Voltage Monitor Debounce 1Min
!182 10 11 //Low DC Voltage setup params. Low trip=10v Low warning=11v
//!190 0 //Irda Disable
//!254 0 //RS485 enable 1/ disable 0
//!252 4 2 2 //IO setup
!261 1 //Returne SMS Enable
!262 1 //Auto Remote Enable
!66 1440 //GSM reset interval 24h
!67 0 //GSM data call reset interval 0 minutes
!75 1 1 //Enable Time of day Timer 1
!75 2 1 //Enable Time of day Timer 2
!76 1 12:00:00 //Set Time of day Timer 1 to do 77 1 at 12pm
!76 2 00:00:01 //Set Time of day Timer 2 to do 77 2 at 0:01am
!77 1 !256 //Reboot modem
!77 2 !256 //Reboot modem
!15a !16 1 1 !16 2 1 !17 1 00:00:30 !17 2 23:00:00 //Start-up Command (Control timer 1 to 1 and timer 1 to 1Min)
!150 1 //Enable Modem Mode
MODEM MODE