Search the Community
Showing results for tags 'time'.
-
I'll explain the problem I had, maybe it helps somebody. I have several controllers that need to have synchronized RTC, and there was a problem that time update didn't work properly. After some troubleshooting I found that "Status" variables need to be defined in order for function blocks to work. This does not work (usually): This does work: Both cases compile the same without error or warning. UniLogic version 1.28.34 PLC USP-070-B08
-
Hi All I purchased a new V1210 for a customer and have been developing a chunky bit of code to drive 64 pumps in various modes. The date time is becoming reset to 1st Jan '06 It also only happens on power cycle, not on reset or when downloading new code. I've checked all the obvious stuff: 1. Put in a new battery 2. Checked the battery status bit is fine (in fact I've built in a small piece of code that checks it if is set and the plc starts beeping and a battery icon flashes) until the user presesses confrm at which point I do a reset. Either I hadnt noticed or it has only started happening recently (about a month into development) - I reckon its the first option though; I have just started working on the shcedule bit that triggers on time so ony now am I paying attention to the time. Any thoughts anyone? Could I somehow be inadvertently triggering some state that resets the date/time? Many thanks Mal
-
Hi. I'm need help for the function storage the date. Is possible to monitor the time when the output is up? My proccess need a logic for to monitor a output but the time can isn't reset when the output is down. I'm monitoring the useful life of lamp. The time need reset when a lamp is replaced. Is possible with V350-J-TR20?
-
Hello, Is it possible to directly input time (HH:MM) in the HMI (keyboard touchscreen) and do calculations with this input? Example INPUT: input first start time of a cyclus : 08:00 (HH:MM) input last start time of a cyclus: 10:00 input number of starts: 3 This number says that there will be 3 starts of a cyclus. This starts must be equally divided over the time between the first and last start. OUTPUT: first start at 08:00 second start at 09:00 last start at 10:00 In this program we need to calculate the difference between first start time and last start time: 10:00 - 8:00 = 2:00 In this program we need to define the period between the start moments= 2:00/(3-1)=1:00
-
Hi support and forum members I have successfully used the Visilogic project examples to log data using an SD Card. However, the example program uses SB13 to write data to the SD card every 1 second. This is far too frequent for my application. I want to log data every minute, or every 10 minutes. How can I reduce the write frequency? Do I need to use some delay timers? Can anybody assist me with the correct/optimal ladder for this. Picture of code attached. I'd also like to know how to display the free space in MB or GB left on the SD card Best Regards
-
Hello, First I would like to apologize for my bad english. I'm working on program which is completely controlling system of solar panels, as a diploma work. I've got few problems but this one makes me sad. I can't figure out, how to correctly setup real time clock. I've tried examples in visilogic directory, searched the whole help at the program but after 2 days, still can't make it work. The best way possible for me would be having DW with real time information about time, such as DD.MM.YY and HH.MM.SS ... If it's even possible, because, I'm having many operations which will need to write time when it happened and only one DW with time would save me much space in ladder. But, I will be satisfied with any other working option. I've found SI30-36 but they are read only, so I can't use them to write there down todays time. Since I'm still beginner with ladder programming, can someone please give me an advice? I'm really desperate. I will give more information, if needed. Just leave me here a message. Thanks in advance for help. Best regards Martin P. EDIT: I may find a way but I can't figure out how to increase DW by 1. It increasing something but more then it should, like 50 per sec. Is there way to do it? Thanks again!