Siemens SINUMERIK 840Di Function Manual page 1394

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

Advertisement

Detailed Description
2.12 Block descriptions
Call example
CALL FC 19 (
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.
Reconnecting the axis selections
To ensure a flexible assignment of the axis selection keys to the appropriate axis or spindle,
FC 19 needs not be modified or reprogrammed.
The required flexibility can be obtained by applying the solution described below.
1. Before FC 19 is called, the information (RLO) relating to the newly defined axis selection
2. After FC 19 has been called, the information (RLO) relating to the LED identified by the
Example:
The spindle is defined as the 4th axis and must be selected via axis key 9.
STL extract:
u i 5.2;
= e 4.2;
u a 2.5;
= a 3.3;
clr;
= a 2.5;
2-200
//Machine control panel M variants
//Signals to interface
BAGNo :=
ChanNo :=
SpindleIFNo :=
FeedHold :=
SpindleHold :=
key is transferred to the key selection identified by an axis number.
axis number is transferred to the LED of the new axis selection key and the RLO of the
previous axis LED is then deleted.
call fc 19(
BAGNo :=
ChanNo :=
SpindleIFNo :=
FeedHold :=
SpindleHold :=
B#16#1,
B#16#1,
B#16#4,
m22.0,
db2.dbx151.0);
//Selection of ninth axis
//Selection of fourth axis
b#16#1,
b#16#1,
b#16#4,
m 30.0,
m 30.1);
//LED fourth axis
//LED ninth axis
//Switch off LED on fourth axis
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
//Mode group no. 1
//Channel no. 1
//Spindle interface
//number = 4
//Feed stop signal
//modal
//Spindle stop modal in
//message DB
PLC Basic Program Solution Line (P3 sl)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents