Mitsubishi Electric NZ2FTGN User Manual page 527

Slice remote i/o module
Table of Contents

Advertisement

Counter function
This function sets the count type and start operation to start counting.
To start counting, turn on Set SW gate (b2 of Process data output "Control word").
When Set SW gate is turned on, SW gate active (b2 of Process data input "Counter status") and Internal gate active (b5 of
Process data input "Counter status") turn on.
When Reset SW gate (b10 of Process data output "Control word") is turned on, the counting stops.
The value of Counter value when the counting starts differs depending on the setting of the parameter "Counter behaviour
internal gate".
Parameter
Counter behaviour internal gate
• When Interrupt counting is set
Counter value
Load value
Set SW gate
ON
(b2 in "Control word" of
OFF
Process data output)
SW gate active
ON
(b2 in "Counter status" of
OFF
Process data input)
Internal gate active
ON
(b5 in "Counter status"
of Process data input)
OFF
The count type is set with the parameter "Counting mode".
Parameter
Setting value
Counting mode
Count endless (default)
Once - forward
Once - backwards
Once - no main direction
Periodic - forward
Periodic - backwards
Periodic - no main
direction
Setting value
Interrupt counting
Cancel counting (default)
0
Description
Performs counting between the lower limit value (-2147483648) and upper
limit value (2147483647). When the value goes below the lower limit value,
the counting continues from the upper limit value and when it exceeds the
upper limit value, the counting continues from the lower limit value.
Performs counting between Load value and End value - 1. The counting
stops when the value exceeds End value - 1.
It is used to perform up counting only.
Performs counting between the "Load value" and "End value + 1". The
counting stops when the value exceeds End value + 1.
It is used to perform down counting only.
Performs counting between the lower limit value (-2147483648) and upper
limit value (2147483647). The counting stops when the value exceeds the
upper limit value or goes below the lower limit value.
Performs counting between Load value and End value - 1. When the value
exceeds End value - 1, the counting continues from Load value.
It is used to perform up counting only.
Performs counting between the "Load value" and "End value + 1". When the
value exceeds End value + 1, the counting continues from Load value.
It is used to perform down counting only.
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.
Description
The counting starts from Counter value.
The value of Load value is stored in Counter value and the counting starts.
• When Cancel counting is set
Counter value
Load value
0
Set SW gate
ON
(b2 in "Control word" of
OFF
Process data output)
SW gate active
ON
(b2 in "Counter status" of
OFF
Process data input)
Internal gate active
ON
(b5 in "Counter status" of
Process data input)
OFF
19 HIGH-SPEED COUNTER MODULE
Reference
Page 526 Count endless
Page 527 Once -
forward
Page 528 Once -
backwards
Page 529 Once - no
main direction
Page 531 Periodic -
forward
Page 532 Periodic -
backwards
Page 533 Periodic - no
main direction
525
19.1 NZ2FTS-D62P2
19

Advertisement

Table of Contents
loading

Table of Contents