2016-09-26

[FX5U] 如何區分使用低速/高速計時器 ?

Low-speed timer/Timer/High-speed timer (T/ST)
 
Low-speed timers, timers and high-speed timers are the same device.
低/高速元件的命名使用都一樣

The timer is specified (by instruction) as a low-speed timer, timer, or high-speed timer.
使用指令來區分使用低/高速元件計時 

If you specify "OUT T0," the timer is a low-speed timer (100 ms);
使用OUT時, 計時元件單位為 100ms

if you specify "OUTH T0," it is a timer (10 ms);
使用OUTH時, 計時元件單位為 10ms

if you specify "OUTHS T0," it is a high-speed timer (1 ms).
使用OUTHS時, 計時元件單位為 1ms

The same goes for retentive timers.
上述使用對T/ST來說都一樣