Search the Community

Showing results for tags 'Send Email'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 14 results

  1. NX1P2 FTP Data Sending Process

    Hello people! I'm working on a project that part of it, is to send data that are collected in the PLC, via email to office. The PLC and HMI I use (NX1P2 and NB series),they do not support any email instruction, unfortunately.  To overcome this obstacle, I decided to forward those data (saved in .csv file) by using the FTPPutFile instruction and to upload the csv file from PLC to a dedicated folder to the office computer. PLC will be the client (passive) and the computer will be the server. And here is where I need your help.. The set up is offline by using a dummy ethernet switch. I set an IP address in the computer, as well as to the PLC side. If I set the PLC as a server (FTP server ->use -> port 21,pass & username), I can connect from the office computer to the PLC and download the file, by using cmd. When I try to use PLC as a client, Ftpputfile instruction always gives errorid 2407 and erroridex 00000226. In the FTPPutFile instruction box I set the following: ConnectSvr: IP address of PC, port 21, username & pass  SvrDirName: the physical path I set when I configured the FTP site on PC (C:\...) LocalDirName: '/' FileName: '.. .csv'    Further more, in the file explorer I type ftp:\\(IP address of PC), I log in but when I try to create a new folder 550 error is coming up (I suppose this is for permissions). Am I missing something? Do you have any suggestions/guide for making this work? I am not an IT and I am not experienced in that field so any help would be great!   Thanks! Man31          
  2. Pv +7 - How to create email body

    I'm trying to send an email out of the HMI and can't figure out how to build the body to contain all the info that I need. I can get the email to send fine and I can include one tag which works correctly. I though that I should be able to build the text that I need using an expression but I can't seem to figure that out. Here's what I want: Flow totalizer = 'tag' Last 24 Hour flow = 'tag' Last 24 Hour High flow = 'tag'   So just three lines ( I know there is an 82 char limiit) containing a little bit of text and some tags. I thought that I should be able to do something like: "Flow Totalizer" + 'tag' but that doesn't work. It validates but I get no output.   Any help would be very much appreciated. I normaly use a different brand HMI so I'm not really all that up to speed on PV. thank you.    
  3. Good Morning, I connect using a TCPSocket a remote node with my NJ501-1300. In order to test communication with the remote node I use a telnet communication and send from it messages to the remote node: it work correctly opening the connection and then sending all messages I want; the connection will close only at the end of the communication session. WHAT HAPPEN ON NJ? On NJ Open connection whit remote node; Connection is open; Send first message to remote node; Receive correct answer from remote node; Send another ore the same message to remote node; Receive an unknown command answer from remote node. WHY??? To solve previous problem I need to: Close the open connection; Wait the time to reopen it; Reopen connection; send the message; receive the correct answer from the remote node; Close connection Wait the time to reopen it; Reopen connection; send the message; receive the correct answer from the remote node; close connection and so on... Could someone help me to solve this problem opening the connection only once and then close it at the end of the end of communication session?!   THANK YOU
  4. Hello everyone. I need help setting up a data transfer between a CP1H with a CIF41 module, and a CJ2H. I realize this can't be done with Ethernet/IP, so I figure FINS should do the trick. I've read up a bit on the SEND and RECV instructions, and tried to set up a RECV in the CJ2H (since I know the CIF41 can't act as the sender, it can only receive), but I just can't seem to get it to work... I work at a factory and we're setting up a data collection system. It is mostly CJ2s with EIP tags doing most of the transters, but there are a few machines where EIP tags can't be utilised. Unfortunately I don't really have the freedom of choice what to work with, my budget is already pretty dry, so I kinda have to work with what I have... We need to read 100 WORDs from the CP1H to the CJ2H and send 10 WORDs from the CJ2H to the CP1H, so I figure I'll need to make both SEND and RECV in the CJ2H. CJ2H-CPU64EIP Has two EIP units, built-in and an EIP21. Acts as a relay device to the internal production line network. All the machines on the line network send data via EIP tags to this relay machine. The internal network: Built-in EIP (CPU Unit 0) IP: 10.1.95.80/24 FINS Net 95 FINS Node 80 External network: CJ1W-EIP21 (Unit 2) FINS Node 9 FINS Net 2 IP 10.1.99.9/16 CP1H-X CP1W-CIF41 in the left slot. IP: 10.1.95.180/24 FINS Net 95 FINS Node 180 They are on the same subnet within the line network and the same FINS Network as well. I have successfully set up routing tables and can connect from the external network via the added EIP21 card on the CJ2H to the CP1H PLC and work on it in CX-Programmer and other tools. That should mean the communication works, and I'm just failing to configure the RECV parameter properly... Here's what I have right now: I've pretty much followed the example in the W465 manual from page 235 in combination with the Instruction Help for RECV. (Instructions horizontally are intentional for the purpose of saving vertical space for this screenshot, I normally have them vertically. Also sorry for basically no symbol comments...) In the CP1H in D0 I've input FFFF. I run this by setting on W511.15 and hope that FFFF will appear in E3_3800, but no such luck. A202.00 does blink indicating the logical port did get used and the instruction executed, but didn't work as needed. I'm not sure about the response code. Here's how I understand the control words: D7700 being #0064 means 100 WORDs transmitted. D7701 being #005F means that the FINS Network of the PLC I read from (CP1H) is 95 D7702 being #B4E4 means that the FINS Node of the PLC I read from (CP1H) is 180, and the Unit address on that PLC is the Serial Communications Board Port 1 (I think this thing is what I'm getting wrong, I just can't figure out what to put here... I've tried 00 for the Unit address and that transferred from D0 on the CJ2H which isn't what I wanted, I've also tried #10 to specify a CPU Bus Unit 0, as well as FE to specify "Unit connected to network (not necessary to specify Unit)", but none of these worked) D7703 being #000F means no response needed, use logical port 0, and retry 15 times D7704 being #0 means default timeout Can someone please tell me what I'm doing wrong?
  5. FX3U-ENET Email Function

    Hi, I am looking for some guidance relating to the FX3U-ENET module. Note, I am only a beginner trying to learn about the FX-PLC as I go. My aim is to have various events in the FX3U PLC send an email with some information within the email text body. The programming of the PLC for the event sequence seems to be going well but getting the ENET module to send the message is my problem. I am programming the ENET module parameters using FX-Configurator which appears to take the commands and that seems OK Reading the ENET manual it appears that the email server, DNS server and Proxy Server, need to be within the same local network as the PLC. See the page I have attached that states that the "Access range of the Ethernet module" is within the local network, and that "the Ethernet module does not send and receive emails directly via the internet connection, the mail server sends and receives emails". So taking that information at face value, it appears I need a mail server and a DNS server? My question is that correct and is there any easy option to achieve this? I have had a play around installing hmailserver on my PC as my local mail server and it seems to work. The message starts to send but I get an Error on the ENET module, checking FX-Configurator diagnostics it says i have a C103 error,  DNS settings incorrect.• Check the DNS mail address./ Check the content of the DNS setting . So this may refer to the DNS server needing to be on the local network? Setting up a DNS server, let alone a mail server seems to be a whole lot of trouble and not practical for the task of sending email messages. Is there an easier option? Am I reading the manual correct relating to the servers within the local network? Any thoughts? Thanks
  6. COMUNICATING OVER NETWORK

    HI ;) I WANT TO START A COMPUTER OVER A NETWORK (ETHERNET-IP, EIP21 COM MODULE), I HAVE A PLC CJ2M CPU 31 I HAVE DRIVES AND A VALVE BLOCK THE PC IS LIKE OUR CONSOLE SO WHEN I TURN THE PLC ON I WANT TO SEND MAGICK PACKET DIRECT TO THE PC AND TURN IT ON CAN SOME ONE HELP??
  7. Hi guys,  I am sorry for posting same issue over and over but  I really want to get over with this one. The way PLC program setup and actual structure of rack is different.   Could it be a problem when I try send an email from ControlLogix by using MSG command? When I put 1,2 in the path field, It shows Au200_2 but it is supposed to be Au200_3. Any help would be appreciated. Thank you for your time  I really appreciate it.      
  8. Hello guys, I am trying to send an email from controlLogix controller. I have attached pics of where i am stuck with.  Can someone tell me what I have done wrong?  Thanks  
  9. Hi, I have some concern regarding sending an email automatically when an alarm trigger(High, Low Level Alarms - Bit), Is this possible for the software?  Thanks for any reply.
  10. I am having issues trying to send an email using the message instruction and the ENBT module. Attached are snippets of my configuration of my message instruction and the error code that i am getting. I had IT look into it on their side and i shouldn't have any network switch configurations that is blocking the successful delivery of the message. Anyone have any ideas what could be the issue? Thanks!
  11. I'm using AuthSmtp as my mail provider and I need to be able to specify the port number. I can't find a place in the rslogix 500 channel setup to put the port id. Currently I'm giving just giving it the host name 'authsmtp.com. I did try the ip address with the port number xxx.xxx.xxx.xxx:xxxx but that didn't work either. Any thoughts are appreciated.
  12. HERE’S IS A QUICK WAY TO SEND EMAIL (TEXT) MESSAGES FROM THE PLC Sending email messages from the PLC sounds like an easy task. However, very few applications do this on the production floor. This is probable due to the networks involved and using authentication can be complicated. In our example we will use a restricted Gmail SMTP server so no authentication will be required. We will walk through sending email and text messages from the PLC to Google Gmail. Once in your Gmail account, the message can be automatically forwarded to another verified email or SMS text message address. HERE’S IS A QUICK WAY TO SEND EMAIL (TEXT) MESSAGES FROM THE PLCThe PLC used in this case is the Do-More from Automation Direct. The software is Do-More Designer. Here is a blog post that I thought was good to share. Let me know what you think. Garry http://www.accautomation.ca
  13. I can send out an emails when certain conditions have been met, this all work great, is there a way to send out to more then 1 email address? Micrologix 1100, rslogix500 I can't figure out how to send email to more then 1 recipient. Also why would this not be working? Emails work just fine but if I send to (Phone number xxxxxxxxxx@vtext.com) the phone will never get the message. (It's a working phone as it is mine) Thanks
  14. Hi dear all , i need some helping .. I used CJ2M cpu31, then i want to send data (example D100 = 2000) to PC ...essentially i want send value 2000 to my PC.. wherein the PC and PLC conect via internet IP .. What should tool/software may i used ? Thanks before ..