Search the Community

Showing results for tags 'omron plc-how to connect and control i/o throug'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 602 results

  1. connect encoder to nx1p2

    hi everyone i have a question about nx ec0122 i connected an encoder to ec0122. now i want creat a programm for read the pulse and reset pulse. Then write a program to measure the length of a roll. How should I do this? Thank you for your help
  2. Hey all, I am having some issues with a Keyence IV2 camera which has Ethernet/IP functionality.  To summarize briefly, it has been configured and reading the data into my PLC (NJ501) into a structure data type.  The issue I'm having is that I cannot control this on a bit level for triggering the camera, etc.  I was reading that a Union type is the way to go, but unfortunately, I stopped getting data into the PLC when setting it up that way.  According to the configuration guide for Rockwell and setting it up in the Network Configurator, I needed to go with the SINT type.  When registering the device, the 8-bit option was necessary since the Input/Output sizes needed to match.  This was predetermined by the EDS file for the IV2. I am stumped as to how to get the data to read into the Union Type, and any suggestions would be greatly appreciated. Thanks, -K  
  3. I encountered an issue that technical support was not exactly able to help me out with, and I wanted to share what I learned here for the next guy. Specifications: Omron NA5 HMI v1.10 connected to NJ PLC via Ethernet Issue: Made a change to a screen where I copied and pasted a button from a different screen.  The screen where the button was copied to had some sort of issue, but it was still able to compile and transfer to the HMI.  It worked for several days until the HMI was power cycled by maintenance, and it was stuck in a black loading screen saying "Initialising Variable System" with a scrolling wheel and green LED on the HMI panel.  It stayed in this loop indefinitely.  The HMI still had a ping, could be connected to from Sysmac Studio, and could be transferred to and from.  Troubleshooting section of the HMI mentions something about initializing failure with a red LED which required a system recovery, but no description for this state. Troubleshooting: Power cycled the HMI, but this resulted it getting stuck back in the same loop. Connected with Sysmac Studio with most recent backup and transferred from the HMI to get the current program.  Before transferring in this synchronize step, I could see a page that was on the target device that wasn't in the source.  I'm not exactly sure how it got there as it wasn't in my backup, but I had green in the comparison list when I shouldn't have.   Reverted program changes, downloaded to the HMI, and power cycled.  Still stuck in black screen with same message. After several other modifications, I eventually had a heavily stripped down program of the backup and downloaded to HMI.  Power cycled with same message. Resolution: In Sysmac Studio under HMI View, select HMI from ribbon, select Clear All Memory, confirm the target device, and select OK.  Once this has factory reset, I made sure the IP address was configured as necessary, connected, transferred backup, and all is well with the HMI now.  Even after loading a backup from several months ago, I could not clear this issue without a factory reset. Hope this helps!
  4. I am getting data of Modbus , LSB in one word and MSB in next Word, Please help and guide so that i can combine these byte,. need to do for 8 consecutive words of Data, OMRON CP1E with CP1W-CIF11 And LnT Fx2000 VFD Modbus Communication. Attached is the my program.     LT_CP_MODBUS3.opt LT_CP_MODBUS3.cxp
  5. Wait Command

    Hi, I'm quite new to the PLC programming, I saw this delay input in one of the videos, that automatically switched to 1 after a set time, it wasn't a timer, just an contact input with time delay
  6. Hi I have encountered a problem with CX-integrator. I'm not able to open the program. The following message appears:  System error. Save the date and close the application.  (Error code 0035) I have tried to reinstall the entire CX-one packet.  Any ideas?  Regards MBD
  7. Hello, i am a novice when it comes to PLC programming so i was wondering if i could get some help designing a ladder circuit that allows me to control the speed of a motor connected to a VFD from my HMI. the components i am working with are as follows, NX1P2 omron PLC (with a few digital input & output cards), NA5-7 (V1) omron HMI, and a yaskawa GA500 VFD. Essentially i have a customer who would like to view and make adjustments the speed of a group of VFD's from their HMI located on the main control cabinet. I would like a little help designing the circuit within the controller (If at all possible) or maybe a bit of guidance as to the type of functions i can use to get the desired results.   any and all help is much appreciated, thanks
  8. Hi gents, I need to build up a communication between nx1p2 to another omron plc (any type with sql support). This is due to the fact that I have finaly to prepare the plc communication with the sql database, and nx1p2 doesnt support this.  Sorry, i know it's probably a noob question, but I'm a beginner. What type of technology i shoud use to make this connection between NX1P2 and another Omron PLC? Or might be some share some project?  
  9. hi everyone, I'm using 3g3mx2-a4022-v1 inverter, and to control the inverter, I decided to use the 3-wire input function & control the inverter from touch screen nb7w-tw01b, connected to cp2e-n60dr-a. now i already followed the manual on how to set it up. however, the inverter didn't run as expected. have i missing any step in setting up the 3-wire input function? currently i've set the c001 => 20, c002 => 21, c003 => 22, a002 => 01. is there any setting that i've missed? thanks in advance 
  10. ello I have a powerflex 400 of 25HP for a 60amp 25HP motor, the motor have a belt that move the clarifier of milk. It is a process that requires strength to move.So I try with the motor without the clarifier the vdf works well with a constant amp of 12 to the max of 50hz that is set up with a ramp of 600 sec.Then I try with the belt that move the clarifier... The vdf start the ramp with a wird amp behavior like 10 sec 100 amp and then 13 amp for 10 sec.When it gets to 50hz (the max) it starts the same behavior 13 amp when it reach the max RPM and when it decrease a little bit it gets 100 amp to get to the max RPM again.In this vdf powerflex 400 I didn't see the % of torque options that the last one Fuji had.Someone told me that powerflex 400 is not for power processed, they are focus in pumps and blowers more alike, and that I need a vdf vectorial like a powerflex 725.What do you think...PD: as the 100 amp is like 10 sec the protections dont show up. PD: I made a try with water and hot water, in that point with the max hz  (and 6800rpm) when the hot water start to flow the amp gets constant in 75 amp, but the motor dosnt get to the 6800 rpm again it just keep trying in 6700rpm and it mantains the 75amp triggering the motor protection for overload.
  11. Hi there I was reading this thread: And trying to create 3 axes. 1 virtual axis and 2 real axis, I would like to use MC_GearIn for each real axes so both real ones follow  the virtual axis (so both can move in sync motion). But my question is: If I give Move cmd(Absolute or relative)to master virtual axis and since it's virtual, it is not going to move then how can the other real ones follow the master(assuming that it's literally electronic gearing).  Any help will be appreciated!
  12. Hi. I have been up, down left and right in sysmac looking for the safety cpu's to add. If i open a project that has these devices, "Safety CPU device" shows in their toolbox window, while my project that does not have any safety added (trying to), does not have the "Safety CPU device" in toolbox. Any idea how to get it to show up so i can add the SCPU?  
  13. Hello everyone I'm trying to measure the size of an object 20mm long with an error of +-0.05mm. then which camera of omron should i choose and how to calibrate it to get the most accurate measurement. What is the formula for calculating the measurement error of the camera? Thanks
  14. robot omron i4

    hi everyone i am wanting to connect PLC to I4L via tcp/ip. However, the documentation was not found. If someone has already done it please guide me.
  15. Hi there This attached pic I got from Omron motion control manual. I am trying to wrap my head around it. Does it mean that the slave servo axis is gonna follow master encoder axis using GearIn FB?? If so, then Can we executive Move FB on encoder axis? Looking forward to your responses.  
  16. Hi all:   Hope somebody will help me with the below error encounter on the NA. I mapped a external device (NJ PLC) variable (which is a structure) to a NA Global variable and the structure is automatically created in the NA data type as expected. I then create a new NA global variable and defined its data type as the auto created structure. However i observe the created new NA global variable is highlighted with an error "a data type cannot be used by both mapped and unmapped variable ....." ( pls refer to the attached screen).  I have found and view on the Youtube this video :"Introduction To The NA DataTypes" (link: https://www.youtube.com/watch?v=VZxWnVn1CSY). that clearly show the "imported" structure can be used for unmapped NA global variable even there is some variable already mapped to external device variable (starting from the 3:50minutes mark of the video). In my NA program i would need to create such unmapped variable for my logic use. Also i observe that i was unable to delete the auto created structure from the NA Data Types even after i deleted all variables that are defined with that specific structure. How can i delete such auto created structure in case i want to clear off some of those unused data types. I am using Sysmac Studio version 1.30.0.17. The HMI Device created is the NA5-9W00 (version 1.11)          
  17. How long  could be INT array. For example can I build INT[365] or DINT[365]? When I use more than [32] my controller fails. Thanks. 
  18. Remote Omron and Yaskawa control

    Information : On the websites - https://abrysshost.web.app (and https://abrysshost .firebaseapp.com ) detailed information about the construction of remote diagnostics and control (Iot) systems for control systems of objects based on OMRON and Yaskawa controllers. The information is presented in Russian and English.
  19. Hi everyone, I'm new here. Thank you all in advance for the help you can give me. I have one machine with PLC Omron NJ101-9000, and this is Server in the Modbus communication. In the attachments, you can find the function block I used to communicate with 1 client. This work OK and I don't have problems, but I need to communicate with 2 clients at the same time. This block only admits one connection at a time. How I can connect 2 at a time? If I create 2 of these blocks, does each client need to connect to a different port? Do I need "open" this port in PLC configuration?   Thanks!
  20. Here is a step by step tutorial... Utilizing the CX Server DDE Manager will allow us to provide a link to the information in the Omron PLC. This link can be placed on an Excel spreadsheet. Charts, graphs, etc. can be made from the data. We will create links on an excel spread sheet from a CQM1H and a CP1L PLC. The information will then be displayed as a bar graph comparing the first ten memory areas. Here is a step by step tutorial... Watch on YouTube : Implementing the Omron CX Server DDE and Excel Let me know what you think. Regards, Garry
  21. Hi. I have this project where we read out data from temp sensors and vaccuum stuff. We use Pfeiffer vaccum cpt 200 for the vaccuum, and we create a frame to send to the modbus unit to pull a value from example '306'. With all the current items we pull data, all the values are only updated every 5 seconds, is there a way to perhaps pull several frame/addresses in one request per device? Current codes we read, some are in sequence of each others, but more has a bit of gap like 00, 02, 306, 307, 398, 330 and so on.    
  22. C# - Compolet missing

    Hi.  I have the CD with SYSMAC Gateway Runtime V1.6 and installed the full CD. I still cannot add a reference to Omron.Compolet in Visual Studio 2019. And the project i am trying to open, complains about OMRON.Compolet is missing. Any idea whats missing to get the OMRON.Compolet to show up in VS.Net 2019?
  23. Hello every one in this video, you will learn about AccumulationTimer in Omron Sysmac Studio. The AccumulationTimer instruction accumulates time during which the timer input In is TRUE. The time is set in nanoseconds. If reset Reset is FALSE, the timer starts when In changes to TRUE. Total time ET is incremented as time elapses. The timer stops when In changes to FALSE. The value of ET is held.  https://www.youtube.com/watch?v=KSSmApnKHR0  
  24. Dear all. I have the issued with Sysmac Studio 1.30. it can not show the Library setting and Library create. just show the reference only. can you pls help me this issued. Many thanks.
  25. 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.