EasyManua.ls Logo

Mitsubishi Electric MELSEC-L Series LD40PD01 - Page 161

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
159
9
Parameter
The following table shows the parameters of the comparison block.
*1 The valid range is determined by the type of the multi function counter block arranged in the hardware logic outline window.
The following table shows "User Address" used for the parameters.
Ex.
The following table shows examples of comparison with "Count Value" of the counter timer block when "Compare Value" is set
to 1000 and "Compare Mode" is set to >.
Variable name Data type Valid range Default value Description
Condition Word Coincidence
Range
Coincidence Specify a comparison method.
Coincidence
Range
Compare Mode A
Compare Mode B
Word (Blank)
=
>
<
>=
<=
<>
(Blank) Select a mode for comparing the count value and
the compare value.
When "Condition" is set to "Range", this setting is
disabled.
Compare Value A
Compare Value B
Word -32768 to 32767 (16-bit signed
counter)
*1
0 to 65535 (16-bit unsigned
counter)
*1
-2147483648 to 2147483647 (32-
bit signed counter)
*1
0 to 4294967295 (32-bit unsigned
counter)
*1
0 Set the value to be compared with the count value.
Variable name Data type Valid range Setting range Description
User Address Word 1000 to 1099 Only even addresses can be assigned to the
parameters of two words (32 bits).
"Count Value" Comparison result
900 The comparison fails because "Count Value" is equal to or smaller than
"Compare Value".
Thus, the "Output" terminal status is turned to Low.
1100 The comparison succeeds because "Count Value" is larger than "Compare
Value".
Thus, the "Output" terminal status is turned to High.

Table of Contents

Related product manuals