Echelon Neuron User Manual

Page 116

Advertising
background image

108

Neuron C Compiler Errors (NCC)

NCC#

Description

488

NV ‘<nv-name>’ is not an fblock member, and is not a ‘cp’, so the

‘changeable_type’ keyword is ignored [NCC#488]

The only support for changeable-type network variables is through the
L

ON

M

ARK

information for the variables. The only network variables with

L

ON

M

ARK

information are members of functional blocks and configuration

property network variables. Put the network variable in a functional
block's member list, or declare it as a configuration property network

variable of the device.

489

NV ‘<nv-name>’ requires a SCPTnvType property, since it is changeable-type

[NCC#489]

The changeable-type network variable mechanism requires that such

network variables each have a SCPTnvType property. The

SCPTnvMaxLength property is only needed if the network variable also
supports changeable-types of various lengths.

490

NV ‘<nv_name>’ is an array of changeable-type NVs, so ‘expand_array_info’ is

recommended [NCC#490]

A network variable array that is declared as changeable-type should use

the bind_info(expand_array_info) feature so each element of the variable
can have a different type. Otherwise, certain network variable information

is shared amongst the members of the array, and in that case, all elements
of the array must change type together.

491

The ‘nv_len’ property must be used with a ‘changeable_type’ NV [NCC#491]

Only network variables that are declared as changeable-type my use the

nv_len property.

492

The ‘nv_len’ property requires a prior ‘#include <modnvlen.h>’ [NCC#492]

Use of the nv_len property requires the include file shown.

493
494

495


496

497

498

The FPT specifies that the NV member must be ‘polled’ [NCC#493]
The FPT specifies that the NV member use the ‘ackd’ service type [NCC#494]
The FPT specifies that the NV member use the ‘unackd_rpt’ service type

[NCC#495]
The FPT specifies that the NV member use the ‘unackd’ service type [NCC#496]
The FPT specifies that the NV member use request/response service type

[NCC#497]
The FPT specification of the NV member’s type does not match the NV

[NCC#498]

The FPT record (used in the functional block declaration) may specify

several restrictions on the network variable that implements the member.
The messages above result from compiler validations that test whether the

network variable used in the fblock member list implements the member as

required by the FPT.

Advertising