Signal
ChanNo:
SpindleIFNo:
FeedHold :
SpindleHold :
SpindleDir:
Call example
CALL FC24(
With these parameter settings, the signals are sent to the first mode group, the first channel
and all axes. In addition, the spindle override is transferred in the 4th axis/spindle interface.
The feed hold signal is passed to bit memory 22.0 and the spindle stop signal to data block
DB2, data bit 151.0. The spindle direction feedback signal supplied via parameter "SpindleDir"
can be used as a direction input for an additional FC18 call.
13.17.27
FC25: MCP_IFT - transfer of MCP/OP signals to interface
Function
The block FC25 (MCP_IFT, T variant, e.g. MCP 483) is used for transferring data from the
machine control panel to the NC/PLC interface:
● Modes
● Direction keys of four axes
● WCS/MCS switchover commands
● Overrides
● Key-operated switch
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Typ
Type
e
I
BYTE
I
BYTE
O
BOOL
O
BOOL
O
BOOL
BAGNo :=
B#16#1,
ChanNo :=
B#16#1,
SpindleIFNo := B#16#4,
FeedHold :=
m22.0,
SpindleHold := db2.dbx151.0,
SpindleDir:=
m22.1);
P3: Basic PLC program for SINUMERIK 840D sl
Value range
Description
B#16#00 - B#16#0A
Number of the channel to which the channel
signals are transferred
0 - 31
Number of the axis/spindle to which the spin‐
(B#16#1F)
dle data is transferred (number of the associ‐
ated machine axis)
0 (FALSE), 1 (TRUE) Feed stop from MCP, modal
0 (FALSE), 1 (TRUE) Spindle stop from MCP, modal
0 (FALSE), 1 (TRUE) Direction of spindle rotation
0:
1:
// Slimline machine control panel M variant
// Signals to interface
// Mode group no. 1
// Channel no. 1
// Spindle Interface Number = 4
// Feed stop signal modal
// Spindle stop modal in message data block
// Spindle direction return
13.17 Block descriptions
Direction of rotation + (left)
Direction of rotation - (right)
1049