Search the Community

Showing results for tags 'stuck in stop/programming mode'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 110 results

  1. 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?? 
  2. 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!!
  3. Hey, does anyone know why the simulation mode is on? how to change it? (LED SIM )
  4. 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.
  5. 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. 
  6. 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?
  7. 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    
  8. 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.
  9. 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?
  10. 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?
  11. 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?
  12. 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”
  13. I have an analog output card 1734-OE2V and there is in the fault/actions page parameters for program mode. What is program mode and when it is activated? Fault mode is clear but... Program should be written the value, but when this happens?
  14. 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 
  15. 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
  16. Mitsubishi GX Works 3

    Dear Experts Would need your support in understanding instructions used in "Mitsubishi GX Works 3" with examples Regards  
  17. 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.
  18. 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. support my channel by LIKE and SUBSCRIBE to continue these tutorial.ThanksSana ur Rahman
  19. 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
  20. 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 i edit the broken output number to another output number by using programming console??? Thanks Kong Fah.
  21. 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!
  22. I am looking for how others have set up vertical axis motions using the Kinetix 5700 servo system. I have a 2 axis pick/place unit with a horizontal axis (X @ 2500mm) and vertical axis (Z @ 1200mm) that works as designed during normal operation. X axis has no holding brake and Z axis has a factory installed 24vdc to unlock brake. There is a GuardLogix L81ES control system that handles the safety and control. On pressing E-stop/opening Gates the vertical axis will stop the motion, apply the brake and hold with no problems. (2198-D032-ERS3 Drive, 2198-P031 Bus Power, MPL-B430P-MJ72AA X Axis, MPL-B330P-MJ74AA Z axis) The issue that I ran into was an accidental download of the program without activating the e-stop and the vertical axis dropped unexpectedly when entering program mode on the processor. I am aware that this instance was my fault as the programmer, however I am also concerned that this might occur again in the future if the controller ever enters fault mode or someone else completes a download. I have done some investigation with the "ProgrammedStopMode" parameter on this single motion axis and attempted all 5 options and the vertical axis still has a free fall drop for a second before the brake grabs hold - so evidently this is not working for me. (Page 24 of Vertical Load/Holding Brake manual - https://literature.rockwellautomatio...t003_-en-p.pdf) I am curious if there needs to be something done elsewhere as the X and Z axis are set up as coordinated axis? I also am unaware if I need to preform some action/parameter with the bus power supply for this? The current state of the machine as it sits now is preforming a MSF in manual mode after 5 seconds of inactivity or 30 seconds in auto mode. This axis is usually in demand every ~22 seconds. This will shut down the axis after preforming a brake test on the vertical load and seems to function OK, however it is still in the back of my mind the issues mentioned previously if we ever enter a controller fault while indexing. Thanks for your insight
  23. Hello, I've got a problem with a Motion control sequence. In my code i would like to perform operation like: When package move on optice sensor position it stopping and perform MC_Move operation. It's moving for X lenght, but sometimes it stop a little bit after sensor and i would like to stop MC_Move instruction faster - directly when state on sensor goes down. Which instruction use and how to code it to make it good. I already made something like. **pseudocode** seq=1: if sensor then            MC_MOVE_instruction_execute=True;            seq=2 seq=2:            f_trig(sensor)            If MC_MOVE_instruction_done or MC_STOP_instruction_done then            MC_MOVE_instruction_execute=False;            seq=3 seq3:         REST OF THE CODE   SR_INSTRUCTION(S=F_TRIG.q, R=MC_STOP_instruction_done OR SEQ=3) MC_STOP_INSTRUCTION_EXECUTE=SR_INSTRUCTION.Q   Am i doing it right or there is another way? Thanks in advance.        
  24. 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:   Keyboard Shortcuts.pdf
  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.