hit counter script

Mitsubishi Electric NZ2FTGN User Manual page 535

Slice remote i/o module
Table of Contents

Advertisement

■Periodic - no main direction
This function performs counting between the lower limit value (-2147483648) and upper limit value (2147483647). When the
value exceeds the upper limit value or goes below the lower limit value, the counting continues from Load value.
Ex.
When Periodic - no main direction is set
Set SW gate
(b2 in "Control word" of Process data output)
Reset SW gate
(b10 in "Control word" of Process data output)
SW gate active
(b2 in "Counter status" of Process data input)
Internal gate active
(b5 in "Counter status" of Process data input)
Overflow performed
(b11 in "Counter status" of Process data input)
Underflow performed
(b12 in "Counter status" of Process data input)
(1) When the Set SW gate is turned on, the counting starts.
When the counting starts, SW gate active and Internal gate active turn on.
(2) The input pulse is switched from subtraction pulse to addition pulse.
(3) If Counter value exceeds the upper limit value during up counting, Load value is stored in Counter value.
At this time, the counting continues and Overflow performed turns on.
(4) The input pulse is switched from subtraction pulse to addition pulse.
(5) If Counter value goes below the lower limit value during down counting, Load value is stored in Counter value.
At this time, the counting continues and Underflow performed turns on.
(6) When Reset SW gate is turned on, the counting stops.
When the counting stops, SW gate active and Internal gate active turn off.
Underflow performed and Overflow performed are held until Reset status bits (b6 of Process data output
"Control word") is turned on.
Counter value
Upper limit value
(+2147483647)
(1)
Load value
0
(2)
Lower limit value
(-2147483648)
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
(4)
(5)
(3)
19 HIGH-SPEED COUNTER MODULE
19.1 NZ2FTS-D62P2
19
(6)
533

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents