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: [email protected]
32
Function:
Reading the digital inputs I1 to I8 (
v1.0.5 and later
)
Port
Parameter
Read
Write
Path
I1
1,0
x
/sys/senst2_board/input/1
I2
1,0
x
/sys/senst2_board/input/2
I3
1,0
x
/sys/senst2_board/input/3
I4
1,0
x
/sys/senst2_board/input/4
I5
1,0
x
/sys/senst2_board/input/5
I6
1,0
x
/sys/senst2_board/input/6
I7
1,0
x
/sys/senst2_board/input/7
I8
1,0
x
/sys/senst2_board/input/8
Example:
Read out input I1
Command:
cat /sys/senst2_board/input1/value
Response:
e.g. 1# or 0#
Digital Outputs
11.6.2
All outputs have an identical behaviour. The description here is only for one output (;
x = 1 and 2 MC100 SensT2).
All switching outputs are represented by solid state relays. OxA occupies one pin of
the switch, OxB the second pin. All outputs are galvanically isolated. The maximum
switching current is 300mA. The maximum applied voltage must not exceed 30V.
Function:
Switching the digital outputs (
v1.0.4 and older
)
Port
Parameter
Read
Write
Path
O1A,O1B
1,0
X
/sys/senst2_IO/outputs/output0/value
O2A,O2B
1,0
X
/sys/senst2_IO/outputs/output1/value
Example:
Switch on output O1A,O1B
Command:
echo 1 > /sys/senst2_IO/outputs/output0/value
Response:
#
Function:
Switching the digital outputs (
v1.0.5 and later
)
Port
Parameter
Read
Write
Path
O1A,O1B
1,0
X
/sys/senst2_board/current_out/1
O2A,O2B
1,0
X
/sys/senst2_board/current_out/2
Example:
Switch on output O1A,O1B
Command:
echo 1 > /sys/senst2_board/current_out1/value
Response:
#