and Installationbus Dupline® Ethernet Modbus/TCP Gateway Type

and Installationbus Dupline® Ethernet Modbus/TCP Gateway Type
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
Dupline® Channel Generator
with the function of an Ethernet Modbus/TCP slave. This
means that digital as well as
analog Dupline® I/O’s can be
read/controlled from Modbus/
Type: Dupline®
H8-Housing
Type no.
Supply
TCP masters (PC’s, PLC’s
etc.). The unit supports both
Analink and Multiplexed analog signals. Several Dupline®
gateways can be connected
to the same Ethernet network.
G 3891 0052 230
Type Selection
Supply
Ordering no. 115/230 VAC
G 3891 0052 230
Input/Output Spec­i­fi­ca­tions
Ethernet
Protocol
Connector
Communication Speed
IP address setting
Dielectric voltage
Ethernet – Dupline®
Dupline®
Output voltage
Output current
Short-circuit protection
All channels ON detector
Output impedance
Sequence time
Modbus/TCP
RJ45 (standard)
10 or 100 Mbit operation
via DIP-switches or PC (arp command)
≥ 4 kVAC (rms)
8.2 V
≤ 100 mA
Yes
Yes
≤ 15 Ω
132.3 ms (@ 128 channels)
Specifications are subject to change without notice (20.10.2014)
Adjustments
1 x 16 pos. rotary switch No. of Dupline® channels
8 .. 128 in steps of 8
DIP-switch 1 Dupline® mode (Normal/Split I/O)
DIP-switch 2 Dupline® analog
DIP-switch 3 Analog input protocol
DIP-switch 4 Analog output protocol
DIP-switch 5-12 IP address
CE-marking
Yes
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
Dupline® carrier.
< 40 s until correct reading of AnaLink values
Indication for
Supply ON LED, green
Dupline® carrier LED, yellow
Fault LED, red
Ethernet Link LED, green
Ethernet Module Status LED, green/red
Network Status LED, green/red
Ethernet Activity LED, green
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
Power supply
Overvoltage cat. III (IEC 60664)
Rated operational voltage
through term. 21, 22, 23 & 24 See wiring diagram
230 230 VAC ± 15% (IEC 60038)
115 115 VAC ± 15% (IEC 60038)
Frequency 45 to 65 Hz
Rated operational power 11 VA
Rated impulse withstand
voltage
230 4 kV
115 2.5 kV
Dielectric voltage
Supply - Dupline® ≥ 4 kVAC (rms)
Supply - RS 485 ≥ 4 kVAC (rms)
Wiring Diagrams
DUPLINE
1
D+
D
2
3
4
5
NO.
CHANNELS
DUPLINE
SETTINGS
6
7
8
9
ETHERNET CONNECTOR
10
11
12
13
ON
1 2 3 4
21
P
Power supply
230 VAC
Power supply
115 VAC
22
115V
23
24
115V
N P
SUPPLY
25
26
27
28
N
29
30
31
14
15
16
LEDS STATUS
IP ADDRESS
32
33
1
2
4
3
34
35
36
1 = Link (Activity)
2 = Module Status
3 = Network Status
4 = Activity
Mode of Operation
The Dupline® Ethernet Gateway is a Dupline® Channel
Generator with the function
of a Modbus/TCP slave. This
means that the 128 Dupline®
I/O’s can be read/controlled
by Modbus/TCP masters like
PLC’s and PC interface cards
from many different suppliers.
Several Dupline® Gateways
can be connected to the same
network and operate together
with other Ethernet modules
like operator panels, MMI’s I/O
modules etc.
Dupline Configuration
switches
The unit is equipped with the
following Dupline configuration
2
switches. (See also switch settings)
1x16 position rotary-switch for
selecting Number of Dupline®
Channels in the range 8..128 (in
steps of 8). The selected letter
indicates the last channel group
available on Dupline®. If e.g. H
is selected, the 64 channels in
groups A..H will be available.
DIP-switch (1) for selection of
Dupline® Operation Mode. In
“Normal” mode, Dupline® operates as a peer-to-peer system
where the channel generator
automatically establishes a
connection between Dupline®
inputs and Dupline® outputs
which are coded to the same
Dupline® address. If e.g. an
input coded for B5 is activated, the output(s) coded for B5
will also be activated. Consequently a Dupline® output
can either be activated through
the output-data received on
Ethernet or by an active Dupline® input coded for the same
Dupline® address. In “Split I/O”
mode, the Dupline® inputs and
Dupline® outputs are created
independently by the channel generator. If e.g. and input
coded for B5 is activated, the
Gateway will make the information available on Ethernet (like
in normal mode), but it will not
automatically activate the Dupline® output(s) coded to B5. The
Dupline® outputs are controlled
exclusively through the output
data received on Ethernet.
Note: Analink output as well as
BCD multiplex data only work
in split I/O mode.
DIP-switch (2) for selection of
analog data. In OFF position
only Digital In/Out data are
transferred. To enable analog
data-I/O handling this DIPswitch must be ON.
DIP-switch (3) for selection of
Analog input operation mode.
When OFF the analog input
data are read as AnaLink. Each
channel from C1 to P8 is read
as 8 bit analog data. When
ON the analog input data are
Specifications are subject to change without notice (20.10.2014)
G 3891 0052
Mode of Operation (cont.)
considered as 3 _ digit BCD
multiplexed data. The multiplex-control (Synchronization)
are automatically set to operate
on channels A1..A4, which then
cannot be used for other purposes.
DIP-switch (4) for selection of
Analog Output operation mode.
When OFF the Analog outputs
are emitted as AnaLink. When
ON the Analog Output-data are
emitted as 3 _ digit Multiplexed
data, and channels A1..A4 will
control the multiplex addressing.
Note: Change of Dip-switch
settings During operation, may
cause reset of the Gateway.
Dupline® Input Data
A part of the Gateway input
processor reads all the 128
Dupline®-channels as Digital
inputs (16 bytes) and another
part reads the 112 channels
(C1 to P8) as Analog inputs.
Each Analog value is represented as a 16 bit word with
MBS as sign and 15 bits of
magnitude. This results in a
total of 224 bytes containing
all analog input-data. Since the
sign of a valid Dupline analog
value is always positive, the
range is 0..32767, where 32767
corresponds to the max analog input. It is up to the user
to read the data in the correct
area (digital or analog) according to the type of module (digital or analog) he has installed on
a Dupline address. All data are
mapped with Digital input bytes
starting at relative address 00
followed by the analog data.
See In/out data mapping.
Dupline® Output Data
A memory area of 16 bytes
is available for control of the
outputs of the 128 Dupline
channels. If Normal mode is
selected, the outputs can also
be controlled from Dupline
transmitters
(OR-function).
A memory area of 224 bytes
is available for control of the
112 Analog output values. The
data must be entered in the
range 0..32767. The Gateway
will convert them to the right
Dupline format in accordance
with the selected Analog Output operation mode. However
,Analink output works only in
split I/O mode. When Analog
transmission is selected it is
important to write the value
FFFF Hex (-32767 decimal)
to all those of the 112 output
addresses where no analog
output is desired. Otherwise the
digital transmission will be disturbed. Also, in case 3 _ digit
BCD is selected, it should be
noted that sending out analog
values on one or more multiplex addresses on a doublegroup (e.g. C-D) will disable the
use of this entire double-group
for digital transmission. However, BCD multiplex data also
works only in split I/O mode.
IP address information
IP address
The IP address is used to identify each node on the TCP/IP
network. Therefore, each node
on the network must have a
unique IP address. IP addresses are written as four decimal
integers (0-255) separated by
periods, where each integer
represents the binary value of
one byte in the IP address. This
is called dotted-decimal notation.
Example:
Address 10000000 00001010
00000010 00011110 is written
as 128.10.2.30
Subnet Mask
The IP address is divided into
three parts - net ID, subnet ID
and host ID. To separate the
net ID and the subnet ID from
the host ID, a subnet mask is
used. The subnet mask is a
32-bit binary pattern, where a
set bit allocates a bit for network/subnet ID, and a cleared
bit allocates a bit for the host
ID. Like the IP address, the
subnet mask is commonly written in dotted-decimal notation.
Example:
To make the IP address
128.10.2.30 belong to subnet
128.10.2, the subnet mask shall
be set to 255.255.255.0.
Subnet
Mask:
11111111
11111111 1111111 00000000
(255.255.255.0)
Net ID /Subnet ID/Host ID
Important Note: To be able
to establish communication
between two devices both
devices must belong to the
same subnet. If not, the communication must be done
through a gateway. It is therefore recommended
to configure the module to
the same subnet as your PC
(If e.g. the PC has IP address
192.168.2.21, then the IP
Specifications are subject to change without notice (20.10.2014)
address of the Dupline Ethernet Gateway must have an IP
address 192.168.2.n , where
n is a number in the range
1..255).
arp -s <IP address> <MAC
address>
ping <IP address>arp -d
<IP address>
IP address selection
The module offers two ways to
configure the IP-address:
• By using the DIP switches in the front
• By using the arp-command from a PC
Example:
To set the IP address to
192.168.2.21 on a Dupline
Ethernet Gateway with MAC
address
00-30-11-02-10-DA
the following commands should
be issued in the “command
prompt” window:
Using
the
Configuration
Switch for selection of IP
address
arp –s 192.168.2.21 00-30-1102-10-DA
ping 192.168.2.21
arp –d 192.168.2.21
The configuration switch provides an easy way to configure
the module for intranet use. The
switch represents the binary
value of the last byte in the IP
address. If the switch is set
to a value between 1-255 the
module will use the settings
described below. (If the switches are all in the OFF-position,
corresponding to the value
0, then the Gateway is set up
to be configured using the
arp-command from a PC.)
IP address: 192.168.0.n Subnet
mask: 255.255.255.0 Gateway
address: 0.0.0.0 (No gateway
set)
The last byte (n) represents
the binary value of the switches. Subnet mask and Gateway
address settings are fixed to
the above values when using
the configuration switches.
Example:
The switches are set to
00010100 (20 decimal)
The IP address of the module
will be set to 192.168.0.20
Note: These settings can only
be used on an intranet. This is
because the IP address that is
being set belongs to the private
address set.
The arp -s command will store
the IP and MAC addresses in
the PC’s ARP table. When the
ping command
is executed, the PC sends this
information to the module using
the MAC address. The module
detects that it was addressed
with the correct MAC address
and adopts the IP address
sent by the PC. (The arp -d
command is optional, but it
removes the static route from
the PC ARP table).
This method can be used
to reconfigure modules that
already has been configured,
or even to reconfigure modules
outside the host’s subnet.
Important note: The MAC
address is printed on a label on
the bottom side of the module.
Important note: As the Arp
command automatically configures the subnet mask to
255.255.255.0, the first three
bytes of the IP address must be
the same as for the PC executing the command.
Example:
PC – 192.168.2.67
Module- 192.168.2.n (Where n
is a value between 1 and 254)
Using the Address Resolution
Protocol (ARP) for selection
of IP address
The IP address can be configured (or changed during
runtime) using the ARP command from a PC. Below is an
example on how to change the
IP address from a MS DOS™
window (which is normally
available under “accessories”
as “Command prompt” in the
windows programs menu).
3
G 3891 0052
Modbus Memory Map
Input (Hexadecimal notation)
Modbus addr
Outputs (Hexadecimal notation)
Modbus addr
Hex.
Hex.
Dec.
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
Modbus addr
Analog output data - memory map
Modbus addr
Hex.
Hex.
Dec.
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 input data
- bit memory map
Digital input data
- single bit references
Digital output data
- bit memory map
Modbus addr
Hex.
Channel
Modbus addr
0000 0
A1
Hex.
00000000A1 B8
0001 1
A2
04001024A1 B8
4001 16385 A2
00010001C1 D8
0002 2
A3
04011025C1 D8
4002 16386 A3
0003 3
A4
4003 16387 A4
00060006M1 N8
04061030M1 N8
00070007O1 P8
0007 7
A8
04071031O1 P8
4007 16391 A8
0008 8
B1
Hex.
Dec.
MSB LSB
Dec.
Digital output data
- single bit references
Dec.
Hex.
MSB LSB
Dec.
Channel
4000 16384 A1
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
1 2 3 4
0
ON
8
Number of Dupline Channels
A: Group A
8 channels
B: Groups A..B 16 channels
P: Groups A..P 128 channels
1: Dupline Operation Mode
OFF: Normal (Peer-to-Peer)
ON:
Split I/O mode
3: Analog Input protocol
OFF: AnaLink
ON: Multiplex
2: Dupline Data Transfer mode
OFF: Digital only
ON:
Digital + Analog
4: Analog Output protocol
OFF : AnaLink
On: Multiplex
Specifications are subject to change without notice (20.10.2014)
IP Address
arp
192.168.0.1
192.168.0.2
192.168.0.253
192.168.0.254
192.168.0.255
1
Set DIP 8
00000000
00000001
00000010
11111101
11111110
11111111
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)
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising