I am trying to fetch data from Secure Apex 100 using RS485 port. From that port, It is connected with Moxa and from Moxa I have connected with System. COM port is COM1.
I am executing command: python main.py -S COM1 -a Low -s 16640 -d India -t Verbose
But, It is showing below result,
gurux_dlms version: 1.0.124
gurux_net version: 1.0.18
gurux_serial version: 1.0.19
Authentication: Authentication.LOW
ClientAddress: 0x10
ServerAddress: 0x4100
Standard: Standard.INDIA
TX: 17:38:32 7E A0 0A 00 02 04 01 21 93 77 B5 7E
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
RX: 17:38:47
DisconnectRequest
If I remember right, the DLMS support is optional feature for Secure Apex 100. You need to verify from the meter vendor that your meter is supporting DLMS.
I have tried to connect Ethernet port directly with system instead of moxa and tried to execute code but getting below error "OSError: [WinError 10049] The requested address is not valid in its context"
Hi,
Hi,
If I remember right, the DLMS support is optional feature for Secure Apex 100. You need to verify from the meter vendor that your meter is supporting DLMS.
BR,
Mikko
Yes, It is supporting DLMS.
Yes, It is supporting DLMS.
Hi,
Hi,
For me, it seems that the RS-485 port is for Modbus. You need to connect with RS-232 or Ethernet.
BR,
Mikko
Hi Mikko,
Hi Mikko,
I have tried to connect Ethernet port directly with system instead of moxa and tried to execute code but getting below error "OSError: [WinError 10049] The requested address is not valid in its context"
Hi Jimesh,
Hi Jimesh,
Your IP address or port TCP number is invalid.
BR,
Mikko
Getting same error for RS232
Getting same error for RS232 port as well.
gurux_dlms version: 1.0.124
gurux_net version: 1.0.18
gurux_serial version: 1.0.19
Authentication: Authentication.NONE
ClientAddress: 0x10
ServerAddress: 0x4100
Standard: Standard.INDIA
TX: 19:34:39 7E A0 0A 00 02 04 01 21 93 77 B5 7E
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
RX: 19:34:54
DisconnectRequest
Hi,
Hi,
Check your serial port settings. The default is 9600 8None1. Your meter might use other settings. Check also your server address.
BR,
Mikko