Echelon NodeBuilder Errors 3120 User Manual Page 70

  • Download
  • Add to my manuals
  • Print
  • Page
    / 123
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 69
5-50 Neuron C Compiler Errors (NCC)
NCC# Description
417 Invalid declaration type for ‘properties’ clause [NCC#417]
The Neuron C Version 2 syntax permits nonsense declarations like
the following examples, but the compiler later determines that the
nv_properties clause can only apply to a network variable
declaration.
Improper uses of the nv_properties clause:
static int abc nv_properties { heartbeatTime };
SNVT_temp_f temperature
nv_properties { heartbeatTime };
Proper use of the nv_properties clause:
network output SNVT_temp_f temperature
nv_properties { heartbeatTime };
In the second "improper use" example above, the declaration may be
confused with a network variable declaration, however, it is not. The
declaration actually is just a variable declaration using the type of
the SNVT (this is a legitimate declaration, but not a network
variable, so it cannot have a property list).
418
Cannot have multiple ‘properties’ clauses on a variable
[NCC#418]
The Neuron C Version 2 syntax permits nonsense declarations like
the following example, but the compiler later determines that there
are too many properties clauses in the declaration.
Improper use of the nv_properties clause:
network output SNVT_temp_f temperature
nv_properties { heartbeatTime }
nv_properties { defaultOutput };
The properties clause is a comma-separated list, and corrected use of
the declaration above is shown below:
network output SNVT_temp_f temperature
nv_properties { heartbeatTime,
defaultOutput };
419 A ‘cp’ network variable cannot be an ‘output’ NV [NCC#419]
Configuration property network variables can only be declared as
input network variables. See the chapter describing the use of
configuration properties in the Neuron C Programmer's Guide.
420 Network variable’s property is a duplicate [NCC#420]
The L
ONMARK Application Layer Interoperability Guidelines specify
that no more than one property of any particular SCPT or UCPT type
may be used for a network variable. Consult that document for more
information.
421 Overuse of ‘cp’ network variable [NCC#421]
A configuration property implemented using a network variable may
not appear in more than one property list, unless the property list
also uses the static or global keyword. The same network variable
cannot be used as a property for the device, network variables, and
functional blocks simultaneously. See the chapter describing the use
of configuration properties in the Neuron C Programmer's Guide.
Page view 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 122 123

Comments to this Manuals

No comments