Search the Community

Showing results for tags 'omron modbus'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 708 results

  1. QJ71E71-100 MODBUS TCP

    Hi, This is Kaviraj. I am using Q06udv cpu + 3 ethernet cards ( 1 eth card for kepware connect , other two cards for modbus tcp connecting 16 GOC43 devices through predefine protocol). I am getting the data to PLC but facing below issue.  Problem-01 (major) in 2nd and 3rd card i am facing X19 (Initial normal completion signal) bit OFF after some time randomly like 1 or 2 hours later. Problem-02 Connection ports are closing regularly like  1.5 sec to 2sec after port open status. so i am managing by executing port open instruction instantly after 200ms of port close status. Need help, pls support.     
  2. problems with CP1H analog input

    i am new to cp1h and have problems with getting analogs signals inn from input 200
  3. I am currently trying to connect my OMRON NX1P2 1040DT1 (Using CIF-105) to my Unitronics V570 PLC, With my OMRON PLC as Master. It seems as if Unitonics Rs485 only wants a six-wire connection type but my OMRON PLC wants a 2-wire or 4-wire connection, Wondering if anyone has a solution to my problem and can assist me.  
  4. Hello, I have a question about AlarmViewer in NA HMI panels. I found that I can't control what type of messages to show. I have a user information messages showed on one of the screens and I would liike to illuminate one of the events that cause the event to appear. I can't find how can I show raised or cleared user alarms only. It always shows me when it was raised and when it was cleared. In example when I have auto-clear (impulse of added condition into alarm event). Any solution how to create a log for events without showing raised/cleared/acknowledge? Thanks, Scotty
  5. I have been trying to connect to my nt21 hmi and I keep getting timeout error. I am able to connect to the plc with the same driver. So I know my cable is connected fine. I set the settings of the driver to match the hmi settings and still times out. Can someone please share the steps to take to send an application to this hmi?
  6. I have been trying to connect to my nt21 hmi and I keep getting timeout error. I am able to connect to the plc with the same driver. So I know my cable is connected fine. I set the settings of the driver to match the hmi settings and still times out. Can someone please share the steps to take to send an application to this hmi?
  7. View File NJ/NX Get IP Address A Library containing a function Block that can be run on any Omron NJ or NX PLC. The Function Block will retrieve the host PLC's IP address, Subnet Mask, Gateway, and MAC Address. The Port Details are presented through 2 structures , 1 per-port. In the event the PLC only has one port the structure for Port 2 will be blank. Submitter photovoltaic Submitted 12/12/22 Category PLC Sample Code
  8. NJ/NX Get IP Address

    Version 1.0.0

    76 downloads

    A Library containing a function Block that can be run on any Omron NJ or NX PLC. The Function Block will retrieve the host PLC's IP address, Subnet Mask, Gateway, and MAC Address. The Port Details are displayed through 2 structures , 1 per-port. In the event you only have 1 Ethernet port then the structure for the 2nd port will contain all 0s. Data Format: IP Address - USINT[4] Subnet - USINT[4] Gateway - USINT[4] MAC - BYTE[6]  (hex value) Access the retrieved details by the typical parent-child tag structure. ex. Port_1_Detals.IP_Address[0] will get the first octet of Port 1's IP. Tested on: NX1P2, NX102, NX502, NX7, and NJ301 IMPORTANT: This Function Block should not be run immediately after startup. Allow the PLC a few seconds to establish a connection with the Ethernet network.
  9. Hi,   I'm developing an application in C# and need to communicate with a plc omron NX1P2. How can i do it? With cx-compolet? Or is there another way?  
  10. HI, I'm reading values from an SBC SAIA PLC ( PCD2.M5540 model). My problem is that some values are 32 bit, while modbus return 16 bit values, of course. Registers are consecutive, so I cannot read for example 9008 and 9009 since they store 2 different information.To make it clearer I attach the PLC watch window. As you can see R9009 is a 32 bit value, but I can't require R9009 and R9010 via modbus since in R9010 register there is a different information. AS well as in R9008. Speaking with SAIA technical support, they explain me that their PLC registers are natively 32 bit, so in order to read them I need a 32bit modbus client. I cannot find anything like this, neither I can use standard modbus, since the buffer I get back is a 16 bit for each register. So 16bit for R9008, 16bit for R9009, 16 bit for R9010. What I can do?Thanks
  11. Is there an efficient tool to manage and validate CX-Programmer addressing. Requirements: - Highlight Duplicate Address allocation - Compact/Defrag address range to avoid wasting memory space. Note: - Any FINS addressing will have to be reconfigured - This approach assumes symbol use rather than direct addressing in the logic.
  12. 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?
  13. I am trying to use Reusable files, but it is greyed out. Is there a setting that needs to be enabled to activate it? I am using CX-Programmer v 9.74 Update 1: Apparently, when you create a data structure this gets greyed out  
  14. Hi all,  I am trying to modify the date and time of several PLCs from other PLC. Them are all CJ2M, and they are all in the same ethernet network (192.168.100.xx) and in the same FINS network (#1). I am doing it using the FINS command 07 02 ("CLOCK WRITE") with the CMND2 instruction. It is not working entirely: the clock time is being modified at the specified node; however, I do not get the FINS response (expected 07 02 00 00). If I modify the number of retries of the CMND2, the command is repeated all the specified retries though the clock was already written on the first try.  The D+0 and D+1 (response channels) are always #0; nevertheless, the I+1 ("Communication Completion Code" channel) allways receives #205. Acording to the manuals, this code is for "Response Timeout". I have tested it with 10 retries and with 10.0 seconds of monitoring response time, but it is working in the same way: the clock is modified fast enough, but I am not getting the FINS Response and the I+0.00 bit is ON after 100 seconds...  I have been also doing tests with the OMRON's Etherway Software, sending the same FINS command, and here I am getting the response properly. (???) I would say the FINS network was set-up correctly. All the PLC were set in network #1 with Cx-Integrator. In fact, they are currently sharing several channels using the SEND command on this network #1. I don't know what I am not doing right... Any idea?  The ladder is attached as .cxp and as .png. Thanks a lot.  Best regards.  CLOCK_WRITE.cxp
  15. Array A INT[32] Array Index B INT Destination C INT I am trying to move an Array (A) Element (A[2]) using a symbol (B) in ladder into a destination symbol (C) C = A [ B ] Result: ERROR: Array Index of Operand 1 out of range at rung 1 ( 6, 0 ).  The documentation suggests that it is possible, but I am unsure if there is something I am doing incorrectly. Note* Fixed indexing works with no errors Is there another method to accomplish this?   PLC : CJ2M CPU31 CX- Programmer: Verion 9.74 Update 1: If I go online to the PLC It does look like the array look up is working. Is the issue with the mov block? Update 2: I changed the memory locations which has caused a different error to appear. This error is clearer but does not explain the manual excerpt I posted further up ERROR: Only the constant can be specified for the index of the array.  at rung 5 ( 6, 0 ).  Update 3: Solution 1 I managed to hack together a proof of concept using pointers and indirect offsets  Update 4: Solution 2 For some strange reason things work as expected inside of the function blocks so I made one where the array is In-Out and with an input and output respectively. Note* External reference to pointers inside of the function block produced an error. Function block Logic     Update 5: Solution 3 Now I feel like I am going crazy, I tried just the original code again and it works... I have no idea why and if it was not for all the documentation I would be lost as to why it works now... Update 6: Conclusion It seems to have array indexing work the array index must exist in the D Memory Block. The reason it did not work above is because I somehow had a MOVR block when I tested after moving all the variables to the D Memory Block. I hope this journey helps someone else :)
  16. 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.  
  17. Hello, everyone! I am following this YouTube tutorial where it teaches you how to add a block of Modbus server within Studio 5000 for communication with plc ControlLogix. The video: https://youtu.be/qcF4m7rPjkw However, according to a comment from the author of the video himself in my comment I can make such a connection through a Modbus device. How do I do this within ur5 and how can i access UR5 inside Studio 5000?
  18. Gx Simulator3 and TCP modbus

    Hi, I'm new to the Mitsubishi world, so may be anyone help me in a quick! I need to test a my client with the Mitsubishi MODBUS tcp.  To do this I would like to avoid use a real plc and use  the Gx Simulator3 that come with the Gx Works3. The question is: the Gx Simulator3 is capable to simulate a MODBUS tcp module? To be more specific I tried this: - created a project in  Gx Works3 with a FX5U CPU. - configured the FX5U built-in ethernet module with IP address of the hosting pc (also tried 127.0.0.1 with no success). - activated and configured the MODBUS muster to the built-in ethernet module. - wrote a trivial ladder program with a 1 input and 1 coil. I can download and run the project on the Gx Simulator3 but I cannot connect to tcp port 502 that I supposed opened by the MODBUS muster functionality of the build-in ethernet module. Do anyone know if the Gx Simulator is able to simulate modbus tcp functionality?   Thanks in Advance Luciano.       
  19. Modbus Tcp Ip Simulate

    Hi guys I need to test some code in an FX5U PLC,  but I don't have the PLC here so I'm trying to simulate it in melsoft gx works 3, but how I can test the Modbus tcp/ip if I do not have an IP address for the plc  someone has ever communicate both software, gx works 3 an som modbus master software ??
  20. "PLC No Response" NB HMI Omron

    Hello Everybody, I continued to work on project this morning but I seem to be plagued with the "PLC No Response" error. This error will only come up when I assign a PLC address to a particular object.  I have followed the steps in the post(https://forums.mrplc.com/index.php?/topic/39885-nb-designer-hmi-plc-no-response-error-solved/) to try and clear the error but am having no luck. In the screenshot I have assigned the large "Start Process" as a bit button with the write address being W50.00. When the button is pressed it should trigger a bit in the PLC but this is when the error appears. During this test I am connected to the PLC and in run mode with the PLC and HMI address assigned correctly. I have read and followed the section in the manual regarding "PLC No Response" but still no positive results.  I just want to check that there is nothing I have done at a programmer end that could cause these issues. I am happy to provide files. Thanks, Ryan  
  21. FX5U Modbus-TCP Server (Slave)

    Hello everybody. I need a solution for Modbus-TCP server on the PLC. With the FX3U it would work with the FX3U-ENET module. The internal interface of the FX5U should actually be able to work with the library of the FX3U (FX3GModbusTCPServer_GW2_V100) or not? Because a socket connection is now possible. I would be happy about suggestions. Dave
  22. Hi community, i need help .... I want to connect my HMI GOT 1455 to a PLC OMRON CP2MC by RS-232, but i cant do it. I'm using the following connection: HMI GOT1455   -    PLC CPM2C (Interfaz CS1W-CN118)              2 (RX)          -            2 (TX)              3 (TX)          -            3 (RX)              5 (SG)         -            9 (SG)                                 -            4 (RTS)                                 -            5 (CTS) * PIN 4 (RTS) IS CONNECTED WITH PIN 5 (CTS) In the HMI I configurated driver OMRON SYSMAC, CHANNEL 2 RS-232, TRANSMISSION SPEED 19.200, DATA BIT 7, STOP BIT 2, PARITY EVEN. But with all of that I can't connect both devices. In the PLC i can see the led COMM blinking, so it should have communication, but the HMI show me "Communication error. Refer to System Alarm in Utility Menu"
  23. halo, i'm newbie in HMI and PLC. i have a problem connect HMI omron NB7W-TW00B TO PLC OMRON CP1E. i done setting same baudrate,data bit,parity check, and stop bit in HMI and PLC and i use nb designer for create a HMI display. and this is attachment: a cx programmer, bit switch and bit lamp in nb designer. and the output in hmi is [2]PLC No Response:00-00-1 can you help me? thanks
  24. Hello all, I am looking into creating a system where I have an NX102 in a main panel, and numerous satellite panels (up to 20) with EtherCat Slaves which would then have daisy-chained EtherCat slaves. Essentially, the main panel would need a GX-JC06 to allow branching out, but this only has 6 ports.  1 of them would be used to connect to the master (NX102), but would I be able to connect one GX-JC06 to another?  I highly doubt the GX-JC06 behaves like a typical router, but I can't find any documentation about creating more than 5 branches. Thanks, K
  25. CP1E won't connect or run program

    Hi there! Today a CP1E-E10DR-D suddenly stopped working. RUN led was off and I couldn't connect to it via USB getting this error: "Selected port does not exist. Select proper port number from Change PLC dialog and press OK button", and automatic online function didn't work as well(it's not a cable/driver problem since I successfully connected to a CJ2 CPU using same cable and PC). Since I also tried to connect with the CPU outside the control cabinet with no success, I asume there is something wrong at hardware level.  My question is, have you ever faced something like this? My plan is to try to revive it somehow (maybe trying to locate any defective component in the PCBs or something). So I was just wondering if you have any advice in order to achieve it.  Thanks in advance!