Search the Community

Showing results for tags 'omron keyence ethernet ip union'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 716 results

  1. 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.
  2. 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?  
  3. 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?
  4. 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.
  5. 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?
  6. 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?
  7. 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  
  8. 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
  9. 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 :)
  10. 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.  
  11. 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".  
  12. "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  
  13. NB to CP1L-EM

    Has anyone connected a NB HMI to a CP1L-EM via ETHERNET NB = Node 2 IP 192.168.1.152 PLC = Node 1 IP 192.168.151 Using my Network Switch/HUB NB works fine when setup to com 1 on the PLC (Wrote the PRG using serial) NB says no response from PLC Is there a secret setting in the PLC i need ? ? Rob  
  14. Hello All, I would like to control Powerflex 525 drive with Omron NJ301-1200 PLC via Ethernet/IP (Set speed, start, stop). I've gotten until the part where I downloaded the necessary .eds files of the drive and imported into my Sysmac studio. However, I'm stuck after this point while assigning target variables and Originator variables and eventually setting speed and controlling the vfd. I've attached images for your reference.
  15. 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"
  16. 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
  17. 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
  18. 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!
  19. I'm trying to understand the basics of using a serial to ethernet converter such as this Comtrol DM-EIP-2101, with Studio5000 code. Basically I have a weighing machine that only outputs data via RS-232 and I need to send that data to a PC that will process it through a Studio5000 program and have the data displayed on an HMI using FTview SE. Is it as simple as just connecting the serial and ethernet to the converter and it does all the work? Obviously checking ip addresses and firmware will need to be verified. The main thing I am unsure of is the process of passing the individual data packets from the machine to the Logix code on the PC,  things like what the weight of the item was, was it over weight or under, etc....  Would there be an AOI or tags built into the software for a machine like this Checkweigher? I've worked with much smaller items like Cognex Dataman cameras and I know you can just use their AOI that allows you to simply call a tag if you want to display information like if a scanned barcode was correct or whatever. If anyone has done something similar I'd appreciate any guidance. It can be difficult getting the information from the manufactures so I'm looking for answers anywhere I can. EDIT: I guess I should also clarify that only using one or the other (serial or E/IP) is not an option. It will be a serial connection from the Weighing machine to the converter and then Ethernet to the PC.
  20. HMI Replacement Options

    Hello! We are looking to find a replacement for our Omron NS Screens in what seems like about 20 systems...there are so many third party/other vendor options available, I am honestly overwhelmed, so I thought maybe some of you had great experience with other vendors screens that I could look into using in our equipment.  The screen will have to communicate with an Omron CJ PLC, serial or Ethernet is fine, Ethernet is preferred.  Would also prefer screens that actually have Omron drivers.   Thank you!!
  21. Hi to everyone!   Our company is planning to build >10 same machines. Some features will be developed later down the road. And here I'm facing a problem where I need to start tracking PLC and HMI program build revisions. Has Omron any internal tools to generate program build revision? Regards, Scotty
  22. Hi all, I'm new here and need an opinion from you guys on how to set the Gateway for PLC CP2E in CX Programmer ? From my discussion with supplier (OMRON), they mentioned it was unable to set any gateway for CP2E model but I found on some sources that for previous model for CP1L is able to set the gateway. Supposed to be the Gateway function can be supported by latest model, am I right ? Need an explanation on this, Thank You
  23. I'm trying to set up an Ethernet/IP communication with a CIP block between a Micro850 and a SMC EX600-sen3 pneumatic Module. I can read the inputs of the module with the configuration below, but I CANT write to SET or RESET the digital outputs. There are NO errors showing communications issues in the CIP Generic Block I am using... I read that for some reason, it seems that there are problems with writing thru Ethernet/IP protocol between Micro family and other devices not from Rockwell... Does anyone know if there is a way to make it work? Configuration that is working to READ: CIP Service Code:     14 CIP Class ID:         4 CIP Instance ID:     100 CIP Attribute:         3 CIP Member ID:         0 Configuration that is NOT working to WRITE: CIP Service Code:     16 CIP Class ID:         4 CIP Instance ID:     150 CIP Attribute:         3 CIP Member ID:         0
  24. I would like to get some feedback or alternate suggestions in terms of monitoring a database connection. The attachment here shows the current programming for the DB_Connect function block which requires the Execute input to constantly be ON.  From what I can tell, if the connection is dropped - let's just say the Ethernet cable is unplugged - this input will still be on, and according to the function block, still connected. The Get1minClk is in place to continuously try establish this connection once powered on, but I cannot find any way to periodically check this connection without dropping it and reestablishing it.  My understanding is the _DBC_Status.Run only checks that the PLC service is running properly, but is there a way to monitor a heartbeat of the connection TO the database?  The only way I've found thus far is to drop the connection and reconnect.  But this would be detrimental to the system as it would possibly be reconnecting to the database while trying to write to out to it and hold up the show.  As it stands in the second image, the Ethernet cable is unplugged, but the connection shows no errors. Thanks and happy Friday! -K  
  25. Hello,  I am using Omron’s safety G7SA to relay 24 volt line. But the strange thing happening is that, one relay’s output is only 5 voltage, even the relay is on. I exchanged relays, it remains the same. Maybe the base socket is problematic?  Or is this just G7SA failure? 5v (exactly 4.96v) is strange. Please give me some advice.   Many thanks in advance.   Ting