login











 

PLC-명령어 게시판 선택목록
작성자 : 웹관리자 2006-06-10 오후 10:11:40   조회수 : 10027번 
제목 : AB-PLC[Timer / Counter]-[TON]

화 면 확 대

TON 명령어는 온 딜레이 타이머 이다.

위 레더 이미지를 설명 하자면 XIC I:1/0 비트가 ON 되면 T4:0 타이머가 동작 하기 시작 한다.

현재 설정치(ACC)는 0.1초 타이머에-0.5초를 설정한 것이다.

XIC I:1/0 이 ON 되면서 타이머 T4:0/EN 이 ON 되고 T4:/0 이 0.5초가 되면 T4:0/DN 이

동작 한다.

만일 I:1/0 이 T4:0/EN 동작 하기전에 I:1/0 이 OFF 되면 T4:0 에 진행중이던(ACC)

데이터는 자동으로 크리어 된다. 즉 ZERO로 되는것이다.

현재 진행중이던 타임 데이터를 초기화 하고 싶으면 RES 명령어를

사용하면 된다.

[-원본글-]
 Use the TON instruction to turn an output on or off after the timer has been on for a preset time 
interval. The TON instruction begins to count timebase intervals when the rung conditions 
become 
TRUE. As long as rung conditions remain true, the timer adjusts its accumulated value (ACC) 
each 
evaluation until it reaches the preset value (PRE). The accumulated value is reset when rung 
conditions go FALSE, regardless of whether the timer has timed out. 


The TON command is used as an output on a rung which, unlike the TOF command, is only 
active 
(counting) when the rung conditions are TRUE. The Enable bit work the same as the TOF 
command, 
the Enable bit is set only when the rung conditions are TRUE and remains set until the rung goes 
FALSE. Although the Enable bit works the same way, don't forget that the counter works 
opposite 
the 
TOF, it counts when the Enable bit is ON, and stops when the accumulated value is reached or 
when the Enable bit is OFF. The Done bit gets set when the Accumulated value is equal to or is 
greater than the Preset value. 

There are four fields of the TON command, the first being the address of the counter (Timer field), 
for 
example T4:x (where x is the Timer number). Second is the Time Base, this is preset between 
two 
values, 1.0 second or 0.01 second for counting. The third field, Preset is the time you want to 
count 
(be sure to match the Preset time units with the Time Base time units). The last field is the 
Accumulated value, this is the time that passed during the TRUE rung condition. Usually this is 
set 
to 
0, however it can be set to other values to increase, or reduce the time to reach the Preset 
value. 
Because the Preset and Accumulator bits are addressable, the values can be changed within 
the 
program (based on other rung instructions).

Develop a ladder rung that will energize an output for x amount of time. In this example, a time of 

seconds will be used.

In this example, a timer would be used. By using the TON instruction, the user can input a time to 
keep an output on for for. This value would be entered into the time preset field on the TON 
instruction. The time base would have to be changed to 1. In this is example, an XIC is being 
used. 
A switch or button would have to be closed for this example to work properly. 
Add_File-1 : ton.gif( 3.6 KB )  
이전글 보기 : AB-PLC[Timer / Counter]-[TOF]
다음글 보기 : AB-PLC[One Shot Rising]-[OSR]
뒤로 가기 이전글 보기
다음글 보기 목록보기
  2025년 6월 1일 (일)    | 이메일 주소 집단 수집 거부 | 도와 주세요 | 찾아오시는 길 | 당당자 메일 | 영업품목 | 제어강좌 | 싸이트 맵 |
 
한국 오므론 한국 하니월 LG 산전 KACON-카콘