Note
The block must be called by the user program. The user must provide an instance DB with
any number for this purpose. The call is multi-instance-capable.
Example of a call for FB 9:
Note
Input parameter "MCPEnable" must be set to TRUE to enable the MCP switchover. The
default value of these parameters is set in this way and need not be specially assigned when
the function is called.
Interrupts, errors
The output parameters "Alarm1" to "Alarm6" and "Report" exist as information in the PLC
and are output in the event of M:N errors visualized on the HMI by the appearance of alarms
410900 - 410906.
If execution of an HMI function has failed (and 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" (
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
CALL FB 9, DB 109 (
Ack
:= Error_ack,
OPMixedMode
:= FALSE,
ActivEnable
:= TRUE,
MCPEnable
:= TRUE);
MCPNum
MCP1In
MCP1Out
MCP1StatSend
MCP1StatRec
MCP1BusAdr
MCP1Timeout
MCP1Cycl
MCP1Stop
NCCyclTimeout
NCRunupTimeout
//e.g., MCP RESET
//
// Enable for MCP switchover
:= 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);
Detailed description
2.12 Block descriptions
// Address of 1st MCP
// MCP switched off
161