Siemens SINUMERIK 840D sl Function Manual page 241

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

Advertisement

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
MCP1Timeout := S5T#700MS,
MCP1Cycl := S5T#200MS,
MCP1Stop := TRUE, // MCP disabled
NCCyclTimeout := S5T#200MS,
NCRunupTimeout := S5T#50S);
2.15.4.6
Example of override switchover
The example uses auxiliary flags M100.0, M100.1, M100.2, M100.3.
The positive edge of MCP1Ready must check for override and initiate measures for the
activation of the 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; // MCP1Ready
FN M 100.0; // Edge flag 1
SPBN wei1;
S M 100.2; // Set auxiliary flag 1
R M 100.3; // Reset auxiliary flag 2
// Save override
L DB21.DBB 4; // Interface feedrate override
T EB 28; // Buffer storage (free input
// or flag byte)
wei1:
U M 100.2; //Switchover has taken place
O DB10.DBX 104.0; //MCP1Ready
SPBN wei2;
U DB10.DBX 104.0; // MCP1Ready
FP M 100.1; // Edge flag 2
Extended Functions
Function Manual, 03/2009, 6FC5397-1BP10-4BA0
Several Operator Panels on Several NCUs, Distributed Systems (B3)
Examples
241

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents