Siemens SINUMERIK 828D Function Manual page 984

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Example of a call for FB 9:
CALL FB 9, DB 109 (
Ack
OPMixedMode
ActivEnable
MCPEnable
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" (
MCPNum
MCP1In
MCP1Out
MCP1StatSend
MCP1StatRec
MCP1BusAdr
MCP1Timeout
MCP1Cycl
MCP1Stop
NCCyclTimeout
NCRunupTimeout
Example Override switchover
// Auxiliary flags used M100.0, M100.1, M100.2, M100.3
//Edge positive of MCP1Ready must check the override
//and measures for activation
// Initiate MCP block
//This example applies to the feedrate override.
//The interface and input bytes must be exchanged for spindle override.
U
DB10.DBX 104.0;
EN
M
100.0;
JCN smth1;
984
:= Error_ack,
//e.g., MCP RESET
:= FALSE,
:= TRUE,
:= TRUE);
// 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);
//MCP1Ready
//Edge trigger flag 1
// Address of 1st MCP
// MCP switched off
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents