
5-52 Neuron C Compiler Errors (NCC)
NCC# Description
429
Incorrect number of arguments for the director function
[NCC#429
The function returns void, and it has two parameters. The
prototype for a director function must be in the form shown below:
void f (unsigned index, int cmd);
For more information, consult the Neuron C Programmer's Guide or
the Neuron C Reference Guide.
430
Use of fblock_director function but no fblocks declared
[NCC#430]
The compiler has detected an attempt to use the fblock_director( )
but no functional blocks were declared in the program.
431
FPT name used to declare fblock is not in resource files
[NCC#431]
Part of the declaration of a functional block refers to an FPT record
in a LONMARK Resource File, however, the name used in the
program was not found in the resource file. Check the spelling of the
name (it is case-sensitive) and check that the resource file containing
the FPT is installed in the resource file catalog on the computer. The
catalog can be checked with the NodeBuilder Resource Editor.
Make sure the program ID chosen for the project allows for the FPT
resource files to be accessed by the compiler. For example, in case
the desired FPT is implemented in an FPT device resource file, scope
3 or higher, that applies to all code by manufacturer with ID
0x12345, this FPT cannot be referenced from a project that uses a
different manufacturer IF value in its program ID.
432 The FPT used in fblock declaration is obsolete [NCC#432]
The L
ONMARK Device Resource Files permit FPT, NVT, and CPT
definitions to be marked as obsolete. This means that a replacement
FPT, NVT, or CPT is available, and the use of the obsolete item is
discouraged (though it is permitted). Contact the L
ONMARK
Interoperability Association for more information on the obsolete
FPT, NVT, or CPT.
433 NV member of an fblock cannot also be a CP [NCC#433]
A network variable that uses the config_prop (abbreviated cp)
keyword in its declaration is a configuration property network
variable. Such a network variable cannot be used as a member of a
functional block, but can be used as a property of a functional block.
434 The specified member of the fblock is not an NV [NCC#434]
Members of a functional block can only be network variables.
435
NV member of an fblock cannot also be declared ‘config’
[NCC#435]
A network variable that uses the config keyword in its declaration is
a Neuron C Version 1 configuration property. Such a network
variable cannot be used as a member of a functional block, nor can it
be used as a property of a functional block.