User`s guide

PCLTA-20 Adapter User’s Guide 4-3
interface. In this case the PC running the network application sends a local message
to the PCLTA-20 adapter to change its state to configured.
Alternately, the PCLTA-20 adapter may be installed in a network by some other
network tool or a Network Services Server (NSS). In this case, the network tool or
server sends a message to the PCLTA-20 adapter across the network to change its
state and to assign it an address.
Once the PCLTA-20 adapter enters the configured state, it retains both the
configured state and its address assignment across power-cycles, because that
information is stored in the internal EEPROM.
To configure the PCLTA-20 adapter follow these steps:
1. Install the PCLTA-20 adapter in one or two domains using the
Update Domain
network management message. This may be done by a network tool across the
network, or may be done directly by the host application by sending the
Update
Domain
message as a local network management command.
2. Change the state of the network interface to
configured
. This may be done by a
network tool across the network, or may be done directly by the host application
by sending the
Set Node Mode
network management message.
For LNS applications with a local NSS, both steps are performed by the LNS API
NsInit()
function, or the LCA System object’s
Open
method. For remote LNS
applications, these steps are performed by the LNS API
NsInit()
and
NsIssueAddMyNsi()
functions, or by setting the
ActiveRemoteNI
property of the
LCA Object Server OCX.
For other applications, both steps are performed locally using the LonManager API
lxt_open()
function, while remote configuration is accomplished using an appropriate
network tool.
Installing a PCLTA-20 Adapter on a L
ON
W
ORKS
Network
A PCLTA-20 adapter with a host that is attached to a network appears as a standard
L
ON
W
ORKS
node to other nodes on the same network. The PCLTA-20-based node is
logically installed on a network using pre-installation, self-installation, or field
installation with a network tool. These installation scenarios are described in the
L
ON
W
ORKS
Installation Overview
engineering bulletin (number 005-0006-01).
Unique installation requirements of host applications are described in Chapter 3 of
the
L
ON
W
ORKS
Host Application Programmer's Guide
4
.
Installing with an LNS Tool
When a PCLTA-20 adapter is used as a Network Services Interface (NSI) for a PC
running an LNS tool like the LonMaker for Windows Integration Tool, installation of
the PCLTA-20 is handled automatically when the LNS tool is initialized.
Installing with the LonBuilder Tool
If the PCLTA-20 adapter is not used as an NSI, i.e., it is used in the MIP mode, it
can be installed on a development network using the LonBuilder Network Manager.