Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 475

Process control function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Setting data
■Input/output variable
Variable
Description
name
RUN
External input for RUN operation
STP
External input for STOP operation
RST_val
External input for RESET operation
RS_START
External input for RESET/START operation
CNT
Count contact signal input
PRE_COMP
Preset value count up completed
COMP_val
Setting value count up completed
*1 The default value is FALSE.
■Tag data
For details on tag data that is read or written with this tag FB, refer to the following.
Page 566 COUNT1
Set the following values in "FB Property".
• Estimated value (0 to 9999)
• Setting value (0 to 9999)
• Timer multiplying factor (second and minute)
• Timer high limit (0 to 9999)
• Timer low limit (0 to 9999)
Processing details
■Count input (CNT)
This function block detects the rising edges (FALSE  TRUE) of the input variable (CIN) and performs count processing
(current value +1).
Count contact signal (CIN)
Scan time
Process variable (PV)
N
Recommended range
TRUE, FALSE
FALSE  TRUE: RUN
TRUE, FALSE
FALSE  TRUE: STOP
TRUE, FALSE
FALSE  TRUE: RESET
TRUE, FALSE
FALSE  TRUE: RESET/START
TRUE, FALSE
FALSE  TRUE: Count
TRUE: Complete
FALSE: Not completed
TRUE: Complete
FALSE: Not completed
N + 1
N + 2
13.7 Counter 1 (Counter stops when COMPLETE flag is ON) (M+M_COUNTER1)
*1
*1
*1
*1
*1
*1
*1
t
N + 3
N + 4
Type
Data type
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Output
BOOL
variable
Output
BOOL
variable
13 STATUS TAG
473
13

Advertisement

Table of Contents
loading

Table of Contents