TELEM-GW6 testing manual: Difference between revisions

From Phobos Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(17 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Software tests==
These tests should be performed on new versions of device software.
===Updating software===
* SD card
* Ethernet ( SFTP / WinSCP )
* GWS
===Reset setup===
* by DIP switch
* over IEC101 or IEC104
* from GWS (over SSH)
===RS-232 / RS-422 / RS-485===
*Baudrate
*# 9600
*# 19200
*# 38400
*# 57600
*# 115200
*# 230400
*# 460800
*# 500000
*# 576000
*# 921600
*Parity
*# none
*# odd
*# even
*suppress echo
===Ethernet===
* multiple IP addresses
* VLAN
===Time===
====Timezones====
*modify local time zone
*verify: localtime == console time 
*modify port time zone
==== NTP ====
* client
* server
=== OpenVPN server ===
...
===Raw data forwarding===
*Serial -- Serial
*Serial -- Ethernet
*Ethernet -- Ethernet
===Formula===
* Delay
* digital output
* AI: Divison/0
===Virtual objects===
* Controlling virtual objects
* RTA-A: clear announciator LED's digital output
===Protocols===
* communication status object
====IEC104====
* Test for event loss, if network connection is removed.
* Redundant channels
==== Direct protocol translation ====
Iec-101 <-> Iec-104
===Log files===
*CSV
** events.csv
** measurments.csv (not implemented jet)
* error.log
** archive
* console.log
** archive
== Hardware tests ==
== Hardware tests ==
===Testing Telem-GW6 Ports===
===Testing Telem-GW6 Ports===
Line 17: Line 89:
# Make sure u-boot's '''press any key to stop booting''' is disabled.
# Make sure u-boot's '''press any key to stop booting''' is disabled.
#* Use the bootstrapper app.
#* Use the bootstrapper app.
#* If this is not disabled, GW6 will not boot if you send any data to Port2
#* If this is not disabled, GW6 will not boot if you send any data to Port2 (GWS connected with RS232)


===Testing Internal Clock===
===Testing Internal Clock===
#Change the time in the PC
#Change the time in the PC
#Go to TDC, GW6 Setup, Common, Time Settings and make sure that the Enable GPS is not click.
#*GW6 software does not allow syncing to a date older than 1. january 2011
#Go to TDC, GW6 Setup, Common, Time Settings and make sure that the Enable GPS is not selected.
#Go to TDC, Settings and click on Gen. Int. + Time Sync.
#Go to TDC, Settings and click on Gen. Int. + Time Sync.
#Power ON/OFF (Wait until it restarts)
#Power ON/OFF (Wait until it restarts)
#Open Putty
#Open Putty
##Load saved session "GW6-Timetest" and open (It will log on as martem user automatically, It will give you the time once you have type the password) // if there is no "GW6-Timetest" use IP 10.0.0.144 user: martem and once logged in, enter command: date
##Load saved session "GW6-Timetest" and open (It will log on as martem user automatically, It will give you the time once you have type the password) // if there is no "GW6-Timetest" use IP 10.0.0.144 user: martem and once logged in, enter command: date
##Password: Xooviet0
##*Password: Xooviet0
#The time should macht with the PCs time.//if not(like 1 jan 2000 0:xx:xx), start from 4 again(power on/off)
#The time should macht with the PCs time.//if not(like 1 jan 2000 0:xx:xx), start from 4 again(power on/off)


Line 36: Line 109:
##Password: Xooviet0
##Password: Xooviet0
#The time now should macht the real time.//if not, ask for date couple of times again, GPS sync might take some time.
#The time now should macht the real time.//if not, ask for date couple of times again, GPS sync might take some time.
==Software tests==
* Reset setup
*# by DIP switch
*# over IEC101 or IEC104

Latest revision as of 11:56, 1 September 2014

Software tests

These tests should be performed on new versions of device software.

Updating software

  • SD card
  • Ethernet ( SFTP / WinSCP )
  • GWS

Reset setup

  • by DIP switch
  • over IEC101 or IEC104
  • from GWS (over SSH)

RS-232 / RS-422 / RS-485

  • Baudrate
    1. 9600
    2. 19200
    3. 38400
    4. 57600
    5. 115200
    6. 230400
    7. 460800
    8. 500000
    9. 576000
    10. 921600
  • Parity
    1. none
    2. odd
    3. even
  • suppress echo

Ethernet

  • multiple IP addresses
  • VLAN

Time

Timezones

  • modify local time zone
  • verify: localtime == console time
  • modify port time zone

NTP

  • client
  • server

OpenVPN server

...

Raw data forwarding

  • Serial -- Serial
  • Serial -- Ethernet
  • Ethernet -- Ethernet

Formula

  • Delay
  • digital output
  • AI: Divison/0

Virtual objects

  • Controlling virtual objects
  • RTA-A: clear announciator LED's digital output

Protocols

  • communication status object

IEC104

  • Test for event loss, if network connection is removed.
  • Redundant channels

Direct protocol translation

Iec-101 <-> Iec-104

Log files

  • CSV
    • events.csv
    • measurments.csv (not implemented jet)
  • error.log
    • archive
  • console.log
    • archive

Hardware tests

Testing Telem-GW6 Ports

  1. Connect the PC to the Telem GW6 through port 2 RS232, load and writte the Test Configuration Setup "testgw6_3.csv"
    1. Z:\Taimar\1.Test\GW6_allports
  2. Connect the cables following this scheme
    1. Ethernet to network
    2. Port 1-RS422 to Port 5-RS422/485
    3. Port 2-RS232 to Port 10
    4. Port 3-RS232 to Port 6
    5. Port 4 Fiber optic to an external Fibreoptic Modem alredy connected to another device to check the communications.
    6. Port 7 to Port 11
    7. Port 8 to Port 12
    8. Port 9 to Port 13
    9. GPS port to an external GPS device.
  3. Check that all the leds are blinking
  4. Open TDC, export IEC objects from Z:\Taimar\1.Test\GW6_allports\objects.csv and check IEC obj. all 7 BI-s must have value 1.(or 0 in IEC.exe)
  5. Make sure u-boot's press any key to stop booting is disabled.
    • Use the bootstrapper app.
    • If this is not disabled, GW6 will not boot if you send any data to Port2 (GWS connected with RS232)

Testing Internal Clock

  1. Change the time in the PC
    • GW6 software does not allow syncing to a date older than 1. january 2011
  2. Go to TDC, GW6 Setup, Common, Time Settings and make sure that the Enable GPS is not selected.
  3. Go to TDC, Settings and click on Gen. Int. + Time Sync.
  4. Power ON/OFF (Wait until it restarts)
  5. Open Putty
    1. Load saved session "GW6-Timetest" and open (It will log on as martem user automatically, It will give you the time once you have type the password) // if there is no "GW6-Timetest" use IP 10.0.0.144 user: martem and once logged in, enter command: date
      • Password: Xooviet0
  6. The time should macht with the PCs time.//if not(like 1 jan 2000 0:xx:xx), start from 4 again(power on/off)

Testing GPS

  1. Go to TDC, GW6 Setup, Common, Time Settings and Enable GPS (Optical). Writte the new configuration on the Device.
  2. Check the GPS green led is blinking.
  3. Power ON/OFF (Wait until it restarts)
    1. Load saved session "GW6-Timetest" and open (It will log on as martem user automatically, It will give you the time once you have type the password)
    2. Password: Xooviet0
  4. The time now should macht the real time.//if not, ask for date couple of times again, GPS sync might take some time.