Starter Posted November 18, 2017 Report Posted November 18, 2017 Hello all, Is there someone who has already programmed a weekly timer? I started to try making one by myself by counting pulse, etc but after two weeks I'm stopped with it. I would like to be able to turn a bit on and off on a certain day (time). I (try) to program in gx iec developer 7.04 If someone has an example I would be very grateful. Thanks for the help
Bryll Posted November 18, 2017 Report Posted November 18, 2017 If you would like to trigger something at the same time, same day every week, compare the system registers with a time and day you set. Are you using a FX system or Q ? For FX systems: D8013 = Seconds D8014 = Minutes D8015 = Hours D8019 = Weekday (0-6)
Inntele Posted November 19, 2017 Report Posted November 19, 2017 I've programmed. Pls, look there http://forums.mrplc.com/index.php?/topic/29126-onoff-timer-for-mitsubishi-fx/#comment-138260
Starter Posted November 19, 2017 Author Report Posted November 19, 2017 Hello Bryll, Thanks for the info but I use the Q serie (secondhand Q002H). I've got it from my boss before my retirement...and I used it for my home. Only used for the lighting in the garden. I saw in the help the daterd function and try it, Ok, I can get the system time, hours etc. @Inntele, where is the download link? can I use it on a Q002H, or translate to the Q002H? (I am mechanical and not electric, so programming is very difficult and going very slow at my age.) Thank you for all the help so far.
Inntele Posted November 19, 2017 Report Posted November 19, 2017 (edited) Sorry, there is no a code to download. Also the result of my work no available anymore. Additionally, your task demands additional efforts. However.. I know how to manage it Edited November 19, 2017 by Inntele
Starter Posted November 19, 2017 Author Report Posted November 19, 2017 @Inntele, Also the result of my work no available anymore. But, Is it possible that you can help me?
Inntele Posted November 20, 2017 Report Posted November 20, 2017 Yes. Lets discuss conditions, because it's my time and my efforts, while I'm a very busy man. Today is impossible to spend for such help, but 22-23 Nov a "window" will appear.
Gambit Posted November 20, 2017 Report Posted November 20, 2017 Why not take a look at this sample code. It looks ate a specific time and date also
Inntele Posted November 20, 2017 Report Posted November 20, 2017 Dear Gambit, 1. The library is for Modicon PLC by Schneider Electric, not for Mitsubishi PLCs... I can not see the code, while doubt that the DST routine will work properly when PLC pass the DST point being unpowered or in stop mode. 2. The timer should work properly with any combination of time on/off, e.g. when the Time_on is at Friday (5) and Time_Off is at Wednesday (3). The DST does not require the mentioned logic.
Gambit Posted November 20, 2017 Report Posted November 20, 2017 Oops sorry I meant his one.. If I am not mistaken it is yours
Inntele Posted November 20, 2017 Report Posted November 20, 2017 (edited) Yes, this is mine, and it can be used for DST, but not for the timer that the topicstarter needs. I did another FB, that was lost completely along with death of old HDD. Edited November 20, 2017 by Inntele
Starter Posted November 20, 2017 Author Report Posted November 20, 2017 13 hours ago, Inntele said: Yes. Lets discuss conditions, because it's my time and my efforts, while I'm a very busy man. Today is impossible to spend for such help, but 22-23 Nov a "window" will appear. As retirement person I have time enough to wait a few day's :):)
Inntele Posted November 24, 2017 Report Posted November 24, 2017 I repeated the work and have developed again the FB, oriented to FX-series, with the aim then to convert it for Q-series. The FB is very compact (23 steps), looks and works fine ... However, there turned out a Qxx(H) series does not support most RTC instructions. So ... I know, the FB, performing the similar function, that is possible to convert, has been developed by Sergey Troizky http://forums.mrplc.com/index.php?/profile/435-sergei-troizky/ , so pls try to talk with him.
Starter Posted November 28, 2017 Author Report Posted November 28, 2017 Thanks for the info Inntele, I will contact with Sergey.
claudio.neves@robowork.pt Posted September 15, 2021 Report Posted September 15, 2021 On 17/11/2017 at 9:50 PM, Bryll said: If you would like to trigger something at the same time, same day every week, compare the system registers with a time and day you set. Are you using a FX system or Q ? For FX systems: D8013 = Seconds D8014 = Minutes D8015 = Hours D8019 = Weekday (0-6) Just one quick correction. Not D8019, but is system device so should be SD8019. Thanks for the info.
Crossbow Posted September 15, 2021 Report Posted September 15, 2021 1 hour ago, claudio.neves@robowork.pt said: Just one quick correction. Not D8019, but is system device so should be SD8019. Thanks for the info. Those addresses were listed for FX, so it was D, not SD. FX did not have SD, that did not come about until Q Series...
Logan1101 Posted October 15, 2021 Report Posted October 15, 2021 On 11/17/2017 at 4:50 PM, Bryll said: If you would like to trigger something at the same time, same day every week, compare the system registers with a time and day you set. Are you using a FX system or Q ? For FX systems: D8013 = Seconds D8014 = Minutes D8015 = Hours D8019 = Weekday (0-6) Is that the same as q series plc as well?
Wasan Posted October 16, 2021 Report Posted October 16, 2021 (edited) 8 hours ago, Logan1101 said: Is that the same as q series plc as well? On Q Series use SD210 - SD213 for system datetime but I think use "DATERD" Instruction is easier. For reference use this manual below at page 589. https://www.allied-automation.com/wp-content/uploads/2015/02/MITSUBISHI_QL-Simple-Mode-Programming-Manual-Common-Instructions1.pdf Edited October 16, 2021 by Wasan Add manual 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now