English
Language : 

G38910052230 Datasheet, PDF (3/5 Pages) List of Unclassifed Manufacturers – Ethernet Modbus/TCP Gateway
G 3891 0052
Du line®
Fieldbus Installationbus
Mode of Operation (cont.)
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 address-
ing.
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 mod-
ule (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 out-
puts of the 128 Dupline chan-
nels. If Normal mode is select-
ed, the outputs can also be
controlled from Dupline trans-
mitters (OR-function). A memo-
ry 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 Out-
put 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 dis-
turbed. 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 double-group
(e.g. C-D) will disable the use of
this entire double-group for dig-
ital transmission. However,
BCD multiplex data also works
only in split I/O mode.
IP address information
IP address
The IP address is used to iden-
tify each node on the TCP/IP
network. Therefore, each node
on the network must have a
unique IP address. IP address-
es 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 nota-
tion.
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 nota-
tion.
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 com-
munication must be done
through a gateway. It is there-
fore 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
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).
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
Using the Configuration
Switch for selection of IP
address
The configuration switch pro-
vides 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 mod-
ule will use the settings
described below. (If the switch-
es 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.
Using the Address Resolution
Protocol (ARP) for selection
of IP address
The IP address can be config-
ured (or changed during run-
time) using the ARP command
from a PC. Below is an exam-
ple on how to change the IP
address from a MS DOS™ win-
dow (which is normally avail-
able under "accessories" as
"Command prompt" in the win-
dows programs menu).
arp -s <IP address> <MAC
address>
ping <IP address>arp -d
<IP address>
Example:
To set the IP address to
192.168.2.21 on a Dupline Eth-
ernet Gateway with MAC
address 00-30-11-02-10-DA
the following commands should
be issued in the "command
prompt" window:
arp –s 192.168.2.21 00-30-11-
02-10-DA
ping 192.168.2.21
arp –d 192.168.2.21
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 com-
mand 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 config-
ures the subnet mask to
255.255.255.0, the first three
bytes of the IP address must be
the same as for the PC execut-
ing the command.
Example:
PC – 192.168.2.67
Module- 192.168.2.n (Where n
is a value between 1 and 254)
Specifications are subject to change without notice (21.08.2006)
3
Dupline® is a registered trademark. A product of the CARLO GAVAZZI Group