
Application Program Development and Export
Applications are initially developed, tested, and debugged using the LonBuilder
Developer’s Kit or the NodeBuilder Development Tool. See the
LonBuilder User’s
Guide
or the
NodeBuilder User’s Guide
for detailed instructions on developing and
testing applications. For updates to the development procedures, also see the
ReadMe.txt file installed by the latest service pack for the development tool. Actual
unit and system testing of an application targeted for an LPT-11-based device
requires one or more Echelon Model 77040 FTM-10 SMX™ Standard Modular
Transceivers combined with an Echelon Model 25000 Neuron Emulator inside of a
LonBuilder Development Station, or an Echelon Model 65150-24P LTM-10A/FT-10
Platform. The following two sections describe specifics related to each development
environment.
LonBuilder Developer’s Workbench
Development Hardware Setup
When developing a device that uses an LPT-11 transceiver, the ideal development
environment connects all LonBuilder Neuron Emulators to a single TP/FT-10 twisted
pair channel to enable system test and protocol analysis of the functioning control
network. An FTM-10 transceiver attaches to each of the LonBuilder Neuron
Emulators using the Echelon Model 27100 SMX Adapter mounted on the transceiver
expansion connectors. Refer to the
LonBuilder Hardware Guide
and
L
ON
W
ORKS
SMX
Transceiver Installation Instructions
for detailed instructions on installing the SMX
adapter and FTM-10 transceiver.
Warning:
A common mistake is to forget to reposition the backplane transceiver
jumpers on the LonBuilder Emulator to the
External Transceiver
setting prior to
installing the SMX adapter. Also, confirm jumper settings for the FTM-10
transceiver prior to installing on the SMX adapter.
When building an application for a device using an LPT-11 transceiver, the
LonBuilder communications port settings must use the standard TP/FT-10 definition.
If this is not done prior to building the project, the resulting application will be
incompatible with the release hardware. The first step in defining the
communications port settings for a device is to create a new channel definition for
TP/FT-10, which is accessed by clicking the
Network
button and then the
Channel
button in the LonBuilder Navigator. Create a channel definition which uses
TP/FT-
10
as the
Std Xcvr Type
with
Enforce Std Type
set to
Yes
. Versions of the
LonBuilder tool prior to Release 3.01 Service Pack 2 do not include the standard
transceiver definition for TP/FT-10. Details of the standard transceiver definition are
listed in table 7.1 .
Table 7.1
Standard TP/FT-10 Channel Definition for Bus and Free Topologies
Variable
TP/FT-10 Standard Transceiver Type
Comm Mode
Single-ended (see note 4)
Comm Rate
78.13kbps
Min Clock Rate
5MHz
Num Priorities
4
7-2
Design
Issues