Echelon LonTal Stack Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Software Echelon LonTal Stack.
Wir stellen 1 PDF-Handbücher Echelon LonTal Stack zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung


Echelon LonTal Stack Bedienungsanleitung (247 Seiten)


Marke: Echelon | Kategorie: Software | Größe: 2.60 MB |

 

Inhaltsverzeichnis

Developer's Guide

1

Table of Contents

3

Welcome

9

Audience

9

Related Documentation

9

ONWORKS device

13

Overview

14

ShortStack Developer’s Kit

16

Smart Transceiver

17

Communications Channel

17

Stack Devices

19

LonTalk Stack Architecture

22

Process

24

ONWORKS events

27

ONWORKS network

28

Getting Started with the

31

LonTalk Stack Overview

32

Hardware Requirements

32

Software Requirements

32

LonTalk Stack Files

33

ONWORKS network interface

34

ONWORKS channel

34

See Appendix G

35

Loading the Echelon Smart

37

Transceiver or Neuron Chip

37

Loading Overview

38

Designing the Serial I/O

43

Hardware Interface

43

Reliability

44

Serial Communication Lines

44

The RESET~ Pin

45

**5 PPSBPTPEAPMinBitRate

46

Interface

47

Host Latency Considerations

48

SCI Interface

48

Health Check

49

Echelon Smart

50

Transceiver

50

MIP Driver

51

Code Packet Layout

52

Type Code Values

54

Acknowledgment Rules

56

Detection

57

Supported MIP Command Set

57

Layer 2 / Layer 5 Modes

58

Serial MIP Driver Example

59

Serial MIP Driver API

59

Structures

59

Creating a Model File

63

Model File Overview

64

Choosing the Data Type

66

Defining a Functional Block

67

Declaring a Functional Block

68

Defining a Network Variable

68

Variable

70

Value Changes

74

Linearization

76

Declaring a Message Tag

79

Defining a Resource File

80

Anonymous Top-Level Types

83

Legacy Neuron C Constructs

83

How Authentication Works

85

Managing Memory

86

Address Table

86

Alias Table

87

Domain Table

87

Example Model files

88

Using the LonTalk Interface

93

Developer Utility

93

Specifying the Project File

94

Chip Configuration

95

Configuring the Buffers

97

Configuring the Application

98

ONMARK Standard Program

100

Specifying the Model File

101

Copied Files

106

FtxlDev.h

107

FtxlDev.c

107

Using Types

107

Bit Field Members

109

Floating Point Variables

110

Enumerations

110

Declarations

112

The Network Variable Table

115

Network Variable Attributes

115

The Message Tag Table

116

Developing a LonTalk Stack

117

Device Application

117

Using the LonTalk API

118

LonTalk Protocol Stack

119

Callbacks and Events

120

Restoring Non-Volatile Data

122

Writing Non-Volatile Data

123

ONWORKS

127

Host Processor

128

Application

128

Network

129

Variables

132

Validating a Type Change

133

Processing a Type Change

134

Processing a Size Change

135

Rejecting a Type Change

136

Messages

137

Handling Management Commands

138

Handling Reset Events

139

Querying the Error Log

139

Working with ECS Devices

139

Using Direct Memory Files

140

The DMF Memory Window

141

File Directory

142

Developing an IP-852 Router

145

LtLogicalChannel

146

LtIp852Router

146

. The application

147

. The unique ID of the

147

. The 32-bit

147

Porting a LonTalk Stack

149

Porting Overview

150

LonLink Driver

150

Service LED

151

Socket Interfaces

151

LonTalkStack Source Files

151

Selecting the Device Type

153

File System Requirements

154

Appendix A

155

LonTalk Interface Developer

155

Command Line Usage

155

Command Usage

156

Command Switches

157

Specifying Buffers

159

Appendix B

163

Appendix C

169

Functional Block Syntax

170

Keywords

170

Examples

172

Network Variable Syntax

176

The Network Variable Type

178

Information

179

Message Tag Syntax

189

Appendix D

191

LonTalk API

191

Introduction

192

Callback Handler Functions

192

LonTalk API Functions

192

Other LonTalk API Functions

193

ONWORKS device. The

194

Extended API Functions

195

Event Handler Functions

196

Functions

197

Managing Critical Sections

202

Managing Binary Semaphores

202

Managing System Timing

203

192 Appendix D: LonTalk API

204

Appendix E

205

Determining Memory Usage for

205

LonTalk Stack Applications

205

Memory Use for Code

206

Memory Use for Transactions

206

Memory Use for Buffers

207

Memory for Non-Volatile Data

208

CPNVlen

210

Appendix F

213

Downloading a LonTalk Stack

213

Application Over the Network

213

Application Download Utility

215

Appendix G

217

Example LonTalk Stack

217

Applications

217

Running the Examples

219

Application Details

220

Main Function

221

210 Appendix G: Appendix G

222

Example LonTalk

222

Application Task Function

223

Event Handler Function

224

Callback Handler Function

225

Model File

226

Appendix H

231

Error and Warning Messages

231

Error Messages

232

ONWORKS Bin folder

234

Warning Codes

238

Hint Codes

240

Appendix I

243

Glossary

243





Weitere Produkte und Handbücher für Software Echelon

Modelle Dokumententyp
OpenLNS Commissioning Tool Bedienungsanleitung   Echelon OpenLNS Commissioning Tool User Manual, 393 Seiten
LonWorks Network XML Bedienungsanleitung   Echelon LonWorks Network XML User Manual, 74 Seiten
Neuron Field Compiler Bedienungsanleitung   Echelon Neuron Field Compiler User Manual, 27 Seiten
OpenLDV Bedienungsanleitung   Echelon OpenLDV User Manual, 194 Seiten
LonScanner FX Protocol Analyzer Bedienungsanleitung   Echelon LonScanner FX Protocol Analyzer User Manual, 75 Seiten
LNS Plug-in Bedienungsanleitung   Echelon LNS Plug-in User Manual, 69 Seiten
LonBridg Server Bedienungsanleitung   Echelon LonBridg Server User Manual, 67 Seiten
FT 5000 EVB Bedienungsanleitung   Echelon FT 5000 EVB User Manual, 36 Seiten
Mini FX Bedienungsanleitung   Echelon Mini FX User Manual, 139 Seiten
Mini FX/PL Examples Bedienungsanleitung   Echelon Mini FX/PL Examples User Manual, 23 Seiten
NodeBuilder FX Bedienungsanleitung   Echelon NodeBuilder FX User Manual, 300 Seiten
NodeBuilder FX/PL Examples Bedienungsanleitung   Echelon NodeBuilder FX/PL Examples User Manual, 43 Seiten
NodeBuilder Resource Editor Bedienungsanleitung   Echelon NodeBuilder Resource Editor User Manual, 90 Seiten
LonMaker Bedienungsanleitung   Echelon LonMaker User Manual, 423 Seiten
Mini EVK PL-20N Bedienungsanleitung   Echelon Mini EVK PL-20N User Manual, 2 Seiten
Mini EVK Bedienungsanleitung   Echelon Mini EVK User Manual, 98 Seiten
Mini EVK FT Bedienungsanleitung   Echelon Mini EVK FT User Manual, 2 Seiten
LNS Bedienungsanleitung   Echelon LNS User Manual, 368 Seiten
LonMaker Bedienungsanleitung   Echelon LonMaker Benutzerhandbuch, 318 Seiten
NodeBuilder Resource Report Generator Bedienungsanleitung   Echelon NodeBuilder Resource Report Generator User Manual, 52 Seiten