EasyManua.ls Logo

Mitsubishi Electric MELSEC-L Series LD40PD01 - Page 151

Mitsubishi Electric MELSEC-L Series LD40PD01
264 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...
9 CREATING A HARDWARE LOGIC
9.2 Multi Function Counter Block
149
9
Parameter
The following table shows the parameters of the counter timer block.
*1 The valid range is determined by the type of the multi function counter block arranged in the hardware logic outline window.
Variable name Data type Valid range Default value Description
Count Enable Bit OFF
ON
OFF Set the count enable to valid or invalid.
OFF: Invalid
ON: Valid
Count Mode Bit Linear
Ring
Linear Set the counter mode to the ring counter or
the linear counter. The counter mode is fixed
to "Ring" for 16-bit counter timer blocks.
Linear: Linear counter
Ring: Ring counter
Upper Limit Word 16-bit signed
counter
*1
-32768 to 32767 32767 Set the upper limit value of the counter timer.
16-bit unsigned
counter
*1
0 to 65535 65535
32-bit signed
counter
*1
-2147483648 to
2147483647
2147483647
32-bit unsigned
counter
*1
0 to 4294967295 4294967295
Lower Limit Word 16-bit signed
counter
*1
-32768 to 32767 -32768 Set the lower limit value of the counter timer.
16-bit unsigned
counter
*1
0 to 65535 0
32-bit signed
counter
*1
-2147483648 to
2147483647
-2147483648
32-bit unsigned
counter
*1
0 to 4294967295 0
Clock Word 25ns
50ns
0.1μs
1μs
10μs
100μs
1ms
25ns Set the clock cycle.
To count input pulses, set "25ns" for "Clock".
Setting a value other than "25ns" may not
count the input pulses correctly.
Add Mode Bit OFF
ON
OFF Set the addition mode to valid or invalid.
OFF: Invalid
ON: Valid
Add Value Word 16-bit signed
counter
*1
0 to 65535 0 Set the value of addition/subtraction for count.
16-bit unsigned
counter
*1
32-bit signed
counter
*1
0 to 4294967295
32-bit unsigned
counter
*1
STOP PRESET Bit OFF
ON
OFF Set whether to perform the preset function or
not at an occurrence of a STOP event.
OFF: The preset function is not performed.
ON: The preset function is performed.
PRESET STOP Bit OFF
ON
OFF Set whether to stop counting or not at an
occurrence of a PRESET event.
OFF: Counting is continued.
ON: Counting is stopped.
Preset Value Word 16-bit signed
counter
*1
-32768 to 32767 0 Set the preset value.
16-bit unsigned
counter
*1
0 to 65535
32-bit signed
counter
*1
-2147483648 to
2147483647
32-bit unsigned
counter
*1
0 to 4294967295

Table of Contents

Related product manuals