Example Of Calling Fb9 - Siemens SINUMERIK 840D sl Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Several Operator Panels on Several NCUs, Distributed Systems (B3)
2.15 Examples
2.15.4.5

Example of calling FB9

CALL FB 9 , DB 109 (
Ack := Fehler_Quitt, // e.g. MCP reset
OPMixedMode := FALSE,
AktivEnable := TRUE, // Enable PCU switchover
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
Alarm3 := DB2.dbx188.3, // Error message 700.103
Alarm3 := DB2.dbx188.4, // Error message 700.104
Alarm6 := DB2.dbx188.5, // Error message 700.105
Report := DB2.dbx192.0, // Operational message 700.132
ErrorMMC := DB2.dbx192.1) // Operational message 700.133
Note
AktivEnable := true enables PCU active/passive switchover.
MCPEnable := true allows MCP switchover.
The default value of this parameter is thus enabled and does not have to be enabled
explicitly when the function is called.
Alarms, errors
The output parameters "Alarm1" to "Alarm6" and "Report" can be transferred to the DB2
areas for MMC alarm and error messages of the HMI software.
If execution of an HMI function has failed (and an appropriate error message cannot be
displayed), status parameter ErrorMMC is set to 'logic 1' (e.g. error on power up when no
connection is made).
Example of calling FB1
(call in OB100):
CALL "RUN_UP" , "gp_par" (
MCPNum := 1,
MCP1In := P#E 0.0,
MCP1Out := P#A 0.0,
MCP1StatSend := P#A 8.0,
MCP1StatRec := P#A 12.0,
MCP1BusAdr := 255, // Address of 1st MCP
232
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents