Echelon Neuron User Manual

Page 64

Advertising
background image

56

Neuron C Compiler Errors (NCC)

NCC#

Description

88

Network variables cannot be declared as non-bindable [NCC#88]

Some of the options in the bind_info declaration modifier only apply to any

network variable, some only apply to an output network variable, and some
only apply to a message tag. The nonbind modifier can only be used with a

message tag declaration.

89

Input network variables cannot have service-type [NCC#89]

Some of the options in the bind_info declaration modifier only apply to any
network variable, some only apply to an output network variable, and some

only apply to a message tag. Service types only apply to output network

variables.

90

Base type of network variable is too large [NCC#90]

A network variable array element, structure, or union is limited to 31
bytes.

91

Too many initializers [NCC#91]

A set of initializers (in braces { and } ) has too many members for the

aggregate (array, structure, or union) being initialized.

92

Too many network variables declared [NCC#92]

Each device has a maximum number of network variables that it can

support

in principle

. That maximum number is a function of the chip

model, the system firmware version, and the device technology.
For example, most Series 3100 Neuron Chips and some Series 3100 Smart
Transceivers are limited to 62 network variables. Series 5000 Chips, and

other Neuron Chips and Smart Transceiver that support version 16 system

firmware (or later), support up to 254 static network variables. Other
devices, such as those based on a ShortStack Micro Server or those
implemented on an

i

.LON

®

SmartServer, could implement a different

network variable maximum.

These can be any combination of input and output variables. Each element

of an array network variable counts separately.
The NCC#92 message indicates that the application may implement too
many network variables because the implemented number of network

variables exceeds the maximum number of network variables for the

selected target platform.

Note that the absence of error NCC#92 does not guarantee the successful

compilation of your code. Several conditions can lead to later build failure

related to an excessive network variable count. These include the use of a
system firmware version that is limited to fewer network variables than

foreseen at compile time, and include memory allocation problems at link

time.

See Chapter 8 of the

Neuron C Programmer’s Guide

for more information

on managing memory resources.

Advertising