Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 341

Process control function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Setting data
■Input/output variable
Variable
Description
name
MODEIN
Mode Change Signal
E_
Enable Mode Change
■Tag data
For details on tag data that is read or written with this tag access FB, refer to the following.
Page 490 Tag Data List
Processing details
■Mode change signal range check
This function block checks the mode change signal range. Set a value within the range of 1 to 6 for the mode change signal.
MODEIN (mode change signal)
MODE (control mode)
CASDR: CASCADE DIRECT
CSV: COMPUTER SV
CMV: COMPUTER MV
CAS: CASCADE
AUT: AUTO
MAN: MANUAL
• Change CASDRI and CASI into FALSE to switch to the CASCADE DIRECT mode.
• This function block turns on the bits of CAS and CASDR of the control mode (MODE) of the tag data at the mode transition
to the CASCADE DIRECT mode.
• If a value outside the range of 1 to 6 is set in MODEIN, the mode selection transition disable check and the mode selection
output processing will not be performed. When the control mode of tag data is MODE, the last value is held.
• "Yes" is selected for "Switch the Control Mode to MANUAL" under "I/O Control" in the engineering tool and a sensor error or
output open alarm has occurred, the control mode is switched to MANUAL. However, the control mode does not change
when the disable manual bit is ON.
■Mode switching disable check
Switching of the control mode whose bit of the mode disable (MDIH) of tag data is TRUE (Valid) will be disabled. (The mode
switching output processing is not performed.)
■Switching request and mode switching output
When the enable mode change (E_) is TRUE, this function block changes the mode according to the mode change signal and
sets the corresponding bit of the control mode (MODE) of tag data to TRUE. ( Page 490 Tag Data List)
Condition
Mode change
Mode change
request (E_)
signal (MODEIN)
FALSE
1 to 6
Other than 1 to 6
TRUE
1 to 6
Other than 1 to 6
6
5
CASDR
CSV
Mode change
Mode switching
signal range
disable check
check
Valid
Stop
Invalid
Stop
Valid
Execute
Invalid
Stop
Recommended range
1 to 6
1: MAN
2: AUT
3: CAS
4: CMV
5: CSV
6: CASDR
TRUE: Execute
FALSE: Stop
4
3
CMV
CAS
Mode switching
output
Stop
Stop
Execute
Stop
11.1 Change Control Mode (M+P_MCHG)
Type
Data type
Input variable
INT
Input variable
BOOL
2
1
AUT
MAN
Control mode (MODE) of
tag data
The last value is held.
The last value is held.
The corresponding bit is set to
TRUE.
The last value is held.
11 TAG SPECIAL
339
11

Advertisement

Table of Contents
loading

Table of Contents