Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1224

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Reset windup (4)
If the manipulated value (MV) goes beyond the upper or lower limit, the following operation is performed to return it to the
upper or lower limit and enable immediate response when the deviation is inverted. However, when the integral constant (I) is
0, reset windup processing is not performed.
Condition
©T
T1>MH,
<=1
I
©T
T1<MH,
<=1
I
■Output ON time conversion processing (5)
The following processing is performed by output ON time conversion processing.
Condition
The control output cycle (CTDUTY) has been reached.
The control output cycle (CTDUTY) has not been reached.
■Output conversion processing (6)
The following processing is performed by output conversion processing.
Condition
Output counter < Output ON counter
Output counter  Output ON counter
■Loop stop processing (7)
The following processing is performed according to the SPA status of the alarm detection (ALM).
SPA status
1
0
■Hold processing (8)
This processing specifies whether to hold the output value by the S.DUTY instruction when a sensor error occurs (detected by
the S.IN instruction). The hold processing is performed when the value is determined as RUN by "Loop Stop Determination".
SM817 is used to specify whether to hold the manipulated value (MV) when a sensor error occurs.
• SM817 = OFF: Do not hold the manipulated value (MV).
• SM817 = ON: Hold the manipulated value (MV).
Operation error
Error code
Description
(SD0)
3400H
An invalid operation (such as division by zero) is performed.
3402H
The value specified by (s1) or (d2) is a subnormal number or NaN (not a number).
3403H
An overflow has occurred.
3405H
Control output cycle (CTDUTY) < 0
The execution cycle (T) setting is less than 0.
(Control output cycle (CTDUTY)execution cycle (T)) > 32767
11 PROCESS CONTROL INSTRUCTIONS
1222
11.2 I/O Control Instructions
Processing details
The loop stops. When the loop stops, the following operations are performed and the S.DUTY instruction ends.
• The output bit (BW1) is output at the last ON/OFF rate.
• The DMLA, MHA, and DLA of the alarm detection (ALM) are set to 0.
• The MHA2 and MLA2 of the alarm detection 2 (ALM2) are set to 0.
• The control mode (MODE) is set to MAN.
• The alarm bits (BB1, BB2, BB3, and BB4) are set to 0.
The loop runs and "mode determination (1)" is performed.
Operational expression
©T
MVP=(
)(MH-T)+T
I
©T
MVP=(
)(ML-T)+T
I
Processing details
The output ON counter is calculated using the following expression. The output counter is
cleared to 0 at this time.
CTDUTY
1
×MV×
©T
100
The output ON counter is rounded off to the nearest whole number.
The output counter is incremented by, 1 and "output conversion processing (6)" is performed.
BW1
1
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents