Search the Community

Showing results for tags '#omron'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 491 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. 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  
  3. 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   
  4. 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
  5. 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,
  6. 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
  7. 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.      
  8. 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.  
  9. 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? 
  10. 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 ?
  11. 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. 
  12. 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
  13. 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.
  14. 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 !!!
  15. 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!
  16. CP1L PLC network communication error

    Hello all,   I have a master PLC(CJ2M) which is communicating with slave 4 slave PLCs(CP1L). one of the PLC have communication error, upon checking in cx-intergrator it shows that all the other slave PLCs and other components are connected to network-1 and faulty PLC is connected to network-0. Unfortunately, I couldn't change it as cx-intergrator doesn't allow me to change download the changes. So anyone can please help me with this issue. If you know the troubleshooting way then please reply.    Thanks in advance.    -Yash
  17. Hi All, I am totally new for sysmac studio and using NA5. Currently I am using standard recipe layout of NA5 I wish to search recipe by using keyword function.By using keyword, the target recipe is highlighted.  However, I cant find the variable of recipe that I can control.  Does anyone can help ?  
  18. INDIRECT REGISTER

    i want to use indirect register, but why contact 100,IR0 is not ON, is it my program correct?
  19. Hello All, Please Help Me.. How I can to connect Omron CP1L-M + CP1W-Cif11 with Mitsubishi Inverter D700? Thank you. Omron modbus belum fix.cxp
  20. So, I have thought about creating my own Business for the last few years. With this business I would go shop to shop/factory to factory teaching anywhere from Basic PLC programming to HMI design and integrations. I love to share any bit of my Knowledge/experience with anyone and I have learned this more when at my first engineering job they had me train several guys on how to start up Servo Motor jobs with PLC and HMI's. I really enjoyed helping others learn and get over the hump of intimidation and lack of experience with electronics and such. I have had a lot of different experience from being an Electrician for 5 years to Engineering 10+ years now- (Design, Software, Startups, Service work, Installs, and Management) I then started a career of being a PLC Instructor (part-time for 1 year now) for adults and this too help me with my idea of starting my business. At my instructing school we would get a variety of people anywhere from fresh out of High School to experienced Maintenance guys that want to specialize in PLC and HMI's.  With all of this being said, does anyone think there would be a great amount of need for someone to come your work place and teach Allen Bradley, Omron, and Mitsubishi PLC and HMI and maybe one day down the road Servo Motors and logic for them too? I think that more one on one with a couple trainer lab stations, I could really help not only workers advance themselves but also companies benefit both? I have gone to training for my previous employers, sometimes traveling far away for a week at a time and costing my employer a lot of money where my rate would be much less and on-site of the customer/trainee's. Starting out I have bought several used pieces of PLC's, Input Cards, Output Cards, (Only Allen Bradley for now). I have also bought cases to make my training units more safe and portable. Looking at creating a business name and logo as well as possibly creating a (LLC). It has been a slow but steady process though. Feel free to add anything or comment anything to this with ideas.   Thanks!
  21. hello,  Maybe somebody have macro script of omron vision system . The macro script must work that If I push button "Scene switch" then macro script must done "Data save" and then change scene. Or somebody can help me to create macro code?
  22. Omron PLC Python communication

    Hello All,    I am college graduate student and I know little bit of cx-programmer for modifying existing program. I have master CJ2M CPU34 PLC connected with three CP1L PLC. All 4 PLC are connected via hub through Ethernet cable. I want to read/write some memory data to/from PLC through Python programming. As I am new to PLC and Python I have not much idea regarding omron PLC and python communication. So is it possible to connect python with master/slave PLCs directly? If yes then how can I communicate? I was trying with cpppo library to connect with PLC but I could not connect it.  I have attached the master PLC communication setup for the reference.    Any kind of lead/help is appreciated.    Thank you in advance.    -Yash
  23. Hallo, i want to connect PLC Omron CP1E to indicator weighing scale with modbusRTU connection and i have a CP1W-CIF11 module to connect indicator with CP1E. ,but I have no experience in RTU modbus communication in the PLC. How do i start?   *i just need output: 1. Coil (Reference No = 0. Output bits) for input switch with address 3 (Tare). 2.Input Status (Reference No = 1) for output lamp with address 17 (stable) 3.Input register (Reference No = 3) to read data with address 5 (gross weight) 4. holding register (Reference No = 4) to write comparison data with address 17(over) page 85 - 94 in attachment     ad4402_manual.pdf
  24. CJ1G-CPU42H BACKUP

    Hi,  I have CJ1G-CPU42H plc, when I try to backup the program it just fails at step 6 as indicated in the attachment, 6- plc memory  ##error aborted ##
  25. Not able to Ping PLC

    Hey All, I have run into an issue where my CJ2H-CPU64 EIP cannot communicate over EIP To the nodes connected. This machine in particular was running just fine previously. I have replaced all ethernet cables and the Hub as well.(8-port unmanged) I can ping all the nodes that are connected. But i cannot ping the PLC in question. I can connect directly to the PLC but not over ethernet.  So i changed the PLC out thinking it was a bad port but the problem is the same on the new plc. Any Ideas? Thanks in advance Richard