Echelon Neuron User Manual

Page 66

Advertising
background image

58

Neuron C Compiler Errors (NCC)

NCC#

Description

112

All names beginning with the characters 'SNVT_' are reserved [NCC#112]

The program should not declare any identifiers, types, and so on, that begin

with the characters SNVT_, to avoid any future compatibility problems
with Standard Network Variable Types.

113

Two-way I/O device should not be declared 'input' or 'output' [NCC#113]

The declaration syntax of I/O objects permits the specification of input or

output. However, some devices are actually bi-directional, for example the
parallel I/O object. Neither the input nor the output keyword should be

specified in the declaration of a bi-directional I/O object.

114

Pin IO_4 needs ‘mux’ or ‘ded’ specification [NCC#114]

For I/O object types that use a timer/counter, the timer/counter used is

dependent on the pin assigned to the I/O object. There are two
timer/counters, the dedicated (abbreviated ded) and the multiplexed

(abbreviated mux). The dedicated circuit uses pin IO_1 for output and pin

IO_4 for input. The multiplexed circuit uses pin IO_0 for output and
multiplexes among pins IO_4, IO_5, IO_6, and IO_7 for input.
For input objects using a timer/counter, the programmer need not specify

which timer/counter circuit is being used except when the input I/O object
is assigned to pin IO_4. Then, either the mux or ded keyword must be

included in the declaration of the I/O object.

115

Pins IO_5...IO_7 must use ‘mux’ timer [NCC#115]

For I/O object types that use a timer/counter, the timer/counter used is
dependent on the pin assigned to the I/O object. There are two

timer/counters, the dedicated (abbreviated ded) and the multiplexed

(abbreviated mux). The dedicated circuit uses pin IO_1 for output and pin
IO_4 for input. The multiplexed circuit uses pin IO_0 for output and

multiplexes among pins IO_4, IO_5, IO_6, and IO_7 for input.
For input objects using a timer/counter, the programmer need not specify
which timer/counter circuit is being used except when the input I/O object

is assigned to pin IO_4. Then, either the mux or ded keyword must be

included in the declaration of the I/O object.

116

I/O object requires ‘sync’ pin specification [NCC#116]

The triac I/O object type declaration must include an assignment for a sync
pin. Since the triac type uses a timer/counter output, the sync pin must use

a corresponding input on the same timer/counter. If the dedicated
timer/counter is used, only IO_4 can be used for the sync pin. If the

multiplexed timer/counter is used, any of IO_4, IO_5, IO_6, or IO_7 can be

used.

Advertising