Siemens SINUMERIK 828D Function Manual page 1058

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Description of formal parameters
The table below shows all formal parameters of the "MCP_IFM2" function:
Signal
Type Type
BAGNo
I
BYTE
ChanNo
I
BYTE
SpindleIFNo
I
BYTE
FeedHold
 A 
BOOL
SpindleHold
A
BOOL
SpindleDir
A
BOOL
Call example
CALL FC 24 (
BAGNo :=
ChanNo :=
SpindleIFNo :=
FeedHold :=
SpindleHold :=
SpindleDir:=
With these parameter settings, the signals are sent to the 1st mode group, the 1st 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 FC 18 call.
1058
Range of values
0 - b#16#0A
and
b#16#10 - b#16#1A
0 - B#16#0A
0 - 31
(B#16#1F)
//Slim machine control panel M variants
//signals to interface
B#16#1,
//Mode group no. 1
B#16#1,
//Channel no. 1
B#16#4,
//Spindle interface number = 4
m22.0,
//Feed stop signal modal
db2.dbx151.0);
//Spindle stop modal in message data block
m22.1);
//Spindle direction return
Remark
No. of mode group to which the mode signals
are transferred.
BAGNo >= b#16#10 means access to the
second machine control panel.
Channel no. for the channel signals
Number of the axis interface declared as a
spindle
Feed stop from MCP, modal
Spindle stop from MCP, modal
Direction of spindle rotation
0:
corresponds to + (left)
1:
corresponds to - (right)
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents