Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 478

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_
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_
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 567 COUNT2
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)
13 STATUS TAG
476
13.8 Counter 2 (Counter continues when COMPLETE flag is ON) (M+M_COUNTER2)
N
N + 1
N + 2
Recommended range
*1
TRUE, FALSE
FALSE  TRUE: RUN
*1
TRUE, FALSE
FALSE  TRUE: STOP
*1
TRUE, FALSE
FALSE  TRUE: RESET
*1
TRUE, FALSE
FALSE  TRUE: RESET/START
*1
TRUE, FALSE
FALSE  TRUE: Count
TRUE: Complete
*1
FALSE: Not completed
TRUE: Complete
*1
FALSE: Not completed
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
t

Advertisement

Table of Contents
loading

Table of Contents