Standard Edge Detection Function Blocks; Standard Counter Function Blocks; Standard Timer Function Blocks - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Standard edge detection function blocks

Function name
R_TRIG(_E)
F_TRIG(_E)

Standard counter function blocks

Function name
CTU(_E)
CTD(_E)
CTUD(_E)
COUNTER_FB_M

Standard timer function blocks

Function name
TP(_E)
TP_HIGH(_E)
TON(_E)
TON_HIGH(_E)
TOF(_E)
TOF_HIGH(_E)
TIMER_10_FB_M
TIMER_100_FB_M
TIMER_HIGH_FB_M
TIMER_LOW_FB_M
TIMER_CONT_FB_M
TIMER_CONTHFB_M
The function and function block of the application functions execute the operation with the combination of
multiple sequence instructions. Therefore, if the interrupt occurs in the application function operations,
unintended operation results may occur.
For using an interrupt program, use Disable interrupt/ Enable interrupt (DI/EI instruction) as necessary.
2 FUNCTION TABLES
18
2.2 Function Tables
Argument
Processing details
(s), (d)
Detects the rising edge of a signal and outputs pulse signals.
(s), (d)
Detects the falling edge of a signal and outputs pulse signals.
Argument
Processing details
(s1), (s2), n, (d1), (d2)
Counts the number of times that the signal turns ON.
(s1), (s2), n, (d1), (d2)
Counts down the number of times that the signal turns ON.
(s1), (s2), (s3), (s4), n,
Counts/counts down the number of times that the signal turns
(d1), (d2), (d3)
ON.
(s1), (s2), (s3), (d1), (d2)
Counts the number of times that the signal turns ON from (s3)
to (s2).
Argument
Processing details
(s), n, (d1), (d2)
Holds the signal ON for the specified time.
(s), n, (d1), (d2)
Turns ON the signal after the specified time.
(s), n, (d1), (d2)
Turns OFF the signal after the specified time.
(s1), (s2), (s3), (d1), (d2)
Turns ON the signal after the specified time counted from
input value (s3) to (s2).
Reference
Page 177 Rising edge detector
Page 179 Falling edge detector
Reference
Page 181 Up counter
Page 183 Down counter
Page 185 Up/Down counter
Page 189 Counter function
blocks
Reference
Page 191 Pulse timer
Page 194 On delay timer
Page 197 Off delay timer
Page 200 Timer function blocks

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents