Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
164
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Example of a call for FB 9
CALL
FB 9, DB 109 (
Ack
:= Error_ack,
//e.g. MSTT-RESET
OPMixedMode
:= FALSE,
ActivEnable
:= TRUE,
//
MCPEnable
:= TRUE,
// Enable MCP switchover
Alarm1
:= DB2.dbx188.0,
// Error message 700.100
Alarm2
:= DB2.dbx188.1,
// Error message 700.101
Alarm3
:= DB2.dbx188.2,
// Error message 700.102
Alarm4
:= DB2.dbx188.3,
// Error message 700.103
Alarm5
:= DB2.dbx188.4,
// Error message 700.104
Alarm6
:= DB2.dbx188.5,
// Error message 700.105
Report
:=DB2.dbx192.0);
//Operational message 700,132
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" (
MCPNum
:= 1,
MCP1In
:= P#I 0.0,
MCP1Out
:= P#Q 0.0,
MCP1StatSend
:= P#Q 8.0,
MCP1StatRec
:= P#Q 12.0,
MCP1BusAdr
:= 255,
// Address of first MCP
MCP1Timeout
:= S5T#700MS,
MCP1Cycl
:= S5T#200MS,
MCP1Stop
:= TRUE,
// MCP disabled
NCCyclTimeout
:= S5T#200MS,
NCRunupTimeout
:= S5T#50S);
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...