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
SPB wei2;
U M 100.2; //Switchover has taken place
R M 100.2; // Reset auxiliary flag 1
SPB wei2;
U M 100.3; //Comparison has taken place
SPB MCP; //Call MCP program
// Guide the stored override to the interface of the switched MCP
// until the override values match
L EB28; //Buffer storage open
Extended Functions
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
Several Operator Panels on Several NCUs, Distributed Systems (B3)
2.15 Examples
233