Àðãóìåíòû:
IN INT-REAL ëþáàÿ íå âðåìåííàÿ âåëè÷èíà
IN (èëè öåëàÿ ÷àñòü îò IN, åñëè îí äåéñòâèòåëüíûé) -
÷èñëî ìèëëèñåêóíä
Q TIMER âðåìåííàÿ âåëè÷èíà, ïðåäñòàâëåííàÿ IN
Îïèñàíèå:
Ïðåâðàùàåò àíàëîãîâóþ ïåðåìåííóþ â òàéìåð.
(*FBD ïðèìåð áëîêîâ TMR*)
(* STýêâèâàëåíò: *)
ares := TMR (1256); (* ares := t#1s256ms *)
rres := TMR (1256.3); (*rres := t#1s256ms *)
(* IL ýêâèâàëåíò: *)
LD 1256
TMR
ST ares
LD 1256.3
TMR
ST rres