Search the Community

Showing results for tags 'omron ethernet/ip'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 692 results

  1. Hello Everyone, I am writing one logic and need some help regarding that logic.   CURRENT LOGIC -  -There are two timers TON_1 and TON_2. -TON_1 timer will start as soon as PLC turns on. -After the done bit of TON_1 timer, the TON_2 timer goes on. -After the done bit of TON_2 timer, again the TON_1 timer will start. -This logic cycle will run continuously, both timers will run turn by turn. Code (Codesys/Schneider Eco Structure Machine Expert)- PROGRAM POU_1 VAR      TON_1: TON;     TON_2: TON; END_VAR TON_1(IN:=(NOT(TON_2.Q)) , PT:= T#100S); TON_2(IN:=(TON_1.Q) AND (NOT(TON_2.Q)) , PT:= T#20S);   Actual Requirement -  -There is a BOOL tag. -If the BOOL tag gets high during the TON_1 running, the logic should move to the TON_2 immediately. -If the BOOL tag does not get high during the TON_1 running, the logic should move to the TON_2 after completion of TON_1. -after the completion of TON_2, again restart TON_1. -Logic Runs continuously in a cyclic mode.   Give me your valuable idea to fulfill the logic requirement.
  2. Fatek Ethernet PLC Module online

    Dear All,  Anybody can help me in communication between Fatek 20MAR2 & CBEH2A. The jumpers setting are JP1 is on left two pins (No password protected) & JP3 is on right two pins (forced boot operation mode). The Ethernet cable i used is type b T568. Fatek Ethernet module config software detecting module successfully (shown in attached pic) but on online PLC via ethernet cable its showing connection failed.   please help   thanks in advance
  3. Hi everyone, To explain the problem a little bit: I have 2 systems that are equal, they have 1 PLC, 1 Inverter and 1 Servo Axis (Image01). The devices are connected via EtherCat. The thing here is tht in these systems the PLC and Servo Axis is the same but the inverter is different. My goal is to have the same project on both systems and depending on the inverter detected use the correct program. What worked: If I add the 2 Inverters and 2 Servo Axis on the project on different nodes (Image02), I can detect which is present using the variable _EC_EntrySlavTb[n]. My issue is that if I want to make more replicas of the systems using different inverters I will eventually hit the Axis Number limit for the PLC while in reality I am only using on Servo Axis at a time. What I wanted: I would like to be able to control 1 Servo Axis with 2 different inverters (only one active per PLC) (Image03). What I tried: The axis parameters can be set using a variable of the type _sAXIS_PARAM, however it seems that the option to change the axis basic settings is not available (Manual: NJ/NX-series Motion Control Instructions Reference Manual (W508) page 5-58) (Image04). The axis basic settings is where the definition of the output device plus control words are set (Image05). Is there a work around to solve this issue? I would really like to avoid having to manually change the output device for the Servo Axis every time I make an update on all the systems.   Best Regards, BR  
  4. Hi All,  I am trying to limit the number of character for user to key in data edit . However, I put numbers inside it shows me invalid number of character. Anyone know how to solve it ? Note; My variable is in String Type   
  5. Hi there I am working on a project where Omron servo drags a part to a certain position using belt mechanism, But to avoid any slippage we decided to put an external encoder directly on the part. I was wondering what is the best to approach to drive the servo using the position of this external encoder. Is there any way that it can be configured directly with the servo? I am fairly new to coordinated motions, any help will be appreciated. Thanks
  6. Good Afternoon, I am wanting to do two things with and ORMON PLC and HMI with CX-Programmer and NB-Designer. 1. I want to display the current time from PLC on HMI with the real time clock. 2. I want to be able to enter a time on the HMI which will be compared to the PLC time and will stop a process when when the entered time is equal to the actual PLC time.  If I can have some help with this that would be a great help. Thanks,
  7. How to use NB Data Logging

    Good Afternoon All, Just wondering if anyone would have any example code of using the Data Logging on NB designer? I am wanting to use a PID controller and display set point and process variable etc. I have looked in the manual but a coded example would be extremely helpful.    Hope you have a good weekend. Thanks
  8. hello Every one,    I am using a CP1-L PLC and want to communicate to domino ax350i printer over TCP/IP socket programming. For socket programming, I used Omron Function Block CPU012_SendCommand.  I defined network ID and node address. However, I am getting 0502 error which means routing table is not set yes. So, how can I set routing table for both devices?. my PLC on 192.168.250.1 and Printer is on 192.168.250.123 node 7000.    Can any one suggest me best way to do.  Thank you   attached file is for what I did in setting and program for the communication.      
  9. Good Afternoon, I am new to CX-Programmer so excuse this question.  I have written a FB in ST to trigger BOOL and Integer variables. Within the FB I have written ST with a case statement which is working correctly. The issue I am having is that It seems the integer variables in the FB (HMI_Q_FAN_STATUS) are not being passed to the assigned global variable (assigned to D register) on the output of the FB.  In the attached screen shot, the FB is in case 3 therefore the integer variable should display HMI_Q_FAN_STATUS=3, however is still displaying 0. Any help with this would be great. Thanks and have a good day.  
  10. Hi all, currently I'm using NX1P2 PLC for my project. So I'm just using it to transfer data from PLC to my PC but I faced 1 major problem right now which is the connection. I have few experience working on PLC but this time I faced an issue which I don't know how to solve it. So the problem here is, my NX1P2 can't connect stable to my my PLC, initially I thought it was the cable problem, after I changed several cable it's still the same, so I thought it was my ethernet port problem but I can connect it to the internet and also Delta PLC, at last I thought it was PLC problem so I connected it to my colleague PC, they got a stable connection and able to program it. My ethernet keep on displaying "Enabled > Identifying > Unplugged", I check my Ethernet port, it using Intel(R) Ethernet Connection (6) I219-V. Tried to solve it for few days already, anyone faced this problem before? 
  11. Monitouch HMI slow screen

    Hi there! I'm having some issues with a FUJI MONITOUCH V9100iSD HMI that communicates with a CJ2 PLC via Ethernet. This HMI is a migration from a previous V810iSD model. The thing is that the previous model worked correctly, but when using the new one, the HMI seems to be pretty slow when switching screens, for example. All parameters are the same, and after reading Fuji's FAQ, I've run out of ideas. Have you faced the same problem? Thanks in advance!
  12. Hello everyone! I am quite new to communications between different brands of PLC's. As I have mentioned in the title, machine has a siemens s7-300 series pn/dp PLC with no CP modules (programmed in Simatic Manager). And they are adding an another machine with an OMRON NX102-9000 model PLC (Sysmac Studio). Siemens side also has PC connection over winCC flexible. Somehow i need to communicate between these two devices. Now, I have been looking into this for a while. There are mentions of sockets, but i have no prior experience with them. From what i ve researched omron has "Send" and "Rcv" blocks, but i cant find my way through on how to use them. For example, i dont know "where" to write in the siemens plc. I feel lost to be honest. Can anyone point me to the right direction? Sample program snippets, documents ?
  13. FX3U to FX3U via wifi

    Good day fellow PLC ninjas! I have a question/ concern which I would love your opinions on. We have 3 FX3U PLC’s+ENET cards. Two of the 3 PLC’s move around in an EMS trolley. The other is a ‘base station’ with a GOT2000 connected via Ethernet. Base PLC IP = 192.168.1.11 HMI IP = 192.168.1.31 Carrier 1 IP = 192.168.1.61 Carrier 2 IP = 192.168.1.62 I have programmed the base PLC to use Active communication; we are using fixed buffer communication to send and receive data to/ from the Carriers. The carriers are set up as Fullpassive ‘slaves’. This part works well and the update time changes (using a counter in the base station) from 1s to 100ms (because it enters a different work station).  My issue is the following: using a network sniffer (WireShark), I pick up plenty of re-transmits and sequence number errors coming from the base PLC’s ENET card. This is troublesome and causes delays when the update time is required to be fast (100ms). I am sending and receiving 10 words of data. The wifi seems stable, and there is minimal noise in the area. The power has been turned down and the antennas used are suited well for the application. The antennas are at a similar height to minimize possible loss of signal. I have LOS (line-of-sight) to the carriers at all times; to at least one of the antennas (I am using 802.11n). Has anyone picked up issues or found settings which can be used for comms over wifi? I can easily do this using a S7-1200 Siemens PLC and have done so using 12x S7-1200 clients and 2 AP’s with 1 base PLC. I have also successfully done this using 8xFX3U client with a System Q base PLC. My suspicion is that the delay in reading and writing to/ from the BFM in the ENET card is causing this. I am not sure that if I change to a FX5U will help. The communication cards on the Mitsubishi PLC’s seem very limited. Does anyone have any technical details on the access times between the CPU and communications cards’ BFM? Help is as always, appreciated.
  14. CP1L Unknown IP

    Hello. I have CP1L EM30 with unknown IP. I have tried to use "Direct Ethernet Connection" with "Network Browser" but with no success. I have manually set the ethernet IP4 address to 192.168.20.20 / 255.255.255.0 I've got error: "The OMRON Ethernet Direct Connection Manager service is starting in Safe Mode because Windows APIPA is enabled. (0x82020003)Omron.Cxmw.Modules.SystemLibrary.SysLibException" The PLC does NOT have default ip 192.168.250.1. What Can I do? Please help. Thanks. BR, Andrej.  
  15. Hi all, First i apologise for my english, but it's not my main language. I am very new at this world so sorry if my question is too newbie but i have been for several hours trying to get some data from an Omrom NPX1P2 DT-100 using Ethernet/IP and now i am a bit desperate. I am trying to connect this PLC using a C# Library provided by steffan rossman and it seems to be very easy,  i can manage to connect it but every try i do to request data it fails. As i can see there are several ways to get the data, for example: In this example the function GetAttributeSinglec(ClassID, instanceID, attributeID) i need the ClassID, wich i don't know what is, the instanceID, i think in my case is 100, and the attributeID wich i don't know what is or where to define. If someone could help me about how to request data it will be very appreciated. Thx in advance    
  16. Hello guys, I experience interesting behavior on NX102 PLC. I have an application with NX102-1200 v1.41 and 7 R88*-1S servos in total. All axes were added as a single-axis position. During servo set-up and tuning we periodically experience a communication error. Connection between laptop and PLC over ethernet. Did anybody have similar problem?  Error message #1: -MC Test Mode was interrupted in the controller. The MC test run is terminated. Error message #2 following error: -A communication error has occurred. 
  17. CP1L-EM40DT-D

    Hi there... I'm working on my final project using PLC CP1L-EM40DT-D. I want to set the stepper motor output pulse to match the 3 types of height I want. I used the PLS2 instruction but the simulation results showed the stepper motor rotation did not match the number of pulses and also the frequency I entered. Has anyone here ever used a stepper motor before? If yes, please help by sharing the exact pulse calculation formula on a stepper motor with a load. I really had a hard time finishing my final project because of this. I beg your help. Thank you
  18. plc-plc via internet

    Hello all, I wonder that is it possible to communicate 2 CJ2M plcs or 2 NJ controllers via internet? Those are far from each other. There is WE70 wirelles unit however distance between them more than 5 km. Any idea how can i solve this issue? Thanks in advance. Have a nice day.
  19. My HP laptop will lose communication with Mitsubishi PLC occasionally after removing ethernet cable to download from WiFi. Our company limits the ability to use the wi-fi when I have an ethernet cord connected to my laptop, it has to do with security. If I am connected to the Mitsubishi PLC, then want to download another file from our autosave, which we connect through the wifi, I have to remove the ethernet cord from my HP laptop to enable the ability to go wireless, however sometimes when I attempt to go online with the PLC after I re-connect my ethernet cable, GX developer will not allow it. I can ping the plc and even go online with other PLCs on the network, but for some reason, the one I was connected to will not connect. I restart my computer and even re-download the file again from autosave but no joy. Its not until an unknown amount of time that it will allow me to re- connect, its as if I lose the socket connection on the plc and it needs time to reopen. I talked to our IT department and they have no ideas. Thank you in advance for any help on this matter.
  20. Digital sealing

    Hi, I'm trying to figure out a way to make an automatic digital sealing for a NX-controller. Functionality: Each time I do a remote connect and/or change to the program on the PLC via VPN/Tosibox I want a counter to automatically increment. This counter is the digital sealing (checked by the authorities from time to time), and is displayed on a HMI. When the sealing breaks, the new value of the counter has to be reported. I've been thinking about incrementing the counter each time the Ethernet port on the PLC registers a rising edge on online establishment. But this will not work if there is a power failure (then the counter will increment unitented), or someone by mistake unplugs and replug the Ethernet cable. Antoher idea was to ping a specified IP-address, but there seems to be no PING-functionality. I've also been thinking about using some program data (i.e. last modified), but it seems there's no system variables on the PLC that contains this kind of information. Any ideas how to solve this in the PLC? Basically I want to know if the PLC program has been changed or if there a specified IP-address has been connected to the PLC-network.
  21. How to scan Ethernet/IP network?

    Scenario: You show up on site and the only knowns are Omron PLC and EtherNet/IP network. You have a laptop loaded with CX-One, an ethernet cable, and the ethernet port that is connected to a known EtherNet/IP Omron network (you can not see the PLC). I have previously worked with Siemens systems and used Primary Setup Tool and Proneta with wonderful results. Do similar tools exist for an Omron environment?  Question: How to (relatively quickly) scan an EtherNet/IP network for connected devices without knowing their ip addresses?  
  22. Hey Guys,  So i am working with Omron software to integrate it with the HMI screen.  Whenever I receive a user alarm, I have an acknowledge button on the screen, but when I click on it,  the alarm does not go away from the screen,  it is acknowledged though.    Can anyone please guide me to what changes I have to make in the system to make the alarm notification go away, or is this any sort of a bug in the Omron software ??   Please help guys !!!
  23. EEPROM Error

    Hello,I am Danneil. I had a problem with 1s EEPROM. I used the TWINCAT 3  online mode to control 1s Ready,JOG,MoveAbs all are ok. But I made a silly operation that I press the "update the EEPROM" function ,after that I can't control by TwinCAT3. Even I used the SysmacStudio ,there was an error 88 03 on 1s.  The ESI  files    From: https://www.fa.omron.co.jp/member/product/tool/23/esi/download.htm Is there a good way to solve?     Thank you!
  24. Have been able to exchange data types of BOOL, INT,  DINT & REAL between Omron NJ/NX CPU with Allen Bradley Logix CPU's with Ethernet/IP using the CIPUCMMRead & CIPUCMMWrite instructions. I now have a need to exchange "STRING" variable types. Have tried varions string lengths in the NJ without sucsess. AB default string length is 82 & Omron 256 but I think the difference is the length headder that AB has with within their String Tag type. I know I could convert my strings to an array of bytes & sent them this way, but was looking for a solution to sent them as native strings. Hope someone out there has done this & can share their leg work?