|
|
|
|
|
Digital I/O support The ACM5004-2-I and ACM5004-2-T models have four digital I/O ports which present on a green connector block on the side of the unit:
To set the direction and state configurations for these each SENSOR and DIO port, select the System: I/O Ports. A table with the status of the four digital I/O ports will be displayed (I/O Port1 = DIO1 or SENSOR1 .... I/O Port4 = OUT2 or SENSOR4)
Alternately you can change the output states using the ioc command line utility. The following text is the usage message from the ioc usage: ioc: digital io-port controller: -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 display 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) So custom applications can sense the state (closed or open) of non-Opengear dry contact sensors through the UI or command line. It is also possible to control the sensor pins as ‘outputs’. Also the user can set the pins as TTL high (1) or low (0) as required for their application. Note: By default on the ACM5000 each SENSOR and DIO port is configured as an Input. As such each SENSOR and DIO1 & DIO2 are available to be used with external environmental sensors attached. In this mode these are ‘dry contact’ inputs which are normally open. When open these are sensed as a TTL high or digital ‘1’. When activated the external devices (door close, vibration, water, smoke) present a short circuit and the contact ‘closes to ground’ which is read as a TTL low or a digital ‘0’. For details on configuring environmental sensors on the ACM5000 refer faq 308 |
|
Solutions Product Overview Solutions Overview How to Buy |
About Us Corporate In the Media Press Releases Contact Us |
Resources YouTube Videos Resource Library |
Support Technical Support Knowledge Base Cabling & Adapters Contact Us |
| © Opengear 2012 | Privacy Policy |