Search the Community

Showing results for tags 'sysmac studio encoder'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 316 results

  1. 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
  2. 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 ?
  3. 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. 
  4. 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    
  5. 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
  6. 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!
  7. 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
  8. User Alarm Viewer

    In the useralarmviewer, you can color unack:ed, acked etc of the alarm, i cannot find a way to acknowledge the alarms, only the ClearUserAlarmLog() in the click even for a button. Are the ClearUserAlarmLog() Ack:ing and removing the alarms that are not still active?   When i press F1 in the HMI-part of sysmac i only get tossed to a PDF that is not helpfull at all.
  9. Hi. I have this project where the variable mapping / connection / something gets lots between restarts of sysmac. This is on the HMI, it was working after i re-entered all variable mappins again after a 5th time, saved, compiled, sent to bitbucket. Now after the reboot, i just open the screen and its all ill pink all over the place. Why do sysmac(?) keep removing all variable mappings? And how do i make sysmac work with me instead of against me?  
  10. Hi everyone, I'm trying to change the frequency reference of a q2v Yaskawa inverter via EtherCAT. The inverter is equipped with Yaskawa EtherCAT option and I'm using an Nx plc programmed using sysmac studio. According to the YASKAWA EtherCAT manual (https://inverterdrive.com/file/Yaskawa-EtherCAT-Option-Manual) the frequency reference is not a standard mapped PDO (the standards ones are shown on pages 85 and 86), so PDO needs to be remapped by writing to map object 1A00-1A28 (a short description for them is on page 57). No other Infos are reported in this manual. Can anyone help me? basically, I need to write (what?) to these register (how? are they SDO?) to remap the standard PDO mapping. Many thanks in advance.  
  11. 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
  12. Hi, i have this  NX1P2 cpu with 2 CIF105's. On one of them i have 6 modbus sensors, i talk to each and one of them in a cycle. Occationally i get a timeout error on a random device. They are connected via a Murr Elektronik M12 signal-splitter Each sensor is connected by a 5 meter cable from the splitter. The timeout seems to happen to random device at random interval, and it can be really long time between the timeouts. I have looked around in the sysmac project to see if i could change the timout setting to something sligthly higher than current (default?) Is there any timeout defaults that can be changed on modbus timeout?
  13. Hello. Iam wondering if anyone here has successful set up a CI-Server together with sysmac studio team foundation (git) ? We want to adopt unit testing workflow of the libraries like the picture.  I see that some developers has been using jenkins to automate together with Beckhoff Or B&R and siemens it looks like they have their on solution. Or if anyone has some thoughts how it could be done with sysmac .       /Best Regards 
  14. 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!
  15. Anyone know what could be missing to be able to import this stepper motor to sysmac? This is one of the supplied xml files for the stepper motor.     FASTECH_Ezi-SERVO2_EtherCAT - OMRON.xml
  16. I have 23 Micrologix 1400s and I want to take the same register, N100:99, out of each one and put in a single array in a CompactLogix L18ER. From what I have tried, it only seems like I can only map a range of integers, N100:77-N100:100, to the array and not an individual register to a particular element. (For example, mapping N100:99 from machine 16 to Selected_Model[15]) Can you map to individual elements in an array? If so, are there any instructions on how to do so? Thank you in advance for reading my post!
  17. 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.  
  18. Hi. When i run the plc in the simulator, only certain stuff seems to work, most logic seems to work. Timers seems to refuse to start at all, the sim is in RUN mode using Sysmac 1.45 Standard edition.
  19. Hello. We are looking for a safety scanner that has CIP safety(Ethernet IP) or fSoE (Safety over etherCAT) that is combability with sysmac and NX102 cpu. There is a lot of safety scanners on the market that support CIP safety and fSoE and I have tried to load in both EDS  and ESI files into sysmac with no succes. Of course the best option would be that OS32C safety scanner from Omron themselves would have build in support for Cip safety at the moment it only support ethernetIP to read out data for diagnostics.   Is there anyone that is running a safety scanner with sysmac with CIP safety or fSoE ?  If you do I would be very happy to receive the brand from the safety scanner manufacture.   /Best regards.
  20. Hi All, I just take over a project which involve accurate positioning and movement up to 0.010mm(around 10 microns) of a servo motor. I found out that my motor always move to an incorrect position. Let's say I want it to move to absolute position of 5.210mm, I found out that it may move more till 5.235 or move less 5.190(something like that). So i start to check if I'm outputting correct pulse. Using CX-Drive, I connect to the driver then i found out that the pulse is correct and consistent(for example i use my pulse per revolution and pitch to determine how many pulses) Currently I'm using an incremental encoder and servo motor and my PLC cycle time is around 12 ms and my servo move at a speed of 0.66mm/s. So I was wondering if my PLC scan time will affect my accuracy in moving ?? I'm using a CJ2M PLC with CJ1W-NC413 pulse card , incremental encoder and a servo motor. I want to make sure is not software limitation or anything wrong on software side before I bring it to my mechanical team   Appreciate all inputs here and thanks!
  21. Hello Guys, I am using a nx102-9000 CPU and trying to communicate explicitly to a Telsonic Mag Generator. I have done this on a CJ2M & an Allen Bradley Processor successfully before but am struggling with sysmac. I will attach some screen shots of the AB message instruction because it is much more simple then the CJ2M (required pretty much a full function block made). If anyone wants to see the CJ2M block let me know. I am working right from the sysmac manual using the CIP OPEN, READ, SEND, & CLOSE. Once it is working I will write as well.  I am getting stuck right on the first part "CIP OPEN" I am using a route of '02\10.203.21.40' I am unsure what the 02\ means. I am just copying it from the example. The IP Is correct. Below is the picture of my 1C05 Error. Which in the manual is confusing because they have a 1C error and an 05 error separately.  Another question (once i can open a connection) is in the CIPRead the 'srcdat' I am not really sure what this is? Everything i've used before is an instance number, class, and attribute number (used in the CIPSend Logic From Allen Bradley MSG Instruction & Current Sysmac logic shown in pictures as well. Please let me know if you have any suggestions or need any additional information. Thanks, Kevin
  22. I have a global sidebar that has all of my page navigation buttons.  Is there a way to hide a certain button based on the current page that is displayed (i.e. "Manual" button is invisible when the Manual screen is displayed)?  I know how to make a button visible/invisible based on a tag or expression, but I don't know how to do it based on the current page.
  23. 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.
  24. 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