DAEnetIP3
User Manual
-
41
-
10.
Distributed (Box-to-box) mode
In some cases it is necessary controlling the digital outputs from digital/analog
inputs. But the sensors connected to the inputs may not be close to the devices
controlled by the outputs. In such case it is necessary two or more DAEnetIP3
controllers to be connected through the LAN/WAN/WLAN. They should work together
and the inputs of one DAEnetIP3 must controls the outputs of another DAEnetIP3
controller. In this mode the controllers connected in one distributed network can work
together without computer. DAEnetIP3 support such function. It is called “Distributed
mode” or "Box-to-box mode".
Bellow in the documentation will be used the notations controlling DAEnetIP3
(controller with inputs) and controlled DAEnetIP3 (controller). Controlling DAEnetIP3
means this is controller that will send TCP/IP messages based on its inputs changes.
Controlled DAEnetIP3 is this one that accepts the messages from controlling
DAEnetIP3 and it sets its outputs based on the received TCP/IP messages. From the
networking side the controlling DAEnetIP3 is
client
and the controlled one is
server
.
This mode is organized with TCP/IP sockets. Each DAEnetIP3 controller has one
socket for output connection and 5 sockets for input connections. The output socket
servers for controlling others DAEnetIP3 controllers. Each DAEnetIP3 controller can
control only one another DAEnetIP3 controller and can be controlled by maximum 5
DAEnetIP3 controllers.
The user must configure two ports for these sockets. The first port is for outgoing
connection socket and this is the port of the controlled DAEnetIP3 (
Remote Port
).
The second port is for incoming connections. For example the incoming port is 1000,
the other four incoming ports are 1001,1002,1003, 1004 and 1005. Actually this is
Local Port Range
.
Bellow they are given the parameters used for distributed mode.
10.1.
Configuring the digital outputs
Each digital output has 19 modes. Four of these modes allow this output to be
controlled by remote input (input that belongs to another DAEnetIP3 controller).
These modes are
On/Off setting and remote, Inverting and remote, Pulses and
remote, Timer and remote.
If the output is not configured to work in some of these
modes, it is not possible to be controlled by remote input of another DAEnetIP3
controller.
10.2.
Configuring the digital/analog inputs
Each digital/analog input has parameter that describes which is the digital output
line that must be controlled by this input. This parameter must be set to the desired
output line (1-16) of Port A. The inputs have also another very important booelan
parameter (Remote). If this parameter is set that‟s mean this input controls output
from another DAEnetIP3 controller. If this parameter is not set that‟s mean this input
controls output from the current DAEnetIP3 controller.
Note that more than one digital/analog inputs may control same digital output line.
The user must configure these settings properly to avoid errors.