Search the Community

Showing results for tags 'Programming Time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 136 results

  1. So I have a plc program where most of the outputs are based on a counter that goes from 0 to 1000. The counter speed is adjustable and is generally set to run through a full cycle (count from 0 to 1000) anywhere between 0.5 to 2 seconds. The problem is, when I try to energize an output by using an EQU instruction, it will almost always skip the count because the scan time is not fast enough. I've been using a LIM instruction which has been working, but its not quite as accurate as it needs to be. I switched the counter logic to be continuous to try to make it faster which made it almost perfectly accurate... But only in the continuous task; it made the other periodic task significantly less accurate. I was curious if any of you had any tips on how to remedy this or just general help. I am still relatively new to PLCs and ladder logic so any advice would be awesome, Thanks in advance! Edit: The purpose of the counter is to cycle through from 0 to 1000 over and over again. My outputs actuate during a certain interval within this cycle (For example I would say actuate from 300 to 800 and it would stop and end once it hit those values via an EQU or LIM instruction). I wrote the logic as follows: First I calculate how many cycles per minute I want to perform, using that value I calculate how many times I want to increment my counter per millisecond. Then a timer is given a preset of the total cycle time. While that timer is running I continuously multiply the timer's accumulated value by the "cycle count per millisecond" that I calculated earlier; the resulting value is the current count that all my outputs are based on... Hopefully that makes sense, I know it's not the best but I could not figure out a better way of doing it and I know rounding is certainly making the accuracy worse. My hardware is: Allen Bradely PLC (5069 l306erms2), 5069-ob16, 5069-ib16, and a Kinetix 5500s2 Driver for my motor(s)
  2. SoMachine Motion Logic Builder V4.31. Can anyone guide me on how to read the execution time of the STL logic in my application? Thanks.
  3. DATE Instruction for CP PLCs View File Sample code to set the RTC on a CP PLC. Individual sections can be enabled/disabled. Submitter photovoltaic Submitted 03/12/21 Category PLC Sample Code
  4. DATE Instruction for CP PLCs

    Version 1.0.0

    95 downloads

    Sample code to set the RTC on a CP PLC. Individual sections can be enabled/disabled.
  5. Mitsubishi GX Works 3

    Dear Experts Would need your support in understanding instructions used in "Mitsubishi GX Works 3" with examples Regards  
  6. 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.
  7. 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
  8. 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
  9. 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.
  10. 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!
  11. The only thing I can find in help re using the buzzer is to use a multi function button. I want to use the buzzer as an alarm buzzer and turn on $SB13 or $SB14 from a bit in the PLC. Can anyone help please?
  12. I'm working to fix/improve the functioning of a program running on an a PLC5/40E.  I think high Scan Times are a big problem with this current program.  ((Backstory:  someone added some quasi motion control, and it sort of worked for a while.  Now that it's broken, the operators of this machine want it back. ))  I'll keep my question simple, PLC5's are new to me: There are 36 rungs with CPT instructions as the sole output, a third of these instruction are executed every scan.  I'm going to replace them with MOV instructions. My question is, is there any sneaky PLC5 reason to do a CPT instead of a MOV?  Is there a better way to do this? The CPT instructions that execute move integer values to a data file used by the HMI to control the coloration of touchscreen buttons.   Thank you for your time. PS: I'm new-ish to this forum, please feel free to let me know if my question was asked correctly or not.
  13. 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. 
  14. The CC-Link system on a machine has been intermittently dropping out.  Normally the Link Scan Time runs at a solid 87ms.  When the system "drops out", the link scan time will increase.  Sometimes double, triple, or go up 10x. It happens when the machine is running or when it sits idle. There are 33 stations on the network.  The same stations do not always fault but sometimes all of the stations will fault at once (as seen in the attachment pictures.) We have changed the main QJ61BT11N, the processor, the Q62N power supply, the main backplane (base unit), all cards on the main backplane.  Is it possible for one station or one of the cables to create a network wide problem?  Any ideas thrown at us would be appreciated. 
  15. PLC programming languages are used to program the automation devices in the industrial field. The device connect through PLCs can perform certain tasks like moving products or sorting them. The 5 most popular PLC Programing languages nowadays are all part of International Electrotechnical Commission Section 61131-3 Standard. IEC Standard is a set of rules that standardize PLC languages. The PLC programming language can be divided into two section: text-based and graphical.   Text-based Languages: Instruction List (IL) Structured Text (ST) Graphical Languages: Ladder Logic Diagram (LLD) Sequential Function Charts (SFC) Function Block Diagram (FBD)   Five Popular PLC Programming Languages You Need to Know
  16. Hi guys, since this is a forum for people starting out with TIA Portal, I would like to share with you my course that I developed for the last 6 months.  This course uses a real-life sample application and translates it into a fully functional TIA Portal PLC application.  This course of 2,5 hours consists mainly of video explanations with practical programming assignments to put your newly gained knowledge straight to work.  As a controls engineer, I have over 10 years of hands-on experience with TIA Portal ranging from software development, commissioning and troubleshooting. At the end of this course, you´ll be able to: Structure and program a real-life user application in TIA Portal Download and Troubleshoot a TIA PLC application Program function blocks (FB) using ladder logic Build global data structures using user-defined-data-types (UDT) and data blocks (DB) With the coupon link below, you can enrol for only $12.99 (might vary depending on the country you live in).  The course is normally $99.99, so you get an amazing all-round programming package for almost no money.  So go and check it out  Take me to the Course Now!      
  17. Did you always wanted to get started with Siemens TIA Portal programming, but you were never sure where to start or how to get the best performance out of the platform? Eager to upgrade your TIA skillset from an instructor with over 10 years of TIA experience in the field?   -> Then this course might be just for you! My course "Siemens TIA Portal - PLC Programming Basics" will take you through the steps of creating your very first TIA application - from structuring (very important!) and programming your application, to downloading and troubleshooting your application online.  The course is based on video lectures and is around 2.5 hours long, and consists of 40 lectures divided over 6 main chapters. The enrolment fee is offered at a huge discount at the moment, so take action while it lasts! Take me to the TIA Portal course, I´d like to check it out...   Thank you, and I hope to see you inside the course! Hans
  18. Siemens Field PG M3 - PLC Programming Rugged Laptop for Sale   Condition is Used   This is a Siemens Field PG for PLC Programming.   Purchased several years ago as part of an auction lot and has sat in my workshop since, I don't do much Siemens so this is up for sale - This is what I know about it :-   The machine has Windows 8.1 Pro 64 bit installed (Machine has Windows 7 Ultimate on the base but been upgraded at some point) 8GB ram installed It has a windows XP VM installed which runs the Siemens Programming software (Virtual Box) There is a folder on the desktop containing the original installation files, so would be easy to return back to the host machine if required. All software appears to be licensed (see pics)    Has Step 7 and Step 5 installed   Negatives - Missing the back flap & Battery not being recognised thus not taking on charge (I think this is a just BIOS update needed but not looked into it too much)   In very good overall condition, a few light marks but that's about it, still looks very good.   Comes with the original branded rucksack    This was a really expensive bit of kit in its day and still stands up as an excellent PLC programming machine   Open to sensible offers - I am located in the UK so worldwide postage will have to be calculated seperately   I have powered it up and it works well with no issues found, the PLC software all seems to work and appears fully licensed but as I am not the original owner and don't know the provenance of the machine or licenses this machine is sold with no returns or warranty provided.
  19. Setting the NB Clock based on the NJ NX Clock View File This document details the updating of the clock on the NB based on the clock in a Sysmac Controller. Submitter Michael Walsh Submitted 05/14/20 Category Tutorials and Quickstarts
  20. Version 1.0.0

    57 downloads

    This document details the updating of the clock on the NB based on the clock in a Sysmac Controller.
  21. So I have done quite a bit of googling and i even reached out to our integrator but i am having a nuisance fault of "Watchdog Fault" Caused by periodic task overlap. The task is scheduled to start again before it is finished. I added all of the Programs in this task MAX scan time and it only came out to 102 ms. the task is scheduled for every 100 ms. The watchdog is set at 500 ms. The task is currently running at 146-148 ms and i confirmed this using a TON instruction at the end of the task followed by a reset. What can i do to get this down?? What would be the best practice? Move programs into another task? Make the task continuous? What would happen if i did make it continuous? I tried setting the task to 150 ms and the controller DID NOT like that. I was barely able to get back on line with it to change it back to 100 ms. CPU usage is at 91% and this task accounts for around 50% of that. Thank you all in advance for your help.
  22. We are having issue on a machine running kinnetix 5500 drives where we randomly get clock Sync Faults.  This particular machine is set up as a slave looking to another PLC(L36-ERM) on a different station of the same machine as the time master.  There are about a dozen other PLC's(totally different machines) on the same network and most are set up as masters for their own systems and to my knowledge they have never had this issue. There are also dozens of other devices connected to this network, and then this network is part of the facility wide network.( I apologize if this is a little wordy) We are pretty sure that the slave is finding a more accurate clock on the network somewhere and syncing to it causing the servos to fault. We have tried making both the master, and the local clock of these 2 particular PLC's higher priority than the others to eliminate this with no success. What I am trying to do is track what clock this particular slave is looking at as its master when the clock sync fault has occurred.  is there away to do this through ladder logic?  it seems like we should be able to get this information and save it so we can figure out who the culprit is.
  23. Version 4

    64 downloads

    MX Component manual for programming PC - PLC software solutions.   Details MX Component library functions and examples. 
  24. MX Component Programming Manual View File MX Component manual for programming PC - PLC software solutions.   Details MX Component library functions and examples.  Submitter WattUp Submitted 03/13/20 Category Manuals, Tutorials
  25. CS1D Programming

    Hi dears, I'm programming CS1D omron PLC, I created one project but in project tree i dont have function block section. when i change the cpu to CJ1 for example function block section will be add. how can i add function block to CS1D in my project? thanks.