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
33
Function: Reading the voltage inputs
/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
Positive connection Input 3
Negative connection Input 3
Positive connection Input 4
Negative connection Input 4
Note: A current of up to 20mA must be fed in from a current source.
Function: Reading the current inputs
/sys/gpio_board/current_in/3
/sys/gpio_board/current_in/4
Example: Read current at ADC input +A3,-A3
Command: cat /sys/gpio_board/current_in1/value
Response: e.g. 2000
Note: Converting to mA
Formula: Current in mA = Value / 200
Example: Value = 2000 corresponds to 10mA