Mitsubishi MELSEC-Q series Programming Manual page 138

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

Advertisement

S.BPI
(5) Deviation check
A deviation check is made under the following condition and the result of the check is output to DVLA of the alarm
detection (ALM) and the deviation large alarm (BB1) of the block memory.
Condition
DVL  |DV|
(DVL - DVLS) < |DV|  DVL
|DV|  (DVL - DVLS)
*1
When DVLI or ERRI in the alarm detection inhibition (INH) is set to 1, DVLA and BB1 show 0 since the alarm is prohibited.
(6) 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.BPI instruction.
1) BW is turned to 0.
2) DVLA of the alarm detection (ALM) is turned to 0.
3) The operation mode (MODE) is changed to MAN.
4) BB1 of BB are turned to 0.
(b) Setting 0 in SPA of the alarm detection (ALM) selects a loop run.
A loop run performs "(7) Control cycle judgment".
(7) Control cycle judgment
(a) If the specified control cycle is not reached, BW is turned to 0 and the S.BPI instruction is terminated.
(b) When the specified control cycle is reached, "(1) SV setting processing" is performed.
Operation Error
In the following cases, the error flag (SM0) turns ON and the error code is stored in SD0.
Error code
When an operation error occurs
When the values of
4100
non-normalized number
When CT < 0 or the execution cycle (SD1500) < 0
When the values of
4140
non-normalized number
4141
When an operation error occurs
136
DVLA = BB1 = 1
DVLA = BB1 = Last value status hold
DVLA = BB1 = 0
Error definition
,
,
are either a non-numeric or
S1
S2
D2
,
,
are either a non-numeric or
S1
S2
D2
Result
*1
*1
QnPHCPU
QnPRHCPU
––
––
––
––
QnUDPVCPU
––
––

Advertisement

Table of Contents
loading

Table of Contents