EWEB reading 3rd Party Device SNMP Data Value

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}
 
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:
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
 

Similar Topics

Does anyone have downloads of the TN 42799 and TN 49389 technotes? They are no longer available on Tech Connect.
Replies
3
Views
1,638
hi, i try to use eweb tcp serve program to transfer data but it time out. so i just want to know is there limit or fix for that. the sample not...
Replies
0
Views
1,073
I have updated the firmware of the EWEB module first to 5.001 then to 4.016. I have updated the firmware of the 1756-L73 to v28. The device is...
Replies
1
Views
1,532
Hello, There used to be a toolkit available through Allen-Bradley for the 1756 EWEB card to assist the development of webpages. Allen-Bradley...
Replies
1
Views
1,522
hi, i follow the manual to setup server and client for 1756-eweb card but i have some question, is there anyone who have program for both server...
Replies
1
Views
1,088
Back
Top Bottom