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]
31
Function:
Switching the digital outputs (v1.0.5 and later)
Port
Parameter
Read
Write
Path
PW2
Prescaler {0,1025}
x
/sys/gpio_board/pwm/prescalar
Pulse {0,65535}
/sys/gpio_board/pwm/1
PW1
Prescaler {0,1025}
x
/sys/gpio_board/pwm/prescalar
Pulse {0,65535}
/sys/gpio_board/pwm/2
Period*{0,11}
x
/sys/gpio_board/pwm/period
*Only if MC100 GPIO board supports Period.
11.6 MC100 SensT2
Digital Inputs
11.6.1
Port
Description
DGND1
Digital Ground1, electrically isolated to all (D)GND
I1 bis I4
Digital inputs
Input voltage: 0 to 30V
Switching threshold: approx. 4V
All input voltages with DGND1 as ground
VPU1
Not supported, please do not connect a signal
DGND2
Digital Ground 2, electrically isolated to all (D)GND
I1 bis I4
Digital inputs
Input voltage: 0 to 30V
Switching threshold: approx. 4V
All input voltages with DGND2 as ground
VPU2
Not supported, please do not connect a signal
Function:
Reading the digital inputs I1 to I8 (
v1.0.4 and older
)
Port
Parameter
Read
Write
Path
I1
1,0
x
/sys/senst2_IO/inputs/input0/value
I2
1,0
x
/sys/senst2_IO /inputs/input1/value
I3
1,0
x
/sys/senst2_IO /inputs/input2/value
I4
1,0
x
/sys/senst2_IO /inputs/input3/value
I5
1,0
x
/sys/senst2_IO /inputs/input4/value
I6
1,0
x
/sys/senst2_IO /inputs/input5/value
I7
1,0
x
/sys/senst2_IO /inputs/input6/value
I8
1,0
x
/sys/senst2_IO /inputs/input7/value
Example:
Read out input I1
Command:
cat /sys/senst2_IO/inputs/input0/value
Response:
e.g. 1# or 0#