1- System Services Menu
Main Menu → System Services
The System Services menu is used to restart the system, change the system clock, view the status or enable/disable certain RediGate processes.
Enter 1 at the Main Menu for the System Services menu.
================ System Services ==============
ElecSys(V:5.7.2017-07-24-1300) Wed Jul 26 22:47:52 2017
UnitName : 1 @ 192.3.1.10 REDIGATE <40170-0118>-SerialNumb
---------------------------------------------
1) Boot/Reconfigure 2) Set Clock
3) Channel Status 4) Channel Enable/Disable
5) Channel Scan 6) Single Poll
7) RTU Enable/Disable 8) RTU Scan
9) RPN Calculator 10) New Master Key
11) Read Handshake Pins 12) Write Handshake Pins
13) Run Custom Utility 14) MQttClient to Next Broker
15) Cell Modem Diags
Make selection:
...
Channel Status
Chan Name Status Rtus Time
==== ============== ======== ==== ==================
0 Channel0 w/Errors 1 Mon Jul 31 19:38:20 2017
2 Master Channel Normal 1 Mon Jul 31 10:56:57 2017
15 Channel15 Normal 1 Mon Jul 31 10:56:57 2017
Redisplay (Y/N/L where L is Log of Enables/Disables) ? L
Press SPACE to advance through log. Q to Quit
Mon Jul 31 19:37:52 UTC 2017 Channel-0: Enable
Mon Jul 31 19:33:32 UTC 2017 Channel-0: Disabl
e
See Channel Status for details on the Master Channel status information.
...
Channel Enable/Disable
Chan Name Status Rtus Time
==== ============== ======== ==== ==================
0 Channel0 w/Errors 1 Sun Aug 13 08:06:11 2017
2 Master Channel Normal 1 Sun Aug 13 08:03:41 2017
15 Channel15 Normal 1 Sun Aug 13 08:03:41 2017
Channel 0-15 0
0=Disable 1=Enable ? 0
Channel(0) Disable sent
See Channel Status for details on the Master Channel status information.
...
Enter 5 for Channel Scan. Enter the Master Channel number, and Y to trigger the scan.
Channel Scan
Chan Name Status Rtus Time
==== ============== ======== ==== ==================
0 Channel0 Suspended 1 Sun Aug 13 08:15:58 2017
2 Master Channel Normal 1 Sun Aug 13 08:03:41 2017
15 Channel15 Normal 1 Sun Aug 13 08:03:41 2017Channel 0-15 0
Scan Channel-0 (Y/N) ? y
Channel(0) sent scan all
...
Note |
---|
Enabling an RTU does not currently work (as of 8/17/2017). Instead, use RTU Scan or Channel Scan to re-enable the device polling. |
...
Rtu Enable/Disable
Chan Name Status Rtus Time
==== ============== ======== ==== ==================
0 Channel0 Suspended 1 Sun Aug 13 10:12:25 2017
2 Master Channel Normal 1 Sun Aug 13 09:59:02 2017
15 Channel15 Normal 1 Sun Aug 13 09:59:03 2017
Channel 0-15 0
Addr Name Dbg? Protocol Status
----- ---------------- ---- -------- ------
1 Modbus01 ON MBMAST00 Stopped
Enter Rtu to Modify 1
0=Disable, 1=Enable ? 0
Channel(0) sent Rtu00001...Disable
d
...
Enter 8 for RTU Scan. Enter the Master Channel number and the device address to scan.
Rtu Scan
Chan Name Status Rtus Time
==== ============== ======== ==== ==================
0 Channel0 Suspended 1 Sun Aug 13 10:06:54 2017
2 Master Channel Normal 1 Sun Aug 13 09:59:02 2017
15 Channel15 Normal 1 Sun Aug 13 09:59:03 2017
Channel 0-15 0
Addr Name Dbg? Protocol Status
----- ---------------- ---- -------- ------
1 Modbus01 ON MBMAST00 Stopped
Enter Rtu to Scan 1
Sent Scan RTU 1
...
Sending AT+GMM
Received[15]-> HE910 OK
This is the modem model (HE910 for GSM/HSPA, or DE910-DUAL for CDMA).
Sending AT+CNUM
Received[37]-> +CNUM: "","19132109122",129 OK
This is the phone number associated with the account activation.
Sending AT#CCID
Received[37]-> #CCID: 89014104277578463113 OK
For the HE910 modem, this is the SIM card number. For the DE910-DUAL, this command will return an error.
Sending AT+CGDCONT?
Received[42]-> +CGDCONT: 1,"IP","i2gold","",0,0 OK
For the HE910 modem, the second item in double quotes is the APN of the cellular access point. If the SIM is not properly installed or the RediGate is improperly configured, having an incorrect APN will block cellular connections.
Sending AT#MEIDESN?
Received[9]-> #MEIDESN: A1000032B304F6,000000000000,00000000
For the DE-910-DUAL modem, this is the MEID number. For the HE910, this command will return an error.
Sending AT#CIMI
Received[32]-> #CIMI: 310410757846311 OK
This is the IMSI number.
Sending AT#CGSN
Received[32]-> #CGSN: 357164042289457 OK
For the HE910 modem, this is the IMEI number. For the DE910-DUAL modem, this is the MEID number, split with a comma.
Sending AT+CREG?
Received[20]-> +CREG: 0,1 OK
This is the mode and connection status. The first number should normally be 0 (disable unsolicited).
The second number indicates registration status: 0=not registered, 1=registered/home network, 2=searching, 3=denied, 5=registered/roamingFor Telit modem:
Sending AT$GPSACP
Received[30]-> $GPSACP: 214127.000,3853.5898N5898,N,09447.4488W4488,W,0.9,315.4,3,12.1,7.3,3.9,310715,07
This is the GPS data, if a GPS antenna is connected to the modem. Otherwise, it will mostly be just commas with no data. GPS data represents:
UTC time (hhmmss.sss)
UTC time (hhmmss.sss)
in use
Latitude (ddmm.mmmm N/S)
Longitude(dddmm.mmmm E/W)
HDOP, Altitude (meters), Fix (0=invalid, 2=2D fix, 3=3D fix)
Course over ground (degrees), Speed over ground (Km/hr), Speed over ground (knots)
Date of fix (ddmmyy), Number of satellitesin use
For Quectel modem:
TX-> at+qgpsgnmea="rmc"
RX-> +QGPSGNMEA: $GPRMC,213806.00,A,3853.585246,N,09447.491297,W,3.9,0.0,131020,2.2,E,A*23
This is the GPS data, if a GPS antenna is connected to the modem. Otherwise, it will mostly be just commas with no data. GPS data represents:
UTC time (hhmmss.sss). A=active, V=void
Latitude (ddmm.mmmm N/S)
Longitude(dddmm.mmmm E/W)
Speed over ground (knots), Track angle (degrees)
Date of fix (ddmmyy), Magnetic variation (E/W), checksum data
Sending AT+CSQ
Received[40]-> +CSQ: 28,3 OK
To convert latitude/longitude to decimal degrees, use dd + (mm.mmmm/60), as dd.dddd (negative for S or W).
To convert to degree/minute/second, multiply fractional (.mmmm*60)=ss.ss for seconds, as dd° mm' ss.ss".
The first number after +CSQ is the signal strength. 99=no signal, 0-31 indicates increasing strength (0 = -113 dBm, 31 = -51 dBm, in steps of 2 dBm per CSQ number).
The second number is the bit error rate (BER). 0=best, 7=worst.
Repeat? (y/n) n
Then press Enter to exit the modem diagnostics, or A/ to repeat the last command (AT+CSQ, signal strength).
Or enter an 'AT' modem string to manually send a command to the modem.
Enter AT Command (Enter to Exit, 'A/' repeats last, 'A//' repeat every 2 secs) a//
Press Q<enter> to quit repeating
Sending[8]-> AT+CSQ
Received[20]-> +CSQ: 28,2 OK
Press Q<enter> to quit repeating
Sending[8]-> AT+CSQ
Received[20]-> +CSQ: 29,2 OK
Enter 'q' to stop the repeating AT+CSQ commands. And 'Enter' again to exit the menu.
Enter AT Command (Enter to Exit, 'A/' repeats last, 'A//' repeat every 2 secs)
q
...