Search the Community

Showing results for tags 'link scan time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 99 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. Input cards, DI8x24VDC BA, 6ES7 131-6BF01-0AA0, NEW in box ,quantity 10 IO-Link CD-Master 4SI SIRIUS, 3RK1 005-0LB00-0AA0, NEW in box, quantity 4 IO-Link Master 4SI IO-Link, 6ES7 138-4GA50-0AB0, NEW in box, quantity 3 IO-Link Communication Module, CM 4xIO-Link, 6ES7 137-6BD00-0AB0, NEW in box, quantity 1 CM AS-Master ST, 3RK7 137-6SA00-0BC1, New in box, quantity 1   Located in USA.  Make offer, shipping included.   Pictures available on request, send email address in a PM.
  5. DATE Instruction for CP PLCs

    Version 1.0.0


    Sample code to set the RTC on a CP PLC. Individual sections can be enabled/disabled.
  6. I am new to PLC programing, I want to connect FX5U and MR-JE-_C via CC-link. When I connect FX5U and MR-JE-_C directly everything works, but when I connect them in HUB (I need to use HUB because later I want to connect GOT2000) I am getting error 86.1(network communication error) on amplifier. Previously I set up IPs shown on pictures below, now sometimes works, sometime doesn't work and sometimes works for 30 seconds and I get same error. Did I miss something? I don't know what to try else.  
  7. Omron NJ501 - IFM IO-Link - Wenglor U1KT001

    Hi, I am looking at reading an ultrasonic sensor value through IO-Link, using a Omron NJ501-1320 PLC connected through EtherCat to a IFM AL1332 master with a Wenglor U1KT001 Ultrasonic sensor. I have managed to read the 2 outputs of the sensor using this: Output_1 := TestABit(USINT_TO_BYTE(TxPDO_input_byte_1_6000_02),USINT#0); Output_2 := TestABit(USINT_TO_BYTE(TxPDO_input_byte_1_6000_02),USINT#1); But cannot read the ultrasonic sensor distance value, this is what page 2 in the manual says: Measured Value in 1/10 mm 2…15 14 Bit 300…4500 Octet 1 Subindex 3 (LSB) 2 1 Bit Offset 7 6 5 4 3 2 1 0 I tried a couple of conversions but couldn`t get the distance reading. Any ideas? Help appreciated.
  8. Hello everyone! I've installed GX works 3 according to the instructions in "". I don't get any errors, I can run the PLC and simulate completely OK. In the communication test, when the configuration is missing some components in the module list: Input, output, I / O module,... ( I hope you can answer for me?
  9. 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?
  10. CPT instructions on a PLC-5/40

    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.
  11. 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. 

    Hello all, kinda lazy question, but I'll rather ask, before I'll went to deep into HMI scripting. Because of a design of CC link, there are RWr and RWw Is there any simpler solution for displaying value stored in PLC, while also letting HMI operator change the value and save it to PLC, than scriting in HMI? hope it makes sense to you thank you in advance
  13. 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. 
  14. I am trying to display the time from an Accumulation timer. Using a data display object I am able to see the time in the following format 00:00:00.0000000. Is there a way to format the time without the decimal seconds I just want to see 00:00:00 (hours:minutes:seconds)
  15. 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
  16. Version 1.0.0


    This document details the updating of the clock on the NB based on the clock in a Sysmac Controller.
  17. CC-Link Protocol with a CJ2

    I have an IAI servo that was sent to us with CC-link protocol. I have never in my life used cc-link and can find very little on the topic on integrating with an Omron CJ CPU. I am curious as to whether this has been done, or is even possible given the protocols Omron works with. And if so, what did you have to do to get the PLC to communicate via CC-link. Thanks in advance for the responses!
  18. EA3 Micro Panel

    I want to display the current time of day on mt Micro HMI, EA3-T6CL. Is there a function for this? How can I get the TOD to display?
  19. 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.
  20. Tracking the master clock

    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.
  21. Hello Everyone, I am new at this forum, seeking help from you guys and gals. Scenario: I have a Controllogix 1756-L71 5570 controller installed with 1756-TIME module. The function of time module is to take time from GPS clock module in NTP format and send it to controller in PTP format. All the status LED's on Time module are OK. Also sync LED is Green. Still the time of controller is not synchronized with GPS clock there is a difference of 45 mins. Fellows please help. I'll be helpful.
  22. Mitshibisi to Fanuc Robot with cc link

    Good day all. I was wondering if someone can assist with the setup between a Mitshibisi R08SFCPU using a RJ61BT11 to talk to a Fanuc Robot controller. So in the screen shot attached i added a generic station because i can not find a file for the fanuc robot. The problem is that it does not give me the option of setting the Rx and RY registers. So not sure how to assign the relevant IO. Anyone with knowledge with this would be great
  23. RIWT special relay

    Once agin hello all, im pretty sure, that in the past i found in some manual special relay (SB????), that was set on when PLC was executing RIWT instruction. Now im trying to find once again, but with no luck, ive searched through all manuals that looked relevant, but nothing... any help will be highly appreciated.
  24. Hi everybody,For a while I’ve been wondering, in every plc forum where the use of loops come to discussion I find most people answering that it’s best to stay away from them and that there are better, easier and mostly less scan time demanding solutions out there. Why is that?In my experience they’re the next best thing.Why would referencing data from an array of 40 Dwords using a FOR X:= 0 TO 40 DO loop be any more scan time demanding then the PLC scanning through 40 rungs of statments?Just curious if I’m missing something here. Cheers
  25. Utility Power at Night

    Has anyone had any issues with dirty power or disturbances from Utility that occur duration the night?