Mitsubishi Electric MELSEC-L Series LD40PD01 User Manual page 149

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

Advertisement

Input
The following table shows the inputs of the counter timer block.
Variable name
Data type
*1*6
RUN
Bit
*1*6
STOP
Bit
*3*6
UP
Bit
*3*6
DOWN
Bit
*1*3
PRESET
Bit
*4
Latch
Bit
User Address
Word
*1 When a buffer memory address is assigned to "User Address", control can be performed with a program without link. Assign the same
buffer memory address to the "RUN" terminal and the "STOP" terminal. (bit 0: RUN, bit 1: STOP)
b15
b14
b13
b12
0
0
0
0
*2 When the addition mode is on, the addition value is added or subtracted.
*3 Event detection is performed for every clock cycle setting of the counter timer block. Thus, while a High-state signal is input to an event
input terminal, an event occurs per clock setting.
*4 The latch event detection block and the Latch terminals of the counter timer blocks are automatically linked in the following
combinations, and the links cannot be deleted.
⋅ "Output 0" terminal (latch event detection block) and "Latch" terminal ("Counter_Timer_0")
⋅ "Output 1" terminal (latch event detection block) and "Latch" terminal ("Counter_Timer_1")
*5 On the rising edge (Low state → High state) of the event input terminal, the count value is latched.
*6 Do not link these terminals when an SSI encoder block is linked with a multi function counter block in the hardware logic outline window.
Otherwise, correct encoder values may not be acquired.
Linkable block
• Event input
• Input signal event
detection
• Event input
• Input signal event
detection
• Event input
• Input signal event
detection
• Event input
• Input signal event
detection
• Event input
• Input signal event
detection
• Latch event detection
*5
• Event input
b11
b10
b9
b8
b7
b6
0
0
0
0
0
0
Valid range
Description
0, 1
Adds 1 to the count value per preset clock cycle.
Multiple signals can be input to the terminal. OR
processing is executed for all input signals.
0, 1
Stops the counter.
Multiple signals can be input to the terminal. OR
processing is executed for all input signals.
0, 1
Adds an addition value to the count value when a
signal generated in the previous block is input to the
terminal. When the addition mode is off, 1 is added to
the count value.
Multiple signals can be input to the terminal. OR
processing is executed for all input signals.
0, 1
Subtracts an addition value from the count value when
a signal generated in the previous block is input to the
terminal. When the addition mode is off, 1 is subtracted
from the count value.
Multiple signals can be input to the terminal. OR
processing is executed for all input signals.
0, 1
Presets the count value.
Multiple signals can be input to the terminal. OR
processing is executed for all input signals.
0, 1
Latches the count value to a register.
1000 to 1099
Assign a buffer memory address to change the
terminal status with a program during operation.
Changing the value of the buffer memory area whose
address is assigned changes the set value in the
hardware logic.
b5
b4
b3
b2
b1
b0
0
0
0
0
STOP
RUN
9 CREATING A HARDWARE LOGIC
*2
*2
9.2 Multi Function Counter Block
9
*2
147

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents