Search the Community

Showing results for tags 'real time clock'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 84 results

  1. Please help me how develop totalizer for every 15 mins , for real value. Real value should   be taken sample  for 1Sec.
  2. 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
  3. 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.
  4. 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.
  5. 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.
  6. Cpu set clock

    Hi dears, I want to set cpu and NS15 clock with one contact. How can do it in cx programmar and cx designer? Best regards.
  7. 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.
  8. 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
  9. Utility Power at Night

    Has anyone had any issues with dirty power or disturbances from Utility that occur duration the night?
  10. Omron CP1E Clock adjustment

    I'm working on a project with Omron CP1E-N30DR-A Plc (And yes it does have the timeclock) And Omron NB7W-TW00B HMI I'm trying to use the Clock adjustment DATE(735) feature in the Plc program. In conjunction with the HMI to correct the time. Only focused on the Plc program for now. And presume I can accomplish the HMI portion once Plc program is working. Been fumbling with the Instruction manual descriptions several days and seems I'm not getting anywhere. Is there a possibilty to find an example program for this feature somewhere online? Or could someone possibly create an example program? I realize I might have missed some key information things in this topic. But lets see if I get any response at all.
  11. PLC Not fast enough?

    Hello, I used a Schneider Electric SR3B261B PLC to create a trivia machine (as I call it).  Basically 20 buttons that let contestants ring in to trivia.  There is a display that shows the number of the person who rang in.  It works pretty well unless people press the buttons at exactly the same time.  Then it shows 2 results at the same time.  Usually resulting in a display of 18 when really it was 12 and 14 that rang in, for example. The PLC has options for: "Adjustment of the basic cycle time of the module."   and "Type of Hardware Input Filtering." Which I assume would make the PLC operate faster and avoid two inputs triggering at the same time.  If I change the setting and update the changes do not keep.  I appear unable to change it past 20 x2 ms  and slow (3ms). Is that a correct assumption that changing this would fix it? Why can I not change this?  Is it because I have so many inputs (14 or so) and Outputs (16 or so)? or because my program uses nearly all 240 lines of ladder logic allowed? What can I do to fix this?   Emerald
  12. Do-More Designer

    Trying to program production tracking in Do-More 2.3. Need to track current Date, Time of day & current hour.  Anyone have an example of how time of day is used? I have done this in Allen Bradley 5000, but this Automation Direct stuff is new to me.
  13. Here are some videos training PLC AB(Rockwell) RSLogix5000 I hope this helping someones! 1) Setup RSLink to connect PLC using a USB cable   https://www.youtube.com/watch?v=mk-wgnwO4E82) How to set up hardware involve Input/Output, Analog, Device Net... PLC AB(Rockwell) RSLogix5000https://www.youtube.com/watch?v=pIUNPCEcNn03) How to use timer/counter/Compare PLC AB(Rockwell) RSLogix5000https://www.youtube.com/watch?v=7BDzAoFBJPMhttps://www.youtube.com/watch?v=EM3KO8JSYsMhttps://www.youtube.com/watch?v=yQtrIhTmwqA4) How to use Analog PLC AB(Rockwell) RSLogix5000https://www.youtube.com/watch?v=8raR0f7zr6M5) How to use RealTime-Clock PLC AB(RockWell) RSLogix5000https://www.youtube.com/watch?v=Lgg8hjs5jkY    
  14. I am new at PLC programming, I have tried some ways to convert a text into DINT and I haven't found the right way yet, maybe somebody can help me. I want to convert "Hello" to DINT, for example. I tried converting it on here  https://www.branah.com/ascii-converter  to decimal and then using it as an input for a ROUND, FLOOR, TRUNC blocks to get a DINT, but when I get the result and use as an input in a DI_R i block the output doesn't match with the first conversion of "Hello". Any tips on how do I get it to work, please? Thanks in advance. 
  15. Hi,   I'm pretty new to allen Bradley and wanted to know if there was a function that could help me out. I have a rotation sensor which feeds back to the PLC via a digital input, once every half second or second once machine is up to speed - I want to record the off time of this DI (how long it is off between pulses, essentially how long it takes for drum to rotate once). Is there some way to record this time and use this value for compare logic? any help would be greatly appreciated.   PLC: Micrologix 1400 series B RSLogix 500 version 11.00.00 (CPR 9)
  16. I'm very new to sysmac. I am trying to display the current date and time in the corner of each of my HMI pages. I saw a button labeled date and time. It is asking for a variable for behavior. Do I need to write some basic structured text or FB in plc to get date and time and pass it over? I figured the button would update itsself since when I placed it on the screen it had the current date and time and refreshes every time I leave the page and come back. 
  17. real to integer number

    Hello, Could somebody give for me advice how need seperate real number to integer? for example I have in D10 real number 10,9 for me need to do integer number 10 and 9. The real number seperate to integer I am using this LADDER line, attached picture. In D90 I got 10, But how to isolate the number of decimal places,I can not think of. Please help for me
  18. Capture Date and Time

    I would like to capture current date and time to registers in the PLC. I would prefer to use a function block, if possible, since I need to do the capture at different places in the program. I am using a CJ2M. How can I do it?
  19. Convert time

    Hello. this is my firs post is possible to convert the elapsed time of timer to real or int i need to make some math operation with the elapsed time thanks  
  20. There have been many good discussions on the applicability of cloud-based solutions for manufacturing and process control systems. On one side, some people have concerns regarding security and control of the information, on the other side, there are identified benefits enabled by cloud systems. From VMS minicomputers to DOS and Windows, from ArcNet to Ethernet, it is inevitable the industrial automation systems shall adopt the technologies that are getting predominant in IT general use; the current environment that I am calling the “Cloud-iPad era” is no different; therefore the practical discussion is not if those new technologies will be applied in the industrial environment, but how. This paper is not intended to join the conceptual discussion about the cloud, but just to present a few simple practical examples, where cloud technologies are already enhancing industrial automation solutions and enabling new business opportunities. CloudPracticalApplications.pdf
  21. Time Input from NB Screen CP1L-E

    Hi guys,     I am trying to make a controller for an oven using MODBUS with a CP1L and an NB screen. My oven program will have 10 stages in one baking cycle, and the parameters for each stage can be modified individually (temperature, blower speed and time). I have set my number input in the NB screen to be a unsigned int of 2 integers and 2 decimals, and it writes to H4 in plc H memory. I move this value from H4 to W4 in the PLC, and input W4 into a timer (T0000). I have tried data manipulation and still have no success in getting this to work properly. My CP1L timer is set to BCD mode, as I am using premade MODBUS function blocks which are programmed with timers in BCD mode. Does anyone have any pointers regarding this? In the screenshot provided, the number i inputed in the HMI was 60.00.
  22. Hello, Completely new to Mitsubishi PLCs and I need to use a date and time stamp for data collection purposes. We have a Siemens PLC as well and this has the data type "Date_And_Time" which is what I need to replicate. I have been attempting to write my own data type but am struggling with how to go about this as it is not straightforward and I cannot find anything about how the Siemens Date_And_Time is made up so I have nothing to go off. Does anyone have an example of a data type they have made that is the same? Or is there a data type which does this already in GX Works 2 that I just can't seem to find?  Please help!
  23. Hello - I am currently setting up a program to control a downlane conveyor motor and ran into the issue of operators leaving the conveyor on through their breaks/at the end of the shift.... I know, shocking . Anyways, the essentials of the program are the following - ladder logic, start/stop PB station, a sensor that says when I've seen a box for x-amount of time I will turn off, when the eye is clear for x-amount of time I will turn back on. When trying to 'solve the problem' of the operators leaving them on, I figured this would give me a chance to use a RTC (real time counter) and program it so that at various times of the day I will send a single shot to verify the relay is CT is open. I've enabled the RTC on the Micro810, dropped a TOW but do not really understand how to set the TOW block up. Hopefully that all makes sense. Thanks,  grubb
  24. OK,  I have a program in a Control Logix 5561 controller(ver. 19.52) that every time we go online with it, the communication between the PLC and the PC running RS5000 is so slow you cannot navigate the program efficiently. I am new to this facility but I noticed the programmer used 20 different periodic tasks to organize their program, mostly running at 30ms intervals. several are set to 10ms and some are even set to 3ms. I have gone through and found out that the short interval tasks have been overlapped 10's of millions of times, and the combined total of all scan times is over 160ms. I have a strong feeling this could be causing our comms bog down and possibly other erratic behavior but would like a second opinion. This machine has 2 indexing dials, with work stations that do work between indexes, Pick and Place operations, etc.  Is there even a need to be running these with periodic tasks? All thoughts are appreciated. Thank you
  25. Hello, I am having an issue with FIX Dynamics Real Time Database and the database columns available within when trying to query the database. On a system running iFIX 5.0, there are 19 data columns available, LHS of attached screenshot (in the screenshot example, crystal reports is used to view the columns). However in iFIX 5.9, only 15 columns are available (RHS of attached screenshot ), how can these missing columns be made available to be accessed? Regards, John