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
Example: Switch on output O1A,O1B
Command: echo 1 > /sys/gpio_board/output/value
Response: #
Voltage inputs 0 ā 10V 11.5.3
Positive connection Input 1
Negative connection Input 1
Positive connection Input 2
Negative connection Input 2
The input current at 10V is approx. 2 mA
Note: The applied DC voltage must not exceed 10V.
Function: Reading the voltage inputs (v1.0.4 or older)
/sys/gpio_board_ADC/voltage/volt0/value
/sys/gpio_board_ADC/voltage/volt1/value
Example: Read voltage at ADC input +A1,-A1
Command: cat /sys/gpio_board_ADC/voltage/volt0/value
Response: e.g. 6400
Function: Reading the voltage inputs (v1.0.5 or later)
/sys/gpio_board/ voltage_in/1
/sys/gpio_board/ voltage_in/2
Example: Read voltage at ADC input +A1,-A1
Command: cat /sys/gpio_board/ voltage_in1/value
Response: e.g. 6400
Note: Converting to volts
Formula: Voltage in Volt = value / 1000
Example: Value = 6400 corresponds to 6.4V
Current inputs 0 - 20mA 11.5.4