Call example
CALL FC 22 (
MagNo :=
2,
ReqPos :=
mw 20,
ActPos :=
mw 22,
Offset :=
b#16#0,
Start :=
m 30.4,
Cw :=
m 30.0,
Ccw :=
m 30.1,
InPos :=
m 30.2,
Diff :=
mw 32,
Error :=
m30.3
);
13.13.26 FC 24: MCP_IFM2 transmission of MCP signals to interface
Function
With FC MCP_IFM2 (M variant slim machine control panel e.g. MCP 310), the following are transferred from the
machine control panel (MCP) to the corresponding signals of the NCK/PLC interface:
•
Mode groups
•
Axis selections
•
WCS/MCS switchover
•
Traversing keys
•
Overrides or override simulation signals
In the basic program (FC 2), handwheel selections, modes and other operating signals continue to be transferred
from the operator panel front or HMI to the NCK/PLC interface so that the modes support selection from the MCP
or HMI.
Transfer of HMI signals to the interface can be deactivated by setting the value of the parameter "MMCToIF" to
"FALSE" in FB 1 (DB 7). "MMCToIF" can also be activated/deactivated in the cyclic program by setting and
resetting (e.g. R gp_par.MMCToIF).
The following specifications apply to the feed override, axis travel keys and INC keys depending on the active
mode or on the coordinate system selected:
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
//Tool management direction selection
//Magazine number
//Target position
//Current position
//Offset for special positioning
//Start trigger
//Return parameters
//Move magazine
//in anticlockwise direction
//Move magazine
//in anticlockwise direction
//Magazine in position
//Differential path
//Error has occurred
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
1055