18
LED Indicators for Relay Ports 1-4
4 red LEDs indicate activity for each Relay Port.
DSP
DSP
DSP
DSP (WACI NX+ Only)
(WACI NX+ Only)
(WACI NX+ Only)
(WACI NX+ Only)
The WACI NX+ is the first of its kind to have a DSP coprocessor. Each DSP port is capable of being
used in one of four different configurations; A/D, D/A, Digital Input, and Digital Output. These modes of
operation can be configured in the built in setup pages of the WACI NX or via RPC commands.
A/D (Analog to Digital) Converter
The 12 bit A/D Converter can detect a range of voltage levels and convert them to a numeric value.
Therefore, the A/D Converter may be used for applications where states or commands are indicated by
variable voltage levels. A voltage of -5v applied to the port will produce a value of 0 when the port is
read. A voltage of 5v will generate a value of 4096. Voltage levels between -5v and 5v will produce a
proportional numeric value..
You can read the input from an A/D port using the DSP Diagnostics (see
DSP
Diagnostics, page
52
), or
using an RPC call (see
AD_ReadDigital ( Port )
, page
121
).
D/A (Digital to Analog) Converter
The 16 bit D/A Converter can output a range of voltage levels. Therefore, the D/A Converter may be used
for applications where varying output voltage ranges of -5v to +5v are required. The port will produce a
value of -5v when the port is set to 0 and 5v will with a value of 65536. Voltage levels between -5v and
5v can be sent by using a proportional numeric value.
You can set the output from a D/A port using the DSP Diagnostics (see
DSP
Diagnostics, page
52
), or
using an RPC call.
Digital Input
The Digital Input is used to read a digital voltage level. It can read 0v (=0) or 5v (=1). The digital input I
perfect for applications requiring simple on/off detection such a contact switch. By default the port is
high impedance for the most flexibility. Using a resistor (10k for example) tied from the port to the 5v
will create a pull-up configuration. Doing the same but to ground will create a pull-down configuration.
If the port is left as is then the device connected to the digital input must supply the high and low
voltages.
You can see the state of the Digital Input port using the DIO diagnostic page (see
DSP
Diagnostics, page
52
) or through an RPC method call (see
Digital I/O Methods
(WACI NX+ Only), page
118
).
Digital Output
The Digital Output is used as an open drain and can sink up to 200ma. Setting the port to 0 will leave sink
the input to ground. Setting the port as a 1 will put the port into a high impedance state. The digital