Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 415

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

Advertisement

Setting data
■Input/output variable
Variable name Description
RUN
Integration start signal
HOLD
Integration stop signal
STPRS
Reset signal after integration stop
RS_START
Start signal after integration reset
CIN
Count value
COMP1
Setting value 1 (SV1) completed output
COMP2
Setting value 2 (SV2) completed output
COMP_
Setting value (SV) completed output
■Public variable (operation constant)
Variable name Description
PSUM_W
Weight Per Pulse
PSUM_U
Unit Conversion Constant
PSUM_HILMT
High Limit Value of Integration
PSUM_SUMPTN
Integration Pattern
■Tag data
For details on tag data that is read or written with this tag FB, refer to the following.
Page 541 BC
Processing details
This tag FB consists of the following function blocks.
Item
PSUM function
BC function
Operation error
An error may occur in a function block that is used in a tag FB. For details on the error, refer to corresponding function blocks.
Recommended range
TRUE: Execute
FALSE: Stop
TRUE: Execute
FALSE: Stop
TRUE: Execute
FALSE: Stop
TRUE: Execute
FALSE: Stop
Ring counter with the range of -2147483648
to 2147483647 (Pulse increment for each
execution should be 32767 or less.)
TRUE: ON
FALSE: OFF
TRUE: ON
FALSE: OFF
TRUE: ON
FALSE: OFF
COMP_ will be TRUE when the count value
(CIN) matches the setting value (SV).
Recommended range
1 to 999
1, 10, 100, 1000
0 to 2147483647
0: When an integrated value exceeds the
integration high limit, the value is cleared to
0.
1: When an integrated value exceeds the
integration high limit, the high limit value is
held.
Function block
M+P_PSUM
M+P_BC
Type
Data type
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Input variable
DINT
Output variable
BOOL
Output variable
BOOL
Output variable
BOOL
Initial
Set by
value
1
User
1
User
2147483647
User
0
User
Reference
Page 173 M+P_PSUM
Page 176 M+P_BC
12 LOOP TAG
12.29 Batch Preparation (M+M_BC)
12
Data
type
INT
INT
DINT
INT
413

Advertisement

Table of Contents
loading

Table of Contents