Search the Community

Showing results for tags 'sysmac studio encoder'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 319 results

  1. 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    
  2. 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
  3. 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 :)
  4. 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.
  5. 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.
  6. 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?
  7. 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 ?
  8. Do I need an encoder (slave) axis for my project? I am using a Powerflex755 and Incremental Rotary Encoder (scaled into linear movement axis)... Any other suggestions would be GREATLY APPRECIATED!! project file https://sites.google.com/site/lyncedrgb/eva/untitledpost-2/StellaPLC.ACD
  9. CJ2M-CPU33 >> FINS >> PC

    Hi all,   I have a challenge and I'm hoping for some feedback from all the smart folks on this forum   First some background  about this post:   I work for a company that builds switch panels for the food industry. All these panels use the same PLC unit CJ2M-CPU33. As of today we manually test these switch panels by checking if the wiring is correct with a DM (digital multimeter), but we do not check component functionality, such as powering relays or testing E-stop circuits. The reason is that we do not have a PLC program to control all these elements.  The ultimate goal is to automate these switch panel checks as much as possible, the only time user input is necessary would be to flick a switch on the front panel. The flow of information would be as follow: PC sends command to PLC (output Q0.00 - High) PLC sets output Q0.00 High (via terminals and some circuitry) PC gets signal back PC checks information PC sends command to PLC (output Q0.00 - Low)   Everything has to be controlled via a windows application  (Visual Basic) because that is what I understand. About PLC programming I don't know much about ladder diagram programming, I know how to build simple programs but that's all. But I will learn a lot more by doing this challenge   To get started I have search the forum on topics that relate to FINS command and Visual Studio. I've found some interesting topics one of which had a  ActiveX component for visual basic named INDAFINS so I will investigate what the possibility's are. Also I have downloaded some FINS command reference documents I need to study does because as it stands I'm a total noob when it comes to FINS commands. I hope that some of you want to think with me on this and share your thoughts about the subject.   My current test setup looks like this     COMPOTENT PSU 24V= 5A Weidmuller Switch Omron PA202 PSU CJ2M-CPU33 Omron OC211 (outputs) 6x 24V weidmuller relais  
  10. Hello All! This is my first post so please give my descriptions some lee-way please:P I am having trouble finding a solid example of ladder logic which integrates a: PowerFlex (755 in this case) Rotary Incrematal Encode ( or any encoder for that matter) A Prox to reset the resolution at specific points along the axis Also, can I use the standard Motion Instructions (MAJ,MAS,MAM etc) to control the movement sequences of the PowerFlex or are they only meant for use with Servos? I am working on automating a Lumber Treatment Process. The movements will have to move tens of thousands of pounds.. Therefore I would like to use the PowerFlex as a Torque Limiter to control a 15HP squirrel cage motor on a massive gear reduction. I have the distances and pulses per distance traveled from the mechanical engineering guys.. I'm just having problems integrating! After using the Setup Wizard for PowerFlex how can I go about actually inserting movement instructions for the drive into my ladder logic? Some more info on different movement profiles.. I've also included my attempt at trying to piece this together thus far.. Any input would be welcome! (StellaPLC) https://sites.google.com/site/lyncedrgb/eva/rslogix The actual drive and PLC are not available to be me at this time.. could this be an issue while trying to write this motion control program? (obviously not testing & troubleshooting portion) Tugger Speeds Freq. ACCEL TIME DECEL Time E-Stop Decel Torque % of max Notes   VERY SLOW 15HZ 0.5s 0.5s 0s 100     SLOW 30HZ 1s 1s 0s 100 Restricted to slow speed within 3m of ends of transfer deck   HAUL 60HZ 5s 5s 2.5S 100 Max torque limit 250% of FLA   EMPTY TRAVEL 120HZ 2s 0.5S 2.5S 30 Torque Limited to 25%  
  11. Hi, This is going to be a long question, but I want to be thorough so please bear with me. We have a system consisting of ABB equipment for motion control and IO handling. In order to simplify the overall architecture, we want to replace the motion control part of this system (which at present consists of a bunch of different CPU cards and PCBs) with one Omron NJ controller an use its SW library for motion control instead. With regards to IO handling we want to leave the IOs as they are now and just map them from the ABB PLC to the NJ controller and back using an Anybus X-gateway (i.e. the ABB PLC will collect the IOs from its modules, send them via Profinet to the Anybus, which will map them on EtherCAT to the NJ controller). Now, in the NJ controller, rather than putting all the IOs in the global variable list, I want to create structures (one Digital Input structure consisting of booleans, one Analog Input structure consisting of long reals and so on). The reason I want to use a structure rather than an array, is that the structure let's me specify variable names, which is nice. Here is my problem: How can I map the digital inputs from the Anybus to the Digital Input structure? The data from the Anybus is packed into bytes of data, so I want to find the most convenient way to take these bytes from my IO-table, split them up and map them to the bools of my structure. I can't seem to find good solutions to this problem online. From the Omron Instruction docs W502, the function AryByteTo seems to do exactly what I want, but it seems like my output variable in that case needs to be an array instead of a struct. If I don't find a good solution to this I am stuck with just hard coding every DI to its variable in my struct, which is time consuming to say the least considering well over thousand IOs. Hope someone will help. Thanks in advance.
  12. NX-EIC202 Utility

    Version 1.15

    83 downloads

    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.
  13. I am experiencing a serious problem. Everything went fine in my project for month. Yesterday when I "Transfer to Controller" (like I use to do several time a day) I got this Message : "Build is not complete. Process was aborted". So I build again, I Rebuild controler, I restart SysmacStudio, restart the computer, reset the hardware on the project ... nothing worked. Always the same message. So I opened a previous version of my code. Since it was allready built when saved, I had no problem transfering it in the controler. However, the moment I change a line (have to rebuild) on this backed up version... same problem appear. I finally got to the "output windows" (Alt+3) where I saw ALL build are failed. I've contacted my Omron representative and he is trying to help but he seem as lost as I am. Please help if you can, I am using Sysmac Studio 1.13 on Windows 10. I also have a HMI wired to the project and everything work fine with it.  
  14. Hello guys, I sell cheaply Omron SYSMAC Programmable Controller - CJ1M-CPU12, CJ1W-PA202, CJ1W-ID232, CJ1W-ID211, CJ1W-OD232, CJ1W-AD081-V1, CJ1W-NC113, CJ1W-TER01, + cables: CS1W-CIF31 and CS1W-CN626 - Actual price is 290$ - more info+photos - > here < details: CPU:  CJ1M-CPU12 (ver 3.0) Small! Fast! Flexible! These machine controllers provide flexible control for all kinds of applications.  Compact 90 × 65 mm (H × D) dimensions are first class in the industry. Provides excellent high-speed control performance, with high-speed processing of 0.1 μs for LD instructions and 13.3 μs for floating-point calculations.     PSU: CJ1W-PA202 Used to provide power to CJ1M CPUs and I/O units; AC and DC supply versions available; Clips to the left of the CPU; Also used to power expansion I/O assembly Note: The output currents stated are maximum figures. The combined 5Vdc and 24Vdc outputs must not exceed the maximum output power.   Basic I/O Units: CJ1W-ID232 CJ1W-ID211(SL) (ID211 without terminal block) A wide range of CJ series input units are available featuring high-speed input and suitability for various applications.   CJ1W-OD232 A Wide Range of Basic Output. Units for High Speed Output and Different Applications. These Output Units receive the results of output instructions from the CPU Unit and perform ON/OFF control for external devices.   Special I/O Units: CJ1W-NC113 Axis position control unit. Open-collector output. Point-to-point positioning controller withpulse train output.   CJ1W-AD081-V1(SL) Analog Input Module to convert varying input signals     OTHERS: CJ1W-TER01 End Cover CJ1W-TER01 (necessary to be mounted at the right end of CPU Rack)     Cables:   CS1W-CIF31 ↓ (length - 0,5m; used)   CS1W-CN626 ↓ (length - 6m; used)         Current status of each part: About a year used in a clean environment. Our creation of PLC Programmes have been deleted - PLC is ready for your creation. All parts have been tested and are fully functional. Personally, I guarantee the operation of all components. A part of this purchase is a PLC / USB cable (CS1W-CIF31; CS1W-CN626), allowing you yourself will be able to check the status of functionality. A part of the sale is not subject documentation neither software. (CX-Programmer can be obtain from the Internet.) Sale due to dissolution of company.               Product Description OMRON + Web links to specifications   CJ1M-CPU12 (ver 3.0) Compact 90 × 65 mm (H × D) dimensions are first class in the industry. Provides excellent high-speed control performance, with high-speed processing of 0.1 μs for LD instructions and 13.3 μs for floating-point calculations. Other models are available with special functions such as the CJ1M-CPU2[], which provides positioning functions and built-in I/O, and the CJ1G-CPU4[]P. High-capacity Memory Cards up to 128 MB can be installed, and used to backup the program and system settings, or log customer data. The large instruction set can support diverse applications. Four types of programming are supported (ladder, structured text, sequential function charts, and instruction lists), with approximately 400 instructions and 800 instruction variations. These CJ-series CPU Units support structured programming using function blocks, which can improve the customer's program development resources. The various protection functions provide improved security to protect valuable software resources and property. The CPU Units are compatible with the CX-One Integrated Tool Package. Information for each component can be linked, and the system's data can be integrated into one database. The software can provide total support from PLC settings to network startup.   Specification: > here < Datasheet: > here <     CJ1W-PA202 Omron CJ1M CPU's, PSU's and Expansion Control/Interface Modules The CJ1M is a powerful and compact PLC family, covering applications requiring up to 640 I/O. CPU models are available with built in pulse outputs for stepper or servo control, and all CPUs in the CJ1M family enjoy optional modules for many types of I/O and communications. The CJ1M is the next generation of PLC from the earlier CQM1 series, and program compatibility eases migration between them.As with other Omron PLCs, the CJ1M series is programmed with CX-Programmer (RS stock no. 400-6440), designed for compliance with IEC61131-3. The backplane-less construction of the CJ1M series makes selection and installation simple; choose the CPU and power supply unit, then the I/O modules to suit the application. These items are simply plugged together end to end and then mounted on DIN rail.   Specification:  > here <   CJ1W-ID232 CJ1W-ID211(SL) (ID211 without terminal block) High-speed input models are available, meeting versatile applications. ON Response Time: 15μs, OFF Response Time: 90μs Use 24-VDC, 100-VAC, and 200-VAC models to connect to devices with different types of outputs. The 24-VDC models can be connected to devices with either NPN or PNP outputs. There is no need to select the polarity. A digital filter in the Unit can be set from 0 to 32 ms to reduce the influence of external noise. Either a Fujitsu or MIL connector interface can be used. *2 Several models of Terminal Block Conversion Units are available, making it easy to connect to external devices. Specification:  > here <   CJ1W-OD232 High-speed output models are available, meeting versatile applications. ON Response Time: 15μs, OFF Response Time: 80μs Output Units are available with any of three output types: relay contact outputs, triac outputs, or transistor outputs. For transistor outputs, select from sinking outputs or sourcing outputs. Output Units with load short-circuit protection are also available. *1 Select the best interface for each application: Fujitsu connectors or MIL connectors. A wide variety of Connector-Terminal Block Conversion Units are available to allow you to easily wire external output devices. Unit have load short-circuit protection.   Specification: > here <   CJ1W-AD081-V1(SL) • Wire burnout detection • Peak-hold function • Mean function • Offset gain setting Use the Analog Input Module to convert varying input signals, such as 1 to 5 V or 4 to 20 mA, to binary values between 0000 and 1F40 Hex and store the results in the allocated memory at each cycle. The ladder diagram can be used to transfer the data to the DM Area, or the SCALING instructions can be used to scale the data to the desired range.   Note: Analog Input Terminals are also available as DeviceNet Slaves and as Multiple I/O Terminals. You will find further information on these in the Industrial Networking and   Specification: > here <   CJ1W-NC113 These position control units support positioning control via pulse-train outputs. Positioning is performed using trapezoid al orS-curve acceleration and deceleration. Models are available with 1, 2, or 4 axes control, and can be used in combination withservo drives or stepping motors what accept pulse-train control.   Specification: > here <         Payment Method 1.     I accept PayPal only. We ship within 3 business days of receiving payment. 2.     Serious bidders only, please. Orders will be cancelled and an unpaid item dispute filed if payment is not received within 16 days of purchase. Therefore, please make sure it is you need before buy the product.   Shipping 1.     Free Shipping 2.     Method : EMS or FedEx. 3.     Winning Bidder can receive the item in 2 days or 1 week from receipt of payment.  
  15. Encoder input CP1L PRV2

    Hi, I am planning to use an encoder on a CP1L to read on the RPM of a spinning wheel. For this, I can use high-speed counter 0, and the PRV2 instruction. My problem is that I also need the rotation direction. I was wondering if anybody had a tip for this? Thanks
  16. Hi all, I need to edit the hardware configuration of an existing system on B&R 2005 system. but when I upload program from plc to my computer and trying to open it on Automation Studio so Software is not recognizing this uploaded file from PLC. Actually Digital Mix module is malfunctioning in existing system, and this module is out of stock. What I want to replace it with one Digital Input and one Digital Output Module which is available. Please help me Thanks & Regards    
  17. Howdy, Wasn't sure the best place to post this Programmatic Timer/Delay question. I need to create a Timer whose 'time' will change programmatically. I am having trouble coding this in RSLogix/Studio 5000. I need to delay a little more every time 1 Product passes through up to a certain count then reset and start over. Basically during a conveyor transition, via a pop=up conveyor, I don't want the product in the same place every time. I want each successive product to be in a little bit different spot, call it the Conveyor Land Point. The product will land a little further each product, then start back at the first land point I have no code to share as all attempts were FAILs Inputs: > Product Count (Count up or down counter) > Product Count Cycle (Number, constant, set able, currently = 4) > Delay Time Sequence Interval (Number, constant, set able, currently = 0.25 seconds) Outputs: A sequencing delay, based on Product Count > Delay Sequence:  1st delay 1 second. 2nd delay 2 seconds, ... up to Product Count Cycle (4) then reset back to 1. Program: (As I was thinking) Set Product Count Cycle, Product Count Cycle = 4 (May change could be 3,4,5, or 6) (Might be hard code, might be an HMI input) Set Delay Time Sequence = 0.25 seconds (May change could be 0.5, 0.75, 1.0 etc.) (Might be hard code, might be an HMI input) Line start, Product Count at one (1) Calculate Delay     Delay   = Delay Time Sequence Interval * Product Count Cycle * Product Count  Product Count increments via PE Repeat e.g. Hopefully I have not 'run' at the mouth, wanted to give as much info upfront                I included a picture Any thoughts, help would be great. thanks,
  18. I am working on re writing a PLC program from CX Programmer to Sysmac Studion and i have run into a few issues of not being able to find the same instructions. Does anyone know of an instruction in Sysmac Studio that is the same as a XFER and a BSET in CX Programmer.
  19. i am working on CTL (online cutter)i am using fx3g plc with 1024 ppr encoder i want to calculate MPM(METER PER MINUTE) in real time with the encoder can some one help me with the logic and how encoder work in frequency mode
  20. Hello Everyone, haven't roamed here for a while.   So I'm having a little trouble using the Structure Data Type in Sysmac Studio/NJ. As an independent tool, it is powerful to create user data types, such as Ethernet/IP Tag Link to V680S RFID or any other EIP equipments. And it is way more powerful than the CJ2, since it has the ability for user defined offset, which CJ2 can't do.   But the problem is we cannot move/copy the content of the members to any other standard types. For example, I have a structure with 8 BYTE type members. Then I need to send those out via UDP or TCP/IP comms, which Function Block requires BYTE[] data type. Unfortunately data movement instructions such as MemCopy and AryMove didn't work at all to do the job. This was easily done in CJ2 since we can access each memory content directly. Currently I already resort to use customized Functions which will translates the Structure into BYTE[], but that would mean for every different protocols, I need to create a different Function.   I have seen this problem posted somewhere in the SS/NJ Improvement Request section, so I wonder has anyone know any update about this matter? Haven't checked the latest update yet (SS v1.14), but I'm certain that in SS v1.13 this feature is still unavailable.   Thanks!!!
  21. Hi Everyone, I have a PowerFlex 525, in Velocity Mode with a Encoder Card "25-ENC-1". We are controlling this drive via TCP/IP with a 1769-L32. Through the PLC if I try to toggle the Bit for "Pos Redefine" in A560 [Enh Control Word] it instantly turns back to 0. But through the Parameter List Editor I am able to toggle A560. For My function I need to have the drive in Velocity Mode, If I change the drive to Position Mode I am able to toggle "Pos Redefine"   Any Thoughts would be great      
  22. Hi, I need to use an absolute encoder to measure angle of turning object. I have to use S7-400 and a PVM14 absolute encoder. The Encoder support "PROFIBUS interface" and use "Class 1 and 2 in accordance with PNO profile 3.062". I am looking for example code, or a good manual. Any advice appreciated!
  23. Using a Panelview Plus 7 HMI with FT view Studio. Is it possible to enable/disable a button? I can't  find anyting on the button 'Animations' menu or anywhere else.   Thanks.
  24. DC motor with encoder

    Hello, The company that I work for wanted me to design and build a FIFO loader. For those who do not know what a FIFO loader is, it's basically a lift that runs up and down and filling up the magazine slots with pcb's. After I finish the mechanical part i'll try to program it by using a CPM2C - 20. I have already played with CX-programmer and learned my self a bit, for example how to program simple things such as AND and OR gates for controlling motors and lights. Really hard part for me was figuring out how to create a program that reads data from the encoder and use it to create positions which the motor will stop at, and i have not yet figured it out. I've been trying to google it without any luck, the only thing of real info i've got is a 650 page long pdf file or CX-Programmer manual which is hard for me to read since i'm new to all of this. Would be great if any of you people got any source or maybe a manual which are easy to understand for new beginner like myself. A bit about the program i would like to make: The FIFO loader will have some buttons for selecting different programs, lets say you press first button to select "program 1". Then the machine should move up and stop at posision "50" (there are 50 slots on PCB magazine) after it gets signal from pneumatic actuator (which will be used to shove pcb inside the slot) its should move to position "49" and so on.. If FIFO loader is located at "home" position and you press second button to choose "program 2", then it will move to slot "49", wait until it gets loaded, and continue to slot "47" and so on.. The meaning of this is to make a loader which can select a program to fit pcb's with different size of components.
  25. Hey everyone, I am having trouble with Studio 5000, i have just finished installing the software and my toolbar is all messed up (see attachment). can anyone help me with this? really appreciate all the help.    Thank you,