Search the Community

Showing results for tags 'cycle time as data'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 159 results

  1. Have been able to exchange data types of BOOL, INT,  DINT & REAL between Omron NJ/NX CPU with Allen Bradley Logix CPU's with Ethernet/IP using the CIPUCMMRead & CIPUCMMWrite instructions. I now have a need to exchange "STRING" variable types. Have tried varions string lengths in the NJ without sucsess. AB default string length is 82 & Omron 256 but I think the difference is the length headder that AB has with within their String Tag type. I know I could convert my strings to an array of bytes & sent them this way, but was looking for a solution to sent them as native strings. Hope someone out there has done this & can share their leg work? 
  2. 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)
  3. Hi I'm trying to set up Modbus RTU communication between FX3U PLC and a weigh module. I would use the ADPRW command using 0X03 to read the 16 bit Holding Register but in the weigh module the Data Address/Holding Register of the value I want to get is 400047 - 400048. How to translate the value in 16 bit?   Thanks, Fabio
  4. 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.
  5. Hello all, I need to read device memory mostly I need to read R registers from PLC L26. I read device data, but inside of table, I can't find R or ZR registers. Can you help me?  What I did wrong?   BR KS  
  6. 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
  7. 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.
  8. NB Data log

    Hi there!  I need to implement a data logging that saves the log in a USB storage for a machine and just started searching for some info about data logging in NB HMIs. Up to now I'm clear about using the Data History function and the sampling method I'll be using but I still have some unclarified doubts about this. 1.- The data log should sample the value of, let's say, a couple of words, each second for an entire day (6:00 am to 6:00 am). NB's manual doesn't say a lot about Storage Type and Buffer Storage in "Save Data History" tab. Does "daily file" mean It deletes the .CSV file daily and it generates a new one? If is it, at what time does this occur? Does "single file" mean it generates a file and won't get deleted? Does this mean the sampling stops when completing the first one? Is "storage period" used to keep the file after the next log begins? 2.- Is it necessary to display the element in order to make the log work? Or can it be placed in a random screen you only enter once a day? 3.- In the "Channel Properties" tab. If I need to get the binary value of a word, do I need to set the max. limit to 65535? 4.- I asume that "Sample points" value doesn't matter when selecting Continue sample mode. Am I right? Thanks in advance, any help is appreciated.  
  9. Data Logging with GT Designer3

    Hello, I am trying to log data using GT Designer 3 and I'm having no luck. I found some sort of online documentation and even going through the myriad of steps still find my self unable to log anything. I am using the melsoft project navigator and GX Works 2 to simulate the logging of just one 16 bit signed word with a constant value. As logging data is clearly not as simple as just specifying D100 or D200 as the devices you want to log, I am hoping someone else on here has some experience on this matter and can help me out.  Thanks for any help in advance.
  10. Dear Friends, I have made this video to show you how to take data samples from Delta DVP PLC and save this log file in the Weintek HMI internal memory. The Weintek HMI internal memory is easily accessible using ftp. All the necessary steps are mentioned in the video. The link of the video is given below,    
  11. Hi all, I am currently having a project of polling data from PLC CJ1M using Advantech ECU-1051 IoT gateway which support rs-232 serial connection (Host Link) to poll data from the PLC for data acquisition and monitoring, I would like to use peripheral port since rs-232c port is used for HMI. However, I am currently stuck at make the connection between those two devices. I did setup same transmission configuration between them (baudrate, Unit number, start/stop bits,...). Is there any configuration that I have missed to make the communication works?  
  12. 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?
  13. 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.
  14. Good day everyone, before I start asking my question, just want to let you all know that my knowledge with PLC is not that good. I'm still learning on how to do it. So currently I'm working on a project that trying to obtain data from Omron PLC. I was told that I can't touch the Omron PLC program or modify it. That Omron PLC is connected in an isolated network within a router. Other than adding Network Card on the device, can I use another PLC (any brands) to get the data from that Omron PLC through the router? The communication protocol using here is Ethernet. Can i just tapped into the network and take the data with that way? Or the other method I'm thinking is that, the Omron PLC will feed the data to a server, can I just obtain that data from server by using OPCUA? I heard there's some PLC that have the OPCUA function, I just make my PLC into the cilent and request the data of that Omron PLC from server through Ethernet. Is this possible? Please let me know whether my method works or not, thanks in advance guys!
  15. 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. 
  16. I'm editing an old program for a customer that has a zillion user-defined data types. Scrolling through the list trying to find a specific type definition is taking way too long. Is there and easy way to find a specific data type definition? It would help if I knew how to collapse the view so I don't have to scroll through each member of every type. There doesn't seem to be any right-click menu items that would collapse the view.
  17. Hi! I would like to ask how could I send data from PC to CJ1M PLC, by SCU-41 module and RS232 cable, in order to activate an actuator (LED)? In my environment, I have a sensor that sends data from PLC to PC (I'm checking data, "HelloWrld" with Putty), with this configuration: And I have another section where I want to read the data from the PC in ordr to activate a LED I would like when I send for example a letter 'a' trough Putty, the LED activates. How could I do that? Thank you very much!
  18. Hello, I'm using RSLogix 500 application for LAD programming. I would like to convert the float data type to integer data type and vice versa. I tried with the COP instruction as some had mentioned in other forums, but it was not working. So any suggestions on solving that issue would be helpful.
  19. I'm working on simple structured text program which takes in DWORD values, does some math on them and then outputs in DWORD type. What data type should I be using and how can I make this work?  This is one of the lines from the code(everything DWORD) and I get 'operator not supported by DWORD data type' XPos3 := XPos1 + (2*XIncrement);  
  20. cycle or scan time my program?

    Hi, Cx-programmer PLC CP1L Where can I check my cycle or scan time program? Thanks, Lucas Abreu.  
  21. 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
  22. 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.
  23. 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.
  24. 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.
  25. Cognex Data Logging

    Anyone know how I can create a log of results from a Cognex vision system?  I have 3 cameras that look at various thinks... clip presence, clip height, clip angle.  There are 2 clips per part and 6 parts per tool.  This makes it hard to zero in on what I areas I need to tweak. Thanks! P.S. I've heard that maybe their OPC Server could do this but I don't have much experience with it (actually I don't have a whole lot of vision experience at all).  From what I've briefly read, I just install the server, set up the tag within the server, start it, and I can just drag and drop the tags into an Excell cell?  If this is true, this just gives me another way to read the values.  How can I create a database or log of these tags?