Sfar SFAR-S-ETH User Manual

SFAR-S-ETH
User Manual
Expansion Module – Gateway Modbus TCP
Global Control 5 Sp. z o.o.
www.gc5.pl
SFAR-S-ETH User Manual
Version 3.0 www.gc5.pl Page 2 / 27
Table of contents
1. Safety rules .................................................................................................................................... 4
2. Module features ............................................................................................................................ 4
2.1. Purpose and description of the module .......................................................................... 4
2.2. Technical specifications ..................................................................................................... 5
2.3. Dimensions of the product ................................................................................................ 6
3. Configuration of the communication ........................................................................................ 7
3.1. Grounding and shielding .................................................................................................... 7
3.2. Network termination ........................................................................................................... 7
3.3. Setting Module Address in RS485 Modbus Network ................................................... 7
3.4. Types of Modbus Registers ............................................................................................... 8
3.5. Communication settings .................................................................................................... 8
3.5.1. Default settings ............................................................................................................ 9
3.5.2. Restore the default configuration ............................................................................. 9
3.5.3. Configuration registers ............................................................................................. 10
3.5.4. Watchdog information .............................................................................................. 10
4. Indicators ...................................................................................................................................... 11
5. Module connection ..................................................................................................................... 11
5.1. Block diagram..................................................................................................................... 11
5.2. Connection of digital inputs ............................................................................................. 12
5.3. Connection of relay outputs ............................................................................................ 12
5.3.1. Connection of resistive load .................................................................................... 12
5.3.2. Connection of electrovalve ....................................................................................... 12
5.4. Quick Connect .................................................................................................................... 13
6. Switches ....................................................................................................................................... 14
7. Modules Registers ...................................................................................................................... 14
7.1. Registered access ............................................................................................................. 14
7.2. Bit access ............................................................................................................................ 17
8. Configuration software .............................................................................................................. 18
9. Web page ...................................................................................................................................... 19
9.1. Login ..................................................................................................................................... 19
9.2. Info ........................................................................................................................................ 20
9.3. Network ............................................................................................................................... 21
9.4. Modbus Config ................................................................................................................... 22
9.5. Local I/O .............................................................................................................................. 23
9.6. Device Table ....................................................................................................................... 24
10. Modbus TCP working modes ................................................................................................... 26
10.1. Gateway Modbus TCP ...................................................................................................... 26
10.2. Device Table ....................................................................................................................... 27
SFAR-S-ETH User Manual
Version 3.0 www.gc5.pl Page 3 / 27
Thank you for choosing our product.
This manual will help you with proper handling and operating of the device.
The information included in this manual have been prepared with utmost care by our professionals and serve as a description of the product without incurring any liability for the purposes of commercial law.
This information does not discharge you from the liability of your own judgment and verification.
We reserve the right to change product specifications without notice.
Please read the instructions carefully and follow the recommendations concluded therein.
WARNING!
Failure to follow instructions can result in equipment damage or impede the use of the hardware or software.
SFAR-S-ETH User Manual
Version 3.0 www.gc5.pl Page 4 / 27
1. Safety rules
1. Refer to this manual before the first use
2. Make sure that all cables are connected properly before the first use
3. Please ensure proper working conditions, according to the device specifications
(e.g., supply voltage, temperature, maximum power consumption)
4. Turn the power supply off before making any modifications to wiring connections.
2. Module features
2.1. Purpose and description of the module
ETH module is an innovative device converting Modbus TCP into Modbus RTU/ASCII.
The device is equipped with the Ethernet and RS485 interface, 4 Digital Inputs with counters and 3 Relay Outputs. All the inputs are insulated from logic with the aid of optoisolators.
The communication takes place with the benefit of Modbus TCP protocol. Every received request from the Modbus TCP client is checked considering the address. If the address is different than the SFAR-S-ETH device address, automatic conversion of the request frame into the Modbus RTU/ASCII protocol ensues. Later on, the correctly received answer is sent to the Modbus TCP client.
The usage of a 32-bit processor with ARM core assures fast data processing and smart communication.
The new function called Modbus Device Table allows the user to define their own enquiries to Modbus ATU/ASCII from the accessible internal registries of the device. This function
allows to e.g. automatic reading of the statuses of the modules’ inputs on RS485 and
inscribing these statuses into the SFAR-S-ETH internal registries. Internal registries are accessible for the Modbus TCP clients without additional delays resulting from the RS485 bus. This solution strongly accelerates the communication. All the bit orders and registry orders of the MODBUS protocol are available.
The module is designed for mounting on a DIN rail in accordance with DIN EN 5002.
SFAR-S-ETH User Manual
Version 3.0 www.gc5.pl Page 5 / 27
The module is equipped with a set of LEDs to indicate the status of inputs and outputs which is useful for diagnostic purposes and helping to find errors.
Module configuration is done via built-in website or USB by using a dedicated computer program. You can also change the parameters using the MODBUS protocol.
2.2. Technical specifications
Power Supply
Voltage
10-38 V DC; 10-28 V AC
Power consumption1
7 W @ 24 V DC
9 VA @ 24 V AC
Digital inputs
No. of inputs
4
Voltge range
0 – 36 V
Low state „0”
0 – 3 V
High state „1”
4 – 36 V
Input impedance
4
Isolation
3750 Vrms
Inputs type
PNP lub NPN
Counters
No.
4
Resolution
32 bits
Frequency
1 kHz (max)
Impulse Width
500 µs (min)
Relay outputs
No. of outputs
3
Maximum current and voltage
(resistive load)
3 A 230 V AC
3 A 30 V DC
Temperature
Work
-20°C - +65°C
Storage
-40°C - +85°C
Connectors
Power supply
2 pin
Communication RS485
3 pin
Communication Ethernet
RJ45
1
Power consumption with active Modbus transmission, all outputs on and high state on all inputs
SFAR-S-ETH User Manual
Version 3.0 www.gc5.pl Page 6 / 27
Inputs and outputs
2 x 5 pin
Quick connector
IDC10
Configuration
Mini USB
Size
Height
119.1 mm
Length
110 mm
Width
22.6 mm
Interface
Ethernet
10/100 Mbps
RS485
Up to 128 devices
Table 1 - Technical specifications
2.3. Dimensions of the product
The appearance and dimensions of the module are shown below. The module is mounted directly to the rail in the DIN industry standard. Power connectors, communication and IOs are at the bottom and top of the module. USB connector configuration and indicators are located on the front of the module.
Picture 1 - Dimensions of the product

SFAR-S-ETH User Manual
Version 3.0 www.gc5.pl Page 7 / 27
3. Configuration of the communication
3.1. Grounding and shielding
In most cases, IO modules will be installed in an enclosure along with other devices which generate electromagnetic radiation. Examples of these devices are relays and contactors, transformers, motor controllers etc. This electromagnetic radiation can induce electrical noise into both power and signal lines, as well as direct radiation into the module causing negative effects on the system. Appropriate grounding, shielding and other protective steps should be taken at the installation stage to prevent these effects. These protective steps include control cabinet grounding, module grounding, cable shield grounding, protective elements for electromagnetic switching devices, correct wiring as well as consideration of cable types and their cross sections.
3.2. Network termination
Transmission line effects often represent the problem on data communication networks. These problems include reflections and signal attenuation.
To eliminate the presence of reflections at the end of the cable, the cable must be terminated at both ends with a resistor across the line equal to its characteristic impedance. Both ends must be terminated since the direction of propagation is bi-directional. In the case of RS485 twisted pair cable this termination is typically 120 Ω.
3.3. Setting Module Address in RS485 Modbus Network
Changing the address of the SFAR-S-ETH is possible with the aid of an inbuilt www website. After logging in, one should choose the tab Network, insert the module address in the Device Address field and click Save. The device will save the given address and will remember it even after disconnecting from the power supply (more details in 9.4 - Modbus Config).
Attention! The address is reset during the restoration of default configuration (more details in 3.5.1 – Default settings).
SFAR-S-ETH User Manual
Version 3.0 www.gc5.pl Page 8 / 27
3.4. Types of Modbus Registers
There are 4 types of variables available in the module.
Type
Beginning address
Variable
Access
Modbus
Command
1
00001
Digital Outputs
Bit
Read & Write
1, 5, 15
2
10001
Digital Inputs
Bit
Read
2
3
30001
Input Registers
Registered
Read
3
4
40001
Output Registers
Registered
Read & Write
4, 6, 16
Table 3 - Types of variables
3.5. Communication settings
The settings of TCP communication are stored in memory of the device. The Modbus TCP network configuration is only accessible through the www website (more details in 9.3. – Network). The communication data of the module in RS485 network is stored in the16-bit registries. The access to the registries is possible with the benefit of Modbus TCP protocol or through the www website (details in 9.4 - Modbus Config).
SFAR-S-ETH User Manual
Version 3.0 www.gc5.pl Page 9 / 27
3.5.1. Default settings
You can restore the default configuration by the switch SW6 (see 3.5.2. )
Modbus TCP
Modbus RTU/ASCII
Address IP
192.168.1.135
Transmission speed
19200
Mask
255.255.255.0
Parity
No
Gateway
192.168.1.1
The amount of data bits
8
Port Modbus
502
The amount of stop bits
1
Port HTTP
80
Modbus mode
RTU
Timeout of connection
60 s
The device address
1
Login
admin
Timeout of RS485
500 ms
Password
0000
Mode
Gateway
Device Table Refresh Slow
10000 ms
Device Table Refresh Normal
2000 ms
Device Table Refresh Fast
500 ms
Table 4 - Default settings
3.5.2. Restore the default configuration
To restore the default configuration:
Turn the power off
Turn the switch sw6 on
Turn the power on
When power and communication led flash turn the switch sw6 off
WARNING! After restoring the default configuration all values stored in the registers will be cleared as well.
Loading...
+ 18 hidden pages