Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
235
Call example
CALL FC 22 (
//Tool management direction selection
MagNo := 2, //Magazine number
ReqPos := mw 20, //Target position
ActPos := mw 22, //Current position
Offset := b#16#0, //Offset for special positioning
Start := m 30.4, //Start trigger
//Return parameters
Cw := m 30.0, //Move magazine
//in anticlockwise direction
Ccw := m 30.1, //Move magazine
//in anticlockwise direction
InPos := m 30.2, //Magazine in position
Diff := mw 32, //Differential path
Error := m30.3 //Error has occurred
);
2.12.25 FC 24: MCP_IFM2 transmission of MCP signals to interface
Description of Functions
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).