IMO Precision Controls i3 Tutorial

IMO Precision Controls i3 Tutorial

Real time clock
Hide thumbs Also See for i3:

Advertisement

Quick Links

Real Time Clock

Advertisement

Table of Contents
loading

Summary of Contents for IMO Precision Controls i3

  • Page 1 Real Time Clock...
  • Page 2: Table Of Contents

    Synchronising the RTC with the PC...............5 PROGRAMMING THE LADDER LOGIC .............5 ..........6 HANGING THE VALUES THROUGH ADDER OGIC RTC........7 ROGRAMMING THE OMPARE UNCTIONS WITH THE .................9 CREEN DITOR ROGRAMMING Initial Screen......................9 RTC Setting Screen ....................11 Output Cycle Screen ....................12 © IMO Precision Controls ltd.
  • Page 3: Introduction

    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.
  • Page 4: Programming The Real Time Clock Functions

    RTC Day of the Month RTC_DATE 1 - 31 %SR0048 RTC Month RTC_MON 1 – 12 (1 = January) %SR0049 RTC Year RTC_YEAR 1996 – 2095 %SR0050 RTC Day of the Week RTC_DAY 1 – 7 (1 = Sunday) © IMO Precision Controls ltd.
  • Page 5: Synchronising The Rtc With The Pc

    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.
  • Page 6: Changing The Rtc Values Through Ladder Logic

    There will be two screens associated with this piece of code; One to enter the values into the registers %R01 to %R06 and a second to view the current time and date of the RTC. © IMO Precision Controls ltd.
  • Page 7: Programming The Compare Functions With The Rtc

    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.
  • Page 8 Start a new Rung with a N/O coil and assign it to %M01. On the same Rung insert a Limit function with the limits for %Q01. After the limit function insert a N/O coil and assign it to %Q01. Repeat this code for the remaining outputs. Output %Q02 Output %Q03 Output %Q04 © IMO Precision Controls ltd.
  • Page 9: Screen Editor Programming

    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.
  • Page 10 Set the first screen jump to jump to screen 2, with the legend set and the second to jump to screen 3, with the legend O/P. The initial screen should now look something like the screen opposite. © IMO Precision Controls ltd.
  • Page 11: Rtc Setting 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 12: Output Cycle Screen

    Position it in the top right and enter the following details. Next select the text table icon and insert into the screen. Insert the following values for the text table to have the day appear for the corresponding value. © IMO Precision Controls ltd.
  • 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”...
  • Page 14 Real Time Clock © IMO Precision Controls ltd.

Table of Contents