Search the Community

Showing results for tags 'socket program'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 83 results

  1. Hi all , I have been using MELSEC - Q series plc for the past two project i dont find any issue with that but for the third project  used same PLC same model but there is issue which I found unable to resolve  The issue is when i try to communicate PLC using LAN cable by direct ethernet connection it works normally but by communicating using HUB network I cannot communicate, I checked all the parameters setting, I dont know what is the issue even contacted mitshubshi service to troubleshoot but they are not responding  So here i am for your guidence to solve this issue   see the images below to analyse this issue This connection is direct ethernet connection which works normally    The parameters are set and writed to PLC The IP is set to my PC for communication  When i try to find the cpu in the network it shows the cpu IP  After that I checked for connection Test it show error I have also attached the Network route which i used to communicate  Network Drawing.pdf I hope someone will help me to solve this issue Thank you , madhan ravichandran
  2. Hi all, I would like to know how to communicate scale indicator device mettler Toledo ind 320 using  module QJ71C24N-R4 by predefined protocal   I also tired to communicate in CH1 with the G.INPUT instruction to communicate when the device in MT continue mode it does communicate but I dont know how to convert value Now by trying modbus communication predefined protocal works fine but i cannot read data the is no SD/RD transmission happening  Can anyone help me with this  Thank you serial monitor.gxw serial monitor.gxw
  3. Crouzet Millenium 3

    Recently had to get a program out of a millenium 3 plc which I had programmed a few years ago but the cable would not connect.The only difference this time ,as my laptop no longer had a rs232 port,was the use of a USB to rs232 converter. Having trawled the web I managed to find the circuit of the interface cable below. It looks like the signal from the computer uses the negative going part of the pulses which aren't present on most usb to rs232 converters. Is this correct?
  4. Hello, Good Day All. I am facing this issue while I am going to copy old plc to new plc. but old plc having 4965 steps, once going execute this program to new plc its showing more than 8000 steps. please suggest on this. PFA.
  5. I am trying to POST API to a meter in Maximo using a socket in a 5069-L320 controller. I am able to successfully create and open the socket. The write and read instructions get the DN bit but I do not see the meter updating in Maximo. I was able POST successfully using Postman, so I know I am sending the correct information. Do I need to be formatting the POST differently? I'm not getting errors so don't have a direction to go from here. (I will fix the obvious username and password vulnerability, one step at a time) Thanks
  6.   Hello, I downloaded the program from the M251 PLC program, using the SoMachine4.3 environment. However, the downloaded program does not compile because the library is missing. The library is from a different manufacturer. Is it possible to find this library on the M251 PLC device? is there any way?
  7. Hi, I'm new to this forum. I'm trying to talk to a Mettler Toledo load cell with TCP socket on a Omron NX102. The load cell port is 23 (telnet). I can talk to the load cell with my laptop using their software or with Putty without any issues. I use the SktTCPConnect function as follow: SktTCPConnect_instance( Execute :=TRUE, SrcTcpPort :=UINT#0, // Local TCP port number: Automatically assigned. DstAdr :='192.168.250.50', // Remote IP address DstTcpPort :=UINT#23, // Destination TCP port number Socket =>WkSocket); // Socket But the SktTCPConnect instance .Done output never returns true so I can't move forward with the next instructions. I made sure all the SktTCP functions have their Execute inputs intialised to False before that.  In the built-in Ethernet IP port settings, the TCP/UDP message service is set to Use and I left the default 64000 under Port 1 - Port No.  What am I doing wrong? Thanks     
  8. Anyone you know any books,software or educational package to learn plc program at home Please??  
  9. Mitsubishi Fx2n Modbus rtu vfd

    Hello everyone, may you all bless with the best. Can anyone please help me on connecting and programming In Modbus rtu INVT CHF-100A vfd with FX2n having rs485-bd module. I want to connect 11 vfd and one fx2n plc also .
  10. Mitsubishi Fx2n Modbus rtu vfd

    Hello everyone, may you all bless with the best. Can anyone please help me on connecting and programming In Modbus rtu INVT CHF-100A vfd with FX2n having rs485-bd module. I want to connect 11 vfd and one fx2n plc also 
  11. Hello everyone,  I have a Panelview plus 600 ( I know it’s old but I’m trying to get it to work). It’s on a yogurt bucket filler, I don't have any application to run or to do anything. What software do I need on a computer to be able to transfer it to the panelview. Is this even possible?  There is nothing in the memory right now but how to I program it and what program do I use?  I’m in the Los Angeles area and even willing to pay for someone to come and do it.  I need to get this to work, thank you so much. 
  12. MITSUBISHI A1S68AD PROGRAM

    HELLO EVERYONE I am having problem writing in A1S68AD program, please help me out. My system configuration is as :- 1. A1S POWER SUPPLY   2. A2SHCPU   3. A1SJ71AT21B    4. A1S68AD  5. A1S62DA  6. A1SX81-S2 7.  A1SX81-S2  8. A1SX81-S2  9. A1SY10  10. A1SY10  11. A1SY10  12. A1SX80-S2  13. A1SX80-S2 14. A1SY10  This is my existing configuration. But now there is one more slot empty and now i want to add one A1S68AD CARD in the empty slot, i tried writing the program for this card, but plc gives me error. SO, anyone can send me the program with addresses for this card. It will be very helpful as I am new to this A series Mitsubishi PLC. AND HERE BELOW IS THE ATTACHED EXISTING PLC PROGRAM AND SYSTEM IMAGES. PLC PROGRAM.zip
  13. I am trying to online edit a program in a MELSEC QCPU, using GX Works2, but I keep getting this error "A file which does not exist in the PLC was specified" <ES:010a4022> Few weeks ago I had just online edited the same program in the same PLC with the same steps with no problem. There had been no changes to the PLC after that. Just all a sudden when I try to edit yesterday I get this error. Not an expert in Mitsubishi, just started learning the basics. Connection to PLC is by USB cable. Steps I followed to connect to PLC:    -Online > Read from PLC    -Select PLC Series: QCPU (Q mode)    -Select PLC side I/F Serial Setting: Serial USB    -Select all target program to Read, then Execute I am editing the file that I had just read from PLC Steps I followed to online edit:    -Online > Monitor > Monitor (Write mode)    -Execute the function below when mode is changed: Checked all    -Edit the program (basically just deleted one -||- contact and drew back the line)    -Compile > Online Program Change Then Bam! error get! "A file which does not exist in the PLC was specified" <ES:010a4022> I had tried Verify with PLC, but all results match. Is there something I am missing? Help much appreciated!
  14. Hi fellow PLC veterans, I am new in the PLC world so please forgive me if my questions read dumb to you..   I am just wondering if there are any newer PLC machines that can: 1. keep the program even after its battery is completely flat or faulty  (Is this even possible?) 2. allow users to copy and save the program somewhere so one can install the program again without the need/presence of the machine supplier What tools/software may be required?   Thank you for reading and look forward to your response :)
  15. Unconverted Ladder Code?

    Hi All, Please see attached screenshot: Whenever I want to save the ladder program or start simulation, this window pops-up. If I press 'yes' I loose the whole work. I tried to open existing program and modify it, but it did the same. When I clicked 'yes' I lost all modification and just the original program remained. (I made the program in the morning, opened and saved many times but it started popping this window later.) I work with FXCPU series, FX3U/FX3UC type, simple project in ladder. This worked well but now is not anymore. I use Melsoft GX Simulator! Can anyone advise why this is happening? It is very annoying! It is pointless to work on anything now! Many thanks
  16. I have an analog output card 1734-OE2V and there is in the fault/actions page parameters for program mode. What is program mode and when it is activated? Fault mode is clear but... Program should be written the value, but when this happens?
  17. Pumps controlled with counter

    I need som help and suggestion how i can control 2 pumps that shall go 10 times each?i have 2 level sensors that is giving it the start and stop,and pump1 shall start 10 times,then pump2 shall start 10 times.Can i use CNT and how is the best smooth way to do it?   thx
  18. Hello Im trying to read from my PLC but i cannot see the program file.  However, if i try to compare it using other file program, i could see the program file. Is their any restriction in my software?
  19. Sysmac Studio

    Hello ,  Is my frist project on Omron and also on Sysmac Studio .  I have one PLC NX1P2 - 9024DT1 I write a sample program on ST with internal variable ( struct ) but i receive an information that i dont have permition to write on Var  Ps.  I can uploaded file with image   
  20. FX-2NC-32MT PLC program Download

    Hi, There are two machine in the factory controlled by Fx 2nc PLC. One machine control part is not working. It could be for battery failure. But the other one is working properly. In this case can I change the battery?  After that,  is it possible, I upload the program from the good machine PLC and download it to the other machine PLC? Regards Sohel Ahmed
  21. Hello,  When i get error 2003 with sktTCPAccept what is causing it? Can it be caused if something was left open from previous session, is something wrong on server or client side? From F1 help i think error causes can be narrowed down to either open/close processing is in progress for SrcTcpPort although it doesnt specifically state that it causes error 2003. After closing port is there delay needed before i can use sktTCPAccept again?
  22. Hello, We have a FX3G connected to a FX3U-ENET-ADP inside a main cabinet. We are then using that master PLC to collect data from 2 other fx3g plcs in a node:node serial network. I was assigned a small project of pricing out some wireless adapters so we can upload/download to the two slave plcs. My question is, is it possible to upload/download programs to/from the slave plcs through the ENET adapter and serial network in the main plc? It would save us some money if possible. thanks.
  23. I want to send tcp/ip socket directly from 3rd party device to Mitsubishi PLC. The data is in  json format as attached example. Is this possible? I'm totally new to the PLC world  
  24. Hello all, is anybody out there who may read out a program that is stored on a telemecanique cartridge (more or less of 1993)? Program is still running on a TSX 47 40, but have an identical second cartridge. I would send it to him/her even if international post and do not necessarily require the cartridge back. Would be great to have the program as a text file / pdf / hardcopy. Any help appreciated!! Best regards Stefan
  25. I'm trying to send an int over TCP using a MSG Socket,  Compactlogix ==> Arduino Ethernet Shield I have set up TCP communication between two Arduino Uno's using Ethernet shield. I've set up the one as a server, the other as a client. server IP: 192.168.1.21 port 23. If the client is connected it reads incoming data as a byte or an array of bytes. The data between the two has been verified to work. I'm now trying to transition the communications between a compact logix-L32E. I'm looking to send a byte (or int being as there's no byte data type) from the Compactlogix to the Arduino using TCP. To my understanding I need to use a socket create, open, read/write, close. The manual to do this is vague as a step by step procedure. Does anyone have an example code for socket programming? I can open rs500, rs5000, and studio 5000 programs. If I can open a file to use as a reference I can translate it on my own. Any help/advice would be greatly appreciated.