brettdawnj
Member
I have 3 identical CompactLogix L33ER's running in a factory and have always sent out automatic emails successfully. However, our company now has been bought out and sold to another, which means I need to change the emails to work on their new email SMTP server. Sounds like an easy task, but it is driving me crazy.
What I am running into is that 1 out of 3 work when I configure them properly for the new setup. I use static ip addresses for the PLC's and these are not changing. On the PLC network settings tab, I have exactly the same information (with the exception of each PLC has it's own unique static address) for all 3 PLC's.
Out of curiosity, I used a web browser to see the actual network settings on each PLC and found one different point, and it is on the PLC that works. Under the "Network Settings", in the field of "Name Resolution", I get on the PLC that works "DNS Enabled". On the other 2 PLC's, I get "DNS Disabled".
So it sounded like an easy mission to just change the 2 that don't work to "DNS Enabled" and I would guess that they will start to work. This is where I am absolutely baffled. In the older versions of RSLogix5000 or Linx, there used to be a check box for enabling DNS. However, I am using Linx version 3.74 and Logix 20.00. In neither of these can I find out how to enable the bit or setting for "DNS Enabled".
Even though I don't use DNS, it appears the new outlook email server requires this to be in the "DNS Enabled" mode to work. Without it, I get an error message via the messaging instruction of 16#00ff 16#0000_0104, which means the following:
Unable to connect to SMTP mail server set in Attribute 5. If the mail server
address is a host name, make sure that the device supports DNS, and that a
Name Server is configured. If the host name is not fully qualified, for example,
‘mailhost’ and not ‘mailhost.xx.yy.com’ then the domain must be configured
as ‘xx.yy.com’. Try ‘ping <mail server address>’ to make sure that the mail
server is reachable from your network. Also try ‘telnet <mail server address>
25’, which attempts to initiate a SMTP session with the mail server via telnet
over port 25. (If you connect then type ‘QUIT’).
I can't ping or telnet to the new server, but my IT guys tell me that they also can not as the server in Japan will not accept pings or telnet. But they ensure me that this is not the problem.
Does anyone know how I can actually turn or force this bit/setting in these PLC's to active the "DNS Enable" mode? Or any other suggestions on what to try?
I have tried to set it up for DNS by actually using a host and legit domain name thinking that this might enable it (like the PLC User Manual ENET-UM001O-EN-P says it will). But this does not seem to work... and the 1 PLC that works, doesn't have this set up.
Any help or suggestions would greatly be appreciated.
Thanks,
Brett
What I am running into is that 1 out of 3 work when I configure them properly for the new setup. I use static ip addresses for the PLC's and these are not changing. On the PLC network settings tab, I have exactly the same information (with the exception of each PLC has it's own unique static address) for all 3 PLC's.
Out of curiosity, I used a web browser to see the actual network settings on each PLC and found one different point, and it is on the PLC that works. Under the "Network Settings", in the field of "Name Resolution", I get on the PLC that works "DNS Enabled". On the other 2 PLC's, I get "DNS Disabled".
So it sounded like an easy mission to just change the 2 that don't work to "DNS Enabled" and I would guess that they will start to work. This is where I am absolutely baffled. In the older versions of RSLogix5000 or Linx, there used to be a check box for enabling DNS. However, I am using Linx version 3.74 and Logix 20.00. In neither of these can I find out how to enable the bit or setting for "DNS Enabled".
Even though I don't use DNS, it appears the new outlook email server requires this to be in the "DNS Enabled" mode to work. Without it, I get an error message via the messaging instruction of 16#00ff 16#0000_0104, which means the following:
Unable to connect to SMTP mail server set in Attribute 5. If the mail server
address is a host name, make sure that the device supports DNS, and that a
Name Server is configured. If the host name is not fully qualified, for example,
‘mailhost’ and not ‘mailhost.xx.yy.com’ then the domain must be configured
as ‘xx.yy.com’. Try ‘ping <mail server address>’ to make sure that the mail
server is reachable from your network. Also try ‘telnet <mail server address>
25’, which attempts to initiate a SMTP session with the mail server via telnet
over port 25. (If you connect then type ‘QUIT’).
I can't ping or telnet to the new server, but my IT guys tell me that they also can not as the server in Japan will not accept pings or telnet. But they ensure me that this is not the problem.
Does anyone know how I can actually turn or force this bit/setting in these PLC's to active the "DNS Enable" mode? Or any other suggestions on what to try?
I have tried to set it up for DNS by actually using a host and legit domain name thinking that this might enable it (like the PLC User Manual ENET-UM001O-EN-P says it will). But this does not seem to work... and the 1 PLC that works, doesn't have this set up.
Any help or suggestions would greatly be appreciated.
Thanks,
Brett