EasyManua.ls Logo

Siemens SINUMERIK 840DE SL - Page 1407

Siemens SINUMERIK 840DE SL
2050 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-213
FeedHold : BOOL ;
SpindleHold : BOOL ;
SpindleDir: BOOL ;
END_VAR
BEGIN
END_FUNCTION
Description of formal parameters
The table below shows all formal parameters of the "MCP_IFM2" function:
Signal Type Type Value range Remarks
BAGNo I Byte 0 - b#16#0A
and
b#16#10 - b#16#1A
No. of mode group to which the
mode signals are transferred.
ModeGroupNo >= b#16#10 means
access to the second machine
control panel.
ChanNo I Byte 0 - B#16#0A Channel no. for the channel signals
SpindleIFNo I Byte 0 - 31
(B#16#1F)
Number of the axis interface
declared as a spindle
FeedHold Q Bool Feed stop from MCP, modal
SpindleHold Q Bool Spindle stop from MCP, modal
SpindleDir Q Bool Spindle direction
0 equals + (counterclockwise)
1 equals - (clockwise)
Call example
CALL FC 24 ( //Slim machine control panel M variants
//Signals to interface
BAGNo := B#16#1, //Mode group no. 1
ChanNo := B#16#1, //Channel no. 1
SpindleIFNo := B#16#4, //Spindle interface number = 4
FeedHold := m22.0, //Feed stop signal modal
SpindleHold := db2.dbx151.0); //Spindle stop modal in message data block
SpindleDir:= m22.1); //Spindle direction return
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 to 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 checkback signal supplied via parameter
SpindleDir can be used as a direction input for an additional FC 18 call.

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Related product manuals