Search the Community

Showing results for tags 'universal serial to ethernet'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 306 results

  1. Hi, has anyone tried to get a Mitsubishi iQ-R to communicate with the Keyence IV3 series cameras over Ethernet/IP?  There are videos about how to use the IV3 with Allen-Bradley (Rockwell) PLCs but Rockwell's implementation of EIP is completely different from Mitsubishi's implementation. I am using an existing system with the RJ71EIP91, I have the IV3 EDS file added to the Ethernet/IP Configuration Toll for RJ71EIP91 software, I know I need to add the IV3, set the IP address and connection number. But how do I access the data, and send the trigger for the IV3? The instruction videos for Allen-Bradley uses the I/O tree to create tags and pre-made AOI's to create the logic to do all of the communication work in the PLC code, which is a process that I am familiar with. However, none of that is relevant to the Mitsubishi PLCs.  I figure I have to use somethning like Uxx\Gxxxxxxx in my logic to access the data for the IV3 from the RJ71EIP91 module but not sure how to get that to and from the actual IV3. Does anyone have any ideas? (sorry my initial post was blank, accidentally prematurely posted).        
  2. Pilz & FX5U communication

    Hello, I am relatively new to gxworks and I am struggling to find any help online regarding communicating between a pilz and fx5u. I am trying to communicate between a pilz m b0 & m ES Eth to a FX5U PLC. I am not having any luck with them communicating with each other. On the ethernet configuration on GX works 3 I am getting a constant ‘connecting’ in the TCP status section. I have function blocks setup in the code. The ip address is correctly set on the pilz unit. The PLC and pilz are connected to each other with an ethernet switch, when I am connected to the switch from my laptop I can go online with them both at the same time. If you require anymore information please ask, I understand I am may be missing something. Any help would be very much appreciated
  3. I've setup an Omron NX102 PLC with two CIF105 cards communicating with about 40 MX2 VSD's (20 on each card). Generally it works pretty well. I used the attached document to set up the devices. The links on the document to the examples don't work, so I'm unsure if I missed anything. My problem is that every day, sometimes multiple times a day the communication seems to die. i.e I either loose the output to the VSD and nothing will run. Or it all runs but I loose the feedback, as in I get no running signal even though the drives are running causing a fault in my program. I'm at a bit of a loss as to what might be causing the issue. To resolve it, I put the PLC into program mode and back into run mode and everything is happy again.    Has anyone had a similar issue or offer any advise? MX2_Control_Serial.pdf
  4. Hi Everyone,I have a customer that needs a CQM1H (CPU51) replaced. They purchased the processor new-old-stock from a source they found online. It arrived in the original packaging and had the safety label around the top of the unit, so it seems that it is as advertised and no need to suspect that it would have problems. I purchased secondhand, a power supply to attach to it and program it from the bench instead of in the machine. The customer also provided me with an SD card containing the project file(s) for the machine. I am able to load the project in CX-ONE (running on Win 7) just fine. My computer has a native serial port (COM1) and I built a programming cable to work with the DB9 peripheral port according to a diagram I found online.The processor powers up right away with the ERR/ALM continuously on. No other LEDs came on initially, and after a bit of playing around with communications settings, I finally landed the right protocol and my computer seemed to identify the processor correctly. I compiled the source and attempted a transfer to the PLC. I got some failed message (or maybe messages) at the end of the transfer. It did seem to send all of the binary code, it just ended with an error message that I unfortunately didn't write down or grab a screenshot.Anyway, what I have now is a PLC processor with the ERR/ALM LED on always, I've never seen it in RUN mode, and now after the programming attempt, I'm seeing the COMM LED strobing at about a .5sec frequency (with or without a cable attached to the peripheral port), AND I cannot get CX-Programmer to again acknowledge the processor anymore. I'd like to reset this back to the way it arrived to me, but can't figure out how to make that happen offline. The DIP switches don't seem to cause that effect. I should say also that the DIP switch settings are all OFF except 3 and 7.Any help is much appreciated!Thanks,John  
  5. Hi everyone , I need your help !!! I am currently working on a project where I have to control a stepper motor (oriental motor AZD CEP) with a proface HMI. To do this I use implicit Ethernet IP messaging. The problem is this: when I change screens, I lose the connection between the two devices. After 20-30 seconds, the connection is reestablished. I've already spent two days on it and I can't figure out where the problem is coming from. Does anyone have any idea what's wrong? If you need additional information or screenshots to understand, let me know. Thank you in advance for your help.
  6. 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
  7. Hi there! I've been looking for some fault codes table for the 1734-AENTR adapters, since I'd like to show a message in HMI with some information when there is a faulty adapter, but I haven't found anything on the internet. So my question is, is there any type of table like this for these adapters? Right now I have a PLC with some AENTR adapters in the program for testing, and since there is actually no adapter connected to it, I can see a 16#2024 error in the module properties, but can't seem to find that info in the module variables.   Do you guys have any clue on how to find this information in order to show it?   Thanks in advance!
  8. Good afternoon, I've done a bit of research in regards to running a Zebra printer via ethernet from an Omron PLC but there's not much info out there. Has anyone had much success printing barcodes to a Zebra printer from PLC via ethernet? I'm using an Omron NA5 (HMI) which I've designed to displays 12 different buttons indicating different barcodes, but I'm unsure how to link these buttons to the specific barcode files that I've created in Zebra Designer.. Would anyone know how I might be able to accomplish this?
  9. Hi All, I am working on a project using and NJ101 to communicate via CIP Ethernet to a PC based vision system. The vendor that makes the vision software has previously only worked with Allan Bradley PLC's and only knows how to setup communication using the Generic Ethernet Bridge. From what I can see this Generic Ethernet Bridge is essentially a generic EDS file that you are adding some parameters to (Input Instance, Output Instance, Configuration Instance) and it takes care of the setup. Is there any way to do this with Omron Sysmac Studio or Network Configurator? I have had some success CIPOpen, CIPSend, CIPClose function blocks but it is pretty clunky, I would prefer to have something more cyclic running in the background more like a standard Ethernet IP device.
  10. Hello, I was wondering if it would be possible to get a click PLC to communicate with a Fanuc robot over ethernet/IP when the robot has the ethernet/IP adapter package.  I am a little new to this, but I am worried that I might have to have a scanner / master in order to be able to communicate over ethernet/IP.  Thanks in advance for the assistance. 
  11. I am trying to connect a Panel PC (Bartec RS-422) and an Omron PLC (CJ2H RS-232) I am using a Kinematics 2199 RS232 to RS422 converter. Results: Testing software Multiway v9.5 1) Using a usb to rs-232 cable on another PC     - I am able to send and receive a hostlink commands between the panel rs-422 converter and the PC rs-232. commands come through correctly 2) Using the PC to connect to the PLC     - If I connect directly to the PLC using the usb to serial cable and a short adapter I made to map the Omron PLC pin out 2-2,3-3, 5-9, I can send and receive hostlink commands to the PLC. Everything works as expected 3) Using the Panel and the USB Cable    - If I connect the usb converter to the Panel I am also able to communicate with the PLC 4) using the RS-422 port on the Panel     - If I connect the panel RS-422 port and converter and then connect to the PLC. I can only send commands; I cannot get any responses come through from the PLC. My converter box has LEDs on the RX and TX channels and I can see the PLC tries to send something. But something must be corrupted as multiway does not show and response.  I have tried a bunch of things but I am at a loss on how to diagnose this issue. Since I can get the two PCs talking to each other sending and receiving, I can rule out any wiring issue between the converter box and Panel.  Since I can plug the USB into the Panel and get it to work correctly, I can rule out any operating system issues and PLC configuration issues. The only link I cannot verify is that from the converter box to the PLC, I am not sure if the PLC can push hostlink data that has not been requested.  I have no idea why I can write to the PLC but not read. If anyone can provide any insights, I would greatly appreciate it, It has been two days and I am stuck. I am looking at maybe getting a logic analyzer to try and see what the PLC is sending back, but that will be months away.  I am happy to try any suggestions       
  12. Send data TXD548)

    Hi,   After a long time, searching for missing communication I think to have found the cause. In this CMP2A plc there is a receiving device connected to the RS-232 port. . During operation it can happen that in the same cycle there will be 2 functions to send different data.. I never receive those 2 data,  only 1 is received. I can set a delay for sending this but this seems to be 'overkill', Is there a simpler way to do this..? The 2 pics are part of the program. After putting the P_off before the other transmits, I always receive the TXD(48) DM1621...   Please advise,      
  13. Remote reset R08 PLC from HMI

    Hi , I would like to perform remote reset the R08 PLC from the HMI in order to reset the communication. Please let me know, if there is a way to reset the Modbus port as well. Thanks in advance !!!
  14. Remote reset R08 PLC from HMI

    Hi , I would like to perform remote reset the R08 PLC from the HMI in order to reset the communication. Please let me know, if there is a way to reset the Modbus port as well. Thanks in advance !!!
  15. I currently have two NX1P2 PLCs communicating back and forth over ethernet IP. However, I am looking to expand this project across multiple PLCs and I need a way for one PLC to see all other PLCs that are connected to the LAN network via Ethernet IP. I can use the _EIP_EstbTargetSta[255] function which is a boolean value that returns true if there is an established connection  to a device where the last octet of the IP is specified in the array [255].  This function works well but my PLCs are configured with the subnet 255.255.0.0. And I need to see the connection status based on the third octet. Is there an existing function that I can use, or is there a way to view the full structured text for the _EIP_EstbTargetSta[255] function and modify it to suite my specific application? 
  16. Hi everyone! I am attempting to read EIP tags from an Allen-Bradley ControlLogix from an Omron NX1P2 using the Sysmac Studio function block "CIPUCMMRead." I have been successful in reading arrays and single variables no problem. However, when I want to read arrays from a structure in the Allen-Bradley PLC, I always get an error code in the CIPUCMMRead ErrorID of either 0400 or 1C00 for ErrorID and ErrorIDEx is FF00 2105 depending on what I enter in for Size on the function block (attaching screenshots with both error codes).   The errors show on multiple "read" function blocks at once but it only affects data coming out of the function block where I try to read in a BOOL array from a structure in the ControlLogix PLC. If I enter a UINT#1 for the Size, I get ErrorID 0400. If I enter UINT#2, 3, or 4, I get ErrorID 1C00 with ErrorIDEx being FF00 2105. I've been digging for a while and can't find that specific combo of codes, but it looks like it's a size issue. From what I can tell, the Size is in Bytes. So if I have 32 Bools it should be a Size of UINT#4 max, right? Any help would be greatly appreciated! The function block having issues is setup the exact same as the other two that read from the same structure; I even copied and pasted them from each other and just changed the FB name and the postfix in the SrcDat string (from MyBools to MyDints/MyReals). Here are the screenshot: 1. Allen-Bradley Structure 2. CIPUCMMRead Function Block with size 4 3. CIPUCMMRead Function Block with size 1
  17. Omron FINS/TCP Reconnecting

    Hey I'm trying to implement reconnecting for FINS/TCP protocol, according to W421 Omron documentation (link: https://assets.omron.eu/downloads/manual/en/v4/w421_cj1w-etn21_cs1w-etn21_ethernet_units_-_construction_of_applications_operation_manual_en.pdf ), but it not working. According to diagram in 7-4 section at 183 page, after connection lost and restore connection to the Internet, Client(PC) should again connect with PLC using the same Client(PC) FINS Node Id. PLC should detect connection error and response with error code 00000021 hexadecimal: Specified node is already connected. It works. After this should I close socket (created after restore connection) or this socket should be closed automatically by PLC? Then I should create new socket (third) and connect with the same Client(PC) FINS Node Id should be possible. But i've got "Specified node is already connected" error again. PLC dosn't forget before connection. Why? What I'am doing wrong?   // Client FINS Node id = 50, Server FINS Node id = 10. Standard communication works public void TestReconnect() { // connect on TCP Layer this.tcpClient.Connect(base.ipEndpoint); // NADS Frame - finsClientNode = 0 - autoallocation this.SendNodeAddressDataSend(); // Power interruption!!! // creating new socket, old socket is unavailable this.tcpClient = new TcpClient(); // connect on TCP Layer this.tcpClient.Connect(base.ipEndpoint); // NADS Frame - use finsClientNode autoallocated before // should return error "The specified node is already connected." this.SendNodeAddressDataSend(); // disconnect on TCP Layer, should i do this? this.tcpClient.Close(); // creating new socket, old socket was closed this.tcpClient = new TcpClient(); // connect on TCP Layer this.tcpClient.Connect(base.ipEndpoint); // NADS Frame - use finsClientNode autoallocated before // shouldn't return error "The specified node is already connected." // because connection with this node was closed before this.SendNodeAddressDataSend(); } private NodeAddressDataSendResponse SendNodeAddressDataSend() { /* byte clientNodeId = finsRequestDataProvider.GetClientNodeId(); byte[] header = new byte[] { F, I, N, S, // 'F' 'I' 'N' 'S' 0x00, 0x00, 0x00, 0x0C, // 12 Bytes expected 0x00, 0x00, 0x00, 0x00, // NADS Command (0 Client to server, 1 server to client) 0x00, 0x00, 0x00, 0x00, // Error code (Not used) 0x00, 0x00, 0x00, clientNodeId // Client node address, 0 = auto assigned };*/ var nodeAddressDataSendRequest = this.finsRequestFactory.CreateNodeAddressDataSendRequest(); var nodeAddressDataSendResponse = this.Execute(nodeAddressDataSendRequest); this.finsRequestDataProvider.StoreAutoallocatedNodeId(nodeAddressDataSendResponse.ClientNodeId, nodeAddressDataSendResponse.ServerNodeId); return nodeAddressDataSendResponse; }   Thanks for any help          
  18. CP1L Serial TXD Data Error

    Hi, I have a problem with serial communication (no protocol) using rs485 module, the received data is error. I'm using CP1L CPU, CP1W-CIF11 module as transmitter, and USB to RS485 converter as receiver. When I check the received data on PC, it's incorrect (bit error?). I just send 2 bytes data, 0x61 ('a') and 0x62 ('b'). My configuration: DIP switch CPU 4 = off, DIP switch CIF11 1 to 6 = on,on,on,off,off,off, 2 wire RS485. (I also attached the program and settings) https://postimg.cc/gallery/pr293Jc   Could you help me to solve this problem? Thanks   Program and Settings:     Result:   
  19. Serial question

    I have a cell phone modem connected to my Omron CP1L on serial 2   Here is the issue  I need to pull the phone number out of the msg received (receiving text messages)  I receive a text msg and a lot of other crap like time and date ect. RDX says store in D100 the problem is that after I receive the SMS I see the phone number and copy the number to D200 to D2xx The next text comes in and it is added to the length of the previous text and the new phone number is not in the same D area as the first.  It seems the only time the serial port works is if you declare 20 characters and you get 20 characters Works every time. But sometimes I may get 12 characters and other times I can get more than 100. I have used the restart and clear port command with no luck.  If I set RDX to a large number and receive complete will not come on and the next receive will be added to the first.  I need a clear buffer for each receive.  How do I get around this?  If you set the RDX to 10 but 12 characters were received the 2 extra characters will be in the buffer and added to the next receive.  I can’t use end receive if x because there is nothing that is always available in the msg. And even if I do any characters received after end code is left in the buffer and screws up the next receive. I have never seen anything like this. Any ideas? Thanks Rob  
  20. Hi. what i've gathered, i need an EDS-file for the siemens s7-1200-system to be able to specify an ethernet connection in sysmac from the omron plc side to connect to the siemens ethernet/ip server. Anyone know where or how to get an EDS file for the siemens plc so i can import it into EIPprofiles in sysmac?
  21. GOT2000 <-> Omron CJ PLC

    I have an application where I'm using GOT2000 to read data from the weighing unit using RS232 and I send this value to Omron CJ2M through Ethernet/IP. Some variables from that PLC are connected to the elements of the HMI. The problem is when writing the weight value to the PLC through script or Data Transfer is disabled, the RS232 reading works fine, it's fast, etc. However, when I enable the script which writes data to the PLC, the RS232 slows down by a lot, like it refreshes every 2-3 seconds. If i set the script to execute like every 1-2 seconds, it is working better (still slower compared to when the script is disabled) but I cannot leave it like this, because the weight is used to control some valves, pumps, etc. Enabling script doesn't slow down normal communication with PLC, because I tried to test it by displaying the value of seconds from PLC on the HMI and it refreshes every second. Does anyone have idea why such tiny script causes so many problems with RS232?
  22. I'm trying to exchange some data between two controllers. I've used a manual which describes Tag Datalink communication. Everything works fine on the Bradley side, which means I can read values from Omron without problems. However, on the CJ it isn't working. In the Network Configurator I get error every 10 sec (Tag data ling error, code 03D5) and cannot read any data from AB. When I open Connection Structure Tree I see that the input tagset from AB has 'Broken path (0000000000000)' and Unknown Device right next to IP address. I've tried using EDS from the Rockwell as well as uploading it from AB PLC directly - I don't know if it might be EDS issue. The only thing I noticed that inside CJ2M-EIP21 EDS it says that Ethernet/IP is Class 1 connection, however in the 1769-L35E EDS Ethernet/IP is Class 2 connection. Have anyone ever had such a problem?
  23. Has anyone have any experience getting a Wieland Safety plc (SP-COP1-ENI) communicate with an Omron Plc (NX102) via Ethernet/IP? EDS file installed, connection is set as per the documentation yet  I cannot get it connected.  
  24. Error **03 Special Parameter Error

    Hello I have a problem whit PLC mitsubishi FX3U thernet communication, we have a module  FX3u-ENET-ADP. and we have the error "**03 Special Parameter Error".  
  25. Serial Port issue

    Sorry its long !! I am recieving text from a GSM modem for text msg Send and receive (SMS) works ok but would be better if I could make use of the start code and end code. This way I could cut down on all the crap that is received when a text arrives. I get this  CMTI: "SM",0 I have it stored into D80 and I have that trigger a TXD that sends AT+CMGRD=0 and that tells the GSM to send the msg (The 0 is the current msg in memory) ------ The problem is that there is Carriage  Return and Line Feeds in the received msg ----      AS below ((AT+CMGRD=0 +CMGRD: "REC UNREAD","+19028991212","","22/10/20,16:57:54-16"  Hello this is the msg  OK)) When the PLC sees the carriage return it stops receiving data. And I have no start code or end code setup. (I am using characters received) The way around this is to set a high  character count in the RXD (More than the actual msg (More than the msg length)   The main issue with that is I get garbage in as the msg gets bigger. Its unreliable. I clear the port after each receive and that helps but still get the odd garbage. (Never get garbage when connected to a terminal prg). Any Ideas???? ps Even the Start Code is unreliable as it will start receiving a few characters late. Rob