Host Engineering Forum
General Category => ECOMs and ECOM100s => Topic started by: ailr on September 04, 2013, 03:05:11 PM
-
I have an H0-ECOM100 (firmware v4.0.344, booter v4.0.165) on a D0-06DR PLC. I've been trying to setup up smtp without success. My immediate problem is that I can't access the webserver setup interface. I can connect using NetEdit3 and DSLaunch5's programming interface. FAQ0001 05 suggests that I'll get more smtp authentication option through the webserver interface than when using NetEdit 3 or the iBox 700 instructions however when I type the IP address of my H0-ECOM100 into a browser (Firefox or IE) I get an "Unable to Connect" error message.
Any suggestions on why I can't use the webserver setup interface?
-
Most likely this is due to the IP configuration on your PC vs your H0-ECOM100. Can you list your PC's IP configuration? (IP address, subnet mask, gateway) and your H0-ECOM100's IP configuration? It could also possibly be that you have more than one NIC in your PC (wireless & wired). You may have to disable the wireless one temporarily.
A simple test is to go to a Windows command prompt and use ping. If you can ping your H0-ECOM100 then you should be able to reach it with a browser.
-
The default configuration as of v4.0.326 is for the web browser interface to be disabled in the H0-ECOM100. You must first use NetEdit v3 to enable it.
-
Gentlemen,
Thanks for the help. Greg, IP setup was good. Same subnet. Good pings. MikeS, I was running version 3,7 of NetEdit3. I updated to 3,9,1,8 and got the option to enable the web interface. Also got the option to enable SMTP authentication both through NetEdit3 and the web interface.
I still have my initial problem which is that I can't send e-mails from the PLC. I tried three different SMTP servers with multiple ports and still no joy. With SMTP Viewer Tool I either get
Timeout during SMTP_HELLO_SENT (Error Code 12)
or
Internal error err == 0x0 p = 0x0 (Error Code 23 Invalid Data)
I tried increasing the Timeout to 300 sec. I can send e-mails from computers on my network using any one of the three SMTP servers/accounts. I've read through EMAILTheoryOfOperation.pdf and the online FAQ's but still haven't stumbled on a combination that will work. Any suggestions?
Again, thanks for the help.
-
I've made only a little progress trying to get my H0-ECOM100 to send e-mail. I tested my e-mail setup using Thunderbird and ip address returned from smtp.powweb.com (our web host). I can send e-mails using the ip address and port 587 from Thunderbird. From the ECOM100 using either the test e-mail option in NetEdit3 of ladder logic from the D0-06DR I get the following from SMTP viewer.
Thu Sep 05 15:51:47 2013 192.168.1.45: EMail Trace Off
Thu Sep 05 15:51:50 2013 192.168.1.45: EMail Trace On
Thu Sep 05 15:52:14 2013 192.168.1.45: Recipient: jmiller43@verizon.net
Thu Sep 05 15:52:14 2013 192.168.1.45: Subject: Test EMail from ECOM100
Thu Sep 05 15:52:14 2013 192.168.1.45: Body: Name: H0-ECOM100 Mod ID: 1 (0x1) Mac: 00 E0 62 20 FB 6A IP: 192.168.1.45 Subnet: 255.255.255.0 Gateway: 192.168.1.100 Booter: 4.0.165 OS: 4.0.334 CPU Rev: 1.1.1 PWB/PLD Rev: 4
Thu Sep 05 15:52:14 2013 192.168.1.45: Sending HELO msg
Thu Sep 05 15:52:14 2013 192.168.1.45: State: 0x2 Received data: 554 SMTP synchronization error
Thu Sep 05 15:52:14 2013 192.168.1.45: Didn't get '250 OK' from HELO
Thu Sep 05 15:54:24 2013 192.168.1.45: Recipient: jmiller@ailr.com
Thu Sep 05 15:54:24 2013 192.168.1.45: Subject: Babbio -FAULT
Thu Sep 05 15:54:24 2013 192.168.1.45: Body: Babbio LDAC went offline at 15:54:21 on 09/05/13
Thu Sep 05 15:54:24 2013 192.168.1.45: Sending HELO msg
Thu Sep 05 15:54:24 2013 192.168.1.45: State: 0x2 Received data: 554 SMTP synchronization error
Thu Sep 05 15:54:24 2013 192.168.1.45: Didn't get '250 OK' from HELO
Again, any suggestions would be appreciated.
-
SMTP error 554 is a generic transaction failed code...a catch-all error. For whatever reason he doesn't like the HELO...and anything after that is mostly irrelevant. Normally he would respond to the HELO in a bit more friendly manner...
-
I have a similar issue. I see ECOM in NetEdit and can ping it form PC but unable to open web server page. Clicking on 'Start Web based config ...' in ECOM settings in NetEdit just brings up a browser page that says it can't connect.
-
This is probably because the web interface is disabled by default nowadays. So, since you can see it in NetEdit, right-click on it and select Advanced. Then make sure the "Enable Web Server (ECOM100)" is checked.