Á¦¾î°Á ÅëÇÕ °ü¸®ÀÚ ÀÔ´Ï´Ù. ¿äÁò ³Ê¹«³ª ¹Ù»ÛÀÏ ¶§¹®¿¡ ¸í·É¾î Çؼ³µµ ¸øÇß½À´Ï´Ù. Àßµé Áö³»¼ÌÁö¿ä.
Á¤¸» ¿À·¡ °£¸¸¿¡ ¿Ã¸®´Â °Í °°±º¿ä.
RES ¸í·ÉÀº ŸÀ̸Ó, Ä«¿îÅÍ ÇöÀç°ªÀ» ÃʱâÈ ÇÒ¶§ »ç¿ëµÊ´Ï´Ù.
À§ À̹ÌÁö´Â Àû»ê ŸÀ̸Ӹ¦ ÃʱâÈ ÇÏ´Â ±¸¹® À̱º¿ä.
I:1/0 ºñÆ®°¡ ON Çϸé Àû»ê ŸÀÌ¸Ó T4:0(0.1ÃÊ)°¡ µ¿ÀÛ ÇÏ¸é¼ ¼³Á¤Ä¡ 3ÃÊ°¡
µÇ¸é T4:0/DN ÀÌ µ¿ÀÛ Çϴ ȸ·Î ÀÔ´Ï´Ù.
¸¸ÀÏ T4:0/DN ÀÌ ¼³Á¤Ä¡¿¡ µµ´Þ ÇϱâÀü¿¡ I:1/0ÀÌ OFF µÇ¸é
T4:0/DN ÀÌ ÀÌÀü °ªÀ» º¸Á¸ ÇÏ°Ô µË´Ï´Ù.
À§ ȸ·Î´Â I:1/1 ºñÆ®°¡ µ¿ÀÛ Çϸé T4:0 À» RESET(ÃʱâÈ) Ç϶ó´Â ±¸¹® ÀÔ´Ï´Ù.
µµ¿òÀÌ µÇ¾ú´ÂÁö¿ä.
¹àÀº ¹Ì·¡¸¦ À§ÇÏ¿©...
[-¿øº»±Û-] Use a RES instruction to reset a timer or counter. When the RES instruction is enabled, it resets the Timer On Delay (TON), Retentive Timer (RTO), Count Up (CTU), or Count Down (CTD) instruction having the same address as the RES instruction.
The RES command can be used to reset TON, RTO, CTU, or CTD commands when the address of the RES command is the same as one of the timer or counter addresses. The RES command is an output instruction which, when rung conditions are TRUE, resets all Accumulated values to 0 (zero). For timers, the Done bit (DN), Timer Timing bit (TT), and Enable bit (EN) are reset when the RES command is activated. For counters, the Overflow bit (OV), Underflow bit (UN), Done bit (DN), Counter up Enable (CU), and Counter down Enable (CD).
NOTE: The RES instruction cannot be used with the TOF instruction because RES always clears the status bits as well as the accumulated value, this may cause unpredictable machine operation or injury to personnel.
Develop a ladder program that will cause the Reset instruction to reset the RTO T4:0 when I:1/1 goes TRUE. In this example the inputs are XIC instructions used to make either rung TRUE or FALSE. Because the RTO command retains the Accumulator value and Done status even when the rung is FALSE, the RES command is needed to reset these values. Rung 0001 is used to reset the RTO timer T4:0 depending on input I:1/1. When the rung goes TRUE, because of the RES address (T4:0), the Accumulator is reset to 0 (zero), the Done, Timer Timing, and Enable bits are reset. Another input for Rung 0001 could be the DN (T4:0/DN) bit from the RTO T4:0, this way, as soon as the RTO accumulator reaches its preset value of 30 seconds, the ACC bit will be reset back to 0 (zero) so the cycle can start over.
|