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 345 results

  1. The hyphens (dashes) in Sysmac Studio have been replaced by ASCII "boxes."  Anyone having this problem?  See attached screenshot. Sysmac Studio 1.220.80, Windows 7
  2. Hello, I need to Synchronize two 4kW motors connected to their own individual AltiVar VSDs. To put it simply the two motors are pulling cables on a pulley and when loaded the motor's slip and the speed varies. I have an Omron CP1L-EM PLC and 2x Omron Rotary Encoders ( E6C2-CWZ5B encoders - 360 PPR) - connected to each motor,   What is the best way to read the pulses from the two rotary encoders then convert to RPM? 1) Using  PRV or PRV2(883) instruction,  - this would be the best option as it would convert the value to RPM - however, can I use this instruction on both Counter 0 & Counter 1? 2) Or read the raw value from  Counter 0:  A270 (connected to motor one's encoder) Counter 1: A272 (connected to motor two's encoder) Convert the pulses to RPM - then compare and adjust? 3) Or using CTBL. - is this a useful instruction for this application?   Once I get the RPM speed from each motor - I can then do a compare instruction - see if there is a mismatch and if so send a scaled analogue output to the VSDs to correct the speed if required. (10-50Hz) What would be your recommendations? any help would be most helpful. Thank you.
  3. Homing servo motors

    Hello everybody, I have a question about homing servo motors. I have a project with new servos from Omron and I would like to know what is the best way to do homing for the servos and how often. Before when we have servos with encoders I was making special homing sequence and was calling by some event. I heard that new servos from Omron pretty smart and remember own position without batteries. So with this 'new generation' of servos what is the key to keep machine robust, easy for motor replacement without useless programming stuff. Regards, Scotty
  4. Hello everyone! Is there possibility to read words e.g. Name of alarm from the csv file or another file and save it in the PLC memory for further processing? It would be the best if the solution will matches to FX5 and IQ-R/F but it can be also for any of them. Thanks for help :)
  5. I currently have certain amount of Recipe data located in form of Excel file on to a PC with static IP address. Is there a way to get that data inside the Nj501 without using an SQL server as I currently have NJ501-1300 which doesn't support SQL. I am okay to send data to the SD card I currently have on NJ PLC as it is easy to get data from SD card to the NJ501.  If there is any example code or a link that helps me create i would be helpful. Thanks in advance. FYI: I am currently using NB10 HMI with NJ PLC.
  6. I am trying to connect a Delta ASDA-A2 Servo internal motor encoder to a Delta DVP28SV high speed counter input.  I was successful in connecting the servo to the plc on position mode with an external encoder connected to PLC high speed counter.  Currently having trouble in finding the correct wiring between the servo drive and the plc to count the pulses from the internal motor encoder.  Attached are some figures from the servo drive manual. OA --> X0 is obvious, tried s/s to GND, COM-, VCC and VDD... no result. Any suggestion would be highly appreciated.  
  7. Any new tags I add in studio 5000 the HMI project shortcut cannot locate the tags, it says unresolved route to processor. It's the same shortcut all of the other tags are using. Please help. 
  8. This is my first time to the forum and I am still very new to plc programming. I just had to move all of our software over to a new computer ( kind of new) it's running windows 7 pro. The same is as the computer before. Same computer name, same I'm, same file directory. However when I add tags in studio 5000 and reference them in the HMI, it says it is unresolved in route to the processor. It only does this for the new tags. I used the same shortcut and everything so I am at a complete loss here. What do I do.
  9. Struct as FB input

    Hello,  I am trying to define a struct as an input variable for a Function or Function Block. For example the function AddDelimiter (This is a standard Sysmac function), has a input variable with the variable type Struct, an it is possible to couple a struct to this input (See picture below). If i try to make my own function block with a struct or Structure as an input data type, i get the following error (See picture below). When I try to define a struct from the data types (In this case struct: Test) it doesn't give a error. But when I try to couple a struct to this input, that is a layer deeper than the function block struct i get the following error (See picture below). How can i define a struct as an function/ function block input? Thanks in advance.
  10. I am looking to replace a SIC Hiperface encoder with a standard 1024 encoder. I see how to change the protocol here but am wondering what else I would have to change. Thanks for your help!
  11. Using Rotary Encoder

    Hello dear, may i need some help .. I want to use a rotary encoder for my CJ2M CPU32 , but i don't know what anything must i prepare for it. such as type slot for plc and what kind program for read pulse from rotary encoder ... Thanks before  
  12. OS: Windows 7 Ultimate 64-bit running on VMware virtual machine. Installed software: Studio 5000 V21.0 Licence: Concurrent (served by licence server on another PC). On starting Setup.exe from the VM's desktop I get the message     "Studio 5000 does not support this version of windows" Any ideas how to proceed?
  13. Remote I/O weidmuller

    Hello,  I am trying to connect a Weidmüller UR20 Ethernet I/P  (Hardware version 1) to a Omron NX1P2 PLC via Sysmac Studio. I have imported the Weidmüller EDS file into Sysmac studio and connected two tags to the target variable 101 and 102 (I also tried using a array of bytes and a single word).   When I transfer this configuration to the controller and set the controller in run i get the following error: Tag Data Link Connection Failed (0x84070000). I have tried to update the firmware of the Weidmüller I/O but this doesn't seem to help. Also the web interface shows no connection with the PLC. I also tried to setup the connection with the CX network configurator but this gave the same result. Is there someone who can help me with this problem Thanks in advance.
  14. Hello,   I want to do a small scada for Allen bradley plc  on C#. I did a hmi/scada for Siemens S7-1500 plc on C#, it is working and free. I dont want to use Advanced  Hmi. it is looking free but I can not use it in industries as free. so I decided to use direct C#. Do anybody has sample program, code, document, library, link, etc.. about C# and Rockwell plc communication? second solution and question, if anybody has no solution; I may solve it with modbus TCP. but I dont know Compact logix L27ERM CPU support direct modbus tcp protocol. if anybody has knowledge about the modbus tcp protocol document, sample program etc.. I can try to communicate with modbus tcp C# and Allen Bradley.   Thank you in advance. 
  15. Is there any way to establish a variable as min/max value of a gauge on sysmac studio?
  16. I am using an Omron NJ controller and a Cognex Dataman 260 bar-code scanner.   At this point I can trigger the scanner and receive data from the scanner via ethernet/ip. My issue is in converting the response from the scanner to something human readable. The bar-code I scanned reads "872-3GSq".  The results of the scan are located in the variable Dataman_to_NJ[8]-[11]. At some point I know I need to use the SWAP function but I believe my lack of data type knowledge in this system is hindering me. How can I convert the value in Dataman_to_NJ[8] to the string "87"? Any assistance would be appreciated.  
  17. Hello everyone, I am working with a NB10W HMI connected to a PLC NJ by Ethernet protocol, I would like to know where to start regarding the sending of data from the PLC to the HMI. I have a 50x15 array and should show all those values in the HMI for read / write. How to proceed? I started working with PLC for a while. I'm using Sysmac Studio to programm the PLC and NB designer to the HMI.
  18. HMI VIEWER APP

    Hi recently I have seen Omron Europe and I have download an app for Android and iOS, that app can allow you to remote view HMI types NB,NS and NA9last from Omron). The reason of all of this, is if some body have try this app and also if communication and remote view was creat it. I have try all my best but still can't make it, if some body did it, could you please share it?. Thanks, Jose
  19. Dear Sir, Kindly Tell me how to use encoder with micrologix 1400. Thanks
  20. Hello Everyone, I am struggling with interfacing Incremental encoder with FX5U PLC, Does anyone have parameter setting and sample program for same. i am unable to fetch counts...   Encoder: 500ppr, 24V line drive, A-B phase,  PFA datasheet Hollow Shaft encoder.pdf
  21. Hello Everyone, I am struggling with interfacing Incremental encoder with FX5U PLC, Does anyone have parameter setting and sample program for same.   Encoder: 500ppr, 24V line drive, A-B phase, 
  22. Hello, Does anyone have experience with getting online a NJ/NX via USB with Sysmac Studio running on windows 10? At Omrons website it says Sysmac Studio offers windows 10 support from version 1.15 but I can't find drivers anywhere. Have checked in the communication middleware folder as you can see in the attached picture.  https://www.myomron.com/index.php?action=kb&article=1580 I have Sysmac Studio 1.20.1.0 running on Windows 10 Professional. Its not a big problem for me right now, because I can always connect via Ethernet, but if the driver exist I would appreciate having it.  
  23. Hey, this is probably a stupid question, but how do I delete old FactoryTalk View Programs. They are the ones that I have uploaded from a PanelView Plus via the "Transfer Utility" and then restored runtime using the "Application Manager". I open up FactoryTalk View Studio and I can see a list of all the runtime applications or I can create a new one. My question is, where are these applications stored by default? I have a bunch of old ones and test programs that I want to delete that are just cluttering up my list. I attached a screenshot to show you exactly what I'm talking about. Thanks, I'm sure this is a pretty easy/ dumb question. Howard
  24. Hi,  I am writing some routines to decode the data from my Input: data array to User-defined Array Parameters. Is that possible to have a generic routine to decode data coming from more than one module? I have two Module ENode and ENode_1. I have defined User-Defined parameters for the module. Can I make a generic routine to decode the data coming from these two modules and put them in the defined arrays?  the two arrays ENodeData[0] and ENodeData[1] have the Generic User-Defined parameters.
  25. Enumerations in Recipes

    Hello,   Is there a way to limit the input of an ingredient value, possibly by use of an Enum?  For example, I have an ingredient called Press_Speed. I want the values to be either Normal, Slow_1x, Slow_2x, or Slow_3x. On the PLC these values are interpreted as numbers. Can I limit the input to the String representation of the Enum?   I'm using the NA series HMI with Sysmac Studio.