Mitsubishi MELSEC-Q series Programming Manual page 115

Process control instructions
Hide thumbs Also See for MELSEC-Q series:
Table of Contents

Advertisement

(6) Mode judgment
Either of the following processings is performed depending on the operation mode (MODE) setting.
(a)
When the operation mode (MODE) is any of MAN, CMB, CMV and LCM (alarm clear processing)
1) MHA, MLA and DMLA of the alarm detection (ALM) are turned to 0.
2) MAH2 and MLA2 of the alarm detection 2 (ALM2) are turned to 0.
3) BB3 to BB5 of BB are turned to 0.
4) Data of BB2 is transferred to BB1 of BB. (BB1 = BB2)
5) "(8) Output conversion processing" is performed and the S.PIDP instruction is terminated.
(b) When the operation mode (MODE) is any of AUT, CAB, CAS, CCB, CSV, LCA and LCC, "(7) Change rate, upper/
lower limiter" is executed.
(7) Change rate, upper/lower limiter
The change rate and upper/lower limits are checked for the input value (E1), and the data after the limiter processing and
an alarm are output.
(a) The change rate limiter performs the following operation and outputs the result of the operation to BB5 and DMLA.
Condition
|T - MV|  DML
(T - MV) > DML
(T - MV) < - DML
*1
When DMLI or ERRI in the alarm detection inhibition (INH) is set to 1, DMLA and BB5 show 0 since the alarm is prohibited.
(b) The upper/lower limiter performs the following operation and outputs the result of the operation to BB3, BB4, MHA,
MLA, MHA2 and MLA2.
Condition
T1 > MH
T1 < ML
ML  T1  MH
*2
When MHI or ERRI in the alarm detection inhibition (INH) is set to 1, MHA and BB3 show 0 since the alarm is prohibited.
However, even if MHI and/or ERRI in the alarm detection inhibition (INH) is set to 1, MHA2 holds 1.
*3
When MLI or ERRI in the alarm detection inhibition (INH) is set to 1, MLA and BB4 show 0 since the alarm is prohibited.
However, even if MLI and/or ERRI in the alarm detection inhibition (INH) is set to 1, MLA2 holds 1.
(8) Output conversion
In the output conversion, the output value is calculated from the following formula.
NMAX
NMIN
BW
MV
100
(9) Loop stop processing
(a) Setting 1 in SPA of the alarm detection (ALM) selects a loop stop.
A loop stop performs the following processing and terminates the S.PIDP instruction.
1) BW retains the last value.
2) DVLA, MHA, MLA and DMLA of the alarm detection (ALM) are turned to 0.
3) MHA2 and MLA2 of the alarm detection 2 (ALM2) are turned to 0.
4) The operation mode (MODE) is changed to MAN.
5) BB1 to BB5 of BB are turned to 0.
(b) Setting 0 in SPA of the alarm detection (ALM) selects a loop run.
A loop run performs "(10) Control cycle judgement".
(10) Control cycle judgment
(a) When the specified control cycle is not reached, " (6) mode judgement" as T = MV is performed.
(b) When the specified control cycle is reached, "(1) SV setting processing" is performed.
BB5, DMLA
0
*1
1
*1
1
BB4, MLA, MLA2
BB3, MHA, MHA2
0
1
*3
1
0
NMIN
T1
T
MV + DML
MV - DML
MV
*2
MH
0
ML
0
T1
S.PIDP
9
2
3
4
4
6
7
8
113

Advertisement

Table of Contents
loading

Table of Contents