Echelon Neuron User Manual

Page 62

Advertising
background image

54

Neuron C Compiler Errors (NCC)

NCC#

Description

69

Parameter must be a msg_tag [NCC#69]

The events msg_completes, msg_succeeds, and msg_fails all accept one

optional parameter, which must have previously been declared as a
message tag.

70
71

72
73

74

75

Parameter must be an I/O object name [NCC#70]

I/O events only apply to input objects [NCC#71]

Incorrect I/O object type for changes-by event [NCC#72]

Incorrect I/O object type for changes-to event [NCC#73]

Incorrect I/O object type for I/O update-occurs event [NCC#74]

Too many I/O object change events used [NCC#75]

The Neuron C event expressions for io_update_occurs and io_changes (with

its various options) only apply to I/O objects that are inputs. Furthermore,

some events are not applicable to some input object types. Only one form of
event expression can be used per I/O object. A maximum of 15 I/O objects

can have io_update_occurs and io_changes events. The syntax of the event

expressions requires the event type to be followed by the object name, in
parentheses. For more information, see the

I/O Objects

chapter of the

Neuron C Reference Guide

.

76

Event ‘nv_update_occurs’ only applies to input variables [NCC#76]

The nv_update_occurs event accepts one optional parameter, which must
be the name of a previously declared input network variable.

77

Parameter must be a network variable [NCC#77]

The nv_update_completes, nv_update_fails, and nv_update_succeeds

events all accept one optional parameter, which must be the name of a

previously declared network variable.

78

Parameter must be a timer name [NCC#78]

The event timer_expires accepts one optional parameter, which, if supplied,
must be the name of a previously declared timer object.

79

Invalid use of VOID type [NCC#79]

The void type has no size. It cannot be used as an argument of the sizeof

operator, nor can it be used to declare a variable. Its only legal uses are in

declaring function return types, declaring that a function has no
parameters, and in combination with * to define a type void * (a wildcard

pointer type).

80

Use only 4800, 2400, 1200, or 600 for I/O object’s baud [NCC#80]

The serial I/O object type can only have a bit rate value of 600, 1200, 2400,
or 4800. The bit rate value defaults to 2400 if not specified.

Advertising