User`s guide

Initializing an SLTA- 10 Adapter
After an SLTA-10 Adapter and its host processor are powered, the host application
must initialize the SLTA-10 Adapter. When an SLTA-10 Adapter is initially
powered-up or reset, it disables network communications by entering the FLUSH,
unconfigured state, unless the SwitchS/CFGl input is set to Network Enable. The
FLUSH state prevents the SLTA-10 Adapter from responding to network management
messages before the host application has initialized the SLTA-10 Adapter. The
unconfigured state prevents the SLTA-10 Adapter from responding to application
messages before the node has been installed in a network. The host application will
not be able to send or receive application messages until after it cancels the FLUSH
state and the SLTA-10 Adapter leaves the unconfigured state.
An SLTA-10 Adapter leaves the unconfigured state when it is installed in a network
and assigned an address in one or two domains on that network. There are two ways
this can happen. If the SLTA-10 Adapter is used as a network interface for a
network management tool, then the network management application itself normally
configures the network interface. For example, a network management application
based on LNS will configure the network interface (in this case a SLTA-10 Adapter in
NSI mode) when the network interface device is opened. Also, a network
management application based on the LonManager API or the LonMaker installation
tool will configure the network interface when the network interface device is opened.
In this case the PC running the network management application sends a local
message to the SLTA-10 Adapter to change its state to configured.
Alternatively, the SLTA-10 Adapter may be installed in a network by some other
network management tool. In this case, the network management tool sends a
message to the SLTA-10 Adapter across the network to change its state and to assign
it an address.
Once the SLTA-10 Adapter is in the configured state, it will retain that state and its
address assignment across power-cycles, because that information is stored in the
internal EEPROM. However, if Switch3KFGl is set to Network Disable, the FLUSH
state must be canceled each time the SLTA-10 Adapter is reset.
If the host application attempts to send a message while the SLTA-10 Adapter is in
the FLUSH state, the SLTA-10 Adapter will return a failed response for acknowledged
messages and a success response for unacknowledged messages. The message will
not be sent in either case.
If the host application attempts to send a message while the SLTA-10 Adapter is in
the NORMAL, unconfigured state, the SLTA-10 Adapter will always return a success
response even though the message will not be sent.
To initialize an SLTA-10 Adapter, follow these steps (for more detail, see the
LONWORKS Host Application Programmer’s Guide):
1
Reset the SLTA-10 Adapter from the host application by sending the niRESET
command. If installed correctly, the SLTA-10 Adapter will respond with an
uplink niRESET message upon completion of the reset. The first message from
an SLTA-10 Adapter after power-up will also be an uplink niRESET message
informing the host that the SLTA-10 Adapter has reset.
1 o-2
Initialization and Installation