User`s guide
6-2 Programming
Considerations
Application Program Development and Export
Application programs are initially developed, tested, and debugged using the
LonBuilder Developer’s Workbench or the NodeBuilder™ Development tool. See
the LonBuilder User’s Guide and NodeBuilder User’s Guide for detailed
instructions on developing and testing applications. Actual unit and system
testing on the TP/FT-10 channel requires one or more Echelon Model number
77040 FTM-10 Standard Modular Transceivers (SMX™). The following two
sections describe specifics related to each development environment.
LonBuilder Developer’s Workbench
The ideal development environment connects all LonBuilder processor cards to
the TP/FT-10 twisted pair channel to enable system test and protocol analysis of
the functioning control network under test. The FTM-10 attaches to LonBuilder
processor cards using the Echelon Model number 27100 SMX Adapter mounted on
the transceiver expansion connectors. Refer to the LonBuilder Hardare Guide
1
and LONWORKS SMX Transceiver Installation Instructions
9
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 processor card 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.
LonBuilder configures the Neuron Chip communications port according to the
channel definitions accessed by pressing the Network and Channel buttons of the
LonBuilder Navigator. Create a TP/FT-10 channel definition to use the TP/FT-
10 as the Std Xcvr Type with the Enforce Std Type option set to Yes. The
TP/FT-10 transceiver parameters are compatible with the FTT-10, FTT-10A, and
LPT-10 transceivers. Versions of LonBuilder prior to release 3.0 do not include
the standard transceiver definition for TP/FT-10. The standard transceiver
definition is listed in table 6.2.
Application development begins by properly specifying the hardware
characteristics of the system under development. Table 6.1 shows the hardware
properties for a typical FTT-10A-based custom node. Assigning these properties to
a LonBuilder emulator for execution will allow the developer to test the application
performance at the true clock rate of the custom node that will eventually host the
application. The emulator can also take on the memory map of the Neuron 3120
Chip by changing the hardware property Neuron Chip model number to 3120. The
backplane network in the LonBuilder Development Station can approximate the
performance of the FTT-10A transceiver by creating a Channel with TP/FT-10
selected as the transceiver type, setting Enforce Std type to ‘No’ and changing
the Comm Mode type to Differential.