Specifications are subject to change without notice (21.08.2006) 3
Dupline®is a registered trademark. A product of the CARLO GAVAZZI Group
G 3800 0016, G 3800 1016
Mode of Operation
Intelligent functions
The G3890x016 Master Genera-
tor is a programmable channel
generator which is particularly
well suited for building automa-
tion applications due to the dedi-
cated intelligent functions for
lighting control, rollerblind con-
trol, temperature control and
alarm monitoring. In addition to
that the unit can be configured
to perform real-time, logic and
timer functions. The windows-
based configuration software is
extremely easy to use due to the
pre-programmed functions.
Master Generator configuration
The Master Generator is as
default configured to operate as
a standard channel generator
without intelligent functions. In
order to make use of the intelli-
gent functions the Master Gen-
erator must be configured by
means of the user-friendly win-
dows-based configuration soft-
ware. This is included in the
package and has to be installed
on a Win 95/98/2000/NT/XP PC.
When the configuration is com-
pleted the configuration is down-
loaded into the Master Genera-
tor via COM1 (RS232 port). The
configuration can be saved on a
file and it is also possible to
upload the configuration from a
Master Generator.
GSM Modem Option
The G38001016 Master Genera-
tor has a built-in GSM Modem
which enables monitoring and
control of Dupline signals via
SMS messages to/from mobile
GSM telephones. There are 3
different ways to use SMS mes-
saging:
• The Master Generator can be
programmed to send out event-
based SMS messages. The
event can be a channel switch-
ing ON or OFF, or it can be an
analog signal crossing a set-
point.
• Requests for status of digital
or analog data can be sent and
answered via SMS messages
• Status of digital channels can
be controlled by sending com-
mands via SMS messages
In order to make use of the GSM
modem, the following is required:
• A SIM-card with the pin-code
9090 needs to be inserted into
the slot in the front of
G38001016. The SIM-card must
be a 3V type.
• A GSM antenna needs to be
connected to the FME connector
on G38001016. If the unit is
installed in a metal enclosure,
the antenna must be installed
outside the enclosure and con-
nected to the Master Generator
via a cable (an antenna of this
type is available as accessory).
An LED in the front of
G38001016 indicates the status
of the GSM modem. By emitting
different blink patterns, the LED
indicates "connecting", "SIM-
card missing", "No network
found", "No response from
modem", "SMS sent" and "SMS
received".
Radio Controlled Clock Option
It is possible to equip the
G3800x016 with an external
antenna for radio-controlled
clock in order to achieve high
timing accuracy in connection
with real-time functions and
event time stamps. When the
antenna ANT2 is used, the
G3800x016 will receive accurate
timing signals from the DCF77
transmitter located in Frankfurt
a.M., Germany. The antenna out-
puts the demodulated signals to
the Master Generator via an
open collector driver.
The DCF77 transmitter covers all
of Central Europe since the
transmission radius is at least
1000 km. For longer distance the
use of ANT2 depends on receiv-
er conditions. ANT2 connects to
the G3800x016 terminals.
RS232 ports
The Master Generator is provid-
ed with two RS232 ports (COM1
and COM2) which both can be
used by PC’s/PLC’s for
read/write of Dupline data using
the Modbus-RTU protocol.
COM1 is also used for download
and upload of configuration files
(created by the Master Genera-
tor configuration software) and
for firmware upgrades. If the
option for an external radio
modem is desired, it needs to be
connected to COM2. COM1 has
a fixed baudrate of 115 kBaud,
while the baudrate of COM2 is
adjustable.
RS485 port
The RS485 port enables net-
working of up to 32 Master Gene-
rators with or without automatic
data exchange. This enables
control and monitoring of up to
4096 data points. If desired, it is
also possible to use Ethernet
instead of RS485. In that case
each Master Generator must be
equipped with a converter. A
Modbus Device Address needs
to be assigned to each Master
Generator during configuration.
In a network with automatic data
exchange, one Master Generator
is configured as RS485 Master,
and will thus synchronize a con-
tinual automatic data exchange
between all the Master Genera-
tors. When programming the
individual Controllers it is then
possible to make references to
signals in other Dupline net-
works. For example the wind
speed value measured by a sen-
sor in one Dupline network, can
be used in the roller blind control
function in the other Dupline net-
works. It is also possible to
make e.g. "all lights OFF" func-
tions for a big building by acti-
vating a single pushbutton. A PC
or PLC, connected to one of the
COM-ports of the G3800X016
operating as RS485 Master, gets
access to all 4096 data points
using the Modbus protocol.
Also, using the PC makes it pos-
sible to change the configuration
in any of the Master Generators
in the network.
In a network without automatic
data exchange, a PC or PLC
need to be RS485 Master and all
the Master Generators will oper-
ate as Modbus-RTU slaves. This
makes it possible for the PC or
PLC to read/write data from any
of the 32 Master Generators.
See following RS485 networking
diagram for both operating
modes.
Modbus-RTU protocol
Using the Modbus-RTU com-
mands 2 and 3 through COM1,
COM2 or RS485 makes it possi-
ble to read any type of Dupline
data (digital, analink, multiplexed
analog or counter data). The sta-
tus of digital and multiplexed
analog data and reset of counter
can be controlled via the com-
mands 5, 6 and 16. See manual
for memory map information.
Software
The Dupline Data Access soft-
ware package (type no. DUP-
DATACC) has been developed
specifically for the Master Gen-
erator. It contains two software
tools that provide easy access
from a PC to Dupline digital,
analog and counter data via one
of the RS232 or RS485 ports.
The DDE-driver provides a
Dynamic Data Exchange inter-
face, which can be used from
applications that support client
side DDE such as Microsoft
EXCEL. Getting Dupline data
into an EXCEL spreadsheet is a
simple copy-and-paste opera-
tion. The Dupline ActiveX driver
provides an ActiveX interface,
which is a Microsoft standard for
communication between two
products. The Dupline ActiveX
driver can be used from any
development tool that supports
client side ActiveX such as
Microsoft Visual Basic, Delphi
and Borland C++ builder.
The Dupline Data Access pack-
age can be used on single Mas-
ter Generators as well as Master
Generator networks.
Radio Modem driver
The Master Generator has a
built-in driver for control of an
external Radio Modem, which
can be used to create wireless
links where no cable is available
in parts of an installation. One
Master Generator must be
defined as the central MGEN
and up to 32 Master Generators
can be defined as remote
MGEN’s. The central MGEN is
continuously polling and updat-
ing the Dupline data from all
remote MGEN’s via the radio
modem network, and in this way
it makes the entire system oper-
ate as one big Dupline network.
Apart from increased reaction
time (depending on the number
of remote MGEN’s), the system
will operate as if it was one Mas-
ter Generator connected to all
the I/O-modules with cable. The
Master Generator supports the
Radio Modem type 2ASxE and
all 3AS types from the Finnish
manufacturer SATEL (www.satel.fi).
Find below an application dia-
gram for the Radio Modem
option.
Note: Analink modules cannot
be used with Radio Modems.
On-board I/O
The Master Generator has 4 dig-
ital inputs and 4 digital outputs
on-board. These have been
implemented to reduce the cost
of remote stations with only a
few signals (e.g. in connection
with an SMS alarm system or
radio modem remote stations).
The onboard I/O’s are used via
the logic functions of the Master
Generator, where they can be
assigned to specific channel
addresses.