taxidelt

MrPLC Member
  • Content count

    17
  • Joined

  • Last visited

Everything posted by taxidelt

  1. Not sure why the website is being goofy, I can't even open threads now but I was able to see your response on your wall here. Thank you for the help that was exactly what I was looking for. 

  2. First Scan bit

    I feel stupid asking this. Is there a list of default special bits installed in sysmac studio? I am primarily looking for a first scan bit. I'm used to these being easy to find but I don't know the verbiage Omron gives to these types of bits.    Thank you in advance.   
  3. I am trying to use two different Keyence measurement devices but it won't let me use both of the ESI files (that are different files). Which every I import first either the TM-X5000 or the LJ-X8002 it will work but when I attempt to bring in the second device I get an error saying "that ESI file already exists" and won't allow it to be used. I've attached the two ESI files I am attempting to use that were downloaded from the Keyence website.  I am using an NX1P2-9024DT1 controller and running Sysmac Studio ver 1.52 ( I know this is out of date but I cannot connect to the update server due to my works network security).  Downloads_20240129_232701.zip *edited to add actual error message code*   "- The same slave exists in the installed ESI file. Please uninstall it and try again.   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Parameter 128Byte)   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Parameter 256Byte)   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Parameter 32Byte)   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Parameter 512Byte)   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Parameter 64Byte)   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Result Data 128Byte)   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Result Data 256Byte)   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Result Data 32Byte)   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Result Data 512Byte)   Keyence TM-X5k_CB-NEC20E.xml(Installed : Keyence LJ-X8k_CB-NEC20E.xml - Result Data 64Byte)" 
  4. It looks like it. I don't know enough about Ether/CAT to understand the difference but when using win/merge to compare the old files to the new ones that is the only thing that changed. 
  5. I see that now. Thank you very much. 
  6. I auto populated the network and they are all daisy chained on their own straight out of the PLC. Keyence sent us new ESI files where they changed the on all of these rungs from "<Type ModuleIdent="#x0701">Result Data 64Byte</Type>" on both ESI files to  "<Type ModuleIdent="#x0731">Result Data 64Byte</Type>" on one and "<Type ModuleIdent="#x0741">Result Data 64Byte</Type>" on the other. After that everything is able to installed. 
  7. I see all the bits are registered to locations such as 0x2001:09 StatusBit/READY. How do I reference that to an global variable? I am using an NX1P2-9024DT1 and running sysmac studio lite ver 1.54 if that matters. 
  8. Keyence sent updated ESI files.  Two things now.  1. They said "They also mentioned this issue is happening because OMRON doesn’t have official recognition from the EtherCAT organization, so the PLC is struggling to recognize both files at once." 2. Should I be able to edit a PDO file? Currently the edit PDO is greyed out. Is this something that should be set in the ESI file or is there another file I need to import for this?    I should add this is our first time using ethercat items that aren't omron.   
  9. Thank you @pturmel This is what we thought was happening with the error messages we have. I've filed a ticket with them and our rep will be at my site on Thursday morning to try and work through it.
  10. Changing User Level on HMI from HMI

    Disregard I figured out I can set an event to my F1 button to bring up the log in option. 
  11. I am able to see where I can change my buttons to be visible by user level.  I am using an NX1P2-9024DT1 PLC and an NA5-9W001-V1 HMI.  I cannot see at an initial glance how to make a log in function or through the system menu how to log in for different levels.  Thank you. 
  12. That was exactly what I was looking for. Thank you.
  13. I am working on a system where I want to do a max number of failures in a rolling 100 piece count. I have an array Running_Total_Parts ARRAY[0..100] OF UINT.  I am wanting to know how many of the elements are equal to UINT#7. What I am confused on is in the instructions they like to use the word they are defining in the definition.  Member's Meaning is "Member to search"  Key's meaning is Search key.  I am confused on what I should put into the information for those variables.  in the help file it has the following variables. Please correct me if what I am describing in the () after the variable names are incorrect. IN: abc[0] (this is the name of the array)  Size= UINT#5 (first five uint elements in the array) Member= abc[0].m (I am unsure of how I know which value to fill in for "M") Key= INT#1234 ( this is the value searching for within the array)  Mode= _Linear ( I am unsure what these modes mean)  InOutPos= def[0] (element numbers that match the search key) Num= jkl (this I am assuming is the variable that will be filled with the number matching elements in the array).    This is the first project I'm working on in Sysmac so trying to fully understand their help files has been a chore at times.    Thank you in advance for your time.     
  14. Relative Move NX1P2 and 1SN drive

    Not 100% sure why but I worked with out rep and we went in and deleted the drive from the program and then added it back in and deleted all the places where that variable was used MC_Axis000 and then did a rebuild (without the MC_Axis000 used so it threw an error) went in labeled each location for the MC_Axis000. did a rebuild and then transfered to the controller while online and I am now able to command it to move a certain number of pulses.    going forward I am going to figure out which unit of measure I want to start with and then build the drive around that.    Thank you all for the help and hints provided. 
  15. I am working with a small conveyor with a servo motor and 8:1 reducer gear box. I am tryin got make the relative move index in number of counts instead of the number or rotations of the output shaft. It doesn't matter what display units I select I indexes the motor the same amount of counts. Through tests I have determined I need to index the conveyor 12780522 pulses. If I try and send it that number it errors out. Upon contacting my vendor for the omron software I was informed to change the display units to pulses instead of inches. This doesn't make any difference.  Also,  I have some delay timers built into it. When I attempted to make the variable for my timer on the NA5 V1 HMI it wouldn't let me set the data type to TIME I had to convert the number entered into nano-seconds from seconds(by multiplying the number 1000000000) then performing the nanosec to time block This seems like there is something I am missing in the HMI or the data types.     I intend the clean up some of the language and labeling once I get the system working properly.    Any help you can provide would be greatly appreciated.    I have included a copy of the program so far.  Lower Body 01aug2023.smc2
  16. Relative Move NX1P2 and 1SN drive

    I can see how this will be useful. I will keep this in mind when I have a project with those parameters. Thank you. 
  17. Relative Move NX1P2 and 1SN drive

    I would agree with that if not for the fact it doesn't matter what unit of display I select. If I have it selected as inches and tell it to travel 2 inches it goes x amount of distance. If I have it selected as pulses and then tell it to travel 2 units it travels the same exact distance regardless of what unit I am telling it I am using. I understand how to do the math the issue I am seeing that no matter the unit of measure I put in the set number it travels is the same.    As for not using the gearbox function. If I select that option, connect, compare and transfer to the controller the motor will not move in index or jog. Any ideas on why that is?   
  18. Relative Move NX1P2 and 1SN drive

    The 12780522 pulse came from running the conveyor in test run mode and see the number of counts it took to send the conveyor around 1 full revolution and then dividing the number by 38 (it has 38 stations on it).  Any time I use the do not use gear box the motor won't move at all. Not sure why. This is my first project with the Omron family of PLC's  I tried setting it up with using a gearbox with unit of display being pulses and inches and the motor indexes the same distance regardless of what I choose.