Echelon Mini FX Manual de usuario Pagina 1

Busca en linea o descarga Manual de usuario para Software Echelon Mini FX. Echelon Mini FX User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 139
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 1 - Mini FX User’s Guide

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

Pagina 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

Pagina 3 - ONMARK, LonPoint, LonTalk

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

Pagina 4 - Table of Contents

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

Pagina 5

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

Pagina 6

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

Pagina 7

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

Pagina 8 - Preface

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

Pagina 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

Pagina 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

Pagina 11

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

Pagina 12

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

Pagina 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

Pagina 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.

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 23 - Development Platforms

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

Pagina 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

Pagina 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

Pagina 26

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

Pagina 27

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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-

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 37 - ONMARK Resource Files 13.00

118 Appendix B: Editing Hardware Templates

Pagina 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

Pagina 39

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 44

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

Pagina 45

www.echelon.com

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 54

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 60

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

Pagina 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

Pagina 62

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

Pagina 63

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 74

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 84

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

Pagina 85 - Switches

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

Pagina 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.

Pagina 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

Pagina 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

Pagina 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

Pagina 90 - Temperature Sensor

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 96

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 101

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 107

vi Preface

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 113

62 Using the Mini FX Application

Pagina 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.

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 120

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

Pagina 121

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

Pagina 122 - Templates

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

Pagina 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

Pagina 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

Pagina 125

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

Pagina 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

Pagina 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

Pagina 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,

Pagina 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

Pagina 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

Pagina 131

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

Pagina 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

Pagina 133 - DEFINITIONS

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

Pagina 134 - LICENSE

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

Pagina 135 - TRADEMARKS

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

Pagina 136 - SAFE OPERATION

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

Pagina 137 - GENERAL

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

Pagina 138

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

Pagina 139

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

Comentarios a estos manuales

Sin comentarios