Search the Community

Showing results for tags 'send'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 5 results

  1. 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
  2. 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?
  3. 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??
  4. 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
  5. 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 ..