Difference between revisions of "QuickStart"

From IPLOG
Jump to: navigation, search
(English corretions)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This document explains how to start using IPLOG-GAMA.
 
This document explains how to start using IPLOG-GAMA.
  
== TCP connection ==
+
== TCP Connection ==
 
=== DHCP (Dynamic Host Configuration Protocol) ===
 
=== DHCP (Dynamic Host Configuration Protocol) ===
During the system booting or ethernet cable connections, IPLOG sends DHCP request to the server,
+
During the system booting or ethernet cable connections, IPLOG sends a DHCP request to the server,
if DHCP server dynamically assigned an IP address and other network configuration parameters then
+
if the DHCP server has dynamically assigned an IP address and other network configuration parameters then
 
IPLOG is available on the TCP parameters of your network.
 
IPLOG is available on the TCP parameters of your network.
  
 
=== Static IP address ===
 
=== Static IP address ===
In the case, DHCP is not available the unit interface is set to TCP parameters of the case (IP address 10.x.x.x, mask 255.0.0.0).
+
In the event that DHCP is not available the unit interface is set to the TCP parameters of the case (IP address 10.x.x.x, mask 255.0.0.0).
* DHCP and Static IP address services are available at the same time.
+
* DHCP and Static IP address services are available simultaneously.
  
  
// Show parameters of /etc/network/interfaces //
+
{{NotePre
 +
|text=root@buildroot:~# cat /etc/network/interfaces
  
 +
auto lo
 +
iface lo inet loopback
  
'''Recommendation'''
+
auto eth0
1. Connect an ethernet cable to the ethernet port on the unit
+
iface eth0 inet dhcp
2. Connect power (10-60VDC)
+
        pre-up /etc/network/nfs_check
3. Wait 15 seconds (TBC)
+
        wait-delay 15
4. Set your computer to the same IP range as IPLOG is (assigned by DHCP server or please check the static address on the case of the IPLOG). For communication via static IP address, for example, set your computer interface as 10.0.0.10/255.0.0.0
 
  
 +
auto eth0:0
 +
iface eth0:0 inet static
 +
        address 10.68.0.6
 +
        broadcast 10.255.255.255
 +
        netmask 255.0.0.0
 +
 +
}}
 +
 +
 +
 +
'''Recommendations'''
 +
# Connect the ethernet cable to an ethernet port on the unit
 +
# Connect power (10-60VDC)
 +
# Wait 15 seconds (TBC)
 +
# Set your computer to the same IP range as IPLOG (assigned by DHCP server or please check the static address on the case of the IPLOG). For communication via static IP address, for example, set your computer interface to '''10.0.0.10/255.0.0.0'''
  
 
== Communication ==
 
== Communication ==
 
=== SSH ===
 
=== SSH ===
 
Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network
 
Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network
* Download some program supported SSH, for example, PuTTY
+
* Download programs supported by SSH, for example, PuTTY
* Run PuTTY and enter username "root" (password is not needed)
+
* Run PuTTY and enter username "root" ( a password is not needed )
  
 
=== BASH ===
 
=== BASH ===
* configure LAN interfaces (IP, DNS...) and other IOs (for example ranges at alarm loops, output ranges at analogue outputs 0-10V )
+
* Configure LAN interfaces (IP, DNS...) and other IOs (for example ranges at alarm loops, output ranges at analogue outputs 0-10V )
* monitoring of LAN interfaces and other IOs
+
* Monitoring of LAN interfaces and other IOs
* writing of scripts
+
* Writing of Scripts
* download and install Linux packages (thanks to Linux, we have the first working application sending emails via Gmail)
+
* Downloads and installs Linux packages (thanks to Linux, we have the first working application to send emails via Gmail)
  
  
== METEL IEC 61161-3 IDE (Programming) ==
+
== METEL IEC 61131-3 IDE (Programming) ==
Is an advanced tool for automation/control tasks:
+
Is an Advanced Tool for Automation/Control Tasks:
  
- programming of automatic action (EM)
+
* Programming of automatic actions (EM)
- advanced control and automation tasks
+
* Advanced control and automation tasks
- debug configured automation / EM tasks
+
* Debugging of configured automation / EM tasks

Latest revision as of 11:19, 13 February 2019

This document explains how to start using IPLOG-GAMA.

TCP Connection

DHCP (Dynamic Host Configuration Protocol)

During the system booting or ethernet cable connections, IPLOG sends a DHCP request to the server, if the DHCP server has dynamically assigned an IP address and other network configuration parameters then IPLOG is available on the TCP parameters of your network.

Static IP address

In the event that DHCP is not available the unit interface is set to the TCP parameters of the case (IP address 10.x.x.x, mask 255.0.0.0).

  • DHCP and Static IP address services are available simultaneously.


root@buildroot:~# cat /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
        pre-up /etc/network/nfs_check
        wait-delay 15

auto eth0:0
iface eth0:0 inet static
        address 10.68.0.6
        broadcast 10.255.255.255
        netmask 255.0.0.0


Recommendations

  1. Connect the ethernet cable to an ethernet port on the unit
  2. Connect power (10-60VDC)
  3. Wait 15 seconds (TBC)
  4. Set your computer to the same IP range as IPLOG (assigned by DHCP server or please check the static address on the case of the IPLOG). For communication via static IP address, for example, set your computer interface to 10.0.0.10/255.0.0.0

Communication

SSH

Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network

  • Download programs supported by SSH, for example, PuTTY
  • Run PuTTY and enter username "root" ( a password is not needed )

BASH

  • Configure LAN interfaces (IP, DNS...) and other IOs (for example ranges at alarm loops, output ranges at analogue outputs 0-10V )
  • Monitoring of LAN interfaces and other IOs
  • Writing of Scripts
  • Downloads and installs Linux packages (thanks to Linux, we have the first working application to send emails via Gmail)


METEL IEC 61131-3 IDE (Programming)

Is an Advanced Tool for Automation/Control Tasks:

  • Programming of automatic actions (EM)
  • Advanced control and automation tasks
  • Debugging of configured automation / EM tasks