150
9 CREATING A HARDWARE LOGIC
9.2 Multi Function Counter Block
The settings of "Clock" of two 16-bit counter timer blocks must be the same. When one "Clock" setting is
changed, the other "Clock" setting is changed automatically.
The following table shows "User Address" used for the parameters.
Output
The following table shows the output 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.
*2 The cam switch block can be linked only when a 32-bit counter timer block is used. The 32-bit counter timer block and the cam switch
block are linked automatically and the link cannot be deleted.
*3 Counter timer blocks and Comparison blocks are linked automatically in the following combinations, and the links cannot be deleted.
⋅
"Count Value" terminal of "Counter_Timer_0" and "Input" terminal of "Compare_0"
⋅
"Count Value" terminal of "Counter_Timer_1" and "Input" terminal of "Compare_1" (This combination cannot be used for 32-bit multi
function counter blocks.)
The count value is cleared to 0 when the hardware logic control is stopped.
To stop the count operation without clearing the count value, set "Count Enable" to "OFF". To switch the on/off
of "Count Enable" during the hardware logic control, assign a buffer memory address to "User Address" of
"Count Enable".
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).
Variable name
Data type
Linkable block
Output value
Description
Count Value
Word
• Comparison
• -32768 to 32767 (16-bit signed
counter)
• 0 to 65535 (16-bit unsigned
counter)
• -2147483648 to 2147483647
(32-bit signed counter)
• 0 to 4294967295 (32-bit
unsigned counter)
Outputs the value counted by the counter
timer.
Summary of Contents for MELSEC-L Series LD40PD01
Page 2: ......
Page 9: ...7 MEMO ...
Page 24: ...22 2 PART NAMES MEMO ...
Page 35: ...4 PROCEDURES BEFORE OPERATION 33 4 MEMO ...
Page 263: ......