beautypg.com

Echelon Neuron User Manual

Page 111

background image

Neuron Tools Errors Guide

103

NCC#

Description

456

The directive ‘#pragma num_alias_table_entries’ is required [NCC#456]

A Neuron C program must specify to the Neuron C Version 2 compiler how

much room is to be reserved for the alias table. The compiler does not
attempt to compute a default, so the programmer

must

specify a value for

this pragma. Previous versions of the Neuron C Compiler defaulted this

value to zero, but that is really not an appropriate default value.

The value 0 (zero), however, can still be used to effectively disable the use

of the alias feature; please see the

Neuron C Reference Guide

for more

about compiler directives.

457

The type used in the declaration is unnamed or unsupported [NCC#457]

Some types are not supported when compiling a program that is used as a

model file for host development with ShortStack, FTXL, or the

i

.LON

SmartServer. Consult the product documentation for more information.

458

The fblock’s property is a duplicate [NCC#458]

The

L

ON

M

ARK

Application Layer Interoperability Guidelines

specify that

no more than one property of any particular SCPT or UCPT type may be

used for a functional block. Consult that document for more information.

459

Node object must be first fblock for LNS versions before 3.2 [NCC#459]

For LNS versions prior to version 3.2, if the device has a device object, that

device object must be the first functional block declared in the device (and
therefore be the functional block with global index zero).
You should implement the device object as the first functional block in the
device.

460

Cannot use an inheriting type to declare this object [NCC#460]

Some CPTs require inheritance of type information from a network

variable. Type inheritance is a feature that only applies to configuration

properties. Use of such a CPT for any other purpose (for example, declaring
a local or static variable in the program, or declaring a function parameter

or pointer) results in a declaration with incomplete type information(since

only a configuration property can inherit a type from a network variable).
A declaration with an incomplete type is not valid.
The CPT used in the declaration can only be used as part of a configuration

property declaration.

461

Cannot use an inheriting type CP as a device property [NCC#461]

A configuration property declared using a CPT type that inherits from a

network variable could not be a device property, because in that situation

there is no network variable from which to inherit.