How to read analog value on input 2N SmartCOM PRO ETH?

 

tested with meters supporting current output (4 - 20mA) and voltage output (0 - 10 VDC) and 2N SmartCOM PRO ETH with firmware SCE_1.12.0.12.24 supporting AMS features.

Before measurement calibrate 2N SmartCOM PRO ETH inputs - Input circuit calibration

Make sure that the 2N SmartCOM PRO ETH jumpers are set as shown in figure

images/download/attachments/104860929/image2023-5-22_15-27-36.png

  • A) Measuring analogue value on input

 

at^scams="ENABLE",1 - enable AMS functionality.

AT^SCAMS="DEV_ADD",128,"AIN_DIN","1/ADC/CAL","1M" - calibrated value will be store to memory (range 0 - 100) input 1

AT^SCAMS="DEV_ADD",128,"AIN_DIN","2/ADC/ABS","1M" - output from A/D converter will be stored to memory (range 0 - 1023) input 2

Possible time intervals: - "1M", "2M", "3M", "4M", "5M", "6M", "10M", "12M", "15M", "20M", "30M", "1H", "2H", "3H", "4H", "6H", "8H", "12H", "1D"

 

at^scams? - Show added devices

^SCAMS: 1> 128,"AIN_DIN","1/ADC/CAL","1M"

^SCAMS: 2> 128,"AIN_DIN","2/ADC/ABS","1M"

 

  • Results

at^scdata="get_oldest",50

voltage was the same on both inputs - 6,45V

^SCDATA: "AMS",1464185101,7112,"AIN_DIN",1,0,"","56" - calibrated value on input 1

^SCDATA: "AMS",1464185101,7113,"AIN_DIN",2,0,"","521" - output value from A/D on input 2

voltage was the same on both inputs - 4,45V

^SCDATA: "AMS",1464185160,7114,"AIN_DIN",2,0,"","354" - calibrated value on input 1

^SCDATA: "AMS",1464185160,7115,"AIN_DIN",1,0,"","38" - output value from A/D on input 2

voltage was the same on both inputs - 10,2V

^SCDATA: "AMS",1464185221,7116,"AIN_DIN",1,0,"","92" - calibrated value on input 1

^SCDATA: "AMS",1464185221,7117,"AIN_DIN",2,0,"","848" - output value from A/D on input 2

 

  • Digital value on Input

at^scams="ENABLE",1 - enable AMS functionality.

AT^SCAMS="DEV_ADD",128,"AIN_DIN","2/DIN","1M" - each minute will be digital value on input 2 stored in memory

Possible time intervals: - "1M", "2M", "3M", "4M", "5M", "6M", "10M", "12M", "15M", "20M", "30M", "1H", "2H", "3H", "4H", "6H", "8H", "12H", "1D"

 

at^scams?

^SCAMS: 3> 128,"AIN_DIN","2/DIN","1M"

 

  • Results

at^scdata="get_oldest",50

^SCDATA: "AMS",1464186241,7150,"AIN_DIN",3,0,"","0" - output value from A/D on input 2 was 360 (^SCDATA: "AMS",1464186241,7152,"AIN_DIN",2,0,"","360")

^SCDATA: "AMS",1464186301,7155,"AIN_DIN",3,0,"","1" - output value from A/D on input 2 was 524 (^SCDATA: "AMS",1464186301,7154,"AIN_DIN",2,0,"","524")

Was this page helpful?