Page top

Building Automation


Industrial Automation


Power Automation & Safety

Bangladesh Distributor

Lead Contents

FAQ00930 of Programmable Controllers FAQ

FAQ No. FAQ00930

Primary Contents

Question

How do I program a time switch to turn ON and OFF a machine at specific time daily?

Answer



A time switch like the one you described can be easily programmed using the clock built into the CPU Unit.

Program and Operation Explanation

Store the desired times to turn ON or OFF a particular machine in DM Area words of your choice. Then use the DOUBLE AREA RANGE COMPARE instruction (ZCPL) to continuously compare the time on the clock built into the CPU Unit to the time stored in the DM Area, the turning ON and OFF of machines and devices can be controlled individually.

Note:When using CS1/CJ1 Programmable Controllers, the output words for the current time from the calendar time (A352/A351) are shown as the word address. Refer to the Programming Manual for the relevant Programmable Controllers.