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
34
11.6.4.1
Einspeisung eines Stroms - Strom aus dem Sensor
The connected sensor has its own power supply and a current output with a current
of 20mA.
The sensor is connected to -A3 or -A4 against ground.
Port
Description
-A3
Positive connection input 3, current output of the sensor
GND
Negative connection Input 3, sensor ground
-A4
Positive connection input 4, current output of the sensor
GND
Negative connection Input 4, sensor ground
11.6.4.2
Low Side Shunt - power supply for the sensor
It is possible both to supply the sensor with power and to measure the current it
draws over the same two wires. The sensor will be powered from the MC100
SensT2. A voltage is applied to the terA3 or +A4 for this purpose. Connect
the sensor to +A3 and A3 or +A4 and -A4.
Port
Description
+A3
Positive connection output 3, sensor supply, approx. 12V to 14V
-A3
Negative connection Input 3
+A4
Positive connection output 4, sensor supply, approx. 12V to 14V
-A4
Negative connection Input 4
Function:
Reading the current inputs (
v1.0.4 and older
)
Port
Parameter
Read
Write
Path
+A3,-A3
Value
x
/sys/senst2_ADC/ampere/amp0/value
+A4,-A4
Value
x
/sys/senst2_ADC/ampere/amp1/value
Example:
Read current at ADC input +A3,-A3
Command:
cat /sys/senst2_ADC/ampere/amp0/value
Response:
e.g. 1500
Function:
Reading the current inputs (
v1.0.5 and later
)
Port
Parameter
Read
Write
Path
+A3,-A3
Value
x
/sys/senst2_board/current_in/1
+A4,-A4
Value
x
/sys/senst2_board/current_in/2
Example:
Read current at ADC input +A3,-A3
Command:
cat /sys/senst2_board/current_in1/value
Response:
e.g. 1500
Note:
Conversion to mA
Formula:
Current in mA = Value * 20 / 3000
Example:
Value = 1500 corresponds to 10mA
Current outputs 0 - 20mA
11.6.5
Function:
Output of a current (
v1.0.4 and older
)
Port
Parameter
Read
Write
Path
OI1
Value
x
/sys/senst2_ADC/adc_output/adcoutput0/value
OI2
Value
x
/sys/senst2_ADC/adc_output/adcoutput1/value