Echelon Mini FX Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel Echelon Mini FX. Echelon Mini FX User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 139
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - Mini FX User’s Guide

0 7 8 - 0 3 9 8 - 0 1 A®Mini FX User’s Guide

Page 2

Mini FX User's Guide ix PCLTA-20, or PCLTA-21 network interfaces; and the SLTA-10 Serial LonTalk Adapter. o Compatible remote network interf

Page 3 - ONMARK, LonPoint, LonTalk

Mini FX User's Guide 87 SFPTopenLoopActuator, where each functional block encapsulates the network variable and configuration property for each

Page 4 - Table of Contents

88 Developing Device Applications Advanced Digital Sensor Example The advanced digital sensor example expands the previous simple digital sensor and

Page 5

Mini FX User's Guide 89 // and make sure the timer is stopped: // nvoSwitch.state ^= 1; autoOffTimer = 0; }

Page 6

90 Developing Device Applications #include <string.h> #include <snvt_hv.h> #include "io.nc" #pragma enable_sd_nv_names

Page 7

Mini FX User's Guide 91 Thermostat(); } when(timer_expires(sampleTimer)) { Thermostat(); } when(nv_update_occurs(nviSetpoint)) {

Page 8 - Preface

92 Developing Device Applications Display(3,0, "Setpoint: 0.00", nviSetpoint); // Schedule next sample: if (nciHeartbeat

Page 9 - Hardware Requirements

Mini FX User's Guide 93 decide whether to start the ISI engine at reset time, but it does not have to make the same decision repeatedly. The r

Page 10 - Related Manuals

94 Developing Device Applications // uses the PL 3170 Smart Transceiver, and use IsiCompactS.lib for // devices using an FT 3120 or PL 3120 Smart Tra

Page 11

Mini FX User's Guide 95 // TODO: process other application messages here (if any) ; } } The second part of this segment pro

Page 12

96 Developing Device Applications ISI_DEFAULT_GROUP, isiDirectionVarious, 1, 0xFF, 95u, 0, { 0, 0, isiScopeStandard, {0x00, 0x00, 0

Page 13

x Preface FT 5000 EVB Hardware Guide Describes how to connect the FT 5000 EVBs, and describes the Neuron core, I/O devices, service pin and reset b

Page 14 - Introduction

Mini FX User's Guide 97 Appendix A Glossary This appendix provides definitions for many terms commonly used with Mini FX device development.

Page 15 - Series 5000 Chip Support

98 Appendix A: Glossary Application Device A LONWORKS device that runs an ISO/IEC 14908-1 application (OSI Layer 7). The application may run on a N

Page 16 - Improved Memory Architecture

Mini FX User's Guide 99 Commissioning The process in which the LonMaker tool or other network management tool downloads network and applicatio

Page 17 - User-Programmable Interrupts

100 Appendix A: Glossary Download An installation process in which data, such as the application program, network configuration, and/or application c

Page 18 - Smaller Layout

Mini FX User's Guide 101 User-defined functional profiles can be created if no appropriate standard profiles are available. Hardware Template

Page 19 - FT 5000 EVB Evaluation Board

102 Appendix A: Glossary vendors can work together to install, maintain, monitor, and control LONWORKS networks. The LNS architecture consists of th

Page 20 - New and Enhanced I/O Models

Mini FX User's Guide 103 LONWORKS Network A network of intelligent devices (such as sensors, actuators, and controllers) that communicate with

Page 21 - Hardware Template Editor

104 Appendix A: Glossary can be a standard configuration property type (SCPT) or a user-defined configuration property type (UCPT) Neuron 5000 Proces

Page 22 - Mini FX CD

Mini FX User's Guide 105 Neuron Firmware A complete operating system including an implementation of the ISO/IEC 14908-1 protocol used by a Neur

Page 23 - Development Platforms

106 Appendix A: Glossary variables or configuration properties specified by the functional profile that the functional block is instantiating. PCC-

Page 24 - ONWORKS

Mini FX User's Guide xi NodeBuilder® Resource Editor User’s Guide Describes how to use the NodeBuilder Resource Editor to create and edit resou

Page 25

Mini FX User's Guide 107 The SLTA-10 network interface is supported, but not recommended unless dial-up operation through a modem and a serial

Page 26

108 Appendix A: Glossary durations of time, in seconds. The SCPTmaxSentTime standard configuration property type references SNVT_time_sec, but adds

Page 27

Mini FX User's Guide 109 Appendix B Creating and Editing Hardware Templates This appendix explains how to edit standard hardware templates wit

Page 28 - LONWORKS Networks

110 Appendix B: Editing Hardware Templates Using Hardware Templates You can create new custom hardware templates and then configure them with the Ha

Page 29 - Routers

Mini FX User's Guide 111 Creating Custom Hardware Templates You can create a new custom hardware template from a copy of a Standard hardware te

Page 30 - Program IDs

112 Appendix B: Editing Hardware Templates Figure B-2 Default Hardware Properties You can set the following properties on the Hardware tab: Hardwar

Page 31 - Network Variables

Mini FX User's Guide 113 Platform A platform is a category of hardware implementations. Most hardware templates, including standard and user-

Page 32

114 Appendix B: Editing Hardware Templates For Series 5000 chips, the default internal system clock speed is 80.00 MHz (the crystal’s speed external

Page 33 - Functional Profiles

Mini FX User's Guide 115 Figure B-3 Default Memory Properties for FT 5000 Evaluation Board Hardware Template The Memory Addresses box details

Page 34 - Device Templates

116 Appendix B: Editing Hardware Templates Extended Non-Volatile The Series 5000 chips use a serial memory interface for external non-volatile memo

Page 35 - Resource Files

xii Preface Region Languages Supported Contact Information Japan Japanese Echelon Japan Holland Hills Mori Tower, 18F 5-11.2 Toranomon, Minato-ku

Page 36

Mini FX User's Guide 117 Setting the Hardware Template Description You can enter an optional description for a hardware template in the Descrip

Page 37 - ONMARK Resource Files 13.00

118 Appendix B: Editing Hardware Templates

Page 38

Mini FX User's Guide 119 Appendix C Mini FX Software License Agreement When installing the Mini FX software, you must agree to the terms of th

Page 39

120 Appendix C: Software License Agreement NOTICE This is a legal agreement between you and Echelon Corporation (“Echelon”). YOU MUST READ AND AGRE

Page 40

Mini FX User's Guide 121 “Mini FX Example Applications” means the Neuron C and C# source code example applications included as part of the Li

Page 41

122 Appendix C: Software License Agreement This license is not a sale. Title, copyrights and all other rights to the Licensed Software and the Docu

Page 42

Mini FX User's Guide 123 YOU RECEIVE NO OTHER WARRANTIES OR CONDITIONS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE OR IN ANY COMMUNICATION WITH Y

Page 43

124 Appendix C: Software License Agreement LANGUAGE The parties hereto confirm that it is their wish that this Agreement, as well as other documents

Page 44

Mini FX User's Guide 125 pursuant to DFAR Section 227.7015(a). Any use, modification, reproduction, release, performance, display or disclosur

Page 45

www.echelon.com

Page 46

Mini FX User's Guide 1 1 Introduction This chapter introduces the Mini FX Evaluation Kit. It lists the new features in the Mini kit, and it s

Page 47

2 Introduction Introduction to the Mini FX Evaluation Kit The Mini FX Evaluation Kit is a hardware and software platform for evaluating the LONWORKS

Page 48 - ONWORKS-IP Server)

Mini FX User's Guide 3 • Backwards compatibility for device applications. Improved Memory Architecture The Series 5000 chips have a new memor

Page 49

4 Introduction Figure 1.1 Series 5000 Chip Architecture Faster System Clock The Series 5000 chips support an internal system clock speed of up to

Page 50 - Mini FX Quick-Start Exercise

Mini FX User's Guide 5 routines and your device application. At lower system clock rates, these interrupts run in the same application process

Page 51 - ONWORKS device with

6 Introduction The Neuron C Version 2.2 language includes new keywords such as interrupt, __lock, stretchedtriac, __slow, __fast, and __parity. So

Page 53

Mini FX User's Guide 7 The PL 3150 EVB is a complete LONWORKS device that includes a PL 3150 Smart Transceiver operating at 10MHz external cloc

Page 54

8 Introduction You can enable and disable specific warnings using the new #pragma enable_warning and #pragma disable_warning compiler directives, an

Page 55

Mini FX User's Guide 9 LonScanner Protocol Analyzer CD (Demo Edition) 5 5 U10 or U20 USB Network Interface 5 5 The following sections describ

Page 56

10 Introduction Development Platforms The Mini FX/FT Evaluation Kit includes two FT 5000 EVBs. The Mini FX/PL Evaluation Kit includes one PL 3150 E

Page 57 - ONMARK International adds

Mini FX User's Guide 11 supplies included with the PL 3150 and 3170 EVBs pass the network signals directly into the AC power lines over the sam

Page 58

12 Introduction also use it with other network interfaces including an IP-852 (ISO/IEC 14908-4) interface as described in the LonScanner Protocol An

Page 59

Mini FX User's Guide 13 • Debugger. Debug your application with a source-level view of your application code as it executes. The debugger le

Page 60

14 Introduction Feature Mini FX Evaluation Kit NodeBuilder FX Tool LonScanner Protocol Analyzer (Demo Edition) 5  LonScanner Protocol Analyzer (L

Page 61

Mini FX User's Guide 15 The Data Point shape provides similar functionally as the LonMaker Browser, but directly in your LonMaker drawing. The

Page 62

16 Introduction communications processor, or it may handle both application processing and communications processing on the host processor. The Mi

Page 63

ii Echelon, LON, LONWORKS, Neuron, 3120, 3150, Digital Home, i.LON, LNS, LonMaker, LONMARK, LonPoint, LonTalk, NodeBuilder, ShortStack, and the Echel

Page 64 - Specifying the Program ID

Mini FX User's Guide 17 Applications Every LONWORKS device contains an application that defines the device’s behavior. The application defines

Page 65

18 Introduction Field Description manufacturer ID, you can find your ID in the list of manufacturer IDs at www.lonmark.org/spid. The most current l

Page 66

Mini FX User's Guide 19 an input network variable that was of the switch type, while an application on a dimmer-switch device could have an out

Page 67 - ONMARK certified

20 Introduction Connections may be thought of as virtual wires. For example, the dimmer-switch device in the dimmer-switch-light example could be r

Page 68

Mini FX User's Guide 21 Figure 1.6 Functional Profile When a functional block is created from a functional profile, the application designer

Page 69

22 Introduction Mini kit will upgrade this device template as necessary, but it will not delete or manage it. If you build the application with the

Page 70

Mini FX User's Guide 23 2 Installing the Mini FX Evaluation Kit This chapter describes how to get started with your Mini kit, including how

Page 71

24 Installing the Mini FX Evaluation Kit Installing the Mini FX Evaluation Kit To install your Mini FX Evaluation Kit, follow these steps: 1. Verif

Page 72

Mini FX User's Guide 25 2. If the Mini FX setup application does not launch immediately, click Start on the Windows taskbar and then and click

Page 73

26 Installing the Mini FX Evaluation Kit 4. Click Microsoft .NET Framework 3.5 SP1 to install Microsoft .NET Framework 3.5 SP1 and then follow the

Page 74

Mini FX User's Guide iii Table of Contents Preface...

Page 75

Mini FX User's Guide 27 Figure 2.4 Mini FX Evaluation Kit Installer—License Agreement 7. Read the license agreement (see Appendix C, Mini FX S

Page 76

28 Installing the Mini FX Evaluation Kit Figure 2.6 Mini FX Evaluation Kit Installer—Setup Type 11. Select the type of installation to be performed

Page 77 - Unique Aspects of Neuron C

Mini FX User's Guide 29 they are installed, but have a lower version): ISI Developer’s Kit 3.02, OpenLDV 3.40, NodeBuilder Resource Editor 4.0

Page 78

30 Installing the Mini FX Evaluation Kit Connecting the Mini FX/FT Hardware To connect the Mini FX/FT hardware, follow these steps: 1. Unpack the

Page 79 - Neuron C Variables

Mini FX User's Guide 31 Figure 2.9 FT 5000 EVB Power Supply Connection 4. Connect the orange network connector on each FT 5000 EVB to the inc

Page 80 - Neuron C Storage Classes

32 Installing the Mini FX Evaluation Kit Figure 2.11 USB 10 Network Interface Connection If this is the only LONWORKS interface installed on your

Page 81 - Neuron C Declarations

Mini FX User's Guide 33 The NcMultiSensorExample application is pre-loaded on the FT 5000 EVBs and runs in Interoperable Self-Installation (ISI

Page 82

34 Installing the Mini FX Evaluation Kit Figure 2.12 PL 3150/PL 3170 EVB Connections 5. After you plug in the power supplies, LED1 will begin fl

Page 83

Mini FX User's Guide 35 protocol. To view this book, click Start, point to Programs, point to Echelon Mini, point to Smart Transceiver Data Bo

Page 84

36 Installing the Mini FX Evaluation Kit Note: Echelon power line technology combined with ISI self-installation provides virtual plug and play comm

Page 85 - Switches

iv Preface Hardware Templates...21 Neuron C ...

Page 86 - Mini Gizmo I/O Board

Mini FX User's Guide 37 3 Mini FX Quick-Start Exercise This chapter demonstrates how to create a LONWORKS device using the Mini kit.

Page 87

38 Mini FX Quick-Start Exercise Mini FX Quick-Start Exercise The following quick-start exercise demonstrates how to create a LONWORKS device with t

Page 88

Mini FX User's Guide 39 Save. This creates a new empty Neuron C source file named main.nc in your chosen location, and it opens the file using

Page 89 - FT 5000 EVB

40 Mini FX Quick-Start Exercise 4. Add the following code that initializes the I/O devices and writes to the LCD when the FT 5000 EVB is reset: voi

Page 90 - Temperature Sensor

Mini FX User's Guide 41 LcdDisplayString(3, 0, “LED1 = “); LcdDisplayString(2, 7, led ? “ON” : “OFF”); LcdDisplayStrin

Page 91 - Serial I/O

42 Mini FX Quick-Start Exercise // strobe: io_out(ioLedLoad, 0); io_out(ioLedLoad, 1); } //Create global variable to store the previous

Page 92 - LCD Display

Mini FX User's Guide 43 application image files used for various memory parts, see Chapter 8 of the NodeBuilder FX User’s Guide. To compile and

Page 93 - I/O Examples Toolkit

44 Mini FX Quick-Start Exercise Note: The current list of manufacturer IDs, device classes, usage values, and channel types are defined in an XML fi

Page 94

Mini FX User's Guide 45 Step 4: Downloading the Device Application You can use the Mini FX Application to download an application image over a

Page 95

46 Mini FX Quick-Start Exercise Figure 3-2 demonstrates that the device application in this quick-start exercise has successfully been downloaded to

Page 96

Mini FX User's Guide v I/O Examples Toolkit ...80 Creating Example Device Ap

Page 97

Mini FX User's Guide 47 4 Using the Mini FX Application This chapter describes how to use the Mini FX Application to build a Neuron C device

Page 98 - Simple Digital Sensor

48 Using the Mini FX Application Introduction to the Mini FX Application The Mini FX Application is an easy-to-use program consisting of two tabs: t

Page 99 - Advanced Digital Actuator

Mini FX User's Guide 49 Creating and Opening Neuron C Source Files You can use the Application tab in the Mini FX Application to create a new N

Page 100

50 Using the Mini FX Application 5000 EVB example applications, see the FT 5000 EVB Examples Guide. For more information on the PL 3150/PL 3170 EVB

Page 101

Mini FX User's Guide 51 libraries are supplied, varying in features provided and application memory required. For more information on the libr

Page 102 - Thermostat Example

52 Using the Mini FX Application identifies the device application. The program ID may be formatted as a standard or non-standard program ID. When

Page 103

Mini FX User's Guide 53 • If you do not have a standard manufacturer ID, you can request a temporary manufacturer ID by filling out a simple f

Page 104

54 Using the Mini FX Application device class, usage, and channel type. The same hardware may be used for multiple model numbers depending on the p

Page 105 - ISI Example

Mini FX User's Guide 55 10. Click OK to return to the Application tab in the Mini FX Application. The program ID you calculated appears in the

Page 106

56 Using the Mini FX Application 2. In the Network Interface box, select the network interface attached to your development computer that is to be

Page 107

vi Preface

Page 108

Mini FX User's Guide 57 Note: The Mini FX Application is an OpenLDV application; therefore, it cannot share a network interface with other LON

Page 109

58 Using the Mini FX Application Figure 4.4 Service Pin Message Dialog The Neuron ID is a unique 48-bit (12-hex digit) identifier contained in ever

Page 110 - Glossary

Mini FX User's Guide 59 through the ISI protocol (all self-installed devices in the network are silently registered and added to the Device lis

Page 111

60 Using the Mini FX Application Note: After you load one of the MgDemo, MgSwitch, MgKeyboard or MgLight application image files into a PL 3150/PL 3

Page 112 - ONWORKS documentation

Mini FX User's Guide 61 o When you wink a PL EVB when it is running an example application LED1–LED3 on the Mini Gizmo I/O Board turn on and L

Page 113

62 Using the Mini FX Application

Page 114

Mini FX User's Guide 63 5 Developing Device Applications This chapter provides an overview of the Neuron C Version 2.2 programming language.

Page 115

64 Developing Device Applications Introduction to Neuron C Neuron C Version 2.2 is a programming language based on ANSI C that you can use to develo

Page 116

Mini FX User's Guide 65 Neuron C also provides a way to organize the network variables and configuration properties in the device into function

Page 117 - ONWORKS 2.0 platform. The

66 Developing Device Applications Timers may be automatically reloading (repeating), or one-shot timers, with a duration ranging from 0.001–65,535 se

Page 118

Mini FX User's Guide vii Preface The Mini FX Development Kit is a hardware and software platform for evaluating the LONWORKS® 2.0 platform and

Page 119 - ONWORKS-IP Server

Mini FX User's Guide 67 Neuron C Storage Classes If no class is specified for a declaration at file scope, the data or function is global. Fi

Page 120

68 Developing Device Applications Variable Initialization Initialization of variables occurs at different times for different classes. The const va

Page 121

Mini FX User's Guide 69 Declaration Example Configuration Properties SCPTdefOutput cp_family cpDefaultOut; Functional Blocks fblock SFPTnodeObj

Page 122 - Templates

70 Developing Device Applications Table 5.3 Required EVB Jumper Configurations Required Connections Required Disconnections Board Jumper Pin Jumper

Page 123 - Using Hardware Templates

Mini FX User's Guide 71 chapter, and the jumper configuration discusses earlier in this chapter, use an EIA- 232 connection. • You can conne

Page 124 - Setting Hardware Properties

72 Developing Device Applications Document Title Description Part Number Scanning a Keypad with the Neuron Chip Describes how a Smart Transceiver

Page 125

Mini FX User's Guide 73 IO_9 input bit ioSwitch1; void example() { if ((boolean)io_in(ioSwitch1)) { … } } The Neuron C langu

Page 126

74 Developing Device Applications and a bit output model for the latch pulse. To read any of these buttons, all eight buttons must be read from the

Page 127 - Setting Memory Properties

Mini FX User's Guide 75 #ifdef USE_5000EVB IO_9 input bit ioSwitch1; // // when(io_changes…) executes whenever the button is pressed // whe

Page 128 - Series 5000 Chips

76 Developing Device Applications FT 5000 EVB The FT 5000 EVB includes two LEDs: LED1 and LED2. LED1 and LED2 are connected to pins I/O 2 and I/O 3,

Page 129 - 3170 Neuron Core

viii Preface Purpose This document describes how to use the Mini FX Evaluation Kit to develop and build simple Neuron C device applications, downloa

Page 130

Mini FX User's Guide 77 #ifdef USE_5000EVB IO_2 output bit ioLed1 = 1; IO_3 output bit ioLed2 = 1; #else #ifdef USE_MINIGIZMO IO_2 output bi

Page 131

78 Developing Device Applications current.raw[0] = (unsigned)touch_byte(ioTemperatureSensor, 0xFFu); if (touch_reset(ioTemperatureSe

Page 132 - Appendix C

Mini FX User's Guide 79 LCD Display The LCD display included with the FT 5000 EVB may be used to display status or other application data in an

Page 133 - DEFINITIONS

80 Developing Device Applications // Set the cursor position static const unsigned lcdRowAddress[4] = {0x00, 0x40, 0x14, 0x54}; SendLcdC

Page 134 - LICENSE

Mini FX User's Guide 81 // levels, i.e. TRUE for "on". // The driver function translates the logical levels as necessary. // #if

Page 135 - TRADEMARKS

82 Developing Device Applications // when(timer_expires(buttonTimer)) { static boolean previousButton = TRUE; boolean currentButton; cur

Page 136 - SAFE OPERATION

Mini FX User's Guide 83 } else { current.value = 32767l; } } return current.value; } // // Driver to supp

Page 137 - GENERAL

84 Developing Device Applications { #ifndef USE_MINIGIZMO SendLcdCommand(LCD_COMMAND_ON, 0, 1); SendLcdCommand(LCD_COMMAND_BRIGHTNESS, 1, 2);

Page 138

Mini FX User's Guide 85 • The example device applications presented in this section are not considered interoperable mainly because they do no

Page 139

86 Developing Device Applications // zero after reset. network output SNVT_switch nvoSwitch; // // OnButtonPressed() is called whenever the button b

Commentaires sur ces manuels

Pas de commentaire