Search the Community

Showing results for tags 'How to program time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 125 results

  1. 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?
  2. Granite Line Polisher Machine

    Hello friends, I have been working on Granite Line polisher machine. I have completed the program but there is a requirement for polishing the Uneven shape of granite slab. Has anyone worked on logic of this machine? Can anyone give some idea for the logic or the Plc program. I have seen Chinese machine manufacturers giving this feature. 
  3. 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  
  4. 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
  5. 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.
  6. 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!
  7. 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
  8. Hello,, I have motion controller A series A172SHCPUN,, I have written the program ladder into the CPU, but I can't write the motion program.. i dont have the program to open file the program motion and I want to ask if I have the software SW3RNC-GSVE, my os computer is window XP, Can it be installed? and is the cable transfer used the same as the ladder transfer program cable (SC09)?
  9. Mitsubishi GT DESİGNER GOT1000

    Hi,  I need this program Please help me  R.lotfi@gmx.com
  10. 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
  11. Hello folks,   I am a rookie, self-training in PLC programming. I have written an SFC exercise (attached ACD file). I also try to call STL written subroutines and add-on instructions, from within the SFC main program. Calling the created subroutine works fine, but calling the add-on instruction fails from a reason which is above my level. I tried, tried and tried different solutions, with no avail. I am either wrong in writing the add-on (perhaps some missing but missing tag ?), or wrong is calling it. Can someone please give me a hint on what I do wrong ?   Thank you, Radu PS . I use Studio 5000 v24, combined with RSLogix 5000 Emulator.     SFC_trial.ACD
  12. PLC trainee

    Version 1.0.0

    80 downloads

    SFC test file; cant call an STL written add-on from SFC main program
  13. PLC trainee View File SFC test file; cant call an STL written add-on from SFC main program Submitter Radu Babau Submitted 02/04/19 Category PLC Sample Code
  14. Panasonic FP0 C14RS

    Hi All, I am new to the forum and new to programming PLC and like every newbie I have a lot of questions - Brief History of me - I had been a Manufacturing Technician for 20 years and recently got my BS on Electrical Engineering and now working as an Equipment Engineer. The main reason that got me interested in PLC's is my degree,  the field that I would like to get into and a recent problem that arise at work. My experience with PLC is very small in programming, some in TS I/O- However I had been studying by my self to the point that I built a test bench to understand it better and in the future create different project for learning purposes Currently I am putting together a tool Alarm delay program - Basically my exhaust sensors trigger an alarm (input signal turns OFF) before its send  the signal to my tool for abort, I want to create a different Alarm which will cause a different response from my tool and delay the original Alarm by 10 min and then trigger the original Alarm - PLC = Panasonic FP0C14RS  Reasons: Create a different Alarm: The response from my tool to this alarm will allow me to return my material back from the tool and put it in a safe spot. Delay the Alarm: Use a timer to perform this tasks - This the time that approx. it takes the to return the material. Trigger the original Alarm: I need to know which sensor was the problem in order to properly TS- So after my timer is complete - I want to know which sensor created the original Alarm My Current problem: I created the LD program, and while the original alarm stays OFF the program works fine - but since my exhaust sensor are always on - If my original alarm is trigger for  a few seconds, just enough to start my Delay Alarm: I dont have a way to know which sensor trigger after my Delay(Timer)is complete,  I reset my relays in order to be ready for new alarm.   Please provide feedback to my program - I know currently is not the best way or efficient way to do this and there are better ways, but my plan is to get it to work and then later revisions improve the way the program can be written   Thanks in advanced for your feedback and help Exh_delay_inv_rev1.pro
  15. ladder program

    Hello everyone, I want to know why the Y172 coil is ON / logic 1? whereas contact SM1 is worth OFF / logic 0? can anyone explain it to me ?
  16. Hello.. I have hmi Proface GP-4301TW, USB type B cable and ethernet cable. I want to transfer the program to the hmi but I cant. When I turn on the power of hmi,  a series of test appears and finally it looks like the photo below and I cant enter the offline menu.. can anybody help me to solve the problem?
  17. 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
  18. Please,if anyone has a working program (.stx).I need it to test a PL7 JUNIOR software
  19. Hi, In conception phase we currently use GXWorks to upload programs to PLC (L-Series). In production mode, for different security reasons we would like to automate this transfer so that the operator does not access directly to the program. Do you know any tool allowing this by using command lines and not GXWorks UI ? (GXWorks does not seem to be "command line" friendly As a POC I  have automated the GXWorks UI in C#  (by simulating menu or buttons clicks) but I don't find it reliable (what if an unexpected popup "pops" ? ). PS : I am a totally noob in this PLC world so maybe I missed stg in the docs ... 
  20. A machine was bought at auction which included PLC-5/15 module.  It did not come with a backup of the program.  Our maintenance technician said the program would not load and turned the module over to me (IT).  I notice the battery was installed in '92 so am assuming the program is lost.  Is their any internal memory or last ditch effort i can attempt to recover the program from this module?
  21. Hi Guys! You can read my problem below, if anybody can help, please do it. Thank you. So, I have 4 knife. You can set the cutting width for each knife separately. The problem is, there is a lot of size. There is an example: No1 size:  #1: 20 mm, #2: 25mm, #3: 30mm, #4: 25mm   (#1=Knife1.......)                                       No2 size: #1: 22mm, #2:24mm, #3: 32mm, #4: 27mm What is make the problem more difficult is There are plenty of type code too. Like X1, X2, X3, Y1, Y2, Y3 ..... This is the main material code. and you can choose the belogging size. So you can select for X1 to No1 or No2 ... but you can select for X2 to No1 or No2 or any sizegroup you want. I can solve it with a lot programming, like deal every possible situation ... but there is a lot time .... :S  There is a touch panel where you can set the values.  Anybody have another idea for this problem ?    
  22. We have a QSeries PLC. Q25HCPU. We also have a PLC program. We found that the address registers (also known as device addresses) attain a z-value added next to it - automatically over time. We are not sure why this is the case. Nonetheless, when these values get added (by the PLC - not the engineering software), some of the functions in the PLC doesn't work. We found that by formatting the CPU, and reloading the program, allows for the system to work again (temporarily) for a few weeks, up until this problem occurs again. This problem occurs across various CPUs (eliminating the potential for hardware problems. These z values can be seen when a program comparison is done. (see attached file). The questions become; 1. What is the function of these values? (why does the PLC add them? 2. How can they be permanently removed?
  23. We have a QSeries PLC. Q25HCPU. We also have a PLC program. We found that the address registers (also known as device addresses) attain a z-value added next to it - automatically over time. We are not sure why this is the case. Nonetheless, when these values get added (by the PLC - not the engineering software), some of the functions in the PLC doesn't work. We found that by formatting the CPU, and reloading the program, allows for the system to work again (temporarily) for a few weeks, up until this problem occurs again. This problem occurs across various CPUs (eliminating the potential for hardware problems. These z values can be seen when a program comparison is done. (see attached file). The questions become; 1. What is the function of these values? (why does the PLC add them? 2. How can they be permanently removed?
  24. Hello         I'm new for PLC, I need to set pump turn ON/OFF  in 4 time/day every day => [8:00-8:10]a.m, [11:00-11:20]a.m, [2:00-2:10-14:10[p.m, [5:00-5:20]p.m ** I have Omron PLC CP1E-N30 , Could you advise me, please ?