News:

  • December 05, 2024, 05:27:44 AM

Login with username, password and session length

Author Topic: a 2nd email i box  (Read 4533 times)

rubberboy

  • Newbie
  • *
  • Posts: 9
a 2nd email i box
« on: March 31, 2010, 11:17:47 AM »
Hi, Recently added a ecom-100 to my system from serial... I have programmed an instruction that sends me an email everytime the power goes out (really comes back on) and now I want to make similiar email instructions for other things... so I added another ib 7-11 with new conditions before it, and it won't work... do i need to have a ib-710 ibox for every ib 7-11?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3703
    • Host Engineering
Re: a 2nd email i box
« Reply #1 on: March 31, 2010, 11:41:23 AM »
You only need one ECOM100 IBox 710 per ECOM100 module, so you normally only need 1.  You can have as many ECEMAIL IBoxes as you want (that fit within your Ladder memory).

Check out these FAQs on Host Engineering's website:

http://www.hosteng.com/FAQFiles/ECOM.htm#FAQ0105
http://www.hosteng.com/FAQFiles/ECOM.htm#FAQ0059

You can get access to all the FAQs for all of Host Engineering's products sold by AutomationDirect from www.hosteng.com, then clicking on the FAQs link in the left navigation pane under Support.

rubberboy

  • Newbie
  • *
  • Posts: 9
Re: a 2nd email i box
« Reply #2 on: March 31, 2010, 12:01:42 PM »
My max scan time is 33ms, do you think that is my problem?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3703
    • Host Engineering
Re: a 2nd email i box
« Reply #3 on: March 31, 2010, 12:07:15 PM »
Most of the "work" being done is being done by the SMTP Server, not the PLC or ECOM module, so your scan time is fine.  The ECOM has to perform the handshaking protocol of SMTP, which is a number of packets, but it is meant to be VERY asynchronous (some servers take a while to actually do the work, 30seconds+).

rubberboy

  • Newbie
  • *
  • Posts: 9
Re: a 2nd email i box
« Reply #4 on: March 31, 2010, 02:04:52 PM »
I am bad at explaining things... The first ib-711 box i have actually works, it sends me emaisl no problem... but the 2nd ib-711 box i made won't send for some crazy reason...

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3703
    • Host Engineering
Re: a 2nd email i box
« Reply #5 on: March 31, 2010, 02:40:25 PM »
Can you post the code of the two IBoxes?  Do File->Export->Program and select the rungs containing the logic.  This will give us the mnemonic form in a .txt file.  You can open that up in notepad and copy/paste it here onto this forum.  Make sure you include the input contact logic also of both rungs.

Also, let us know what the status of the Success and Error bits are, along with the status of the Error Code register.  Make sure that the Workspace parameter IS UNIQUE AND IS NOT USED ANYWHERE ELSE IN YOUR PROGRAM.  Each ECEMAIL MUST HAVE its own unique Workspace parameter (this is discussed in the FAQs, along with other things you should check).

rubberboy

  • Newbie
  • *
  • Posts: 9
Re: a 2nd email i box
« Reply #6 on: April 05, 2010, 12:17:59 PM »
Thank you, the error bit was not unique... problem solved