EasyManua.ls Logo

Xinje XD Series - Page 387

Xinje XD Series
456 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
386
STR ET0 K100
X0
D1·
D2·
Y0
ET0
RST ET0
M0
:Timer’s number. Range: ET0~ET30 (ET0, ET2, ET4……all number should be even)
:Timing value
Precise timer works in unit of 1ms.
Precise timer32 bits, the counting range is 0~+2,147,483,647.
When executing STR, the timer will be reset before start timing.
When X0 turns from OFF to ON, ET0 starts timing. ET0 will be reset and keep its value 100
when accumulation time reaches 100ms; If X0 again turns from OFF to ON, timer T600 turns
from ON to OFFrestart to time, when time accumulation reaches 100ms, T600 reset again.
See graph below:
X0
ET0
100ms 100ms
M0
When the pre-condition of STR is normally open/closed coil, the precise timer will set ON
immediately when the timing time arrives and reset the timing, and cycle back and forth.
<read the precise timing>, <stop precise time>
DMOV ET0
X0
STOP ET0
M0
D0
D1·
D
When X0 changes from OFF to ON, move the
current precise timing value into D0
immediately, it will not be affected by the scan
cycle;
When M0 changes from OFF to ON, execute
STOP instruction immediately, stop precise
timing and refresh the count value in ETD0. It
will not be affected by the scan cycle;
tudonghoatoancau.com

Table of Contents

Other manuals for Xinje XD Series