Detailed description
2.12 Block descriptions
Example of a call for FB 9
CALL
Note
Input parameter "MCPEnable" must also be set to TRUE to enable MSTT switchover. The
default value of these parameters is set in this way and need not be specially assigned when
the function is called.
Alarm, error
The output parameters "Alarm1" to "Alarm6" and "Report" can be transferred to the DB2
areas for MMC alarm and error messages.
If execution of an MMC function has failed (for which an appropriate error message cannot
be displayed), status parameter ErrorMMC is set to 'logical 1' (e.g., booting error when no
connection is made).
Call example for FB 1 (Call in OB 100)
CALL "RUN_UP", "gp_par" (
164
FB 9,
DB 109
(
Ack
:= Error_ack,
OPMixedMode
:= FALSE,
ActivEnable
:= TRUE,
MCPEnable
:= TRUE,
Alarm1
:= DB2.dbx188.0,
Alarm2
:= DB2.dbx188.1,
Alarm3
:= DB2.dbx188.2,
Alarm4
:= DB2.dbx188.3,
Alarm5
:= DB2.dbx188.4,
Alarm6
:= DB2.dbx188.5,
Report
:=DB2.dbx192.0);
MCPNum
MCP1In
MCP1Out
MCP1StatSend
MCP1StatRec
MCP1BusAdr
MCP1Timeout
MCP1Cycl
MCP1Stop
NCCyclTimeout
NCRunupTimeout
//e.g. MSTT-RESET
//
// Enable MCP switchover
// Error message 700.100
// Error message 700.101
// Error message 700.102
// Error message 700.103
// Error message 700.104
// Error message 700.105
//Operational message 700,132
:= 1,
:= P#I 0.0,
:= P#Q 0.0,
:= P#Q 8.0,
:= P#Q 12.0,
:= 255,
:= S5T#700MS,
:= S5T#200MS,
:= TRUE,
:= S5T#200MS,
:= S5T#50S);
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
// Address of first MCP
// MCP disabled