Search the Community

Showing results for tags 'plc programming'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 82 results

  1. Hi all, I'm working on my migration from CJ series to Sysmac (NJ/NX).  I've encountered something I think is  a simple answer but I just can't find anything in the documentation or forums that has gave me a concrete answer. I want to increment a variable by one.  Is it not possible to insert a raw integer into the value field of the function?  (Please ignore the P_Off as this is only for test purposes only) I know I can create a variable and make it a constant of one but that just seems odd to have to go through that many steps to do so.     EDIT:  I should add the variable I'm trying to increment is a UINT (Unsigned Integer) The error I get is:   EDIT2: While I solved my problem with this instance by using the Increment function, my root question still remains.  How do you supply a value of a number to a parameter of a function without creating a symbol for that parameter?   Thank you all for your time,
  2. thumb wheel switch

    how to program a thumb wheel switch with delta plc using isp sowftware 
  3. Emerson 90-30

    I'm working with Emerson 90-30 on proficy machine edition and I'm trying to use a string variable to display words on a graphical panel in target 2 but withing the code itself on target one I cant seem to understand how the reference address works? can some one explain how string variables function and how to use them?
  4. Hi!Are you tired of skimming through menu bar items in TIA Portal in order to finally find that one command that you were looking for?So was I!So I´ve composed a handy one-page list of keyboard shortcuts to execute those commands in no time (FACT - 99% of them are executed using your left pinky and your left/right index finger ). Check out the list of keyboards shortcuts in the PDF attached below.For more practical tips and tricks on TIA Portal PLC programming -> go and have a look at my video course by clicking on the link below:https://lnkd.in/eipFaGm   Keyboard Shortcuts.pdf
  5. As the industry of plc and scada softwares continue to integrate more and more programming languages into their IDE, what is the most common language that should be learned by controls engineers (excluding Ladder Logic)?  I mainly use Python and VB for scripting but I am curious what languages other SCADA and PLC programming environments use. Should I be sticking to a specific language and learning it well or just know a little bit of them all? Let me know your thoughts!!
  6. Nematron DOS software

    We have an older Nematron system we are working on and requires some software. The system uses DOS 6.22 and launches Screen Ware 2 software and the Reliance DCS V1.01 to talk to the Rockwell AutoMax PLC that uses the Programming Executive Version 4.2. We have the Nematron parallel port keys (dongle) needed and are looking for installation media for editing. We also need information on the executables that open the screen files the ULTRA MAIN MENU is not available to us. We are interested in viewing the config for upgrade so even software that is newer and capable of converting and reading the program is fine. Any help is appreciated!!
  7. Hello all,   I am working on a batch computer for a concrete mixer, and the computer that was running the plant before has stopped functioning. It was an old PC running MS DOS. The code is encrypted and replacing it is not a cost effective option.   I therefore am looking into using a PLC to control this batch plant. I have a setup that was in progress by another employee who no longer works for us, it is a CLICK PLC from Automation Direct, and it is supposed to be paired with a EA9 T8CL touch screen HMI from the same company. I would like some advice on just some basics, I would greatly appreciate some input.   I essentially only have one input, and that is an analog scale, 0-20mA input. I have digital outputs for sand, gravel, cement powder, and a water meter for adding water to the mixture. I have one final output, an additive for reducing the required water in the concrete.   What I would like to create is a program that when it is told to start, looks at the scale, and if the scale is less than say 100 pounds, opens sand until it hits 1700 pounds (as an example), then turns it off. Then it turns on the gravel and adds that for another 1700 (again for example, all these are variable), turning the gravel off after. Next the cement, and so on. I don’t need someone to write the program for me, but can someone point me in the right direction on using an analog input to turn digital outputs on and off? Again, your help would be greatly appreciated.   Thanks for taking the time to read this long post.
  8. cx programmer

    Hi everyone< i need some help with CX programmer i have written a programm as when i enter the Set value on HMI in D892 and press enter the Input 1100.01 energises and this executes Substract block (415) which sbstracts #6 fron D892 and saves it in D896. Them Comparison b;ock (300) compares D896 with #0 and as soon as D896 is equals to 0 the ouput flag W11.01 energises Now as u can see in the image below the value in D896 in substraction block and Comparison block are different and this is causing the output to energise at wron count . Why is there a difference In the D896 value?? 
  9. Hello all,  There are two pressure gauges in a line with a flow of water. The flow is controlled by the pumps which is controlled by the PID whose control variable is pressure gague -2 . In ideal condition the pressure gauge -2 remains at 55 psi and pressure gauge -1 stays at 82 PSI. But in the line if someone opens a manual valve then pressure gauge - 1 reads 100 psi because the pump is running as per pressure gauge 2 . Is is possible to clamp the PID so that pressure gauge 1 remains at 82 psi.    FYI: Pressure gauge 1 is right after the pumps and pressure gauge 2 is at the end of the line. 
  10. hello everyone, I using stepper 17HS2408, microstep driver, modul motion QD75D2, PLC QD3UDV,, i've been trying to use program Absolute in axis 2. When I trigger the command to run absolute program the current value is running but the stepper motor still not moving, is there any suggestion about this?
  11. GX Works 3 (R04CPU) Device Memory

    Hello,  GX Works 3 / R04CPU. I'm using the Device Memory so that I can link the HMI to my PLC. I've set aside some memory, in this case D3260, to be used as a Real (32 bits data, Float single precision) to be set by the HMI (operator adjustable setting) and read from the PLC. I thought I'd move D3260 into a local label for readability/testing purposes, and it says I cannot move an Int into a Real - which is fair enough, but, how/where do I set D3260 as a real? Do I use some Functions to take D3260 + D3261 and make it to a real, or define the data area as a real somewhere...   Dumb question I know, I'm new to GX Works 3. Thanks very muchly    
  12. Codesys

    Hello - I stumbled across some mention of Codesys and was curious if anyone here uses it. Pros/cons? prefer it over other programming software. Have it downloading currently (since you can download a free variation of the application) but it looks quite interesting. Also - what PLC hardware is programmed with it? Did not see that mentioned on their website when I was browsing through.
  13. So we have a PLC project coming up and its our first one and understand and can execute most of the sequence without issue.  The part that is getting me is how to handle the following efficiently using studio 5000 and panel view.   AHU has to be able to run test cycles User selectable up to 250 steps in a test cycle User selectable temperature setpoint for each step User selectable humidity setpoint for each step User selectable time duration for each step   I thought about using arrays but as i understand the allen-bradley plcs to change the array size you have to go offline and then back online so you could not change it dynamically.  Was considering doind this with reading the dataset from an excel document the user would edit. The other option for me is to have a static arrays size and then based on the number of steps the user select have the routine only execute x ammount of steps, which is done easy enough.  Big thing is after the code portion is lined out is there a way to dynamically change the hmi graphics to only display certain steps for the user to edit, maybe by using an array of bits that are on and off for visibility and then having a GUI object be shown or hidden based on that bit?
  14. Versamax IC200 Programming Cable

    Greetings Engineers  Does anyone have part numbers for programming cable to connect from a serial port on GE Versamax IC200CPU001 to programming laptop via USB?
  15. Hello everyone, I am new to PLC programming and will start working on Allen Bradley PLC. I have an experience in computer programming languages. Will learning ladder logic be a better option or starting with structured text as i have some knowledge about the syntax and programming of structured text?
  16. Dear Sir, In order to help people to learn Structured Text programming I have written and public the book "PLC Controls with Structured Text (ST): IEC 61131-3 and best practice ST programming” The book can be used for all PLC brands, including CODESYS, Delta PLC, Beckhoff and Siemens   Get the book in English, Spanish, Arabic or Danish versions Used for higher educations in Denmark More than 1000 sold world wide! The book provides systematically by describing the basic programming, including tips/advices and 25-years practical experiences from the author.   CONTENTS - Background, advantage and challenge when ST programming - Syntax and fundamental ST programming - Widespread guide to reasonable naming of variables - CTU, TOF, TON, CASE, STRUCT, ENUM, ARRAY, STRING - Guide to split-up into program modules and functions - More than 90 PLC code examples - FIFO, RND, 3D ARRAY and digital filter - Examples: From LADDER to ST programming - Guide to solve programming exercises     ISBN: 978-87-4300-241-3 (Paper Back, English Edition) ISBN: 978-87-4300-242-0 (Paper Back, black/white, English budget Edition) ISBN: 978-87-4300-636-7 (eBook, English Second Edition) ISBN: 978-87-4300-637-4 (eBook, English First Edition) ISBN: 978-87-4300-843-9 (Paper Back, Arabic Edition) ISBN: 978-87-4300-957-3 (Paperback, Monochrome Arabic Edition) ISBN: 978-87-4300-909-2 (Paper Back, Spanish Edition) ISBN: 978-87-4300-995-5 (Paper Back, black/white Spanish Edition) ISBN: 978-87-4309-932-1 (eBook, Spanish Edition) ISBN: 978-87-4300-097-6 (Paper Back, Danish Edition) ISBN: 978-87-4300-895-8 (O-Wire, Danish Edition) ISBN: 978-87-4300-517-9 (eBook, Danish Edition)  (Google the ISBN number to find bookshop near you)   FEEDBACK Daniel Berggren, Application & Support Manager, Lenze Nordic (Finland) “Truly a good one. We at Lenze use ST as main language and have invested in this book. We use it for both internal use as well as selected customers”   Students at AP Graduate in Automation Engineering (Denmark) "What could we have done without your book?"   Review: Edison yu, Work as an automation engineer (China) “Thank you for the great book, that will have people to write more powerful and useful PLC program. #PLCProgram,#LearningPLC”   Torben Kjaer, Managing director, Alsinger Integration (Australia) “Have been using the book for referencing on a number of occasions, great asset to have in your tool bag. Thank you Tom for creating this book, great benefit to the general industry” Peter Paul Dallmann, Automation system and industrial support (Denmark) “I have got your book and have to say that it is the first one that comes close to the point. For our in house training your book will become a “must read”.”   Pedro Jose Barretto, Bachelor Degree in Instrumentation Engineering (India) “I have purchased this book and am using it to train myself in PLC applications requirements having ST programming. A High recommend to Engineers involved with PLC controls, design and Applications using ST programming.”   Jakob Sagatowski, Software Engineer at European Southern Observatory (Germany) I just wanted to say that you are doing a great job with your education material for the field of automation. I've recommended your PLC-book for two friends that want to switch industry and start within the world of automation   Carsten Damkjær Jensen, Lecturer, University College Lillebælt (Denmark) “We use the book on training module (OB1) in Automation & Operation. Nice book about structured text programming for beginners/mid level”
  17. Hello I am trying to get for HAAS CNC variables eeg. 10800,10801 etc into the PLC. Does anyone know of any ADD ON instructions ?    Thank You 
  18. Omron PLC Python communication

    Hello All,    I am college graduate student and I know little bit of cx-programmer for modifying existing program. I have master CJ2M CPU34 PLC connected with three CP1L PLC. All 4 PLC are connected via hub through Ethernet cable. I want to read/write some memory data to/from PLC through Python programming. As I am new to PLC and Python I have not much idea regarding omron PLC and python communication. So is it possible to connect python with master/slave PLCs directly? If yes then how can I communicate? I was trying with cpppo library to connect with PLC but I could not connect it.  I have attached the master PLC communication setup for the reference.    Any kind of lead/help is appreciated.    Thank you in advance.    -Yash
  19. Mitsubishi GX Works 3

    Dear Experts Would need your support in understanding instructions used in "Mitsubishi GX Works 3" with examples Regards  
  20. Hello, I am trying to have single press and double press etc. functionality in my PLC program where for example, single press will turn on the motor whereas double press will turn on the motor for 5 seconds. Is it possible to achieve using ladder logic in sysmac studio, if yes, how? Thank you in advance.
  21. Hello Friends,This video guide you about the programming of Schneider Altivar 312 VFD using SoMove software. From this video you can learn about1. Using SoMove software to program the Altivar 312 series VFD.2. To control the induction motor using control terminals of ATV312.3. To control the induction motor using the SoMove software control panel.4. To monitor the status of motor speed and thermal state on SoMove software.5. To export the graph of parameters recorded using SoMove software.https://www.youtube.com/watch?v=GgUKymi3uwAPlease support my channel by LIKE and SUBSCRIBE to continue these tutorial.ThanksSana ur Rahman
  22. Hello, I am new to automation and I do a project with a Micro850 Plc. I am more comfortable with logic block so I write my program in Function Block langage on Connected Component Workbench software version 12. I would like to make flashing a light but I don't know wich block to use and how to program it ... Could you help me. Thank you
  23. Omron PrograMming console

    Dear sir, my Omron plc output relay broken.i need to move this output to another output relay.then,i need to modify the program.how i edit the broken output number to another output number by using programming console??? Thanks Kong Fah.
  24. FINS Communication with C++

    Hi, I'm having a little trouble connecting to a PLC from my program. I thought my previous post a few months ago fixed it, but apparently it did not do much. Here is my code: And here is the resulting reply from the PLC after converting it to hexadecimal So far, I've narrowed it down to the issue that my program is sending 64 instead of the 18 that was specified by the FINS command. I assume that the received error is due to the fact that the PLC did not receive the correct instructions from my program. The "End" is not sent by the PLC, it is a personal note for me to know where the received message ends. My goal is to simply receive signals from D00 to D68. I imagine that the received string should be in the form of: 00 C0 00 02 01 01 00 01 00 00 01 01 [Response Code] [Data] Can someone help point out where I can start looking for why my program is sending 64 instead of 18? I do think I am messing up something simple here, but I'm not sure where to start. EDIT: To clarify the models, I am connecting over Ethernet to an Omron CP1L-M40EDT with CP1W-CIF41 Thank you in advance!
  25. Hello everyone, As the title suggests I am trying to display on a GOT1000 the real time frequency that the inverter is running at. I have attached my CC-Link settings and the associated programming as well. I tried using the example program from Mitsubishi but I got lost. From my understanding I should be seeing the output frequency in W3C4 however, I am not receiving any data. Any help would be appreciated.