Counter Function Selection - Mitsubishi Electric MELSEC-L02SCPU User Manual

Cpu module, built-in i/o function
Table of Contents

Advertisement

8.4.4

Counter function selection

The following counter functions are selectable.
• Latch counter function: Latches the current value of the counter.
• Count disabling function: Stops the counting while it is enabled.
• Sampling counter function: Counts the pulses input during the specified sampling time.
• Count disable/preset/replace function: Performs the count disable function and the preset function
depending on changes of the Function input signal without switching the function.
• Latch counter/preset/replace function: Performs the latch counter function and the preset function depending
on changes of the Function input signal without switching the function.
These functions can be performed by either of CH1 Selected counter function start command (SM1896) or an input
from the Function input signal (OR), or the Function input signal only.
Latch counter function
Count disabling function
Sampling counter function
Count disable/preset function
Latch counter/preset/replace function
(1) Required settings
Select a logic for the Function input signal.
(a) Function input logic setting
Select a logic for the Function input signal.
• Positive logic: The function input signal is on while a voltage is applied.
• Negative logic: The function input signal is on while no voltage is applied.
This section describes each function based on the case where "Function Input Logic Setting" is set to "Positive
logic" (default).
(b) Sampling time setting
This setting is enabled when "Sampling Counter Function" is selected. Set sampling time for the sampling
counter function in units of 10ms.
• Setting range: 10 to 655350 (ms)
Function
CHAPTER 8 HIGH-SPEED COUNTER FUNCTION
Method
CH1 Selected counter
function start command
(SM1896)
 Available,  N/A
Function input signal
211
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents