Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

2- Directory Services Menu

Main Menu → Directory Services

The Directory Services menu is used for various file operations within the RediGate file system.

Enter 2 at the Main Menu for the Directory Services menu.

================ Directory Services ==============
ElecSys(V:5.7.2017-08-07-1200)  Thu Aug 17 06:32:10 2017
UnitName : 1 @ 192.3.1.10  REDIGATE  <46247-0004>-SerialNumb
---------------------------------------------
 1) Executables            2) Current Configs
 3) Download Directory     4) Put File to Remote
 5) Get File From Remote   6) Rename File
 7) Delete File in Remote  8) Delete IsaGraf Files
 9) View Zombie.log       10) IsaGraf App Info
11) Restore Previous UFF  12) View UFF Processing Details
13) View Load-Store File  14) View kernel or message logs
15) MQtt XML Information  16) View customer settings
17) ZMODEM File to Remote 18) ZMODEM File from Remote
19) View Problem.txt      20) View ModemLog.txt
21) Store-N-Forward File

Make selection:

1- Executables

Main Menu → Directory Services → Executables

...

Files with a ".run" extension are shortcuts to the current configuration files, and after the arrow (->) is the actual location of the file. If there is an .xml.gz or .uff file without the .run extension, it indicates a configuration file that has been loaded but not deployed. (See Configuration Not Updating on RediGate for fixing a problem if there is more than one un-deployed configuration file.)

 =============== = Download Directory ==============
ElecSys(V:5.7.2017-07-24-1300)  Mon Aug 14 11:54:25 2017
UnitName : 1 @ 192.3.1.10  REDIGATE  <40170-0118>-SerialNumb
---------------------------------------------total 8
-rw-r--r--    1 root     root            64 Aug 13 12:59 AceConfigName.txt
-rw-r--r--    1 root     root             6 Jul 23  2014 CoreMSQID
lrwxrwxrwx    1 root     root            53 Aug 13 12:59 DiagManual_Configuration2.xml.gz.run -> /usr/director/config/DiagManual_Configuration2.xml.gz
lrwxrwxrwx    1 root     root            32 Aug 13 12:59 RG-110E.uff.run -> /usr/director/config/RG-110E.uff
-rw-r--r--    1 root     root             0 Aug 13 12:59 UnitName.nam
lrwxrwxrwx    1 root     root            28 Aug 13 12:59 is15000000.run -> /usr/director/bin/is15000000

Press ENTER to continue

...

Info

If you download a ".run" file (which is a shortcut to an actual file), it will download the original file, but you will need to rename in Windows to remove the ".run" extension.

 

 Make Make selection: 5

================ Get File from Remote ==============
ElecSys(V:5.7.2017-08-07-1200)  Thu Aug 17 14:57:01 2017
UnitName : 1 @ 192.3.1.10  REDIGATE  <46247-0004>-SerialNumb
---------------------------------------------total 172
-rw-r--r--    1 root     root            63 Aug 17 09:51 AceConfigName.txt
-rw-r--r--    1 root     root             6 Jul 23  2014 CoreMSQID
-rw-r--r--    1 user     director     73421 Aug 17 13:34 DefaultTemplate.xml.tmp.gz
lrwxrwxrwx    1 root     root            52 Aug 17 09:55 DiagManual_Configuration.xml.gz.run -> /usr/director/config/DiagManual_Configuration.xml.gz
lrwxrwxrwx    1 root     root            32 Aug 17 09:55 RG-110E.uff.run -> /usr/director/config/RG-110E.uff
-rw-r--r--    1 root     root             0 Aug 17 09:55 UnitName.nam
lrwxrwxrwx    1 root     root            28 Aug 13 12:59 is15000000.run -> /usr/director/bin/is15000000
-rw-r--r--    1 root     root           166 Dec  4  1999 ppp0.log

Enter name if File to Receive DiagManual_Configuration.xml.gz.run
/dev/ymodem.dbg=-1
AceConfigName.txt                    RG-110E.uff.run@
CoreMSQID                            UnitName.nam
DefaultTemplate.xml.tmp.gz           is15000000.run@
DiagManual_Configuration.xml.gz.run@ ppp0.log

Press ENTER to continue

...

Enter 7 to delete a file in the /home/director folder. Enter the exact existing filename (case-sensitive) to be deleted.

Make selection: 7

================ Delete File ==============
ElecSys(V:5.7.2017-08-07-1200)  Thu Aug 17 17:38:58 2017
UnitName : 1 @ 192.3.1.10  REDIGATE  <46247-0004>-SerialNumb
---------------------------------------------
AceConfigName.txt                       RG-110E.uff.run
CoreMSQID                               UnitName.nam
DiagManual_Configuration.xml.tmp.gz.run is15000000.run
NewConfiguration.xml.gz                 ppp0.log

There is no need to delete a file ending in '.run' or '.nam'
These are only softlinks to the actual running files.
Enter File  Name  to delete NewConfiguration.xml.gz

Press ENTER
-rw-r--r--    1 root     root            63 Aug 17 09:51 /home/director/AceConfigName.txt
-rw-r--r--    1 root     root             6 Jul 23  2014 /home/director/CoreMSQID
lrwxrwxrwx    1 root     root            52 Aug 17 09:55 /home/director/DiagManual_Configuration.xml.tmp.gz.run -> /usr/director/config/DiagManual_Configuration.xml.gz
lrwxrwxrwx    1 root     root            32 Aug 17 09:55 /home/director/RG-110E.uff.run -> /usr/director/config/RG-110E.uff
-rw-r--r--    1 root     root             0 Aug 17 09:55 /home/director/UnitName.nam
lrwxrwxrwx    1 root     root            28 Aug 13 12:59 is15000000.run -> /usr/director/bin/is15000000
-rw-r--r--    1 root     root           166 Dec  4  1999 /home/director/ppp0.log 

...

Enter 8 to remove an ISaGRAF logic file (such as is15000000) from the /usr/director/bin folder.

 Make  Make selection: 8

================ Delete IsaGraf Files ==============
ElecSys(V:5.7.2017-08-07-1200)  Thu Aug 17 17:52:33 2017
UnitName : 1 @ 192.3.1.10  REDIGATE  <46247-0004>-SerialNumb
---------------------------------------------
-rw-r--r--    1 root     director     88972 Aug 17 13:41 is15000000


Enter File Name  to delete is15000000

...

 

Info
iconfalse
If you download a ".run" file (which is a shortcut to an actual file), it will download the original file, but you will need to rename in Windows to remove the ".run" extension.

 

19- View Problem.txt

Main Menu → Directory Services → View Problem.txt

...

Make selection: 19
Press 'Q' to quit, SPACE-BAR for next page
Sun Aug 27 15:44:48 CDT 2017

Multiple .xml.gz files cannot be translated
test1.xml.gz  and  test2.xml.gz

Sun Aug 27 15:51:25 CDT 2017
/home/director/2017-08-07-1200-redigate_7_3.15_32.tar.gz was not tagged for REDIGATE
Press ENTER...

20- View ModemLog.txt

...

→AT+CSQ...OK
<-+CSQ: 13,99\r\n\r\nOK
→ATDT#777...CONNECT
←CONNECT
Running pppd /dev/ttyEMUX0 230400 file /dev/null modem crtscts lock asyncmap 0 nodetach nodefaultroute noauth usepeerdns
Using interface ppp0
Connect: ppp0 <--> /dev/ttyEMUX0
local  IP address 75.242.97.94   
 (The Local IP address indicates a successful connection and the RediGate's address on the cellular network.)  
remote IP address 66.174.62.1
primary   DNS address 198.224.147.135
secondary DNS address 198.224.146.119
Press ENTER...

21- Store-N-Forward File

Main Menu → Directory Services → Store-N-Forward

...

Below is an example of the content of the CSV file containing historical values using EpochTime (seconds).

  • The data header is stored in the CSV file every time the connection goes from connected to disconnected state.
  • This example shows tag names CycleCount, TankLevel, and PumpStatus, and an untagged register address 40001.
  • The Delivered column is 1=Published or 0=Unpublished. (This value is only saved at the time the data originally stored and is not updated once the historical data is subsequently published.)
  • The GoodQuality column indicates the Quality flag of the RTDB register at the time it was stored.
  • The DataType column is 1=Boolean, 5=UINT16, 9=UINT32, 10=REAL32.
  • The Value column shows the value in the data type. Boolean values are 0 or 1.

EpochTime,RegAddr_OR_TagName,Delivered,GoodQuality,DataType,Value
1495429200,CycleCount,1,1,9,910722733
1495429214,40001,1,1,5,65535
1495429220,TankLevel,1,1,10,4.0
1495429224,CycleCount,0,1,9,910729218
1495429229,CycleCount,0,1,9,910731378
1495429235,PumpStatus,0,1,1,1
 

...