EasyManua.ls Logo

MC Technologies MC100 - MC100 Gateway IO Control

MC Technologies MC100
72 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MC100
Mobile programmable gateway
MC Technologies GmbH, Kabelkamp 2, 30179 Hannover, Germany
Tel: +49511 67 69 99-0, Fax: +49511 67 69 99-150, Website & Shop: www.mc-technologies.net, Email: info@mc-technologies.net
29
MC100 Gateway
Port
Description
I1
Digital input 1, DC voltage 0 to 30V, switching threshold approx .6V DC
I2
Digital input 2, DC voltage 0 to 30V, switching threshold approx .6V DC
O1
Digital output 1, switching capacity max. 300mA
O2
Digital output 1, switching capacity max. 300mA
IGND
I/O ground, electrically isolated from standard GND of the device
Digital inputs
The MC100 Gateway has two digital inputs. The inputs are high-active.
Function: Read in the digital inputs I1 and I2
Port
Parameter
Read
Write
Path
I1
1,0
x
cat /sys/class/gpio/mc100:in1/value
I2
1,0
x
cat /sys/class/gpio/mc100:in2/value
Example: Reading Input I1
Command: cat /sys/class/gpio/mc100:in1/value
Response: 1# or. 0#
Digital Outputs
The MC100 Gateway has two digital outputs. The outputs are solid state relays and switch
against IGND.
Function: Switching the digital outputs O1 and O2
Port
Parameter
Read
Write
Path
O1
1,0
x
echo 1 > /sys/class/gpio/mc100:out1/value
echo 0 > /sys/class/gpio/mc100:out1/value
O2
1,0
x
echo 1 > /sys/class/gpio/mc100:out2/value
echo 0 > /sys/class/gpio/mc100:out2/value
Example: Switch on O1
Command: echo 1 > /sys/mc100_gpios/OUT1
Response: #

Table of Contents

Related product manuals