Table of Contents

MPINO STUDIO 2 Phase 4-1 · Timer Box Functions

These commands create a completion state from an input condition and elapsed time.

These commands create a completion state from an input condition and elapsed time.

Common Rules

The TON family uses a 10 ms tick; the TAON family uses a 100 ms tick. A number is a tick count, and time literals such as 1h30m, 10s, and 500ms are accepted. Use T for a 16-bit timer and DT for a 32-bit timer. A bit contact for the timer address reads its done state. Initialize a retentive timer with a ladder RESET coil, not box-function RST.

Timer current value and done state

Box Function List

Command Meaning
TON Accumulates time while the input is ON and turns the done state ON at the set value.
TOFF Turns the done state ON immediately with the input.
TPL Turns the done state ON when the input changes to ON.
TMON Starts one pulse when the input turns ON and holds the done state ON for the set time.
TMR Accumulates time while the input is ON.
TAON Provides the same on-delay behavior as TON with a 100 ms tick.
TAOFF Provides the same off-delay behavior as TOFF with a 100 ms tick.
TAPL Provides the same input-held pulse behavior as TPL with a 100 ms tick.
TAMON Provides the same one-shot pulse behavior as TMON with a 100 ms tick.
TAMR Provides the same retentive behavior as TMR with a 100 ms tick.