TONPLCopen motion icon

Function BlockA function block groups an algorithm and a set of private data. It has inputs and outputs. - On timer.

Inputs

IN : BOOL  Timer command
PT : TIME  Programmed time

Outputs

Q : BOOL   Timer elapsed output signal
ET : TIME  Elapsed time

Time diagram

TonDiag.gif (2698 octets)

Remarks

ST Language

(* Inst_TON is a declared instance of TON function block *)
Inst_TON( FALSE, T#2s );
Q := Inst_TON.Q;
ET := Inst_TON.ET;

FBD Language

TonFbd.gif (1255 octets)

FFLD Language

TonLd.gif (1365 octets)

IL Language:

(* MyTimer is a declared instance of TON function block *)
Op1: CAL MyTimer (IN, PT)
     FFLD  MyTimer.Q
     ST  Q
     FFLD  MyTimer.ET
     ST  ET

See also

TOF   TP   BLINK

 


Stay Connected with Kollmorgen

Copyright © 2015 Kollmorgen™