Siemens SINUMERIK 840Di Function Manual page 1390

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed Description
2.12 Block descriptions
Example
More than nine axes are to be controlled with FC19 using a special application. We
recommend that you proceed as follows:
• Reserve free key on MCP
• Evaluate this key as a flipflop
• Evaluate the flipflop output as pos. and neg. edge
• For pos. edge write one set of axis numbers in the axis table (DB10) and switch on LED
• For neg. edge write a different set of axis numbers in the axis table (DB10) and switch off
Declaration of the function
FUNCTION FC 19: void
//NAME
VAR_INPUT
END_VAR
VAR_OUTPUT
END_VAR
BEGIN
END_FUNCTION
Description of formal parameters
The table below shows all formal parameters of the "MCP_IFM" function:
Signal
BAGNo
ChanNo
SpindleIFNo
FeedHold
SpindleHold
2-196
via this key.
LED via this key.
BAGNo :
ChanNo:
SpindleIFNo:
FeedHold :
SpindleHold :
Type
Type
I
Byte
I
Byte
I
Byte
Q
Bool
Q
Bool
: MCP_IFM
BYTE ;
BYTE ;
BYTE ;
BOOL ;
BOOL ;
Value range
Remarks
0 - b#16# and
No. of mode group to which the mode signals are
b#16#10 -
transferred.
b#16#1A
BAGNo >= b#16#10 means access to the
second machine control panel.
0 - B#16#0A
Channel no. for the channel signals
0 - 31
Number of the axis interface declared as a spindle
(B#16#1F)
Feed stop from MCP, modal
Spindle stop from MCP, modal
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
PLC Basic Program Solution Line (P3 sl)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents