Siemens SINUMERIK 840D sl Function Manual page 1036

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
Table 13-9
Note
Direction key LEDs are controlled by operating the direction keys.
Axis selection and WCS/MCS LEDs are controlled by operating the relevant pushbutton switch.
Call example
CALL FC19(
BAGNo :=
ChanNo :=
SpindleIFNo :=
FeedHold :=
SpindleHold :=
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.
Reconnecting the axis selections
To ensure a flexible assignment of the axis selection keys to the appropriate axis or spindle,
FC19 needs not be modified or reprogrammed. The axis number simply has to be entered in
axis table DB10.DBB8 and followed as required: The axis number simply has to be entered in
axis table DB10.DBB8 and followed as required:
Example
The spindle is defined as the 4th machine axis and must be selected via axis key 9.
Solution:
The value 4 must be entered in DB10 byte (8+(9-1)) for the 4th axis.
CALL FC19(
BAGNo :=
ChanNo :=
SpindleIFNo :=
1036
Channel signals
Destination:
MCP - LED
NC start
NC stop
Single block
//Machine control panel M variants Signals to interface
B#16#1,
B#16#1,
B#16#4,
m22.0,
db2.dbx151.0);
// Signals to interface
B#16#1,
B#16#1,
B#16#4,
Interface DB (parameter ChanNo)
DB21, ... .DBX35.0
DB21, ... .DBX35.2 or DB21, ... .DBX35.3
DB21, ... .DBX0.4
// Mode group no. 1
// Channel no. 1
// Spindle Interface Number = 4
// Feed stop signal modal
//Spindle stop modal in
//message DB
// Mode group no. 1
// Channel no. 1
// Spindle Interface Number = 4
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Source:
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents