You are on page 1of 6

Dupline® Field- and Installationbus

Dupline® Ethernet Modbus/TCP Gateway


Type G 3891 0052
• Built-in Dupline® channel generator
• Modbus/TCP Slave
• 10 and 100 Mbit operation, full or half duplex
• Twisted pair cables
• Read/control 128 Dupline® inputs/outputs
• Split-I/O mode selectable (128 inputs and 128 outputs)
• Support of 3 1/2 digit BCD and AnaLink analog formats
• For mounting on DIN-rail (EN 50 022)
• LED indicators for supply, Dupline® carrier and fault
• LED indicators for Ethernet link, module status and
activity
• AC power supply

Product De­scrip­tion Ordering Key G 3891 0052 230


Dupline® Channel Generator TCP masters (PC’s, PLC’s Type: Dupline®
with the function of an Ether- etc.). The unit supports both H8-Housing
net Modbus/TCP slave. This Analink and Multiplexed ana- Type no.
means that digital as well as log signals. Several Dupline® Supply
analog Dupline® I/O’s can be gateways can be connected
read/controlled from Modbus/ to the same Ethernet network.

Type Selection
Supply Ordering no.

115/230 VAC G 3891 0052 230

Input/Output Spec­i­fi­ca­tions
Ethernet Adjustments
Protocol Modbus/TCP 1 x 16 pos. rotary switch No. of Dupline® channels
Connector RJ45 (standard) 8 .. 128 in steps of 8
Communication Speed 10 or 100 Mbit operation DIP-switch 1 Dupline® mode (Normal/Split I/O)
IP address setting via DIP-switches or PC (arp DIP-switch 2 Dupline® analog
command) DIP-switch 3 Analog input protocol
Dielectric voltage DIP-switch 4 Analog output protocol
Ethernet – Dupline® ≥ 4 kVAC (rms) DIP-switch 5-12 IP address
Dupline® CE-marking Yes
Output voltage 8.2 V
Output current ≤ 100 mA
Short-circuit protection Yes
All channels ON detector Yes
Output impedance ≤ 15 Ω
Sequence time 132.3 ms (@ 128 channels)

Specifications are subject to change without notice (20.10.2014) 1


G 3891 0052

General Spec­i­fi­ca­tions Supply Spec­i­fi­ca­tions


Power ON delay < 2.5 s until start of Power supply Overvoltage cat. III (IEC 60664)
Dupline® carrier. Rated operational voltage
< 40 s until correct reading through term. 21, 22, 23 & 24 See wiring diagram
of AnaLink values 230 230 VAC ± 15% (IEC 60038)
Indication for 115 115 VAC ± 15% (IEC 60038)
Supply ON LED, green Frequency 45 to 65 Hz
Dupline® carrier LED, yellow Rated operational power 11 VA
Fault LED, red Rated impulse withstand
Ethernet Link LED, green voltage 230 4 kV
Ethernet Module Status LED, green/red 115 2.5 kV
Network Status LED, green/red Dielectric voltage
Ethernet Activity LED, green Supply - Dupline® ≥ 4 kVAC (rms)
Supply - RS 485 ≥ 4 kVAC (rms)
Environment
Degree of protection IP 20
Pollution degree 3 (IEC 60664)
Operating temperature 0° to +50°C (+32° to +122°F)
Storage temperature -20° to +85°C (-4° to +185°F)
Humidity (non-condensing) 20 to 80% RH
Mechanical resistance
Shock 15 G (11 ms)
Vibration 2 G (6 to 55 Hz)
Dimensions H8-housing
Material (see Technical information)
Weight 540 g

Wiring Diagrams
DUPLINE
D+
D
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
DUPLINE NO.
SETTINGS CHANNELS ETHERNET CONNECTOR IP ADDRESS LEDS STATUS
ON
1 2
1 2 3 4
4 3

21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
115V 115V
P N P N 1 = Link (Activity)
SUPPLY 2 = Module Status
Power supply Power supply
3 = Network Status
230 VAC 115 VAC
4 = Activity

Mode of Operation
The Dupline® Ethernet Gate- switches. (See also switch set- Dupline® address. If e.g. an Dupline® outputs are controlled
way is a Dupline® Channel tings) input coded for B5 is activat- exclusively through the output
Generator with the function 1x16 position rotary-switch for ed, the output(s) coded for B5 data received on Ethernet.
of a Modbus/TCP slave. This selecting Number of Dupline® will also be activated. Con- Note: Analink output as well as
means that the 128 Dupline® Channels in the range 8..128 (in sequently a Dupline® output BCD multiplex data only work
I/O’s can be read/controlled steps of 8). The selected letter can either be activated through in split I/O mode.
by Modbus/TCP masters like indicates the last channel group the output-data received on
PLC’s and PC interface cards available on Dupline®. If e.g. H Ethernet or by an active Dup- DIP-switch (2) for selection of
from many different suppliers. is selected, the 64 channels in line® input coded for the same analog data. In OFF position
Several Dupline® Gateways groups A..H will be available. Dupline® address. In “Split I/O” only Digital In/Out data are
can be connected to the same mode, the Dupline® inputs and transferred. To enable analog
network and operate together DIP-switch (1) for selection of Dupline® outputs are created data-I/O handling this DIP-
with other Ethernet modules Dupline® Operation Mode. In independently by the chan- switch must be ON.
like operator panels, MMI’s I/O “Normal” mode, Dupline® oper- nel generator. If e.g. and input DIP-switch (3) for selection of
modules etc. ates as a peer-to-peer system coded for B5 is activated, the Analog input operation mode.
where the channel generator Gateway will make the informa- When OFF the analog input
Dupline Configuration automatically establishes a tion available on Ethernet (like data are read as AnaLink. Each
switches connection between Dupline® in normal mode), but it will not channel from C1 to P8 is read
The unit is equipped with the inputs and Dupline® outputs automatically activate the Dup- as 8 bit analog data. When
following Dupline configuration which are coded to the same line® output(s) coded to B5. The ON the analog input data are

2 Specifications are subject to change without notice (20.10.2014)


G 3891 0052

Mode of Operation (cont.)


considered as 3 _ digit BCD output is desired. Otherwise the address of the Dupline Ether- arp -s <IP address> <MAC
multiplexed data. The multi- digital transmission will be dis- net Gateway must have an IP address>
plex-control (Synchronization) turbed. Also, in case 3 _ digit address 192.168.2.n , where ping <IP address>arp -d
are automatically set to operate BCD is selected, it should be n is a number in the range <IP address>
on channels A1..A4, which then noted that sending out analog 1..255).
cannot be used for other pur- values on one or more multi- Example:
poses. plex addresses on a double- IP address selection To set the IP address to
DIP-switch (4) for selection of group (e.g. C-D) will disable the The module offers two ways to 192.168.2.21 on a Dupline
Analog Output operation mode. use of this entire double-group configure the IP-address: Ethernet Gateway with MAC
When OFF the Analog outputs for digital transmission. How- • By using the DIP switches address 00-30-11-02-10-DA
are emitted as AnaLink. When ever, BCD multiplex data also in the front the following commands should
ON the Analog Output-data are works only in split I/O mode. • By using the arp-command be issued in the “command
emitted as 3 _ digit Multiplexed from a PC prompt” window:
data, and channels A1..A4 will IP address information
control the multiplex address- arp –s 192.168.2.21 00-30-11-
ing. IP address Using the Configuration 02-10-DA
Note: Change of Dip-switch The IP address is used to iden- Switch for selection of IP ping 192.168.2.21
settings During operation, may tify each node on the TCP/IP address arp –d 192.168.2.21
cause reset of the Gateway. network. Therefore, each node
on the network must have a The configuration switch pro- The arp -s command will store
Dupline® Input Data unique IP address. IP address- vides an easy way to configure the IP and MAC addresses in
A part of the Gateway input es are written as four decimal the module for intranet use. The the PC’s ARP table. When the
processor reads all the 128 integers (0-255) separated by switch represents the binary ping command
Dupline®-channels as Digital periods, where each integer value of the last byte in the IP is executed, the PC sends this
inputs (16 bytes) and another represents the binary value of address. If the switch is set information to the module using
part reads the 112 channels one byte in the IP address. This to a value between 1-255 the the MAC address. The module
(C1 to P8) as Analog inputs. is called dotted-decimal nota- module will use the settings detects that it was addressed
Each Analog value is repre- tion. described below. (If the switch- with the correct MAC address
sented as a 16 bit word with es are all in the OFF-position, and adopts the IP address
MBS as sign and 15 bits of Example: corresponding to the value sent by the PC. (The arp -d
magnitude. This results in a Address 10000000 00001010 0, then the Gateway is set up command is optional, but it
total of 224 bytes containing 00000010 00011110 is written to be configured using the removes the static route from
all analog input-data. Since the as 128.10.2.30 arp-command from a PC.) the PC ARP table).
sign of a valid Dupline analog This method can be used
value is always positive, the Subnet Mask IP address: 192.168.0.n Subnet to reconfigure modules that
range is 0..32767, where 32767 The IP address is divided into mask: 255.255.255.0 Gateway already has been configured,
corresponds to the max ana- three parts - net ID, subnet ID address: 0.0.0.0 (No gateway or even to reconfigure modules
log input. It is up to the user and host ID. To separate the set) outside the host’s subnet.
to read the data in the correct net ID and the subnet ID from
area (digital or analog) accord- the host ID, a subnet mask is The last byte (n) represents Important note: The MAC
ing to the type of module (digit- used. The subnet mask is a the binary value of the switch- address is printed on a label on
al or analog) he has installed on 32-bit binary pattern, where a es. Subnet mask and Gateway the bottom side of the module.
a Dupline address. All data are set bit allocates a bit for net- address settings are fixed to
mapped with Digital input bytes work/subnet ID, and a cleared the above values when using Important note: As the Arp
starting at relative address 00 bit allocates a bit for the host the configuration switches. command automatically con-
followed by the analog data. ID. Like the IP address, the figures the subnet mask to
See In/out data mapping. subnet mask is commonly writ- Example: 255.255.255.0, the first three
ten in dotted-decimal notation. The switches are set to bytes of the IP address must be
Dupline® Output Data 00010100 (20 decimal) the same as for the PC execut-
A memory area of 16 bytes Example: The IP address of the module ing the command.
is available for control of the To make the IP address will be set to 192.168.0.20
outputs of the 128 Dupline 128.10.2.30 belong to subnet Note: These settings can only Example:
channels. If Normal mode is 128.10.2, the subnet mask shall be used on an intranet. This is PC – 192.168.2.67
selected, the outputs can also be set to 255.255.255.0. because the IP address that is Module- 192.168.2.n (Where n
be controlled from Dupline Subnet Mask: 11111111 being set belongs to the private is a value between 1 and 254)
transmitters (OR-function). 11111111 1111111 00000000 address set.
A memory area of 224 bytes (255.255.255.0)
is available for control of the Using the Address Resolution
112 Analog output values. The Net ID /Subnet ID/Host ID Protocol (ARP) for selection
data must be entered in the of IP address
range 0..32767. The Gateway Important Note: To be able The IP address can be con-
will convert them to the right to establish communication figured (or changed during
Dupline format in accordance between two devices both runtime) using the ARP com-
with the selected Analog Out- devices must belong to the mand from a PC. Below is an
put operation mode. However same subnet. If not, the com- example on how to change the
,Analink output works only in munication must be done IP address from a MS DOS™
split I/O mode. When Analog through a gateway. It is there- window (which is normally
transmission is selected it is fore recommended available under “accessories”
important to write the value to configure the module to as “Command prompt” in the
FFFF Hex (-32767 decimal) the same subnet as your PC windows programs menu).
to all those of the 112 output (If e.g. the PC has IP address
addresses where no analog 192.168.2.21, then the IP

Specifications are subject to change without notice (20.10.2014) 3


G 3891 0052

Modbus Memory Map


Input (Hexadecimal notation) Outputs (Hexadecimal notation)
Modbus addr Modbus addr
Hex. Dec. Hex. Dec.
0000 0000 A-P Digital 8 words 0400 1024 A-P Digital 8 words
0008 0008 C-D Analog 16 words 0408 1032 C-D Analog 16 words
0018 0024 E-F Analog 16 words 0418 1048 E-F Analog 16 words
0028 0040 G-H Analog 16 words 0428 1064 G-H Analog 16 words
0038 0056 I-J Analog 16 words 0438 1080 I-J Analog 16 words
0048 0072 K-L Analog 16 words 0448 1096 K-L Analog 16 words
0058 0088 M-N Analog 16 words 0458 1112 M-N Analog 16 words
0068 0104 O-P Analog 16 words 0468 1128 O-P Analog 16 words

Analog input data - memory map Analog output data - memory map
Modbus addr Modbus addr
Hex. Dec. Hex. Dec.
0008 0008 Analink C1 or C-D mux 0 0408 1032 Analink C1 or C-D mux 0
0009 0009 Analink C2 or C-D mux 1 0409 1033 Analink C2 or C-D mux 1

0017 0023 Analink D8 or C-D mux F 0417 1047 Analink D8 or C-D mux F
0018 0024 Analink E1 or E-D mux 0 0418 1048 Analink E1 or E-D mux 0

0076 0118 Analink P7 or O-P mux E 0476 1142 Analink P7 or O-P mux E
0077 0119 Analink P8 or O-P mux F 0477 1143 Analink P8 or O-P mux F

Digital output data


Digital input data Digital input data Digital output data
- single bit references
- bit memory map - single bit references - bit memory map
Modbus addr Hex. Dec. Channel Modbus addr Hex. Dec. Channel
Hex. Dec. MSB LSB 0000 0 A1 Hex. Dec. MSB LSB 4000 16384 A1

0000 0000 A1 B8 0001 1 A2
0400 1024 A1 B8 4001 16385 A2

0001 0001 C1 D8 0002 2 A3
0401 1025 C1 D8 4002 16386 A3
0003 3 A4 4003 16387 A4

0006 0006 M1 N8
0406 1030 M1 N8

0007 0007 O1 P8 0007 7 A8
0407 1031 O1 P8 4007 16391 A8
0008 8 B1 4008 16392 B1

000E 14 B7 400E 16398 B7
000F 15 B8 400F 16399 B8
0010 16 C1 4010 16400 C1
0011 17 C2 4011 16401 C2

007E 126 P7 407E 16510 P7
007F 127 P8 407F 16511 P8

ANALOG DATA FORMAT:


All analog values are scaled linearly to 15 bit binary format (Min analog value: 0 , Max analog value 32767)

4 Specifications are subject to change without notice (20.10.2014)


G 3891 0052

Supported Modbus Function Codes

Function Code Function Name Class Affects Area


1 Read coils 1 IN/OUT
2 Read input discretes 1 IN/OUT
3 Read multiple registers 0 IN/OUT
4 Read input registers 1 IN/OUT
5 Write coil 1 OUT
6 Write single register 1 OUT
7 Read exception status 2 -
15 Force multiple coils 2 OUT
16 Force multiple registers 0 OUT
22 Mask write register 2 OUT
23 Read/Write registers 2 IN/OUT

Switch Settings

ON
IP Address
0
1 2 3 4
ON 1
Number of Dupline Channels
8
A: Group A 8 channels
B: Groups A..B 16 channels
P: Groups A..P 128 channels IP Address Set DIP 8
arp 00000000
192.168.0.1 00000001
1: Dupline Operation Mode 3: Analog Input protocol 192.168.0.2 00000010
OFF: Normal (Peer-to-Peer) OFF: AnaLink
ON: Split I/O mode ON: Multiplex
192.168.0.253 11111101
2: Dupline Data Transfer mode 4: Analog Output protocol
OFF: Digital only OFF : AnaLink 192.168.0.254 11111110
ON: Digital + Analog On: Multiplex
192.168.0.255 11111111

Specifications are subject to change without notice (20.10.2014) 5


Ethernet LED Indicators (right hand side of the module)

Link (Acticity)
State Description
Off Link not sensed
Green Link sensed

Module Status
State Description
Off No power
Green Controlled by a Scanner in Run state
Green, flashing Not configured, or Scanner in Idle state
Red, flashing A minor recoverable fault has been detected
Red A major recoverable fault has been detected
Alternating Green/Red Self-test in progress

Network Status
State Description
Off No power or no IP address
Green On-line, one or more connections established (CIP Class 1 or 3)
Green, flashing On-line, no connections established
Red Duplicate IP address, fatal error
Red, flashing One or more connections timed out (CIP Class 1 or 3)
Alternating Green/Red Self-test in progress

Activity
State Description
Green, flashing Each time a packet is received or transmitted

Dimensions (mm)

H8-housing

6 Specifications are subject to change without notice (20.10.2014)

You might also like