Mitsubishi MELSEC-Q series Programming Manual page 80

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

Advertisement

S.DUTY
Set Data
Processing contents
(1) Mode judgment
Either of the following processings is performed depending on the operation mode (MODE).
(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) MHA2 and MLA2 of the alarm detection 2 (ALM2) are turned to 0.
3) BB1 to BB4 of BB are turned to 0.
4) The tracking flag (TRKF) of the alarm detection inhibition (INH) is turned to 1.
5) "(5) Output ON time conversion processing" is performed.
(b) When the operation mode (MODE) is any of AUT, CAB, CAS, CCB, CSV, LCA and LCC, "(2) Input addition
processing" is performed.
However, when SEA of the alarm detection (ALM) is 1 and SM1501 is ON (with hold), BB1 to BB4 are turned to 0
and the S.DUTY instruction is terminated.
(2) Input addition processing
The temporary MV (T) is calculated on the basis of the input value (E1 = MV).
(a) When the tracking flag (TRKF) of the alarm detection inhibition (INH) is 1, the following processing is performed.
1) The manipulated value (MV) is stored into the MV internal operation value (MVP).
2) The input value (E1) is changed to 0. ( MV = 0)
3) The tracking flag (TRKF) of the alarm detection inhibition (INH) is turned to 0.
4) The temporary MV (T) is calculated with the following expression.
T = E1 + MVP
MVP = T
(b) When the tracking flag (TRKF) of the alarm detection inhibition (INH) is 0, the temporary MV (T) is calculated with
the following expression.
T = E1 + MVP
MVP = T
(3) Change rate, upper/lower limiter
The change rate and upper/lower limits are checked for a difference between the temporary MV (T) and manipulated
value (MV), 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 BB4 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 BB4 show 0 since the alarm is prohibited.
(b) The upper/lower limiter performs the following operation and outputs the result of the operation to BB2, BB3, 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 BB2 show 0 since the alarm is prohibited.
However, even if MHI and/or ERRI in the alarm detection inhibition (INH) is set to1, MHA2 holds 1.
*3
When MLI or ERRI in the alarm detection inhibition (INH) is set to 1, MLA and BB3 show 0 since the alarm is prohibited.
However, even if MLI and/or ERRI in the alarm detection inhibition (INH) is set to1, MLA2 holds 1.
78
BB4, DMLA
0
*1
1
*1
1
BB3, MLA, MLA2
BB2, MHA, MHA2
0
1
*3
0
1
0
0
Result (T1)
T
MV + DML
MV - DML
MV
*2
MH
ML
T1

Advertisement

Table of Contents
loading

Table of Contents