SG Gateways Manual English Extendend Online Version PDF
SG Gateways Manual English Extendend Online Version PDF
SG Gateways Manual English Extendend Online Version PDF
Extended Version
USER MANUAL
4.01.0402.20000 1.5 en-US ENGLISH
Important User Information
Disclaimer
The information in this document is for informational purposes only. Please inform HMS Industrial Networks of any
inaccuracies or omissions found in this document. HMS Industrial Networks disclaims any responsibility or liability
for any errors that may appear in this document.
HMS Industrial Networks reserves the right to modify its products in line with its policy of continuous product
development. The information in this document shall therefore not be construed as a commitment on the part of
HMS Industrial Networks and is subject to change without notice. HMS Industrial Networks makes no commitment
to update or keep current the information in this document.
The data, examples and illustrations found in this document are included for illustrative purposes and are only
intended to help improve understanding of the functionality and handling of the product. In view of the wide range
of possible applications of the product, and because of the many variables and requirements associated with any
particular implementation, HMS Industrial Networks cannot assume responsibility or liability for actual use based on
the data, examples or illustrations included in this document nor for any damages incurred during installation of the
product. Those responsible for the use of the product must acquire sufficient knowledge in order to ensure that the
product is used correctly in their specific application and that the application meets all performance and safety
requirements including any applicable laws, regulations, codes and standards. Further, HMS Industrial Networks will
under no circumstances assume liability or responsibility for any problems that may arise as a result from the use of
undocumented features or functional side effects found outside the documented scope of the product. The effects
caused by any direct or indirect use of such aspects of the product are undefined and may include e.g. compatibility
issues and stability issues.
5 Installation........................................................................................................................... 7
5.1 System Requirements .......................................................................................................7
5.2 Wireless via 3G or 4G Cellular Modem (Optional) ..................................................................8
5.3 Connecting the Device to the Computer...............................................................................8
5.4 Connecting the Power Connector........................................................................................9
5.5 Connecting I/O and M-Bus Interfaces ..................................................................................9
5.6 Mounting the Device ...................................................................................................... 10
5.7 Factory Reset ................................................................................................................ 11
6 Configuration..................................................................................................................... 12
6.1 Accessing the Device ...................................................................................................... 12
6.2 Accessing the Embedded WEB-PLC.................................................................................... 13
6.3 Updating the Firmware ................................................................................................... 14
6.4 Changing Password and Access Rights ............................................................................... 16
6.5 Exporting and Importing a Configuration ............................................................................ 17
11 Support/Return Hardware................................................................................................ 29
11.1 Support ........................................................................................................................ 29
11.2 Return Hardware ........................................................................................................... 29
12 Disposal.............................................................................................................................. 29
1 User Guide
Please read the manual carefully. Make sure you fully understand the manual before using the
product.
For additional related documentation and file downloads see support website at
www.ixxat.com/sg-gw-download.
1.4 Conventions
Instructions and results are structured as follows:
► instruction 1
► instruction 2
→ result 1
→ result 2
Lists are structured as follows:
• item 1
• item 2
Bold typeface indicates interactive parts such as connectors and switches on the hardware, or
menus and buttons in a graphical user interface.
This font is used to indicate program code and other
kinds of data input/output such as configuration scripts.
Safety signs and signalwords are used dependent on the level of the hazard.
This instruction must be followed to avoid a risk of reduced functionality and/or damage
to the equipment, or to avoid a network security risk.
Caution
This instruction must be followed to avoid a risk of personal injury.
WARNING
This instruction must be followed to avoid a risk of death or serious injury.
2 Safety Instructions
Caution
The device may only be put into service and operated by qualified personnel.
If device is connected directly to the internet (without router), the firewall must be
enabled.
3 Scope of Delivery
Included in scope of delivery:
• SG-gateway
• Installation Guide SG-gateway
• Micro SD card
• 1 x power connector 3-pin
• 1 x CAN connector (CAN not supported by SG-gateway software)
• 1 x COM connector
• I/O and M-Bus variant: 1 x I/O connector
• variants with modem: antenna
Dependent on variant and protocol further connectors may be included.
4 Product Description
The SG-gateway family provides communication solutions for the energy infrastructure and the
energy production for energy suppliers, system integrators, energy consumers and in
transportation. The SG-gateway that is available in different variants provides safe and reliable
communication between energy systems, control rooms and industrial automation systems.
Information in this document is about the hardware versions ASGxxx-C. Check the
hardware version of the device in use on the product label. For information about
another hardware, contact HMS Industrial Networks.
Common Features
• 1 x Ethernet 10/100 Mbit
• 1 x RS232/RS485 (switchable via software)
• Modbus-TCP Client/Server
• Modbus-RTU Master/Slave
• IEC 61850 Client/Server including GOOSE Subscriber and Publisher (optional)
• IEC 60870-5-104 Client/Server including Redundancy according to Norwegian user
convention (optional)
• Network Address Translation (NAT)
• Simple Network Management Protocol (SNMP)
• DNP3 outstation (optional)
• OPC-UA server
• MQTT publisher/subscriber
• DHCP server
• web based configuration via browser
• CODESYS network variables
• OpenVPN client
• diagnostics (Pcap, Ping, DNS lookup etc.)
• password protection, user and access rights management
• firewall
• simple network time protocol (SNTP)
• event log
• remanent variables
• timer functionality
For protocol specific features see protocol specific Startup Guides on
www.ixxat.com/sg-gw-download.
5 Installation
5.1 System Requirements
The WEB-PLC software runs on any up-to-date web browser on any PC operating system. The
Ixxat IP configuration tool, used to determine or configure the IP address of the device, runs on
Windows.
The following features are needed on the local computer for the IP configuration:
• Ixxat IP configuration tool, available on www.ixxat.com/sg-gw-download
• Ethernet network interface
• Microsoft Windows 7/10
The following features are needed on the local computer for the device configuration:
• Ethernet network interface and Ethernet connection to the device (local or internet)
• Java-script capable web browser
• recommended OS:
– Windows 7/10
– Linux Kernel 4.x
– MacOS X
• recommended web browser:
– Mozilla Firefox 60 or higher
– Google Chrome 73 or higher
– Chromium browser 73 or higher
– Google Chrome
– Apple Safari
– Opera
Firmware
The firmware is constantly improved and expanded. To configure the device the latest firmware
must be downloaded on the device. For more information about updating the firmware see
Updating the Firmware, p. 14.
Modifications of antenna or connection such as extension cords may void the certification
for the cellular modem for certain regions.
Device goes in into safe mode if insufficient power is supplied! Make sure to connect
sufficient power supply and current consumption (see Technical Data, p. 28).
The power supply must be a grounded circuit (PELV) and a limited power source according to EN
60950-1 Cap. 2.5 or the device must be provided with an anti-surge fuse of 2 A. The digital I/Os
are provided with a detached anti-surge fuse of 4 A.
FE GND VCC
CAN COM
6 Configuration
6.1 Accessing the Device
► Connect the device to the computer (see Connecting the Device to the Computer, p. 8).
► Download the Ixxat IP configurator from www.ixxat.com/sg-gw-download.
► Start Ixxat IP configurator.
→ IP configurator scans for SG devices on the local network.
→ Found devices are shown in drop-down list (1).
► To identify the device, compare the number in the list (1) with the MAC/SN on the label of
the device.
► To rescan the network click button Scan (2).
► Select desired device in drop-down list (1).
→ Current IP configuration of the device is displayed (4).
→ By default the device tries to get an IP address from a DHCP server.
► Check if settings match the needs of the network.
► If necessary, use a static IP address:
► Uncheck Use DHCP (3) and set the IP address manually (4).
► Click button Configure (5).
► In the opened popup enter username (default: ixxat) and password (default: ixxat) and
click OK.
→ If the configuration is successful, Configuration completed is shown.
► If desired device is selected and configured, click button HTTP (6).
→ Standard browser to access the WEB-PLC and to configure the device is opened (see
Accessing the Embedded WEB-PLC, p. 13).
Password has to be changed after first login (see Changing Password and Access Rights, p. 16).
► To open the WEB-PLC editor, click button Editor (for more information see WEB-PLC
Editor, p. 18).
The device restarts several times during the update and error messages may occur.
Upload may fail if SD card is inserted after the start-up of the device!
If the SD card is inserted after the start-up of the device, reboot the device before
updating.
► Browse for the update package with button Choose File, select the desired file and click
button Start update.
→ Start-up directory is created on SD card.
→ Device is programmed with the new software.
→ When firmware is updated, a message is shown that includes a link to the index page.
► Do not disconnect the power supply, reset the device or perform any other operations while
the update is in progress. Firmware update can take up to 10 minutes.
► To make sure, that the new version of the website is shown, clear the browser cache with
Ctrl + F5.
Observe, that if the user management settings are contained in the export, the login settings of a device
are changed when importing this package.
Observe, that if the IP settings are contained in the export, the IP address of a device may be changed
when importing this package.
All settings that are contained in the imported configuration overwrite the respective
existing settings on the device. Existing configurations of other protocols and settings,
that are not contained in the imported configuration are not deleted but remain.
7 WEB-PLC Editor
The WEB-PLC firmware provides an editor to edit the PLC program. The editor consists of two
components: a diagram to connect, view and modify the inputs and outputs of the device via
function blocks and I/O mapping to map inputs and outputs directly.
► When the cursor is over the second port release the mouse button.
Enabling the port by double clicking on the port is called negation. Negation is performed logically (value
0 is negated to 1, value unequal 0 is negated to 0, string results in an empty string). For more
information see negation in WEB PLC Online Help.
7.2 Debugging
The current state of the variables and constants in the PLC can be checked directly in the
diagram view via the Live View function.
► Click button Editor to open the WEB-PLC editor and open tab Diagram (1).
► To check the state of a configured PLC, click button Start Live View (2).
→ Current value of each output port is shown next to the port in blue (3).
→ Values are updated constantly.
Stop Live View before changing the diagram! If the PLC does not match the diagram, an
error occurs and the Live View is stopped.
► Click button Editor to open the WEB-PLC editor and open tab I/O Mapping.
If the system clock of the SG-gateway is not synchronized, the timestamps are not
displayed correctly.
Info Shows information about the available network, the routing table, or the DNS
configuration.
Ping Transmits ping packages to another host in the network and evaluates the answer.
Sniff Captures network packages and stores the packages temporarily on the SD card. When
finished the created .cap file is automatically downloaded and can be opened with the
program Wireshark for example. A separate file is created for each network interface.
Task Shows information about the RTOS and Linux tasks that are running inside the system.
Database Shows information about the database that is running in the system.
► For sniffing command make sure, that the SD card (minimum 200 MB free memory) is
inserted.
Deadband Used if trigger mode is deadband: new value is only stored if the difference to the last
stored value is equal or lager than the deadband.
If the checkbox Erase all entries in next startup is deactivated, all configurations and values are retained
and can be exported.
9 Operation
Pins 1 2 3 4 5
1 7
SD
E TH
Power
LED 4
Hub
Status
FE
GND
VCC
COM
CAN
2 8
COM
Network Status
Module Status
Antenna
9 8 7 6
Fig. 15 Device overview
If a device in RS485 mode is last in line in the bus topology a termination is required. To activate
the internal termination resistor of the device, connect pin 5 and pin 7.
Make sure, that voltage (24 V) is applied to pin + and ground to pin - (see Connecting I/O
and M-Bus Interfaces, p. 9).
Make sure, that voltage (24 V) is applied to pin + and ground to pin - (see Connecting I/O
and M-Bus Interfaces, p. 9).
9.5 LEDs
9.5.1 Status LED
The Status LED indicates the status of the PLC.
LED Description
Off No program loaded, PLC not running
Slowly blinking (0.5 Hz) Program loaded, PLC not running
On Program loaded, PLC running
Fast blinking (4 Hz) Task cycle of PLC violated (e.g. cycle time too short in relation to complexity of program,
check duty cycle of PLC in status bar of editor), see WEB-PLC-Help — Status LEDs for more
information
LED Description
Off Connection is not enabled.
Slowly blinking (0.5 Hz) Connection is being established.
On Connection is established.
10 Technical Data
CPU IPC@CHIP® SC145, i.Mx6, 32-bit processor with 528 MHz, 128 MB RAM (DDR3), 64
MB flash disk
Real-time clock Backed by a lithium rechargeable battery
Supply voltage 24 VDC (±15 %), Weidmüller BL 3.50/03 connector
Operating temperature 0 °C to +55 °C
Dimensions (W x L x H) 46 x 105 x 78 mm
Weight 350 g
Housing material Powder-coated steel sheet, RAL 7021, dull finish
Ethernet interface 10/100 BaseT, RJ45, link and traffic LED indicators
Serial interface 1 x RS232/RS485 (selectable), Weidmüller BL 3.50/08 connector
SD card interface microSD card SD/SDHC, push/push slot, max. 32 GB
OPC-UA Server
Device profile Micro Embedded Device Server Profile
User Token User Name Password Server Facet
Security Policies None, Basic128Rsa15, Basic256Sha256
Protocol and encoding UA-TCP, UA-SC, UA-Binary
Data change notification Embedded DataChange Subscription Server Facet profile
Protocol restrictions Up to 128 groups, 4096 values, 8192 scalar values or array elements,
up to 4 concurrent client sessions
MQTT
Protocol version 3.1 and 3.11
Encryption TLS, Client-certificates
Templates Flexible for own definition of payloads
Features Last will, QoS, Keep alive interval
Software
Operating system IPC@CHIP® RTOS-LNX Real-time operating system
WEB-PLC editor and runtime Visual programming editor running on the internal web server, quick I/O mapping
editor, up to 8192 I/O values, up to 1024 HMS Hub variables
WEB-PLC diagram Up to 2048 function units, I/O values, HMS Hub variables and constants, IPO
cycle time: 10 to 1000 ms
For information about the different device variants see the Ixxat SG-gateway datasheet.
11 Support/Return Hardware
Observe the following information in the support area on www.ixxat.com:
• information about products
• FAQ lists
• installation notes
• updated product versions
• updates
11.1 Support
► For problems or support with the product request support at www.ixxat.com/support.
► If required use support phone contacts on www.ixxat.com.
12 Disposal
► Dispose of product according to national laws and regulations.
► Observe further notes about disposal of products on www.ixxat.com.
A Regulatory Compliance
A.1 Compliance (CE)
A.2 Conformity
The conformity with the essential requirements set out in Article 3 of 2014/53/EU has been
demonstrated against the following harmonized standards:
You must dispose of this product properly according to local laws and regulations. Because this
product contains electronic components, it must be disposed of separately from household
waste. When this product reaches its end of life, contact local authorities to learn about disposal
and recycling options, or simply drop it off at your local HMS office or return it to HMS.
For more information, see www.hms-networks.com.