Introduction. The purpose of this tutorial is to demonstrate the RTC functions of the i programming a simple time based operation process, ie. Green House watering system. The tutorial will also demonstrate one way to set the RTC clock, using the S_Clk function and user entry into registers through the screen.
Synchronising the RTC with the PC Connect the i to the PC using the programming cable and configure the I/O. Select from the controller menu “ View/Set Clock” Click this button to Synchronise the RTC to the PC Click the close button to finish.
Programming the Compare Functions with the RTC We are first going to ensure that the day is a working day and that the hours are office hours. We are going to use Limit functions from the Compare Operations menu. Limit function Insert a N/O contact and assign it to %S07, Always On.
There will be one HMI screen to illustrate the outputs on during the cycle time. Screen Editor Programming We need to program three screens. 1. The initial screen will display the RTC current time and date, and have two screen jump buttons: one to jump to the setting the RTC screen, with the second to jump to the output cycle screen.
RTC Setting Screen Select the data numeric function icon and insert it to the screen. We need to set up six such numeric functions for seconds, minutes, hours, date, month and year. Enter the following data into 6 numeric data functions, all of which should be “editable”.
Page 13
Now select the lamp icon and insert lamps for the outputs %Q01 to %Q04. Lastly select the screen jump icon to insert a screen jump back to the initial screen. The final screen should now look like the screen below. Please see the -Configurator tutorial program “rtc-tut.csp”...
Need help?
Do you have a question about the i3 and is the answer not in the manual?
Questions and answers