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
SUMOUT1
Integration value (integral part) output
SUMOUT2
Integration value (decimal part) 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 543 PSUM
Processing details
This tag FB consists of the following function blocks.
Item
PSUM 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.)
0 to 99999999
0 to 999
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
Type
Data type
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Input variable
BOOL
Input variable
DINT
Output variable
DINT
Output variable
DINT
Initial
Set by
value
1
User
1
User
2147483647
User
0
User
Reference
Page 173 M+P_PSUM
12 LOOP TAG
12.30 Pulse Integrator (M+M_PSUM)
12
Data
type
INT
INT
DINT
INT
415