TMON
TMON instruction counts downward up to preset value.
| |
S | Timer device address to set |
t | Preset value |
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. | Error | Zero | Carry | |||
TMON | S | - | - | - | - | - | - | o | - | - | - | - | - | - | 3 | - | - | - |
t | - | - | - | - | - | - | - | - | - | - | o | - | o |
When enabled, TMON instruction counts downward preset value (t) and when the accumulated value (ACC value) reaches preset value (t), Timer device(S) will be turned OFF.
You can set up the time base (t) in PLC Parameter.
According to Timer parameter, T0~T127 is 100ms and T128~T511 is 10ms.
(EX. TMON T5 100 : 10,000ms = 10sec.)
The TMON is a retentive timer. Even if the TMON instruction is disabled, it keeps decrementing the counter up to preset value (t)
The range of preset (t) : 0 ~ 65535
Example)
If M00 is ON, T1 and Y10 are turned ON and TMON instruction decrements the preset value (from 10 to 0sec). When it reaches 0sec, T1 and Y10 are turned OFF. Even if M00 is disabled while ACC value decrements, the TMON instruction keeps decrementing preset value.
Even if M00 is OFF, the TMON instruction counts downward up to 0.
When it reaches 0sec, T1 and Y10 are turned OFF.