Echelon Neuron User Manual

Page 124

Advertising
background image

116

Neuron C Compiler Errors (NCC)

NCC#

Description

546

The #pragma system_image_extensions nv_length_override must precede the

get_nv_length_override function's definition [NCC#546]

Use of the directive #pragma system_image_extensions nv_length_override
selects use of the user-written function get_nv_length_override() when

determining the length of a network variable. Therefore this pragma must

be used to select this method prior to the function definition, so the
compiler can properly recognize the special nature of this function

definition. See

How Devices Communicate Using Network Variables

in the

Neuron C Programmers Guide

for more information.

547

AUTO initializers not implemented [NCC#547]

The Neuron C Compiler syntax does not permit use of initializers for

automatic variables in their declaration. (Automatic variables are

variables declared within a function scope, or a nested scope, or inside the
task body associated with a when clause.) Initialize the variables with

separate statements following the declaration of all automatic variables in

a function.

548

The property '<property-name>' cannot be shared by changeable_type NVs of

differing initial types (<NV-name-1> and <NV-name-2>) [NCC#548]

A configuration property of SCPTnvType that is shared by more than one

changeable_type network variable must be shared only by network
variables with the same initial type. The message lists two network

variables that share the property, but have differing initial types. See

How

Devices Communicate Using Network Variables

in the

Neuron C

Programmers Guide

for more information.

549

The property '<property-name>' cannot be shared by NVs with different

SCPTmaxNVLength properties (<NV-name-1> and <NV-name-2>) [NCC#549]

A configuration property of SCPTnvType type that is shared by more than

one changeable_type network variable must be shared only by network
variables that all have the same property of SCPTmaxNVLength type, if

any of those network variables use a property of SCPTmaxNVLength type.

The message lists two network variables that share the property, but have
differing SCPTmaxNVLength.

550

The property '<property-name>' cannot be shared by NVs of differing types

(<NV-name-1> and <NV-name-2>) [NCC#550]

A configuration property that inherits its type from the network variable
that it applies to may not be shared by two or more network variables of

different type. The message lists two network variables that share the

property, but have differing types. See

Using Configuration Properties to

Configure Device Behavior

in the

Neuron C Programmer's Guide

for more

information.

Advertising