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
32
Function: Reading the digital inputs I1 to I8 (v1.0.5 and later)
/sys/senst2_board/input/1
/sys/senst2_board/input/2
/sys/senst2_board/input/3
/sys/senst2_board/input/4
/sys/senst2_board/input/5
/sys/senst2_board/input/6
/sys/senst2_board/input/7
/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)
/sys/senst2_IO/outputs/output0/value
/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)
/sys/senst2_board/current_out/1
/sys/senst2_board/current_out/2
Example: Switch on output O1A,O1B
Command: echo 1 > /sys/senst2_board/current_out1/value
Response: #