nakedpanic Member OP N Join Date Nov 2005 Location Detroit Posts 18 Feb 6, 2012 #16 View attachment trace1.pcap.txt Attached with .txt
nakedpanic Member OP N Join Date Nov 2005 Location Detroit Posts 18 Feb 6, 2012 #17 SocketWriteMsg Service Type = Write Socket Service Code = 4e Class = 342 Instance = {socket} 32111 Attribute = 0 SocketWriteParam.Timeout = 5000 {DINT} SocketWriteParam.ToAddr.Family = 0 {INT} SocketWriteParam.ToAddr.Port = 0 {INT} tried 161 here SocketWriteParam.ToAddr.Addr = 0 {DINT} SocketWriteParam.BufLen = 213 {DINT} SocketWriteParam.Buf = .[30]..[5]. {SINT[480]}{in HEX}
SocketWriteMsg Service Type = Write Socket Service Code = 4e Class = 342 Instance = {socket} 32111 Attribute = 0 SocketWriteParam.Timeout = 5000 {DINT} SocketWriteParam.ToAddr.Family = 0 {INT} SocketWriteParam.ToAddr.Port = 0 {INT} tried 161 here SocketWriteParam.ToAddr.Addr = 0 {DINT} SocketWriteParam.BufLen = 213 {DINT} SocketWriteParam.Buf = .[30]..[5]. {SINT[480]}{in HEX}
nakedpanic Member OP N Join Date Nov 2005 Location Detroit Posts 18 Feb 6, 2012 #18 Changed the source length from 213 to 229 and the message went through.
Contr_Conn Member Join Date Sep 2003 Location Ohio Posts 2,579 Feb 6, 2012 #19 I see 3 devices doing SNMP .157 is PC, .185 and .200 - who is who? also what is message length? It is very hard to help you by squeezing little pieces one at the time. Can you post your program? EDIT - you beat me posting length - 229 is correct length 213+16=229 Last edited: Feb 6, 2012
I see 3 devices doing SNMP .157 is PC, .185 and .200 - who is who? also what is message length? It is very hard to help you by squeezing little pieces one at the time. Can you post your program? EDIT - you beat me posting length - 229 is correct length 213+16=229
nakedpanic Member OP N Join Date Nov 2005 Location Detroit Posts 18 Feb 6, 2012 #20 What's a good format to post it, I'm having difficulty with the size, even zipped. the .185 is the device call.
What's a good format to post it, I'm having difficulty with the size, even zipped. the .185 is the device call.
Contr_Conn Member Join Date Sep 2003 Location Ohio Posts 2,579 Feb 6, 2012 #21 If you strip your acd down to 3 messages then it will not take too much room zipped
nakedpanic Member OP N Join Date Nov 2005 Location Detroit Posts 18 Feb 6, 2012 #22 Looks like the read is working. I have to parse the buffer, but the data is there.
Contr_Conn Member Join Date Sep 2003 Location Ohio Posts 2,579 Feb 6, 2012 #23 Are you sure you need 213 bytes? I think you can make it much shorter without padding 0s
nakedpanic Member OP N Join Date Nov 2005 Location Detroit Posts 18 Feb 6, 2012 #24 Contr_Conn said: Are you sure you need 213 bytes? I think you can make it much shorter without padding 0s Click to expand... i think so too. Definitely want to streamline this. Still struggling with getting the size down. I should have started with a new program.
Contr_Conn said: Are you sure you need 213 bytes? I think you can make it much shorter without padding 0s Click to expand... i think so too. Definitely want to streamline this. Still struggling with getting the size down. I should have started with a new program.
Ian S Member I Join Date Apr 2004 Location Sheffield Posts 50 Sep 1, 2014 #25 Did anyone ever get this working? I've got a UPS that I'd like to interrogate over Ethernet, and since I'm already using an EWEB module in my PLC, this would seem like a good way to go. Regards, Ian Shaw
Did anyone ever get this working? I've got a UPS that I'd like to interrogate over Ethernet, and since I'm already using an EWEB module in my PLC, this would seem like a good way to go. Regards, Ian Shaw