You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old November 14th, 2008, 02:31 PM   #1
CSnerd
Member
United States

CSnerd is offline
 
Join Date: Nov 2008
Location: Indiana
Posts: 24
MicroLogix 1100 Email SMTP Error

Hey All,

I just setup an email MSG instruction on my ML1100.

I am sending an email on a high alarm bit.



However, it only works every other time I set the bit.



After I successfully set the alarm bit and receive the email the next time i receive a

0x05DD (1501) - Communication error with SMTP mail server.



Any suggestions?

Thanks!
  Reply With Quote
Old November 15th, 2008, 08:56 PM   #2
Lancie1
Lifetime Supporting Member
United States

Lancie1 is offline
 
Lancie1's Avatar
 
Join Date: Jul 2003
Location: Alabama
Posts: 10,002
CSnerd,
It is most likely that the second message is being sent very quickly after the first. In which cast the network may be giving a busy signal. Try putting in a timer to wait 5 seconds after an E-mail before another message will be allowed.
  Reply With Quote
Old November 17th, 2008, 09:20 AM   #3
CSnerd
Member
United States

CSnerd is offline
 
Join Date: Nov 2008
Location: Indiana
Posts: 24
Lancie1,
Thanks for the reply and I initially thought the same thing.
However, I am simulating the alarm bit randomly, even as long as 5 minutes in between each email.

I did notice though that once the message sends succesfully the DN bit stays high. When the message fails the DN bit clears.

Not sure if the MSG instruction is staying connected.


-------------------
ALM | MSG |--(EN)
-----| |-----------------------------| |--(DN)
| |--(ERR)
-------------------
  Reply With Quote
Old December 6th, 2008, 03:08 PM   #4
CSnerd
Member
United States

CSnerd is offline
 
Join Date: Nov 2008
Location: Indiana
Posts: 24
This was not a problem with the MicroLogix.
Apparently our Exchange server was trapping the email.
http://www.m***change.org/tutorials/...Explained.html

Last edited by CSnerd; December 6th, 2008 at 03:10 PM. Reason: URL Filtered By Decency Rules
  Reply With Quote
Old March 2nd, 2011, 03:07 PM   #5
Jim Jensen
Member
United States

Jim Jensen is offline
 
Join Date: Jun 2005
Posts: 1
Set the BK bit in the message tag (ex: MG11:0/BK). That will tell the message instruction to break the TCP connection between the PLC and email server after the instruction is done.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Send email from stock MicroLogix 1100 on bit state? TimD LIVE PLC Questions And Answers 10 January 6th, 2014 06:51 PM
Program Micrologix 1100 with RSLogix 500 Ver. 6.3 Lynx777 LIVE PLC Questions And Answers 15 August 6th, 2008 04:10 PM
Micrologix 1100 - How to mplement this PLC-5 rung? skyfox LIVE PLC Questions And Answers 31 July 31st, 2008 01:38 AM
Cimplicity HMI ethernet to Micrologix 1100 problem jeffdc54 LIVE PLC Questions And Answers 1 August 9th, 2006 05:12 PM
Micrologix 1200 NVRAM error ashley LIVE PLC Questions And Answers 4 December 9th, 2004 07:59 AM


All times are GMT -5. The time now is 07:33 PM.


.