Mitsubishi Electric MELSEC-L Series LD40PD01 User Manual page 161

Flexible high-speed i/o control module
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents