Specifications
61 / 80
15. Connecting a serial device
The serial application device connectivity is only available at Arctic Gateway products, not Routers.
In the example configuration scenario (Figure 6: Scenario 1, M2M GW connected with public IP
address), there is no serial connected device. However, if there is one in your setup, connect it as
follows:
Do as follows:
1. Switch off the Arctic’s power
2. Connect the serial cable
3. Check the serial port settings and serial cable wiring according to tables DIP Switches and
Serial Ports (RS-232, RS-422/485 -connectors) in Arctic’s User’s guide.
4. Check that the console/RS1 switch is in “RS1” position if RS1 port is used.
It is however recommended to leave the RS1 port for console connection; if there is only
one serial application device connected to Arctic, it should be connected to RS2.
Special Arctics, like Arctic Modbus Gateway or IEC-104 Gateway have RS2 port reserved
to respective special serial protocols. With transparent serial connectivity, use then RS1
port and set the console switch to Application position.
5. Switch on the Arctic.
6. In Arctic Gateways, there is a “Serial gateway”, which is responsible for encapsulating the
serial data to the TCP/IP packets. Refer to Arctic’s User’s guide, chapter Application Menu:
Serial GW for more details on how the Arctic’s serial settings are configured.
7. The example values are as follows:
Serial GW RS2 (uses RS2 physical port)
Enabled: Yes
Operating mode: Server
Network Protocol: TCP
Local Server Port: 2404
Remote IP address or host: 0.0.0.0 (not used in server mode)
Remote port: 2404 (not used in server mode)
Socket idle timeout (secs): 600
Enable TCP keepalive: No (if connection drops, set to Yes)
Keepalive probe time: 200
New connection priority: Yes
Minimum connection slot (secs): 0
When "new connection priority" is enabled a new incoming connection will override
present/old connection. Usually this is the preferred method as the connections may be
disrupted without both parties knowing it. Therefore enabling the new connection priority is
usually preferred.
With "minimum connection-slot" parameter the connection overriding can be disabled for
certain amount of time. The purpose of it is to give each connection a certain minimum
communication time e.g. in a situation where multiple masters try to connect to Arctic
simultaneously.
The serial settings are depending on the connection characteristics of the serial device;
refer to the serial device’s documentation for proper values.
See the framing settings in the next chapter.