203
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 9: POWER, ENVIRONMENT AND DIGITAL I/O
Multiple architecture support. NUT can manage serial- and USB-connected UPS models with the same common interface.
Network-connected USB and PDU equipment can also be monitored using SNMP.
Multiple clients monitoring the one UPS. Multiple systems may monitor a single UPS using only their network connections. As well
there is a wide selection of client programs that support monitoring UPS hardware via NUT (Big Sister, Cacti, Nagios and more).
Central management of multiple NUT servers. A central NUT client can monitor multiple NUT servers that may be distributed
throughout the data center, across a campus or around the world.
NUT supports the more complex power architectures found in data centers, communications centers and distributed office
environments where UPSes from many vendors power many systems with many clients and larger UPSes power multiple devices and
many of these UPSes are, in turn, dual powered.
9.3 DIGITAL I/O PORTS
LES1200 -I models and LES1508A -I models have four digital interface ports which present on a green connector block on the side
of the unit.
DIO1 and DIO2 are two TTL level digital I/O ports: 5V max @ 20mA.
OUT1 and OUT2 are two High-Voltage digital output ports: >5V to <= 30V @100mA.
LES1600 models ship with a built-in, black, spring cage I/O connector block for attaching environmental sensors and digital I/O
devices.
These I/O ports are configured via System > I/O Ports. Each port can be configured with a default direction and state.
Navigate to System > I/O Ports.
9.3.1 DIGITAL I/O OUTPUT CONFIGURATION
Each of the two digital I/O ports (DIO1 and DIO2) can be configured as an Input or Output port. To use them as digital outputs, first
configure the port direction on System > I/O Ports.
The DIO1 and DIO2 pins are current limited by the chip to 20 mA and accept 5 V levels, so they cannot, for example, drive a relay.
You can change the output states using the ioc command line utility. The following text is the ioc help text (also available by running ioc
--help):
-p
pin_num pin number (1 to 4)
-d
pin_dir pin direction (0 = output 1 = input)
-v
pin_val pin electrical value in output mode \ (0 = low 1 = high)
-r reset pins to all inputs and low
-g displays the pin directions and current values
-l load pin configuration
For example, to set pin 1 to a low output, type:
ioc -p 1 -d 0 -v 0
To pulse one of these outputs, use a script like the following:
ioc -p 1 -d 0 -v 1
sleep 1
ioc -p 1 -d 0 -v 0
This sets the output high for 1 second, then returns it to low (assuming the initial state is low).