Host Engineering Forum
General Category => ECOMs and ECOM100s => Topic started by: Pippin on October 12, 2007, 12:30:32 PM
-
Okay -
I tried the Report By Exception ladder logic in a DL06 with the ecom100 in the 4th (last) slot
and network snooping shows nothing coming out of the PLC at all. The IP and Mac address are correct, so what else needs changing which I'm too dense to have noticed? (Tried various base and slot #'s from 1 to 4 with no effect - nothing else seems to be plc dependent).
Did flip the internal last jumper - as required for email support . . . and it can generate email . . .
The logic "thinks" packets are going out, no obvious error messages generated . . .
Anyway of 'faking' the same effect with a IBOX instruction?
-
Does your Ethernet packet snooper see the Email stuff?
-
Yep - Wireshark has no problem seeing all of that traffic.
-
Although I do see it ARPing for itself for some reason . . .
-
If I flip the protocol to be 3 (Host Ethernet Raw), then it starts to show up on Wireshark.
BTW - If I flip the IP # via NETEDIT to something different, and load up a ladder using the new IP # and run it, Wireshark still reports the ecom100 still send stuff out as the old IP #.
At least until the power gets rebooted - so maybe I better retry my tests and cycle the power after each new ladder gets loaded.
-
Nope -
IPX is visible, Host Ethernet is visible, UDP/IP is not.
-
Have you properly configured the IP Address and Subnet Mask in the ECOM100?
-
email works - so that is a "yes".
-
Not necessarily, is everything on the same subnet (ECOM100, SMTP Server, and RBE computer?)
-
Although I do see it ARPing for itself for some reason . . .
FYI, this normal. This behavior actually helps "teach" wireless routers.
-
Yep - same subnet. Which is why the fact that everything else but what I want shows up is so annoying.
BTW, tried this with 2 ecom100's - same responce, so about to pull out an old ecom from other equipment
and see if it works any different.
-
the number one thing folks get wrong in this example is not matching up the correct SPxxx bits and the slot number - and it's not any easier because of the SP bits / Slot #'s aren't consistent across the PLC lines.
The example program I have running is for slot 1 (K0190), using SP120 (busy) and SP121 (Error) contacts in the logic. For Slot 4 (K0490), you'd use SP126 (busy) and SP127 (error).
Make doubley (sp?) sure the MAC address and the IP address are correct for the PC that's running the application that displays the packets (Viewer.Exe).
In Viewer.Exe:
1. make sure you select the ECOM100 that sending the packets (Device -> Select Device)
2. make sure the port it's listening on (default in the example program is 0x7777) is what's selected (check View-> Setup menu)
3. make sure you've selected UDP protocol and Display Data as HEX
-
An H4-ecom worked fine on the first go at the logic, so just going to call it a moral victory and just use that modules instead of twiddling more with the DL06 Ecom100.
Although the working module is sending out packets even with the *wrong* SP Com Relays specified - which I guess it works just so long as something else isn't sitting in that slot.
Thanks -
-
I bet the problem is the disconnect between the slot number and the SP's. The DL05 is the odd PLC in that is uses the SP bit's for slot 0 (SP120, SP121) but the slot is 1 (K0190).
-
Attached is a handy table I came up with when developing the Network IBoxes
-
That last table probably should be stuck into the documentation for the Report by Exception example - (Can't expect people to RTFM . . . I know that I didn't see and understand this information until long after this started to work without any additional understanding of why.)
Then again . . . I will admit than I'm an idiot. <Grin> But an example that need someone to explain it probably isn't a very good example. Hmmm, probably means that I shouldn't be the one doing PLC programming, huh? <smile>
Anyway - thanks again.
-
I've updated the Report-By-Exception documentation to include the information about the slot numbers and associated SPs. the updated stuff will be available after the next web posting - probably by 10/24/07.