Siemens SINUMERIK 828D Function Manual page 1044

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

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Channel signals
Destination:
MCP - LED
NC start
NC stop
Single Block
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 FC 19 (
//Machine control panel M variants Signals to interface
BAGNo :=
ChanNo :=
SpindleIFNo :=
FeedHold :=
SpindleHold :=
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.
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 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 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 FC 19 (
BAGNo :=
ChanNo :=
SpindleIFNo :=
FeedHold :=
SpindleHold :=
1044
Source:
Interface DB (parameter ChanNo)
DB21, ... .DBX35.0
DB21, ... .DBX35.2 or DB21, ... .DBX35.3
DB21, ... .DBX0.4
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 DB
//signals to interface
B#16#1,
//Mode group no. 1
B#16#1,
//Channel no. 1
B#16#4,
//Spindle interface number = 4
m30.0,
//Feed stop signal modal
m30.1);
//Spindle stop modal
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