Search the Community

Showing results for tags 'omron sysmac'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 628 results

  1. Hi. I use the email block on few of our NJ101-9020 controllers to send out daily reports or any status updates. Recently the PLC's started an unknown issue and fails to send email out anymore. I use the Mail_Send function block from Omron to send emails. The only Error ID i can get is 2005, with status being "Connection to SMTP" failed. Looking at the troubleshooting guide, i cannot find anything to do with error id 2005, in fact its missing. There is 2004 and 2006 but no 2005. I've tried all the obvious thing like, power cycle, redownload the whole project, create a new instance of Mail_Send function block etc. Nothing seems to have fixed this unknown issue. Our IT department did a full check on their side and nothing seems to be out of order. I can still remote into the PLC, so i dont know what exactly is the problem. Has anyone came across this error ID before? Any ideas why this might have been happening? It was working well until few weeks ago and nothing changed and this suddenly started. Any input is really appreciated. Thank you.
  2. OS: Windows 7 on VMware virtual machine. Sysmac Studio V 1.13. What works: Ping to PLC. Sysmac Studio -> Controller -> Controller Communications -> Ethernet via hub -> Test -> "OK". What doesn't work: Starting with new project for NX701-1600 (correct PLC): Sysmac Studio -> Controller -> Online. -> Controller -> Transfer ... -> From Controller. The task seems to run to about 90% before stopping with the error:  I can't find any reference to this error in the manuals. Has anyone got any suggestions to fix this?   Many thanks.
  3. Hello everyone    I am working on modbus TCP protocols to communicate between SEW drive and Omron PLC CP1L-EM. I am following modbus TCP function block from Omron, But i have updated that block because of is not fit to SEW modbus communication. Currently, I am sending a control work to SEW but I am getting error on Modbus TCP from SEW drive, which is invalid data. So I am looking your help is you work with SEW drive before and communicate over modbus, then please let me know how to make a data string for read and write (SEW Drive function 23). I am using 3PD data structure.    Thank you
  4. From Allen Bradley New to Omron

    Im used to Allen Bradley. How do I get online with Omron in a way i can use steps to remember
  5. View File Sysmac Studio Simple PID Example A simple test program and starting values for the PIDAT instruction in Sysmac Studio. Simply run the simulator (Simulation-> Run) and toggle the Test_PID bit. Simulated feedback will allow the loop to operate normally. The setpoint can be adjusted by modifying the PID_SP variable. There is a pre-programmed data trace that traces the SP, MV, and PV. To use the data trace navigate to DataTrace0 and start the trace, flip the Test_PID bit true and the trace will log 10k samples. Submitter photovoltaic Submitted 02/13/22 Category PLC Sample Code
  6. Sysmac Studio Simple PID Example

    Version 1.0.0

    60 downloads

    A simple test program and starting values for the PIDAT instruction in Sysmac Studio. Simply run the simulator (Simulation-> Run) and toggle the Test_PID bit. Simulated feedback will allow the loop to operate normally. The setpoint can be adjusted by modifying the PID_SP variable. There is a pre-programmed data trace that traces the SP, MV, and PV. To use the data trace navigate to DataTrace0 and start the trace, flip the Test_PID bit true and the trace will log 10k samples. Change the SP and view the behavior when the trace finishes.
  7. Hi I am looking for a way to read and write data from PLC omron words, bits via FINS or EtherNet/IP protocol using python programming lang. Does anyone have any results in this? I really want to see your work, because all my attempts have failed. Thanks.
  8. cj2m

    hi i am wrting an essay about my final project , i created a scada for omron plc (CJ2M) in factory . ( i am a computer data student )  the thing is , i can't find a good and an easy  documentation ( not the CJ2M datasheet ) to talk about the CJ2M component (port and stuff like that) any help please ?   
  9. Hello guys I am a beginner in FINS TCP communication and I am trying to do a FINS TCP communication between an omron PLC CP1L-E in client mode to communicate with my PC that is in server mode, I am using the SocketTest v3.0.0 program that is in listening mode and still was unable to receive any information from the CLP, can you help me? The program and some images of the simulation are attached Thanks for reading SERVER PC IP ADDRESS 192.168.15.160 CLIENT PLC IP ADDRESS 192.168.15.10 tcp socket_vms.cxp
  10. I am new to automation systems and devices and I just want to know how to connect two HMI's (each one would control different things) to one PLC using Sysmac Studio and NB-Designer via Ethernet. The model of the PLC is NX1029020 and the HMI's are one NB10W-TW01B and an NB7W-TW01B. I searched for info about this topic online but I couldn't find anything that worked for me, I saw an article from OMRON where they connect two NB's to the CP series, but in my case, NB designer doesn't allow me to insert more than one HMI in the same project, I also found something similar on a youtube video that gave me an idea about how to connect multiple HMIs exporting the pks file and importing it to another HMI project but I still can´t figure out how to add both to my PLC. I would thank you a lot if you could help me with this because I know it's not a rare implementation, just I haven´t found the right way to do it. I also leave the links to the Omron article and the youtube video I found. https://www.myomron.com/index.php?action=kb&article=1554 https://www.youtube.com/watch?v=rXx5lut7G9I
  11. Hi, Could anyone help me out on how to extract the digits present in a string in sysmac studio... Thanks in advance !!!
  12. Hi. I have been thru the F1 manual and the toolbox in sysmac, i cannot figure out how to convert the elapset time from a TON, to anything the NA5 panel wants to display. Any suggestion? (Want to show how long a certain step has run for)
  13. Hi, I have quite a noobie question. I want to create a function block to do some simple operations on 2 variables. Both variables are In/Outs (see picture attached). How can I make this function accept variables regardless of the data type? Given these is just simple math I am able to use the same instructions in REAL, INT, UINT, etc. But, the function block only lets me assign one Data Type to the In/Out variables.
  14. Hi. I want to get the full date and time into the plc, where i want to calculate when current step and full sequence is expected to finish and then later present it back on the screen. I tried to map the _HMI_DateTime to the controller, but it does not get added to the controller.
  15. Hi all! This maybe a simple question but my brain is not allowing me to do it. I have an array variable of INT I use for alarms. I want to compare the values in the array variable to make sure they are all zero. If they are not zero I want to turn on an alarm. I have messed with the Arrary Compare value instructions (AryCmpGTV, AryCmpLEV Etc.) The goal is to monitor all the values in the array and if one becomes greater than zero, I know that an alarm has occurred. In CX, I use 2 in-line compare statements; a greater than Zero and less than or EQ to 'some value' depending on how i split up the alarms. How can this be done in Sysmac?   Nate
  16. Hi there, I have a controller NX1P2-1140DT. I want to control a VFD with modbus serial communication. Can someone help me start from scratch ?
  17. Hi. I have this project with NJ501-1300, in the ethercat settings we add a air valve called EX260-SEC1. When this unit is alone in the ethercat settings, it works without a problem, as expected. But when we add the servos that goes into the machine (ED1F CoE Drive (HiWin)) (Or Ezi-Servo2 ALL), then the air valve goes into error, even if the other ethercat devices are disabled.   We have tried both sysmac 1.45 and 1.47, the plc has 1.43 firmware. We have tried to create a new emptyh project and using different computers, the same error pops up when anything else than the air valve are added to the ethercat config. Any idea how to solve this?
  18. Is it possible to give a physical proximity switch or photo eye input a value to change a vfd's speed. Speed up or slow down when it has been triggered. 
  19. Hi All, I am a new user to this Forum and definitely a newbie PLC user, so I'm not sure if this is a simple mistake. I am currently trying to correct the logic (of a sensor) on a PLC program to get a manufacturing machine back up and running. This is an issue that I have fixed via PLC several times previously, but for some reason I am having issues fixing it this time. The issue that I am having is that when I try to dig into the Logic of the PLC program (Programming > POUs > Programs > Logic > ...), nothing shows up where there is typically a PLC command ladder. I get the error "No instruction in rung" next to all of the PLC program modules. I am connecting to a Omron NX1P2 CPU via laptop & Ethernet cord. To give you background on my troubleshooting process, I have verified that the I am connected to the PLC controller, by using the Windows Run program to ping the IP address of the controller. After verifying connection, I attempted to connect to the controller using SYSMAC studio. At this step, a troubleshooting window appeared with the issue "Minor fault" "Tag Data Link Connection Timeout". When I look at the Controller Status at the bottom right corner of SYSMAC, it says that I am online and connected to the correct IP address (green circle). Under that, ERR/ALM has a red circle next to RUN Mode. Ignoring the troubleshooting window, I can click Synchronization and "Transfer from Controller". A dialog box pops up and reads "...Controller does not have the POU program source...". Pressing yes to ignore this, the transfer completes. This is where I encounter the issue of having nothing show up within the path of Programming > POUs > Programs > Logic > ... . I have a feeling that this is a connectivity or settings issue, but I am not sure. I have checked my ethernet splitter (D-Link DES-105) and everything seems to be connected and working. If anyone has some insight into this issue I would greatly appreciate any help. Thank you in advance! Best cszikszai    
  20. Hi all, I am a new user of VB.net on NA Omron HMI, and I need your help to solve a problem. In my case, I have to get a HMI global variable value in VB.net, but the VariableName is in an other variable (string). For example: Var1=4 Var2=6 VarName="Var1" I worked with a "SetVariable" function to modify the value of different variables, but right now I need to read the actual value, in the example values 4 and 6.  Do you have any suggestion?
  21. 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
  22. 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  
  23. 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!
  24. 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
  25. I am trying to set up a ifm AL1322 EtherNet/IP IO Link Master to communicate with a NX1P2 or CS1 PLC. When using Network Configurator I have added the EDS file and added the AL1322 to the network and set its IP address.  It shows all the parameters in the device but if you make a change it says it has downloaded but nothing on the unit changes.  If you make a change to a parameter and then verify it says there are no difference even though there are.  I have set up the communication with the PLC but there is an error  Establishing a tag data link connection failed. This is the same for both the CS1 and NX1P2. I have also tried setting it up using Sysmacstudio for the NX1P2 and get the same result.   I have had the unit back to ifm and there is no issue with it running with an AB PLC.  I can also communicate with the unit using the ifm LR software. Any ideas why the Omron software is unable to read from or write to the unit? ifm_IOL_Master_AL1322.eds