Chapter 8:
Power, Environmental & Digital I/O
190
Console Server & RIM Gateway User Manual
-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 from
configlity
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 will set the output high for 1 second, then return it to low (assuming the initial state is low)
8.4.2
Digital I/O Input Configuration
When either of the two digital I/O (DIO1 & DIO2) outlets are configured as
Inputs
on the
System: I/O Ports
, they can be
used to monitor the current status of any attached sensor.
When configured as inputs (and this is the factory default) these first two ports are notionally attached to an internal EMD.
So to configure them as alarms, go to the Environmental page and edit and enable the Internal EMD.
Also the low voltage circuits in DIO1 and DIO2 should not be wired to voltages greater than 5V DC.
Alternately these input ports can be monitored using the
ioc
command line utility (as detailed in the previous section
8.4.3
High Voltage Outputs
OUT1 and OUT2 (internally DIO3 & DIO4) outlets are wired as high voltage outputs. The way these outputs are expected
to be used is to pull a power connected line to ground (i.e. the OUT1 and OUT2 transistors are open collector).
The I/O port header includes a 12v reference line (VIN) which can be used to detect the line state change.
For example, to light a 12v LED using the high voltage outputs, connect the positive leg of the LED to the 12v reference,
and the negative leg to output pin 4. Due to the way that the I/O port is connected internally, the output has to be set
"high" to pull the output to ground.
The following command will switch on the led:
ioc -p 4 -d 0 -v 1
OUT1 and OUT2 transistors can operate with a supply of >5V to <= 30V @100mA. This means to drive a relay circuit you
must guarantee it doesn't provide more than 100mA when set to 1.
Содержание ACM5000
Страница 3: ......
Страница 10: ...Table of Contents 10 Console Server RIM Gateway User Manual...
Страница 11: ......
Страница 94: ...Chapter 5 Firewall Failover and Out of Band 94 Console Server RIM Gateway User Manual...
Страница 119: ......
Страница 149: ......
Страница 191: ......
Страница 205: ......
Страница 225: ......
Страница 303: ......
Страница 313: ......
Страница 323: ......