13 . Real Time Calendar Time Design Examples Program Description: z The program performs control of warehouse automatic door by a RTC Time Zone Compare instruction (TZCP). Through the Time Read instruction (TRD), the current time in RTC can be read in D0~D6. D4, D5 and D6 store the Hour/Min/Sec data. z When Y0 = ON, the motor of door 1will run forward to execute opening action until upper sensor is activated (X4 = ON). z When Y1 = ON, the motor of door 1 will run reverse to execute closing action until the lower sensor in activated (X5 = ON). z The opening and closing actions of door 2 are the same with that of door 1.
z For some special situations, the opening and closing actions of door 1 and door 2 can also be performed by pressing manual open buttons (X0/X2) and manual close buttons (X1/X3) in the control room. DVP-PLC Application Examples 13-5