Search the Community

Showing results for tags 'example programm for encoder read in sysmac studio'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 340 results

  1. Hey guys, I am working on an application that tracks irregularly spaced PET bottles on a conveyor line and then blows them into boxes waiting on the side of the conveyor. I believe I have working logic, but I am having issues with the encoder at operating conveyor speeds. I believe the best logic for my project is to use a photoeye to detect the presence of a bottle (a one-shot makes sure it is only detected once), and then "store" the "presence" of the bottle in a binary file using an encoder pulse to trigger a BSL function. Using this logic, the bits in the file are analogous to a real, physical location on the conveyor, and I can just monitor specific addresses in the file where my real-world air nozzles are located. My current problem is that as my conveyor speeds increase, the PLC begins to miss pulses from the encoder. During my initial set-up, I took data at very slow speeds to experimentally determine how many pulses were between the photoeye and each air valve, but when I run at full speed, I only detect about 70% of the pulses detected at slow speeds. Not good. Althought the "skipped pulses" seem to be proportional to the detected pulses at slow speeds. I am using an encoder that only runs at 60ppr, so I would think that my PLC (MicroLogix 1200) can handle this...I did the math before I purchased the encoder and thought I found the pulses to be infrequent enough that the PLC wouldn't miss any. My 2 trains of thought: 1) I need to use an interrupt for each encoder pulse since they occur so quickly (utilizing an EII), which I am not fluent in. I can find instructions to intitially configure the EII file, but I am unsure of how you are supposed to correctly set up the ladder logic to utilize the interrupt. 2) There is an electrical issue. The encoder I bought uses pull-up resistors. The resistor value I selected only drops the detected voltage to 14V from 24V. Is it possible that the encoder does not spend enough time in the "off" state at high speeds because of this high voltage value? OR does the usage of a resistor introduce a time-lag into the system which further complicates the issue? Any help would be appreciated, Thanks!
  2. In Sysmac Studio, is there a way of addressing Array of for argument sake 100 INT. For ex: TEMP[array 0..99 of int]- AT %W0  If I do that will TEMP[1] be %W1 or I cannot address array. PS: I am currently using NJ501-1300 and Omron NB Screen. I am reading/writing total of 450 variable all comprise of either INT or WORD. I would like to group them together for easy access and keeping my variable table neat. Is there a better way of doing this. Any help is much appreciated.
  3. Indirect Addressing NA Terminal

    Hi. ¿Is there a way to use indirect addressing on a NA Panel?  I need to use a motor operation template for several motors and i think is not very smart doing the same panel over and over. I have always created a screen and then reused it (on FactoryTalk View, Intouch, Schneider Vijeo) The problem is that we don't find any article about indirect addressing on NA panels. So we dont know how to do it. On CXDesigner we used DM addressing so we could use a template instead of creating many button panels when we need to operate a motor, for example. Its like when you use indirect tags on Intouch or Parameter files on FTV. I fear that indirect Addressing is not possible, but in that case ¿Which method do you recommend? ¿Got an example or an article mentioning it? Thanks in advance.
  4. I want to use an incremental rotary encoder with my Allen Bradley PLC to move induction motor (3 Phase) in clockwise and anticlockwise direction.Please help me with the program how to use High Speed Counter Values to move motor reverse and forward.
  5. [Utilities] - NX-EIC202 Utility

    NX-EIC202 Utility View File A nice little utility created by PMCR that calculates the power consumption for NX I/O, provides the I/O layout for a given allocation, creates symbols for use in CX-Programmer and aliases for use with an RSLogix5000. Submitter Michael Walsh Submitted 09/22/16 Category Utilities
  6. I am using FactoryTalk View Studio SE 8.20 to develop SCADA Application, and whenever I tried to open Tag Database it shows error "an error occurred while attempting to open the tag database editor" and not able to Open Tag database. Does anyone know solution for this? Error Screenshot Attached
  7. Sysmac studio network configurator

    hi could you help me to find sysmac studio network configurator? from where i can start it?
  8. I'm printing extracts of my code for change control records. The print quality is terrible as it seems to output low-resolution JPEGs to the PDF or XPS files rather than vectored graphics and TrueType (or other vectored) fonts. See the attached close-up showing the artifacts. Exporting in this fashion also makes the resultant PDF unsearchable. I can't find any configuration options for this. Is there a fix?
  9. So my company recently purchased a new Allen Bradley PLC Demo kit from Amatrol (CompactLogix L16ER) and I installed the Studio 5000 v24 onto our company computer and started going through the Amatrol Lesson Plans. But then I had a bit of a snag. The lessons required that I open the files from the From Upload option on the Studio 5000 start up screen. Only, it wasn't there! There is no From Upload option on the start up screen. Anyone have any ideas how or why it's not there, and most importantly, how to get it there? It's kind of important!   Thanks!
  10. I have version 1.17  .. and when I tried to import a file from a friend, I got this instead: Is there anything higher than V1.17? 
  11. NA5 Screen Locks Up

    I have multiple NA Screens on a control system and they are arbitrarily locking up.  The screen becomes distorted and unresponsive.  It has happened at least three times on different screens.  The only way to resolve the issue is to disconnect then reconnect power.  Has anyone seen this issue? Is it a known issue?  The controller is an NJ5.
  12. Good morning i want to know how i can recognize into the compactlogix 1769-L24 ER the micro 850 (2080-LC50-24QBB), because i want to communicate this two devices with MSG, i already i can see these two equipments into RSlinx but when i start Studio 5000 i don't know whick module i have to use it to recognize the micro 850, please help me
  13. I am new in sysmac studio programming. I used WSFT function (word shift) in cx-programmer. What function I will use in Sysmac studio? Thanks.
  14. Hi, I'm a long time lurker and would like to start by saying thanks for all the help over the years, much appreciated!  This is my first post, please be gentle. I'm working through a large project with an L83 (V28) including 75 EIP nodes & 5 servos.  We have a need for quick real-time response of 2 cameras during a quick servo move (taking several pictures).  I've broken my program up into a few event driven tasks (allowing me to chose the execution time interval (5 to 8 ms for more important tasks and 20 ms for less important tasks, etc.)), along with these I have 2 periodic tasks: 1 for my HMIs & faults running every 30ms and 1 for this quick real-time response camera situation running at .5ms which contains my camera and servo logic.  Everything is running well and seems responsive and repeatable enough, but I am now adding the second half of the logic which will essentially double everything (2 up system).  This has made me consider the best structure approach: Is it better to have a few larger routines within a few larger tasks or better to have more smaller tasks containing an abundance of smaller routines or some other different mix? Thanks, JD43    
  15. pc to plc

    I'm making a plc interface tasks using vb serial communications, I used omron plc CPM2A and Visual Basic 2013 to control and monitor the plc, but I do not understand how to transfer to plc vb command, and the response from the plc to vb. please help me, I'm sorry if my english language is not good
  16. FX5 PLC loses impulses from encoder

    Hello everyone!I have strange problem.I have plc, inverter (mitsubishi), incremental encoder (sick) and motor.When i set the frequency on the inverter about 1,5Hz, the plc correctly counts impulses, but every higher frequency causes the plc counts impulses incorrectly or doesnt count.  Above described things are happening at the rotation of motor in the forward direction. With a rotation of the motor to the rear, high-speed counter doesn't count the impulses.All the parameters of high-speed counters and PLC program i am sure there are right ( i'm using only instruction to start high-speed counting (HIOEN) and to enable interrupt (EI).  Input Response Time i had on "No setting" or 10micro-s and nothing.Type of encoder - A/B phase, HTL.PLC - FX5UPLC program - Gx works 3.Maybe somebody had similar problem? Maybe somebody could tell me where i need to look for the solve?   Thanks for help :)
  17. Dialog File Browsing

    Hello, I am looking for a way to use the OpenFileDialog in VB to be able to select a recipe file to import. I read this forum: and thought that maybe I could access the OpenFileDialog function from the code, but System.Windows.Forms namespace is unavailable.  Is there any other way to access the dialog box to let the user select a file? I am using Sysmac Studio with an NA5 series HMI. Thank you for your help.
  18. Has anyone been able to produce screenshots of an NA project via File/Print menu option on Sysmac Studio? All this does for me is produce an image of a page showing objects or controls on the page itself, but it does not include anything from pages that are setup as 'background' for the page. This makes producing documentation a real pain. Am I missing something? Thanks for any help.
  19. Can Anyone Come Up with the Screen Shots or a video link of procedure for Displaying Real Time Sinusoidal Waveforms From Satec MFM ON GE FANUC?? I have PACsystem RX3i via Serial Communications Module-IC695CMM002 
  20. master k 250

    How to read korea plc master k 250 since it can not read by using KGwin software .thanks
  21. Dear, i am doing one project on Omron PLC with VB.net.  i am using Ethernet communication  with  VB to PLC but i am unable to show analog value on VB page please guide me how to get data of analog value in vb and show in VB.net for DI/DO i am using CIO &H0  forreading   and  &H1 for write but for analog value how i will show on VB.net.
  22. I am unable to read FBD program in RSlogix 5000.It says editor not downloaded.I m able to see ladder logic programs.
  23. I'm modifying an existing NA5 HMI program and can find my way around the program OK except for assigning text to buttons. Every time I add a new button it assigns the same Resource ID for the button text as was used on the previous button. If I copy and paste a button it also uses the same Resource ID. This is to be expected but there doesn't seem to be a way to change the Resource ID associate with an object. Note that the Resource ID value is greyed out and not changeable. Editing the text on this button will affect the other two visible in the screengrab even though they were created separately (and not by copy and paste). Has anyone any ideas on the correct way to set individual Resource IDs on the buttons?
  24. Hi,  i want to read real time and date in simulation mode. How can i do this in Unity pro? Thanks for helping
  25. Hello everyone ! The plant where i work uses allen bradley CompactLogix 5000 controllers. It has three controllers, each one controlling a seperate production line. So my superior asked me to add a functionnality to the existing program, and after a little research, i found that it is better to edit the program in "Online Mode", and that's what i did. After that, i wanted to associate the new tags i created with some views in RsView Studio, but i cannot find any tags in the online folder associated to the controller, even though the connection shortcut is set and is working, and the online folders of the other two controllers contain all their tags ! Any suggestions please ?