Skip to end of metadata
Go to start of metadata

Tested with the meter which supports pulse output (S0) and 2N® SmartCOM PRO ETH with firmware 1.13.x

 

  • S0 pulse inputs (You can increase the S0 bus resistance against interference if necessary by connecting PullUp voltage from the power supply or an internal 3V6 supply)

Disconnect the 2N® SmartCom PRO from the power supply before opening the cover. Be careful while handling the jumpers to avoid damaging the device!

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

  • pulse counting on S0 inputs
at^scpulse1="start"                                              - enable pulse counting on input 1.
at^scams="ENABLE",1                                              - enable AMS functionality.
AT^SCAMS="DEV_ADD",128,"AIN_DIN","1/PULSE/ABS","5M"              - absolute value of pulses on input 1 every 5 minutes
at^scpulse2="start"                                              - enable pulse counting on input 2.
AT^SCAMS="DEV_ADD",128,"AIN_DIN","2/PULSE/REL","5M"              - relative (difference between two readouts) value of pulses on input 2 every 5 minutes
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/PULSE/ABS","5M"
^SCAMS: 2> 128,"AIN_DIN","2/PULSE/REL","5M"
AT^SCAMS="DEV_REMOVE",1                                          - Remove device from defined position

 

  • results
at^scdata="get_oldest",50
^SCDATA: "AMS",1461340261,12091,"AIN_DIN",1,0,"","131"          - results from port 1    
^SCDATA: "AMS",1461340381,12093,"AIN_DIN",1,0,"","228"            - results from port 1
^SCDATA: "AMS",1461340441,12094,"AIN_DIN",1,0,"","234"            - results from port 1
^SCDATA: "AMS",1461340681,12098,"AIN_DIN",2,0,"","21"             - results from port 2

General AMS errors
0                  - without error 
1                  - error of input data 
2                  - error of output data 
3                  - protocol cannot be used for this port
4                  - readout not started
Inputs AMS errors
8388608            - non specific error (internal error of module)
8388609            - readout was stopped by user
8388610            - bad format address of the device
8388611            - timeout (message was not sent in defined time)
8388612            - timeout (message was not sent in defined time)
8388613            - timeout - receiving message response
8388865            - bad frame in answer message
8388866            - bad sequential number of the frame
8388867            - answer is too log (not enough space for this frame in internal AMS memory)
8388868            - bad CRC
8388869            - bad value in sync. field