Beruflich Dokumente
Kultur Dokumente
Commissioning Documentation
Sinumerik 828D
Edition 2016.06
Training Manual
Valid for:
Machine Test
Contents
Protocol
B002
B060
Service & B061
System
Commissioning Menu Structure
Overview B021
Tools
Access Levels/
Time and Date
Settings
B041
Machine and
Setting Data
B044 B038
B017 B007
Licensing and Network and
Data Electronic
Option Operator
Management Logbook
Management Panels
B010
NC
Connections &
Diagnostics
B008
B030 B051 B053 MCP & PP72/48 B026
Digital Inputs & Line and Motor Axis and Drive PN Connec- Creating a PLC
Outputs Modules Diagnostics tions and Program
Diagnostics
B019
S7-200 PLC
Instructions
B084
Encoder
Adjustments
B106 B016
B101 B020
Adaptive Additional B009
Servo Maintenance
Friction Axis Easy Extend
Optimization Planner
Compensation Installation
B029
Analogue
Spindle
B122
Technology
Setup
Subspindle and
Tailstock
End
SIEMENS TEST PROTOCOL
Machine Test Protocol Sinumerik 828D
Product / Version Company:
Address:
Machine Range Machine Type - Features Spindle Config. MLFB KW Axis Conf MLFB N/M
Distribution list
Name Company / e-mail Name Company / e-mail
Department Department
Title
File name:
Protocol version 1.2
Contents
3 BACK UP ............................................................................................................................................................................................................. 6
7 FUNCTIONS TESTED........................................................................................................................................................................................ 10
8 DETAILED TEST................................................................................................................................................................................................ 11
1 Responsible persons:
1.1 Schedule
From:
To:
2.2 Result
Release of the machine recommended (YES/NO/Reason): ___________
Siemens
Date Author Company / Department Signature
Machine Manufacturer
Date Name Company / Department Signature
3 Back up
3.1 Modified data
Machine data number Original Value New Value
Create data backup after completing the test (NC/PLC Archive, display machine data) and attach it to the protocol.
Appendices:
4 Change Log
5 System description
5.1 Machine
Type
Serial No.
Configuration
Axes
Spindle
Measuring devices
Miscellaneous
5.2 Control
NC type Sinumerik 828D
Serial No.
Machine control panel
Software version:
User software
PLC Application
6 Test objective
6.1 Note
The application is tested with the current test plan, which helps to achieve for the most part an error-free interaction of SINUMERIK with the machine. No guarantee for fault-free machine application can be
guaranteed.
Siemens is not responsible for the PLC safety related functions which are implemented on the Machine. The Machine tool builder is responsible in satisfying the receiving countries “Safety regulations regarding
CNC machine tools” regulations.
Basic knowledge of operation and programming of 828D is necessary for carrying out the test. In case of some test tasks, it is necessary to start an automatic program or to trigger the machine functions. It is,
therefore, explicitly indicated that all operations that trigger machine functions should only be carried out by the employee of the machine manufacturer, who is authorized to do this.
ALL RELEVANT TESTS HAVE TO BE CARRIED OUT WITH THE FOLLOWING CONDITIONS:
7 Functions tested
Confirm the functions as per the test plan
8 Detailed Test
8.1 Machine area
Technology Test Description Tested OEM Alternative / or Tested Reason for OEM To Do
No Comments / not Alternative
relevant
T+M
1 Machine Start-up in Jog-REF
T+M Automatic referencing (Jog -
2 REF Cycle start)
Technology Test Description Tested OEM Alternative / or Tested Reason for OEM To Do
No Comments / not Alternative
relevant
T+M If the axis is resting on the
Hardware limit switch, it should
1 be possible to JOG the axis
away in the opposite direction.
Technology Test Description Tested OEM Alternative / or Tested Reason for OEM To Do
No Comments / not Alternative
relevant
T+M When the feed stop button is
pressed the Jog plus and minus
buttons should have no effect on
9
any axis motion. The axis should
all come to a stop.
T+M Repos
With interruption in Automatic, it
should be possible to switch to
Jog, move axis away from the
16
contour, subsequently return to
Automatic / Repos and Jog the
axis back to the previous
position.
Technology Test Description Tested OEM Alternative / or Tested Reason for OEM Alternative To Do
No Comments / not
relevant
T+M
5
Technology Test Description Tested OEM Alternative / or Tested Reason for OEM Alternative To Do
No Comments / not
relevant
T+M Program Control
SKP - When selected, the next
5 NC block with the Skip block
instruction will not be executed.
T+M G functions
G - Functions for the reset state
of the machine - To be checked
6 for:
Turning
Milling
T+M MDA
It should not be possible to Jog
2 the axis in MDA - exception :
Teach-in is active
T+M Teach-in
Hand wheel
Move axis using Hand wheel in
3 the machine axis interface or
using Geoax interface in
connection with Teach-in mode
OPTION
8.1.7 AUTO
Technology Test Description Tested OEM Alternative / or Tested Reason for OEM Alternative To Do
No Comments / not
relevant
T+M Move axis using Hand
wheel/Jog/Inc in the machine
1 axis interface to generate a DRF
offset
OPTION
T+M Jog in Automatic
Jog Mode Mask is set to 0 as
standard, which means you are
not able to Jog the axis in
Automatic, with the exception of
Teach-in.
2 Jog Mode Mask is set to 1,
means you are able to Jog the
axis in Automatic. The machine
builder should explicitly set this
machine data when he requires
this functionality.
T+M AUTO
3
Cycle start
T+M AUTO
4
Cycle Stop
T+M AUTO
5
Cycle single block
T+M AUTO
6
Program reset
T+M AUTO
7
Feed Stop in Program effect
T+M AUTO
8
Spindle stop in Program - effect
T+M AUTO
9
Feed override = 0
T+M AUTO
10
Spindle override = 50
T+M AUTO
11
Effect of E-Stop
T+M Program control
12
PRT - Program Test
T+M Program control
13
DRY - Dryrun feedrate
T+M Program control
14
M01 - Program stop
T+M Program control
DRF - Differential hand wheel
15
offset
OPTION
T+M Program control
16
SKP - Block skip
T+M Block search
M,S,T,H - Effect
17
Search to Tool
8.2 Parameter
8.2.4 Magazine
Technology Test Description Tested OEM Alternative / or Tested Reason for OEM To Do
No Comments / not Alternative
relevant
T+M Relocate a tool in the Magazine
1
T+M
10 Relocate a tool in the Spindle
T+M
11 Tool Change in Inch and Metric
8.3 Geometry
T+M
2 Thread boring
T+M
2 Geometry axis
T+M
2 Function SS1
T+M
3 Function SBR
8.5 Startup
T+M Password
Delete SUNRISE after power on
8
All other power on retained
10
11
Not categorized
Technology Test Description Tested OEM Alternative / or Tested Reason for OEM Alternative To Do
No Comments / not
relevant
T+M
1 Electrical Cabinet Protocol
Module Description:
Module Objective:
Upon completion of this module you will know the Sinumerik 828D system and the components
which make up the system.
Content:
Sinumerik
System Overview
Drive Components
NX Modules
Hand-held Units
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B060
B060
System Overview:
START
System
Overview
Machine
Control
Panels
PLC
Periphery
Modules
Drive
Components
NX Modules
Drive-CLiQ
Hub & Sen-
sor Modules
Hand-held
Units
System Overview:
END
Notes :
To
other
828D
}
X145 Sinumerik X122 Sinamics kit
USB 2.0 828D & PPU X132 Digital I/O
X125
X127
(Linux OS) X242
X252 } NCK Digital I/O and
Spindle analogue out
X127-Service X143
Ethernet X100 X101 X102 X130 Hand-wheels
X130-Factory Ethernet
DMC20
X100 to X102 DriveCLiQ Interface DriveCLiQ
Hub
Teleservice
Modem
Filter
Sinamics S120 NX10/NX15 S120
Booksize
DMS
Scales/encoders
via SMx & DMC
modules
Reactor
Notes :
To
other
828D
PN1 &
PN2
Profinet
+24V DC Supply Interfaces
Mini
RS232
X1 PN2 PN1 X135 HHU
Interface
Compact Flash Front
X140 Connection
ports
USB 2.0
X145
X125
Sinumerik
828D & PPU
X122
X132 } Sinamics
Digital I/O
kit
X127
X127-Service
(Linux OS) X242
X252 } NCK Digital I/O and
Spindle analogue out
X143
Ethernet X100 X101 X102 X130 Hand-wheels
X130-Factory Ethernet
DMC20
DriveCLiQ
Teleservice Hub
Modem
Sinamics
Filter Combi Two additional
DMS-TTL 5V Module axes-S120
Direct to Combi (3/4 axes) single/double
compact
modules
DMS
Scales/encoders
via SMx & DMC
Max 5 circuits
Reactor
Notes :
828D Basic (PPU24x) & 828D (PPU28x) controllers with integrated PPU (Panel Processing Unit):
PPU240/280:
Vertical variant.
10.4” TFT colour
PPU241/281:
screen. Horizontal variant.
10.4” TFT colour screen.
USB 2.0
Proximity
sensors for
display control
Notes :
The PPU model number gives information about the control- Milling 6FC5835-2GY40-4YA0 828D SW 24x
ler: Turning 6FC5835-1GY40-4YA0 828D SW 24x
PPU2xx.3
0 - Vertical
1 - Horizontal Part Numbers for PPU280.3/281.3/290.3:
Notes :
PPU Rear interfaces and Status LEDs (All variants): Name Colour Description
PN1 & PN2 - Profinet interfaces. (Only PN1 available for X242
PPU240/PPU241) X252
X143
X1
M T1 T2 T3
Notes :
Factory network
Service Network
PP72/48 PN
PPU 2xx
PROFINETBUS
3 12
DRIVE-CLiQ Sub-Topologie
Components NX10/15 (1)
the PPU
Notes :
The following tables highlight the technical specifications of the 828D controller.
Key:-
In preparation
Delivered as standard
Option
- Not available 828D 828D
Basic
828D Software 24x 26x 28x 28xA
Technology (Turning/Milling) T M T M T M T M
System Performance
Number of axes with standard configuration 3 4 3 4 3 4 3 4
Maximum number axes/spindles/positioning axes 5 5 6 6 8 6 10 8
Each additional axis/spindle
Each additional positioning axis
Maximum number of interpolating axes 4 4 4 4 4 4 4 4
Maximum number of machining channels 1 1 1 1 1 1 2 1
Minimum block cycle time 9ms 9ms 6ms 6ms 6ms 3ms 6ms 3ms
CNC user memory (buffered) 3MB 3MB 3MB 3MB 5MB 5MB 10MB 10MB
CNC Functions
Tool management with tool life monitoring and workpiece
count
Replacement tools
512/ 512/ 768/ 768/
Maximum number of tools/cutting edges 128/256 128/256 256/512 256/512
1024 1024 1536 1536
Number of settable zero offsets 50 50 100 100 100 100 100 100
Safety Integrated (Safe Torque Off, Safe Brake Control)
Asynchronous subroutines (ASUP)
Synchronised actions and high speed auxiliary function
output
Acceleration with jerk limitation
Look Ahead (Number of blocks) 1 >150 1 >300 1 >450 1 >450
Compressor for 3-axis machining - - - -
Advanced surface - - - -
A, B, C spline interpolation
TRANSMIT and peripheral surface transformation
Travel to fixed stop
Travel to fixed stop with Force Control
Inclined axis for no orthogonal Y axis - - - - - -
Synchronous spindle function for sub-spindle (CP Static) - - - -
Synchronous spindle function for sub-spindle (CP Basic) - - - -
Pair of synchronised gantry axes
Temperature compensation
Bidirectional lead-screw error compensation
Multi-dimensional sag compensation
Master/slave for drives
Analysis of internal drive values
Notes :
828D
828D
Basic
828D Software 24x 26x 28x 28xA
Technology (Turning/Milling) T M T M T M T M
CNC Programming and Operation
Programming language (DIN66025 and high level
language expansion)
Online ISO dialect interpreter
Technology cycles for drilling and milling
Technology cycles for turning - - - -
Residual material detection and machining
Programming support for technology cycles (Program
GUIDE)
ShopMill/ShopTurn machining step programming
Measuring cycles
Simulation in plane display
Simulation in 3-D display
Simultaneous recording (Real-time simulation of cur-
rent machining operation)
Extended operator functions for complex turning and
milling tasks.
Contour hand-wheel
Network drive management
Remote diagnosis function RCS host
PLC Functions
Integrated PLC based on SIMATIC S7-200
PLC periphery modules PP72/48D, PP72/48D 2/2A
PN
Ladder viewer and on board add-on editor
PLC cycle 9ms 9ms 6ms 6ms 6ms 6ms 6ms 6ms
Maximum number of PLC ladder steps 32,000 32,000 32,000 32,000 32,000 32,000 32,000 32,000
Servo synchronous High Speed PLC Task
Reaction time to process events (Terminal to terminal) 7,5ms 7,5ms 7,5ms 7,5ms 4,5ms 7,5ms 4,5ms 7,5ms
Maximum number of digital inputs/outputs 216/144 216/144 288/192 288/192 360/240 360/240 360/240 360/240
Maximum number of analogue inputs/outputs 6/6 6/6 8/8 8/8 10/10 10/10 10/10 10/10
PN/PN coupler
Commissioning and Service Functions
Run MyScreens-easy creation of user screens
(Licence for over 5 user screens)
Service Planner for maintenance tasks
Easy Extend management of machine components
Easy Archive data archiving
Notes :
Part Number: 6FC5303-0AF33-0AA0. The MCP310 is recommended for use with the vertical style PPU.
Part Number:
6FC5303-0AF33-0AA0.
Interfaces:
X10 USB Interface (rear side)
Features:
39 membrane keys with LED
Indicators (22 user assignable)
Feed override control(18 positions)
Spindle override (15 positions)
Dual 7-segment display for user specific
functions.
Option for Emergency Stop button
4 x Pre-drilled holes for hard wired user but-
tons/switches.
The MCP483 is recommended for use with the horizontal style PPU.
Notes :
The MCP310 is recommended for use with the vertical style PPU.
Consumable items:
6FC5247-0AF12-1AA0-Spindle
override rotary switch incl. cap, button, pointer & dials
Notes :
The MCP483 is recommended for use with the horizontal style PPU.
Notes :
Additional items:
Interface Description
X1 +24V Supply
X2 & X3 RJ45 Profinet Interface
X30 Feed override Interface
X31 Spindle override Interface
X40, X41 Digital inputs (24V)
X51, X52, X55 Digital inputs (TTL)
X53, X54, X56, Digital outputs (24V)
X57, X58
X60*) Hand-wheel 15 pin Sub-D socket.
X62*) Hand-wheel 12 pin strip connector.
X61 Not used
X111 to X114 PLC I/O for buttons/LEDs (5V)
S1 Addressing Switch
S2 Hand-wheel signal type. (Differential/TTL)
H500 to H502, Diagnostic LEDs
H505.
Notes :
PP72/48D PN Modules (Combined I/O module) PP72/48D PN modules are a compact component which con-
nect to the Profinet network (Ports PN1 or PN2 of the NCU).
A 24V DC supply is required.
There are two variants, one of which is all digital while the sec-
S1 ond offers both digital and analogue functionality (only for
PLC).
24 digital inputs and 16 digital outputs are available on each of
the 3 ribbon connectors giving a total of 72 inputs and 48 out-
X111 puts for each module.
X222
828D Software Maximum no. of PP72/48 modules
24x 3
26x 4
28x & 28xA 5
X2 X2
Port Port Interfaces:
2 1 X333 S1-Adressing switch-Default setting of 9
X1-24V DC Supply
X2-Profinet network ports 1 & 2
X111 digital inputs/outputs-ribbon connector
X1 X222 digital inputs/outputs-ribbon connector (first byte has
fast gating hardware)
X333 digital inputs/outputs- ribbon connector
Input information: The PN/PN coupler is used to link two Profinet networks so
X222, byte 1 - maximum delay time - 600μs. that data can be exchanged between them.
All other inputs, delay time - 0.5 to 3ms.
A 24V DC supply is required.
PP72/48D PN Part numbers:
One coupler is allowed per controller.
6FC5311-0AA00-0AA0 Digital only (PP72/48D PN)
6FC5311-0AA00-1AA0 Digital/analogue (PP72/48 2/2A PN) Part number:
6ES7158-3AD01-0AX0
LEDs
SF1 Group fault for Profinet 1 network (Red)
SF2 Group fault for Profinet 2 network (Red)
BF1 Bus fault for Profinet 1 network (Red)
BF2 Bus fault for Profinet 2 network (Red)
MT1 Maintenance display Profinet 1 network (Yellow)
MT2 Maintenance display Profinet 2 network (Yellow)
ON Power supply +24V DC (Green)
LINK Connection on (Green) One per Profinet connection
RX/TX Data Exchange (Yellow) One per Profinet connection
PN/PN Coupler
Notes :
Line Modules Line modules are responsible for generating the DC link sup-
ply for the drive system.
They require 3-phase AC for the DC link and +24V DC for the
electronic supply.
The DC link and 24V DC voltages are distributed to other
drive modules in the system via a bus bar system.
The modules are available in several variants of size and
functionality.
Part Numbers:
6SL3130-6TE21-6AA3 16Kw Internal cooling
6SL3130-6TE23-6AA3 36Kw “ “
6SL3130-6TE25-5AA3 55Kw “ “
6SL3131-6TE21-6AA3 16Kw External cooling
6SL3131-6TE23-6AA3 36Kw “ “
6SL3131-6TE25-5AA3 55Kw “ “
Notes :
Motor Modules (MM) The motor modules convert the DC link voltage into a varia-
ble AC voltage which is then output to the servo
Motors.
Motor Modules are supplied with 24V DC via the ALM/SLM
All motor modules are connected to the DriveCLiQ network.
They are available in one or two axis variants and can be
internally or externally cooled.
Interfaces:
Single MM
X1-Output to Motor.
X21-Enable & temperature sensor input
X200, X201, X202-DriveCliq connections
Double MM
X1 & X2-Output to Motors
X21-Enable & temperature sensor input (Motor 1)
X22-Enable & temperature sensor input (Motor 2)
X200, X201, X202, X203-DriveCliq connections
Single MM Double MM
Notes :
The S120 book sized compact motor modules are use to ex-
pand the number of drives the Sinamics Combi drive system
to the maximum of 6.
The modules are only available with internal cooling.
Interfaces:
Single MM
X1-Output to Motor.
X21-Enable & temperature sensor input .
X200, X201, X202-DriveCliq connections.
Double MM
X1 & X2-Output to Motors.
X21-Enable & temperature sensor input (Motor 1)
X22-Enable & temperature sensor input (Motor 2)
X200, X201, X202, X203-DriveCliq connections.
The Combi drive unit consists of a Line Module and either 3 or 4 Motor Mod-
ules, the first of which is dedicated to the Spindle.
They must always be connected to the DriveCLiQ network via controller inter-
face X100.
The number of axes can be increased by adding Sinamics S120 Book sized
Compact Motor Modules up to the maximum allowed by the system.
Notes :
Braking Module
6SL3100-1AE31-0AB1 1.5Kw
The initial power to the module is taken from the line supply,
when a power failure occurs power is taken from the residual
voltage of the DC link.
Part Number:
6SL3100-1DE22-0AA1
Control Supply
Module
Notes :
General information
Since the integrated control unit (CU) can control only 6 axes, an NX module is required to achieve the
maximum number of 10 axes allowed by the system.
NX modules can also be used for reducing the drive cycle time from 125μs to 62.5μs, for example, in
the case of a high speed spindle application.
The modules are of the same design as the Sinamics S120 drives.
The drive enable connections are not required to be physically connected, these signals are mirrored
with the CU connections:
X122.1 = OFF1
X122.2 = OFF3
Part Number:-
NX10.3: 6SL3040-1NC00-0AA0
NX15.3: 6SL3040-1NB00-0AA0
Interfaces:-
X100 to X103 DriveCLiQ
X122 4 x digital inputs & outputs
X124 24V DC supply NX10/NX15
Notes :
General information
Part Numbers:
DMC20: 6SL3055-0AA00-6AA1
DME20: 6SL3055-0AA00-6AB0
Interfaces:
X500 - Drive-CLiQ, Connects to PPU/Drive-CLiQ network
X501 to X505 - Drive-CLiQ, additional devices
X524 - 24V DC supply
RDY - LED indicator
DMC20 DME20
Notes :
General information
SMC20
For the evaluation of the following measuring systems:-
Incremental sin/cos 1v pp
Absolute EnDat encoders
SSI with incremental signals Sin/Cos 1V pp
(Temperature evaluation-KTY84-130 can also be used)
Interfaces:-
X500 DriveCLiQ
X520 Measuring system input (25 pin D-type connector)
X524 24V DC supply
Status LED
Part Number:-
6SL3055-0AA00-5BA3
SMC30 SMC30
Interfaces:-
X500 DriveCLiQ
X520 TTL measuring system input (15 pin D-type con-
nector)
X521 HTL/TTL measuring system input (Screw type
connector)
X531 “ measuring system input (Screw type
connector)
Status LEDs
X524 24V DC supply
Part Number:-
6SL3055-0AA00-5CA2
Notes :
SMC40 SMC40
Interfaces:
X500/1: DRIVE-CLiQ channel 1 interface.
X500/2: DRIVE-CLiQ channel 2 interface.
X520/1: EnDat 2.2 encoder input - channel 1.
X520/2: EnDat 2.2 encoder input - channel 2.
X524: 24v electronics supply.
2 x RDY LEDs (one for each channel)
Part Number:-
6SL3055-0AA00-5DA0
SME20/SME25 SME120/SME125
For the evaluation of the following measuring systems:- For the evaluation of the following measuring systems:-
Incremental sin/cos 1v pp with C and D tracks 5V supply- Incremental sin/cos 1v pp with C and D tracks 5V supply-
SME20 SME120
Absolute EnDat encoders 5V supply-SME25 Absolute EnDat encoders 5V supply-SME125
Absolute SSI with incremental signals 5V supply Sin/Cos 1V (Temperature evaluation-KTY84-130 can also be used)
pp-SME25
Interfaces:-
Interfaces:- DriveCLiQ-Also supplies 24V DC
DriveCLiQ-also supplies 24V DC Measuring system input
Measuring system input Hall effect sensor input
Temperature sensor input
Part Number:-
6SL3055-0AA00-5EA3-SME20
Part Number:-
6SL3055-0AA00-5HA5-SME25
6SL3055-0AA00-5JA3-SME120
6SL3055-0AA00-5KA5-SME125
SME20/SME25 SME120/SME125
Notes :
Hand-held Units The HHU offers manual axis movement via hand wheel or jog
buttons.
Hand Held Unit (HHU) A rotary switch is used to select the required axis, it is only
possible to select one axis at a time from the maximum of five
Hand held units allow the operator to manually control the axes.
machine remotely from the main operator panel. Safety is provided via a 2 channel emergency stop button and
a 3 position “Dead mans” enable button.
HHU with coiled cable, connector and mounting device:- The casing has magnets which are useful to attach the unit to
any suitable metallic surface, alternatively a holder can be
purchased for this purpose.
A terminating connector is available to facilitate the (Cold)
removal of the HHU without affecting the machine operation.
In addition to the +/- & Rapid jog buttons there are three user
assignable buttons.
The signals from the HHU are split into three categories.
1. The emergency and enabling buttons should be used
in the safety/enabling circuit of the machine.
2. The jog and axis selection should be done via the user
PLC program
3. The hand-wheel signals need to be taken to X143 of
the PPU
Part numbers:-
Notes :
Connection method
A separately ordered connection kit is used with the Mini HHU which allows the three sets of
signals to be separated according to their functionality.
Flange Socket
Flange socket
1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 11 12
1 2 3 4 1 2 3 4 1 2 3 4
Notes :
B060
Mini Hand Held Unit Colour Codes
Emergency Stop Enabling Button Axis Selection Function/jog/rapid Keys Hand-wheel bk - Black
br - Brown
rd - Red
ye - Yellow
gn - Green
bu - Blue
System Overview
vt - Violet
gy - Grey
wh - White
pk - Pink
wh bn gn ye gy pk bu rd bl vt ye/ gy/ rd/ wh/ bn/ wh/ wh/ gy/ wh/ pk/ wh/ bn/ wh/
bn pk bu gn gn ye gy bn pk bn bu bu rd
Page 27
Connection kit
wh br gn ye gy pk bu wh br vt rd bu pk gy ye gn bk br wh bu pk ye gn
1 2 3 4 5 6 7 1 2 3 4 1 2 3 1 2 3 2 1 6 5 4 3
Notes :
B060 END
SINUMERIK 828D
B060 END System Overview
Module Description:
In order to integrate the Sinumerik 828D CNC to a machine tool, software tools are required. The
tools enable the machine tool builder to create the PLC program for the machine and also assist in
the drive configuration.
These tools, including service tools are supplied on a DVD, the DVD is called the Toolbox DVD.
Module Objective:
Upon completion of this module the course participant will be able to do the following:
Content:
Toolbox Installation.
Sinumerik
Network Settings.
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B002
B002
Service and
Commissioning
Tools:
START
Toolbox
Installation
Network
Settings
Online
Connection:
Access
MyMachine
Online
Connection:
PLC
Programming
Tool
Service and
Commissioning
Tools:
END
Notes :
Notes :
Select “Control
Panel” from the Select “Change
Start Menu of the adapter settings”
PC.
Notes :
Note the name of the network adapter associated with the Select the option “Internet Protocol Version 4 (TCP/IPv4)”
Local Area Connection. followed by the “Properties” button:
In the example below the network adapter is of the type:
Intel® 82579LM Gigabit Network.
Select the “Obtain an IP address automatically” option. Connect a suitable Ethernet cable between the PC and X127
of the controller. In some situations this may need to be a
cross-over cable.
The connection status can be checked via the “Details” option
of the Local Area Connection.
Notes :
Online Connection-Access MyMachine Set the privilege level to “Run the program as administrator“
Notes :
When the program is opened for the first time after the
Installation it is necessary to assign a password for encryption
purposes.
It is necessary to login with a password depending on the ac- The access level determines which data can be accessed via
cess level required: Access MyMachine.
The “Manufacturer” login grants the most access, the “User”
login is the most restrictive.
Select the login and enter the password.
Passwords:
Manufacturer-SUNRISE
Service-EVENING
User-CUSTOMER
Notes :
After a short delay the data folders of the controller will appear in the lower half of the Access MyMachine program, this indicates
that a successful connection was made.
Creating a "Project" within Access MyMachine Enter a name to identify the project.
Notes :
Loading files directly to the control system and from the control
The Project window will appear to the right-hand side.
system to the PC.
Managing the control system's NC data. You can copy files di-
rectly from the PC to the NC and from the NC to the PC.
Monitoring processes and remote control of the SINUMERIK via
a remote control function.
Saving the screenshot of the HMI on the PC.
Editing the following user files on the PC:
PLC alarm texts (oem_alarms_plc)
Cycle alarm texts (oem_alarms_cycles)
Part program messages (oem_partprogram_)
EasyScreen language strings
Tool management language strings
EasyExtend files (oem_aggregate)
Maintenance planner files (oem_maintenance)
Creating and loading an archive for the control system.
Managing user files with the following options:
Creating a project OFFLINE.
Copying individual files using the project dialog to the control
system or copying from the control system to the project.
Once a project has been created, AMM provides the following Deleting user files using the project dialog on the control sys-
functions: tem.
Viewer
Viewing Rights-HMI
Rights for remote access - Selected in HMI
Do not allow remote access-Prevents remote connections.
Allow remote monitoring-The remote computer can monitor
the controller.
Allow remote operation-The remote computer can access the
various screens of the controller and changes can be per-
formed.
Viewing Rights-PLC
Rights for remote access, Specified by PLC (Not settable on
screen)
The access can be restricted/blocked via the user PLC with
interface signals. These signals have priority over the
“Selected in HMI” settings. It may be necessary to Contact
the machine manufacturer if the PLC is restricting the viewer
access.
Notes :
When set to “allowed”, then the controller will allow the con-
nection, even when the dialogue box has not been acknowl-
edged.
If set to “Denied” the connection will be blocked if the dialogue
box is not acknowledged.
To start this function select the following icon from the Access
MyMachine tool bar.
Alternatively select “Start” from the “Remote control” drop
down menu.
Notes :
F1 to F8 - Horizontal soft-keys
Shift & F1 to F8 - Vertical soft-keys
F9 - Page Back/Up
F10 - Menu Select
Shift & F9 - Page right
F12 - Help function
Escape - Alarm Cancel
Select - Space Bar
Online Connection - PLC Programming Tool Set the privilege level to “Run the program as administrator“
Notes :
A communication protocol
is not active.
Double click the area
highlighted above.
A list of network adaptors will be displayed: The selected adapter will be shown on the right of the dia-
logue box.
The IP address of the controller should be entered in the
“Communication Parameters\Remote Address” section.
The default IP address of X127 is 192.168.215.1.
The correct
adapter should
be selected
from the list
and confirmed
with the “OK” Network adaptor.
button.
Notes :
B002: END
Notes :
Module Description:
The SINUMERIK 828D system is split into 6 menu areas. Each menu area is sub-divided to allow
the user easy access to the necessary areas of the system.
Menu Areas:
Machine
Parameter
Program
Program Manager
Diagnostics
Setup
Module Objective:
Upon completion of this module you will know the menu areas of the SINUMERIK 828D system.
Content:
Sinumerik
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B061
B061
Menu
Structure:
START
Menu Area:
Program
Manager
Menu Select
Button
Menu Area:
Diagnostics
Mode
Selection
Menu Area:
Setup
Menu
Selection
Short cut
keys
Menu Area:
Machine
(JOG Mode)
Menu
Structure:
END
Menu Area:
Machine
(MDA Mode)
Menu Area:
Machine
(AUTO Mode
Menu Area:
Parameter
Menu Area:
Program
Notes :
The menu system of the SINUMERIK 828D is accessed via the “Menu Select” button.
The location of the “Menu Select” button is always to the lower right of the screen of the operator panel.
Examples:
Notes :
Mode Selection
Pressing the Menu Select button reveals 6 horizontal menu soft-keys and 5 vertical soft-keys.
The 5 vertical soft-keys can be used to change between the machine modes: This can also be
achieved via the Machine Control Panel.
Notes :
Menu Selection
The Parameter menu displays information such tool/magazine data, work offsets,
user variables etc.
It is possible to carry out functions such as creating tools, editing existing tool/
magazine data, editing work offsets/variables/setting data.
The Program menu is used to display a part program, only if a program is already
open will its contents be displayed. Editing of the part program is possible here. If
a part program is not already open, the Program Manager will be open.
Reboot HMI
A further soft-key is available which is used for rebooting the HMI only. This is
found via the Menu extension key.
Notes :
Notes :
Notes :
Notes :
Notes :
Keys Function
In the program manager and in the program editor from the cursor position,
+ selects directories or program blocks up to the beginning of the window.
In the program manager and in the program editor from the cursor position,
+ selects directories or program blocks up to the end of the window.
Editing box - Moves the cursor further to the right by one word.
+ Navigation - Moves the cursor in a table to the next cell to the right.
Keys Function
Editing box - Moves the cursor further to the left by one word.
+ Navigation - Moves the cursor in a table to the next cell to the left.
Editing box - Moves the cursor in the table to the beginning of the table.
+ Navigation - Moves the cursor to the beginning of a window.
Editing box - Moves the cursor in the table to the end of the table.
+ Navigation - Moves the cursor to the end of a window.
Notes :
Keys Function
In the program manager and in the program editor from the cursor position,
+ selects directories or program blocks up to the end of the window.
In the actual window, selects all entries (only in the program editor and pro-
+ A gram manager).
Keys Function
Scrolls the actual user interface through all installed languages one after the
+ L other.
Scrolls the actual operator interface through all installed languages in the
+ + L inverse sequence.
Cuts out the selected text. The text is located in the clipboard.
+ X
Notes :
Keys Function
Inserts text from the clipboard: either pastes the text from the clipboard at
+ V the actual cursor position or pastes text from the clipboard at the position of
the selected text.
Keys Function
B061: END
Notes :
Module Description:
The data of 828D sl controller is protected by using one of seven access levels, four of which
are set via a key-switch and three by password.
This module explains the different access levels, how to set these levels and how to protect
individual files.
It is also important that the system date and time are correct.
This is necessary for checking when an alarm occurred or when a file (Part program, archive etc)
was created or edited.
If at the time of installation, the time and date is not set correctly, the Guarantee period of the
controller could be effected.
Before the date and time displays can be edited, the password for the “User” or higher must be
entered.
Module Objective:
Upon completion of this module you will be able to set the different protection levels using a
password or key switch, you will also be able to change the protection levels of individual NC
programmes and set the time and date for the system.
Content:
Sinumerik
Protection of files
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B021
B021
Access Levels /
Time & Date:
START
Password
and
key-switch
information
Setting and
Deleting the
Password
Protection of
files
Customising
Soft-key
Access
Levels
Time and
Date
Setting
Access Levels /
Time & Date:
END
Notes :
The key switch is located to the bottom right of the MCP and DB2600 Key-switch signals to NC (PLC NC)
has four positions. Three colour coded keys are available,
each of which allow a different access level. This is from a Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
standard Siemens machine control panel. It is possible that a
manufacturer may use a different method to set the interface DBB0 Key- Key- Key- Key-
signal. switch switch switch switch
Pos.3 Pos.2 Pos.1 Pos. 0
Setting the password: A dialogue box is opened, this box shows the current access
The screen for entering the password is reached via the fol- level and allows a password to be entered using the key-
lowing key presses board.
Notes :
The dialogue box disappears and the current access level is Changing the password:
displayed above the left hand horizontal soft-keys.
It may be necessary to change the password from the default.
To change a password select the “Change password” soft
key.
Protection of files
The properties of the file are found by paging right and select-
Certain files such as important cycles, programmes etc can be ing the properties Soft-key.
individually protected against accidental editing, deletion or
execution. They can also be hidden from view.
The file to be protected has to be located before the properties
can be edited. In this example, the part programme A dialogue box allows four properties to be changed.
“Example.MPF” is to have it’s properties changed.
In the following example, the program:
The “Part program” directory is located by selecting the
“Program manager” key. Can only be executed if the “Service” password or
higher is active
Can only be written to (Edited) if the “Manufacturer”
password or higher is active
Will only be listed if the key switch position 2 or higher
is active
Can only be read if the key switch position 3 or higher
is active
Example: TEST.MPF file has been selected in the Part Pro-
grams directory.
Notes :
When the correct settings have been entered the “OK” soft
key has to be selected.
When the “OK” key is pressed the function will be activated. Use the mouse “Left click” to select the
This is confirmed by the message 150100 required access level.
The menu will automatically disappear when the selection is
made.
If an access level is already active the “Original setting” op-
tion will be available.
Notes :
Before the date and time displays can be edited, the password
for the “User” or higher must be entered.
The Date/Time screen is reached with the following soft key
sequence:-
Once the time & date are correct press the “OK” soft key.
B021: END
Notes :
Module Description:
Machine and Setting data are used in many ways to influence the operation of a machine.
During commissioning some of the machine data are automatically set while other machine data
have to be changed.
Over time, as the machine mechanically wears it may be necessary to edit certain machine data
such as compensation data.
This module shows the different machine data areas and other criteria such as how to activate the
machine data.
Module Objective:
Upon completion of this module you will be able to locate the different Machine/Setting data areas
and be able to carry out adjustments if required.
Content:
Sinumerik
Data Classes
User Views
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B041
B041
Machine and
Setting Data:
START
Machine &
Setting Data
Overview
Data Classes
Editing
Machine &
Setting Data
User Views
Storing of
Archives
within AMM
Project
Machine and
Setting Data:
END
Notes :
Which mean:
$ System variable
D Setting data
N, C, A, S Part range (second/third letter)
Notes :
Notes :
When looking at the machine data area of the controller it is Editing Machine & Setting Data
possible to see which machine data belongs to which Data REMEMBER:- Create a data backup !
Class.
The machine data screens are restricted via the password
Example:-Axis specific machine data screen showing data and the display filter.
class identifiers: If the expected machine data is not present, first check the
access level (Module B021 Protection Levels) and then the
display filter.
The “Display options” soft-key accesses the display filter
mask. Here it is possible to select which machine data are
displayed.
The Machine & Setting Data is separated into different groups. For further data the “Menu Extension” key must be selected.
This allows access to the Setting Data and also the Display
The default entry in the machine data screen gives the follow- Machine Data.
ing soft-keys:
Drive Parameter.
Notes :
The correct machine data has to be highlighted. The number REMEMBER:- Create a data backup !
1 is entered and confirmed with the “Input” key.
Notes :
User Views By default on the control there are two “User view” lists.
“Setup_Milling” and “Setup_Turning”
User views allows a customised list of machine data to be
made. These views list all MD/SD required for setting the technology
Milling or Turning.
Notes :
Insert new data in machine data list. The machine data list will be stored on the System CF card.
Storing of Archives within an AMM Project To upload the Archive files from controller into the project, tick
all boxes in the bottom window.
Start the Access MyMachine program and make an online
connection to the controller.
Notes :
Use the "+" icon to the right of the OEM text, the contents of There are several tasks that can be performed from within
the Archives in the "project" can be seen. AMM software. An archive can be opened and the data looked
at.
Tick one of the Archive file and click the "Edit"
Notes :
Notes :
This will open the two files within "Create MyConfig Diff".
Select the menu , "Selective", then open and tick the same areas within each file.
Data that is different will be highlighted in RED text.
B041: END
Notes :
Module Description:
It is often a requirement to store machining programs off-line on an external computer.
Access MyMachine is a multi-functional software tool which connects via Ethernet (X127 & X130),
one of the functions offers the possibility to connect remotely to controllers in order to transfer
machining programs to and from an external computer.
It is also possible to configure and assign controller soft-keys to networked computers as another
method of Network & Operator Panels.
Module Objective:
Connect remotely via network to the controller using Access MyMachine and use copy and
paste functions to transfer machining programs.
Configure soft-keys in the Program manager and assign these to networked computers.
Content:
Sinumerik
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B038
B038
Access My-
Machine
via X130
Configuring
a
Network
Drive
Set up
logical
drives
Notes :
Notes :
X130 Controller Set-up An overview of the X127 and X130 interfaces is displayed.
X127 is a DHCP server with a fixed IP address of
The controller settings for X130 can now be entered. 192.168.215.1 and subnet mask of 255.255.255.224. This
interface cannot be configured.
Any existing X130 settings should be recorded before any X130 is the company network and is configurable.
changes are made.
Push the SK
To enter a defined IP address. Check that the settings for X130 are correct in the
“TCP/IP diagnostics” screen with the following key selec-
The following example shows X130 being manually configu- tion:
red with an IP address of 192.168.100.1 and a subnet mask
of 255.255.255.0
When the settings have been entered select the “OK” soft-key”
Notes :
The “Availability” of the network connection is shown. In the example below X127 has a green/white tick symbol with an
availability of 100%, this indicates that the connection has hardware attached and is healthy.
If X130 shows a red / white cross symbol, with an availability of 0%. Then it is due to the fact that no hardware connection
exists to X130 or this is disturbed.
The Display is not dynamic! She can be updated with the SK „Display new“ .
X127: Connection in
use
Notes :
Controller IP address
Connection name The new connection is now listed in the Available connec-
tions list:
Login: User
Password: CUSTOMER
A connection can also be made from the toolbar: A few moments later the connection will be made and the fold-
er structure of the controller will be displayed in the lower half
of the Access MyMachine program
Notes :
Notes :
The transfer of programs can be achieved by mapping a soft- For reasons of security it is possible to restrict network access
key to a networked Computer. The soft-key will appear in the to the shared folder by setting “Permissions”.
Program Manager area of the controller.
The following example will show how to create a folder on the
The computer connected to the network must have been D drive and how to set up sharing and permissions.
logged in with a username and password. This information will
be required for inputting on the controller. The option “Use sharing Wizard” should be deselected via the
“Tools” menu in Windows® Explorer:
The computer log-in used in this example is:
Username: AUDUSER
Password: SUNRISE
Options:
Notes :
Select the D drive, right click with the mouse pointer in the
right hand Window and create a new folder.
Deselect “Use sharing Wizard” Enter a suitable name for the new folder.
Right click on the folder and select “Properties”. The share permissions for the new folder can be set. The
folder access over the network can be restricted to certain
users. The following example sets the permissions for
Select the “AUDUSER” (Log-in name of the computer).
“Sharing” tab
Select “Share
Select this folder”.
“Advanced The “Share
Sharing” name” will auto-
matically take
the folder name
Notes :
Notes :
The following settings allow the user “AUDUSER” to have full About Shared Folders:
control of the shared folder including editing/creating items.
Notes :
In the following example, details of the external PC have attention: drive may not be setup !
been entered.
Information such as IP address, share name, log on details The new soft-key will now be available in the Program area:
etc. are required.
Ensure that a suitable network cable is connected and press
the “OK” soft-key.
Notes :
A not operating disk drive is represented with grayed SK! The new folder is also available in the “System data” area.
This provides a convenient method of saving files such as
archives to a safe storage location.
1. User „AUDUSER“ , password „SUNRISE“. folder „840D sl Progams“ share for „AUDUSER“ with permissions
„Full Control“. Folders inside the shared folder can directly be accesed using the Path!
Mill 1
Milling
Mill 2
User1
Mill 3
Turning User1
Turn 1
Enabling name
Turn 2
User name (2)
+ Password (2) Turn 3
2. User „CUSTOMER“, password „TURNING“. folder „Turning User1“ share for „CUSTUMER“ with
permissions „Full Control“
Notes :
USB-interface
USB Local Front USB
CompactFlash Card of the PPU, NC Extend „Option 6FC5800-0AP77-0YB0“
User CF Card
Network drives
B038 : END
Notes :
Notes :
Module Description:
The license key is unique to the CF card supplied with the controller.
This module explains the licensing procedure and how to activate options.
Module Objective:
Upon completion of this module you can manage the licence key using the Sinumerik HMI.
Content:
Sinumerik
Test Licences
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B044
B044
Licence and
Option overview
Test Licences
Saving and
Restoring the
Licence Key
Retrieving a
Lost
Licence Key
Assigning New
Licenses
Notes :
Use the following key selection to reach the licence screens: Options are used to expand the functionality of the Sinumerik
controller, for example, an additional axis.
The available options are displayed via the All options soft-
key
The licencing screen shows that the licence key is correct for
the System CF card.
The options that are licenced for that particular System CF The licenced options have now been set.
card are displayed in the right hand Licensed column. They are activated by an NCK Reset.
Notes :
Test licence 1
Example: An unlicensed option and alarm 8081
OEMs can freely activate and test options during the
commissioning stage. Once satisfied which options are
required, these can be officially purchased and licensed.
The complexity of the controller is reflected by the differ-
ent time periods.
Additional test licence information: Alarm number 8084 will replace the 8081 alarm number.
This can be cleared with the cancel/clear button but will peri-
A test licence is only required if the system has at least odically reappear as long as a test licence is active. The re-
one drive assigned to an axis. maining licence time will be seen in the alarm description.
Notes :
The new folder now appears. Select OK to save the licence Restoring the License Key:
key to this folder.
Note: This function only works with alm type files.
The licence key is saved as an alm type file. The name of the
file is generated automatically and contains the serial number
of the CF card.
A shortcut to the Siemens licensing website is also created.
Notes :
The License key will now appear in the License key box. Retrieving a lost licence key
Notes :
Notes :
Unlike the alm type files, the txt file cannot be read in to the Activating an unlicensed option without a test licence being
controller. active results in alarm number 8081.
The licence number can be typed directly to the licence If a new option is required it can be licensed via the Web Li-
screen. cence Manager website.
Alternatively, the keys.txt file can be opened, on the control-
ler, and the licence key copied/pasted into the licence screen. Example of an unlicensed option that has been set:
The licencing screen also shows that the licence key is incor-
rect:
Locate the licence screen and paste the licence number using
the Ctrl + v key combination.
Example:
Notes :
Web License Manager website default page: Enter the License number and the dispatch note number.
Example:
Step 1 of 5 - Login:
To login, select Direct Access on the Web License Manager
screen:
Continue to step 2 with the Next button. Step 3 of 5 - Selecting the option:
Any options not yet assigned are displayed. The additional
options can now be assigned to the hardware. Continue to
step 4 with the Next button.
Notes :
There are three methods for saving the file. Two of these are The licence file can now be read directly into the controller:
in PDF or TXT format.
The remaining option is as an ALM file, this can be read di-
rectly into the controller.
Save the file to a suitable place, e.g. USB stick, in order that it
can be loaded to the controller.
B044: END
Notes :
Module Description:
The electronic logbook function of the 828D controller is used to enter data such as manufacturer
(OEM), dealer and user information, 1st and 2nd commissioning dates as well as records of
service visits.
This data is then saved to a log file. The log file has to be uploaded into the GSP iBase database
via the identSNAPSHOT software.
The function is not only necessary for warranty issues but also for service personnel (records of
new and previous service visits) and also for quality control measures.
Module Objective:
Upon completion of this module the course participant will be able to do the following:
Content:
Sinumerik
Logbook information
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B007
B007
Electronic Logbook:
START
Logbook
information
Importing/
Entering
Logbook
data
1st
Commission
ing Start-up
Complete
2nd
Commission
ing-Machine
Installed
Recording a
Service Visit
Saving the
Logbook
Data
Uploading to
GSP Ibase
Electronic Logbook:
END
Notes :
In the past, the validity of warranty claims was difficult to man- When the information has been entered it needs to be saved,
age and was the cause of delayed service response times. this is via a soft-key on the Logbook screen. This procedure
System/hardware faults were logged in paper logbooks which will create a log file.
were then usually left on the machine and often became dam-
aged or lost. This is known as the “identSNAPSHOT” function and is a
snapshot of the system including version data, cycle data,
By using GSP iBase and the Electronic Logbook system, the hardware components etc
warranty will automatically start, a record of the machine de-
tails and breakdowns will also be available on the controller. Each time a logbook entry is made, the log file should be
saved and uploaded to the GSP iBase database via the
The time and date of each entry is recorded; it is im- identSNAPSHOT software.
portant that the time and date settings of the controller are
correct. Incorrect time and date settings can lead to early The name of the file is made from a combination of the ma-
expiry of the warranty. chine name and system CF card serial number.
- Manufacturer information at OEM Every Sinumerik 828D package includes a 24 months of free
- Dealer information at delivery and installation of machine local service (On Site Service, OSS) by Siemens. When sup-
- End user information at delivery and installation of machine plied, the control package is automatically registered for the
- 1st Commissioning - End of start-up at Manufacturer first time in the GSP iBase final destination database, and the
- 2nd Commissioning Machine installed - End of start-up at OSS period is activated.
end user This can be extended free-of-charge from 12 months up to a
- All service visits maximum of 36 months trough online registration.
The OEM and Dealer information can be imported to the con- oem.xml Manufacturer information
troller in three ways: oemsubs.xml Manufacturer subsidiary information
Import the XML file via the “Import” soft-key. dealer.xml Dealer information
(Preferred method) user.xml End user information
Copy/paste the XML file in the “System data” area. ma_types.xml List of available machine types
The files are imported using the “Import” soft-key.
Type the information directly on the controller. If the files are not available they can be created directly on the
(When the files are not available.) controller or offline on a computer.
Notes :
*Manufacturers name*
*Town*
Logbook entries
1st Commissioning
2nd Commissioning
Service visits
If the controller has existing machine identity data, it is necessary to delete the “identity.xml” file.
System CF card\individual\sinumerik\hmi\data\version\identity.xml
Notes :
Data Import function Ensure that the files to be imported are available on the control-
ler, network PC or USB memory device.
The Electronic Logbook is located in the Diagnostics area of the
controller:
Notes :
Machine type
When the file is imported, the machine types will appear in the
drop down list.
Copy and Paste function Locate the destination folder (Machine identity).
Notes :
Select the branch/subsidiary name; in this case “ABC SUB” Templates for xml Files
Notes :
Notes :
Notes :
The details of the service visit are now shown on the Logbook The save procedure should be carried out after each data
page. entry in the logbook.
To save the data to a file first locate and select the “Save”
soft-key.
The file is given a default name using details from the machine
information page. This can be changed. A comment can also
be added.
Two files are created by default, Version data and Configura-
tion data.
The “Version data (.TXT)” file is a text file and contains details
regarding the versions of the controller, drives etc.
The “Configuration data (XML)” file is an xml file and contains
more information about the whole system including the log- In this example, the files are saved in the “version” folder.
book entries. It is this file which needs to be uploaded to the
database via the internet. System CF card\user\sinumerik\hmi\ data\version
Notes :
The file can be opened for viewing in the “System data” area: The information that was entered via the Logbook screen is
now stored in the xml file.
Service visits are found at the end of the file: Uploading to GSP iBase
Notes :
Double click the desktop short cut to start the A language selection is available from the menu bar.
"identSNAPSHOT" software.
You must first register in order to upload data into the GSP
iBase Service Platform Industry database using
identSNAPSHOT. You only have to register once before the
first upload. All of the required data are saved locally on your
PC.
This is achieved by the pull down menu "Configuration" on
the right hand side at the top of identSNAPSHOT, then
selecting "My address".
Notes :
Use the "Open" window to locate the XML file on the memory
stick
Notes :
To upload the XML file to GSP iBase use the "Upload" -->
"Machine infos upload" from the menu bar.
Notes :
B007: END
Notes :
Module Description:
It is necessary to have procedures in place for saving and restoring the customers data stored in
the CNC.
Module Objective:
Upon completion of this module the course participant will know how to:
Create and restore archives using the data class system of the 828D
Create and restore a system image.
Manage MD, SD, drive data and compensation data on the file level
Content:
Sinumerik
Data Classes
Easy Archive
Data admin
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B017
B017
Data Management:
START
Data
Management
Concept
Data
Classes
Easy
Archive
Save Data
Function
Creating
Archive With
Shortcut
Keys
System
Software
Backup and
Restore
System
CF Card
Replacement
Data
admin
Data Management:
END
Notes :
OEM
Updates
Daten
klassen Changes to machine E-Mail Incremental Machine at
Archiv with archive Update updates Customer
Update
Notes :
Data Classes
The 828D controller uses machine data which is divided into data classes.
Data classes can be used to create archives which contain only specific data's of the controller, data according to it´s classifica-
tion. Upgrades etc. can therefore be carried out while leaving any existing unrelated data of the controller intact.
System - This data belongs to the system and cannot be edited. The values are determined by the controller type and standard
data. Data belonging to this class is not saved in any archive type.
Manufacturer - The manufacturer data is common throughout a particular machine series. No individual or user data is included.
Individual - The individual data is machine specific (Compensations, reference points etc.). An archive of the Individual type
could typically be made prior to a software update.
User - The user data is user specific (Part programs, tool data, zero points etc.). An archive of the user type could be used to
transfer data to an identical machine
cutting the same component or in the case of a software update.
Data Classes for Machine Data Data Classes for PLC Data Blocks
When looking at the machine data area of the controller it is It is also possible to select the Data Class of certain Data
possible to see which machine data belongs to which Data Blocks in the User PLC program. When a Data Block is first
Class. created, the properties box is displayed.
Example: Axis specific machine data screen showing data The Data Class can be changed via the drop down menu. If
class identifiers: the Data Block already exists, the properties can be viewed by
right clicking on the Data Block and selecting properties.
Selection of the
Data Class.
Notes :
Creating Setup Archives: A number of choices are available with regards to the type of
To create a Setup Archive, locate the correct area by using the data to be included in the archive you are about to create.
following key sequence. The “All” option does not take into account the Data Classes.
Data from all data classes will be included.
Individual control components can be selected/deselected to
make a full or partial back-up of the controller.
Control Components:
PLC data:- This will create an archive suited to restoring the PLC user program in the event of a problem.
Drive data:- This will create an archive containing data for the Sinamics drives.
The drive data can be taken out in two formats:
ACX is a binary file and is unreadable with text editors etc.
ASCII is a text file which can be opened with a text editor, this can be useful in upgrade situations where new machine data
might prevent the binary file from reading in and/or the data needs to be entered manually.
Notes :
The example below shows the “All” option selected with the Information about the archive can be entered in the Comments
four control components also selected. This would create a section.
full backup of the controller.
A name for the archive needs to be entered, example-Milling A dialogue box indicates that the archive was successfully
Machine 123. created.
Notes :
Creating Data Class Setup Archives A selection of MANUFACTURER, INDIVIDUAL or USER data
can be made.
Data Class Setup Archives are created under the “Selection” A description of the data included with each selection is
option. shown below:
USER :This archive will save user specific data such as part
programs, tool and zero offsets.
Note that the Drive data option is not available for selection,
Drive data always belongs to the “Manufacturer”
data Class type.
Notes :
Reading in Archives
In the event of a hardware/software change it could be
necessary to read in archive files.
1 2 3
Notes :
The advanced “Start-up” menu will be displayed. Cursor to the required option and press the “Input” key.
The menu contains many options.
The type of archive to be loaded will determine which option
should to be selected.
Use the following key combination to reach the area for read-
ing in archives:-
Notes :
Notes :
Notes :
+ +
The controller should be allowed plenty of time to create the
archive, a guide would be to allow 5 minutes.
If the procedure is used on a controller with an operational
A file with the .ard extension will be created and given a de-
screen, several dialogue boxes be will be shown, these will
fault name which includes time and date information.
clear when the archive has been created.
It should be checked that the file exists on the USB/CF device
If the screen has failed these boxes will obviously not be seen.
before commencing work. If there are any doubts it may be
better to do the procedure twice and compare the file sizes.
Example:
Start-up of series machines is achieved quickly using USB/CF Empty storage device Storage device containing
cards: (CF card/USB stick) system image (TGZ)
Notes :
1 2 3
Notes :
Enter a suitable name for the file, the “tgz” extension must
remain.
The file will now be created. As the process continues the file
size, indicated in the brackets, will increase. The image should be stored in a safe place for future use.
The previously created system image (TGZ file) is used for the starting up of series machines.
A licensed system CF card should be inserted into the rear CF card slot of the controller.
Notes :
The following procedure will flash the backup image Insert the USB/CF device which contains the backup im-
saved earlier to the new system CF card. age and select “Yes” followed by the “Input” key.
Select the backup image, e.g. 828D_image.tgz and press the The data backup is now written to the internal CF card. Allow
“Input” key. It is possible that more than one image is present the process to finish.
on the CF card/USB stick, ensure that the correct one is cho-
sen.
Notes :
When the controller reboots, the alarm “4062 Back-up data Machine Functionality:
loaded” will be displayed. This data is the data saved in the
“Save data” procedure. Clear with the “Reset” key The machine functionality should now be checked. The opera-
tor should ensure that tool data, offsets etc. are correct.
The 828D controller uses the GSP iBase system for register-
ing the machine.
The registration is very important with respect to the start of
the 2 year warranty period.
For this reason it is essential that the time and date be set
correctly.
System CF Card Replacement The software package “Access MyMachine” is required plus a
recovery file called “minsys.img”. This file is installed as part of
In the event of the internal CF card becoming damaged it is the toolbox and is found within the folder named “Recoverysys”
possible to write a previously saved system image to a new CF in the toolbox directory.
card.
It is necessary to obtain a replacement blank CF card from Start the “Access MyMachine” software:
Siemens. Part number for replacement 2GB card:
6FC5313-5AG00-0AA2.
The card will need to be licensed, this can only be done via the
Siemens Hotline.
The serial numbers of the faulty and replacement cards are
required by the Hotline before a new licence number can be
issued.
Notes :
Start the write procedure with the “Write” button. Writing the Image to the Replacement CF Card
The “Minsys” recovery file to the CF card makes the card boot-
able. The card needs to placed in the rear CF card slot of the
controller in place of the “damaged” card.
The following procedure will flash the backup image saved
earlier to the new system CF card.
Notes :
The data backup is now written to the internal card. Allow the
process to finish.
Select the backup image and press the “Input” key. It is possi-
ble that more than one image is present on the card/USB stick,
ensure that the correct one is chosen.
When the procedure is finished the controller needs to be pow- If alarms numbers 4060 & 400006, 120402 are present, this
ered off to allow the USB/CF device to be removed. indicates that the “Save data” procedure was not carried out
before the system image was created.
In this case an archive will need to be loaded to return the
machine to a running condition.
Licensing
The data that was reloaded will need to be checked, tool data,
offsets etc. will probably have changed since the image was
created.
The operator should verify this data before running the ma-
chine.
Notes :
Data admin
Notes :
Notes :
B017: END
Notes :
Module Description:
The 828D PPU can be diagnosed using status LEDs. The status can be quickly assessed prior to
using more detailed diagnostic tools.
For the controller to function correctly the hardware has to be correctly connected, the location and
functionality of these interfaces is described in this module.
Module Objective:
Upon completion of this module you will be able to locate the status LED's and determine the
status of the CNC controller.
You will also be able to locate all the hardware connections and know their functionality.
Content:
Sinumerik
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B010
B010
NC Connections
and
Diagnostics:
START
PPU Status
LEDs and
Interfaces
(Front)
PPU Status
LEDs and
Interfaces
(Rear)
Input/Output
Terminal
Descriptions
NC Connections
and
Diagnostics:
END
Notes :
The interfaces are found on the front and the rear of the PPU. The front interfaces are found beneath a hinged cover to the left of
the screen.
Red/
Interface locations:-
LED Green Orange Red
Orange
Rear view of PPU showing interfaces.
NC Ready
PLC in stop NC in stop Power-up
RDY and PLC in
mode mode (Alternating)
run mode
Internal (System) CF card location.
NC operation
NC
(Flashes cyclic)
Internal/External Fault
X100 Sync PN
CF card access
CF
(Flashes random- Fault PN
X101
ly) Sync
X102
Rx/Tx
Link
X130
Note: The CF card should not be removed while the CF LED
X140 X135
is flashing.
X122
X132
X242
X252
X143
X1
M T1 T2 T3
Notes :
Interfaces for 828D S120 Book-sized Drive Modules: Interfaces for 828D S120 Combi Drive System:
Notes :
Notes :
Notes :
B010: END
Notes :
Module Description:
The 828D has interfaces for the connection of Digital I/O (Sinamics & NCK), Probes & Hand-
wheels. The hand-wheel connections (X143) are pre-assigned, while the digital I/O and probes can
be assigned to any suitable connection by the user.
Connections used within the drive group components are known as BICOs (Binary Connectors)
Certain connections can be configured as an output or an input.
X252 has the possibility of analogue spindle functionality, this is described in Module B029
This module shows the pin assignment of each connector and shows several examples of how a
connector is assigned to a function, including probes and line contactors.
Module Objective:
Upon completion of this module you will be able to locate the interface connectors and configure
individual connections to perform certain functions.
Content:
Sinumerik
BICO Technology
BICO Assignment
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B030
B030
Digital I/O,
Hand-Wheels and
Probes:
START
Terminal
Description
BICO
Technology
BiCo
Assignment
NCK Inputs
and
Outputs
Digital I/O,
Hand-Wheels and
Probes:
END
Notes :
Terminal Description
Interface locations:
Rear view of PPU showing interfaces.
X252
X143
Notes :
PPU
The functionality of X252 pins 12 & 13 changes depending on whether an analogue spindle is declared
Notes :
X122 & X132: BICO Connections are used to assign Sinamics inputs/outputs to a specific function e.g. Enabling of drives,
BERO’s, automatic line contactor control etc
Certain terminals are automatically assigned to a function by default, these are the OFF1 and OFF3 drive enable signals and the
input for probe 1.
The remaining terminals can be assigned to a function via machine data.
The status of the terminals is transferred to CU parameter r0722 which is referred to when assigning a function.
X122-Sinamics I/O:
Notes :
X132-Sinamics I/O
Notes :
Notes :
X143-Hand-wheel connections
Notes :
BICO technology:
Interconnecting signals
Every drive contains a large number of interconnectable input and output variables and internal control variables.
BICO technology (Binector Connector Technology) allows the drive to be adapted to a wide variety of requirements.
Digital and analog signals, which can be interconnected as required by means of BICO parameters, are identified by the
prefix BI, BO, CI, or CO in their parameter name.
Binectors, connectors
Binectors, BI: Binector Input, BO: Binector Output
A binector is a digital (binary) signal without a unit which can assume the value 0 or 1.
Binectors are subdivided into binector inputs (signal sink) and binector outputs (signal source).
(signal source)
A connector is a digital signal, e.g. in 32-bit format. It can be used to emulate words (16 bits),
double words (32 bits) or analog signals. Connectors are subdivided into connector inputs
(signal sink) and connector outputs (signal source).
To interconnect two signals, a BICO input parameter (signal sink) must be assigned to the required BICO output parameter
(signal source). The following information is required for connecting a binector/connector input to a binector/connector output:
Binectors: Drive Object ID, Parameter number and Bitnumber z.B.: SERVO_3.3:3 P849[0] BICO 1:722.1
SERVO_3.3:3 P848[0] BICO 63:2090.2
Notes :
p 0849
r 0722.1
p 0848
r 2090.2
p 0849
r 0722.1
The signal flows of the signal source now (digital input of the CU) to the target (on the function)
SINUMERIK
PLC NCK/CU
controller enable
DB38xx.DBX2.1
pulse enable
DB38xx.DBX4001.7
Logic Drive ready Logic
DB39xx.DBX4001.5
DB39xx.DBX4000.4
Pulses are enabled
DB39xx.DBX4001.7
ZSW 1+2
STW 1+2
MELDW
Statemachine
Infeed ready
Encoder-intf.
Controller
r863 p864
SERVO-
LineModul DO
MoMo
terminal EP on MoMO
only with Safety „STO“
Notes :
1. AUS 3 Drive
NC p 0848
STW1.2 r 2090.2 STW A
2. AUS 3
p 0849
& OFF 3
X 122.2 r 0722.1 r 0898.2
2. AUS 2
p 0845 Drive
1 BICO
2. AUS 3
p 0849 ZSW A
r 0722.1
INF Betrieb = LM Bereit
p 0864
& Drive ready
p 2082.12 NC
r 0722.0 r 0899.7 r 2053[4].12 MELDW.12
AUS 3
Notes :
DB38xx.DBX0002.1(controller enable)
STW1.0
(OFF1)
DB38xx.DBX4001.7(pulse enable)
&
STW1.7
DB38xx.DBX0001.5 (Acknowledge
(pos. measuring system 1) faults)
DB39xx.DBX5006.5
&
(measuring system 1 active)
≥1
DB38xx.DBX0001.6 STW1.6
(pos. measuring system 2) & (enable setpoint )
DB39xx.DBX5006.6 &
(measuring system 2 active)
DB39xx.DBX4001.5(Drive ready)
BiCo Assignment Use the “Select” key to give a more detailed view.
Notes :
Checking the status of X122 and X132 via CU parameter In the following example it can be seen that r722.1 is checked.
r722: This indicates that X122 has +24V DC present on pin 2.
CU parameter r722 can be used to check the status of the Any un-checked bits indicate a 0V potential on the relevant
X122 and X132 interfaces. pins.
Notes :
The system needs to know which terminal the probe input is Probe 2 is not assigned by default.
connected to, this is set with drive parameter p488. Drive parameter p489 needs to be parameterised in order for
probe 2 to function
All the drives that use the probe functions will need to be set.
Select the correct drive and cursor to the parameter p489[0]
There are two parameters, one for each probe, each with 3 then press the “Select” key
indexes (Indices).
p488 Measuring probe1 input terminal: Encoder 1..3
p489 Measuring probe2 input terminal: Encoder 1..3
Notes :
Probe Types:
The probes can be tested via a command in the part program After pressing the Cycle start button, the axis will move in the
using the following commands: programmed direction. The switch should be depressed be-
fore it reaches the specified position.
MEAS: Measurement with deletion of distance to go.
Notes :
The position of the axis when the probe is triggered is read Assigning the Spindle BERO Connector:
into variables:
The training equipment has a proximity switch connected to
$AA_MM[x] - machine coordinate position. X122.12, this is for the spindle BERO (External zero mark)
$AA_MW[x] - workpiece coordinate position. signal.
To make this active the relevant Drive Machine Data, p495[0]
[x] = Axis name. or [1] has to be set.
Notes :
Notes :
A summary of the line supply data is displayed, this can be The data needs to be saved, select the “Yes” soft-key.
saved to a text file if required.
Notes :
X252 NCK Digital I/O - Interface X252 has NCK digital I/O signals.
There are four fixed digital inputs and four fixed outputs (Two outputs if analogue spindle is declared)
The addressing of the Inputs/outputs start at 9.
PLC variable byte DB2900.DBB1000 is assigned to the inputs, and byte DB2900.DBB1004 for the outputs.
This allows the PLC user program to be influenced from the part program.
Notes :
The status of the PLC variable can now be checked. Example: Using NCK inputs in a part program
The NCK inputs can also be used in the part program. The
following program checks the status of NCK input 9 and dis-
plays a relevant message.
To test the run/test the program select the Cycle Start button. Edit the program so that NCK output 9 is set to 0.
B030: END
Notes :
Module Description:
The Sinumerik 828D uses Sinamics drive components, these components must be powered on/off
in a certain sequence in order to operate correctly. This module shows how these components are
connected to the system and the required power on/off enabling sequence.
Module Objective:
Upon completion of this module you will know how the drive components of the Sinumerik 828D
system are integrated and how the power to these components should be applied and removed.
Content:
Sinumerik
General Information
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B051
B051
Topology
Drive Object
Numbering
General
Information
Drive Module
power
Supply
Smart Line
Module (SLM)
Active Line
Module (ALM)
Motor Module
(MM)
Combi Drive
Module
Notes :
Topology
General information:
The Control Unit for the drives (CU) is contained within the PPU.
During the automatic topology recognition (fast commissioning) procedure, each drive object/component is automatically
assigned a number for identification purposes.
The CU is always Drive Object No1.
Drive Objects connected to the X100 DriveCLiQ bus are the first to be assigned numbers.
The numbers are assigned, sequentially, in the order that they are connected on the DriveCLiQ bus.
Drive components are then numbered, sequentially, in reverse order, continuing on from the last drive object.
Hardware connected to X101/X102 is also issued numbers which follow on from the last object/component connected to inter-
face X100.
Object No. Object No. Object No. Object No. Object No. Object No.
1 2 3 4 5 6
X203 X203
Sp X Y Z A X500
Motor Motor Motor Motor Motor SMC
SMI- 21 SMI- 18 SMI- 15 SMI- 12 SMI- 9 SMC- 7
ENC- 22 ENC- 19 ENC- 16 ENC- 13 ENC- 10 ENC- 8
MOT- 23 MOT- 20 MOT- 17 MOT- 14 MOT- 11 (6)
(2) (3) (4) (5) (6)
Notes :
NX10 modules can be used to increase the number of drives to beyond the six available with the CU.
Equipment connected to X100 & X101 is assigned to the CU and is numbered in the same manner described previously (Page 5)
Drive System
Object No. Object No. Object No. Object No. Object No. Object No. Object No.
1 2 3 4 5 6 7
DMC 23
X203 X203
X505
X102 X202 X202 X202 X202
X504
X101 X201 X201 X201 X201
X503
X100 X200 X200 X200 X200
X502
Spindle X Y Z A X500 X500
Motor Motor Motor Motor Motor X501 SMC SMC
SMI- 20 SMI- 17 SMI- 14 SMI- 11 SMI- 8 SMC- 24 SMC- 26
ENC- 21 ENC- 18 ENC- 15 ENC- 12 ENC- 9 ENC- 25 ENC- 27
X500
MOT- 22 MOT- 19 MOT- 16 MOT- 13 MOT- 10
(3) (4) (5) (6) (7)
X203
X102 X202
B C X500
X101 X201 Motor Motor SMC
SMI- 7 SMI- 4 SMI- 10
ENC- 8 ENC- 5 ENC- 11
X100 X200 MOT– 9 MOT– 6
(2) (3)
Notes :
Topology
X101 X200
Spindle Spindle X Y Z M5
Motor DMS Motor Motor Motor SMI- 51
SMI- 11 SMI- 15 SMI- 21 SMI- 31 SMI- 41 ENC- 52
ENC- 12 ENC– 16 ENC- 22 ENC- 32 ENC- 42 MOT– 53
MOT– 13 (3) MOT– 23 MOT– 33 MOT– 43 (7)
(3) (4) (5) (6)
Notes :
General Information
Power Requirements
The drive modules require two power supplies in order to op- “M” Terminal: Electronics ground
erate.
“+” Terminal: +24V DC
A 3 phase AC supply (380V to 480V +10% (-15% < 1 min) to (20.4V to 28.8V)
the bottom of the line module is used to produce the 600V DC
link. The DC link is distributed to the motor modules via a bus
bar system on the front of the drive modules beneath a flip Location of the electronics supply and DC link bus bars:-
down cover
24V DC Electronics supply (X24) Bridging device for
The +24V DC electronics supply is obtained externally from continuity of the
the user on connector X24. This is also distributed by a bus bus between drive
bar system along the front of the drive modules. modules.
The electronic supply is used internally by the drive modules
for powering of the electronic circuitry etc. Externally it is used
for supplying the Drive-CLiQ encoders and fault, ready and
enable signals.
+24V DC Bus-bar
0V DC Bus-bar
+ DC Link Bus-bar
- DC Link Bus-bar
LM MM1 MM2
Notes :
The 5 & 10Kw SLM’s are not used on the Drive-CLiQ network,
because of this there are slight differences with terminal func-
tionality compared to Drive-CLiQ type modules.
Notes :
1 Ready Signal Switches high (+24V DC) when the following conditions are true:
(Output)
Electronics supply present (X24).
DC Link is pre-charged.
Pulses enabled (X21.3)
No over-temperature
No over-current
It is recommended that the signal is connected directly to the 828D controller via connector X122 pin 1. This is
the OFF1 enable signal.
3 Enable Puls- Applying +24V DC will cause the pulses to be enabled. (Current consumption:10mA)
es This signal must be removed at least 10ms prior to the 3-phase mains supply being removed.
(Input) Failure to do this can lead to damaged drive modules. This is especially important when the axes/spindles are
decelerating and causing regenerative currents. if the mains circuit is opened these regenerative
currents remain within the drive system causing damage to the modules.
It is recommended that this terminal is connected via an early break contact on the machine isolator switch and
the line contactor (If used).
If the terminal is used by the manufacturer it must be ensured that it is controlled in the suggested manner.
When used in this way the transistors will be switched off and mains regeneration halted, the motors will then
coast to a halt. This is not suitable for an emergency stop situation.
Notes :
X200/X201/
Smart Line Modules- 16Kw and above X21:Pulse X202:
enable Drive-CLiQ
These models are always required to be connected to the connectors
Drive-CLiQ drive bus network.
X24:Electronics
The functionality of certain terminals is therefore different from supply
the non-Drive-CLiQ SLM modules.
Electronics/DC
Regeneration can be deactivated by parameter P3533-Inhibit
link bus bars
regenerative operation. (below flip
down cover)
Terminal locations of an internally cooled 36Kw SLM:-
LED status
Indicators
Connector locations X21, X24, X200, X201 & X202 X21 Terminal description and functionality
Notes :
X1:
3-Phase AC
Protective Mains supply
earth
connections.
Notes :
X21:
Enable and Terminal Function Description
Temperature sensor 1 + Temp Temperature sensor input from Active Interface
Connections (Input) Module (Observe the polarity)
2 - Temp Temperature sensor input from Active Interface
(Input) Module (Observe the polarity)
X203:
Drive-CLiQ connect- 3 Enable Applying +24V DC enables the pulses.
or Pulses (Current consumption:10mA)
(Input) This signal must be removed at least 10ms prior to
the 3-phase mains supply being removed.
X202: Failure to do this can lead to damaged drive mod-
Drive-CLiQ connect- ules. This is especially important when the axes/
or spindles are regenerating. If the mains circuit is
opened in this state, regenerative currents remain
X201: within the drive system causing damage to the mod-
Drive-CLiQ connect- ules.
or It is recommended that this terminal is connected via
an early break contact on the machine isolator
X200: switch and the line contactor (If used).
Drive-CLiQ connect- If the terminal is used by the manufacturer it must be
or ensured that it is controlled in the suggested man-
ner.
X24: When used in this way the transistors will be
24V DC Electronics switched off and mains regeneration halted; the
supply motors will then coast to a halt. This is not suitable
for an emergency stop situation.
4 Enable Must be connected to the 0V of the enable pulses
Pulses supply.
(Ground)
Off Electronics power supply outside permitted Check 24V supply to X24.
range.
DC
LINK Orange On DC link voltage within tolerance-Only if unit is
(Botto configured and ready.
m)
Red On DC link voltage outside tolerance-Only if unit Check the mains input.
is configured and ready.
Notes :
X1: Output to
Protective Motor, including
earth the brake output
terminals for MM less than
X200/X201/X202/ Electronics/DC
Example:-A double axis MM showing connector locations. link bus bars
These units will have two identical Motor/Brake connectors X203:
DriveCLiQ (below flip down
(X1 & X2) and two connectors cover)
identical enable connectors (X21 & X22).
LED Status
Indicators X1 & X2 Output
to Motor,
including the
brake output for
MM less than
45A
Protective
earth X11: Brake out-
put for MM of
connections
45A and above
Notes :
Connector X21 & X22 (X22 only for double axis mod-
Terminal descriptions ules).
X21: Pulse
Enable etc.
Terminal Function Description
X21: Pulse 1 + Temp Positive temperature sensor input from non-
X22: Pulse (Input) DriveCLiQ temperature sensor.
Enable etc.
Enable etc.
Type:- KTY84-1C130/PTC
2 - Temp Negative temperature sensor input from non
X203: (Input) DriveCLiQ temperature sensor.
X202: DriveCLiQ Type:- KTY84-1C130/PTC
DriveCLiQ
3 Enable Applying +24V DC will cause the pulses of the
X202: Pulses individual axis to be enabled. (Current consump-
X201: DriveCLiQ (Input) tion:10mA)
DriveCLiQ When the signal is low, “Safe pulse suppression” is
X201: activated.
DriveCLiQ Note:-No electrical isolation occurs between the
X200: Motor module and the motor.
DriveCLiQ This enable signal is only operational if the Safety
X200: Integrated function “Safe Standstill (SH)” is ena-
DriveCLiQ bled.
This is a dual channel monitoring system of the
Control Unit and Motor Module. The status of the
Enable Pulses input is cross checked against the
corresponding CU input, an error is reported if they
Single axis Double axis do not match.
Module Module 4 Enable Must be connected to the 0V of the enable pulses
Pulses supply.
(Ground)
Notes :
Notes :
the new Motor Modules in the booksize format Single Motor Module Double Motor Module
Notes :
Can be removed
towards the front
Motor plug connectors that customers can fabricate/assemble
themselves from 1.5mm² (AWG16) to 6mm²
Prefabricated MOTION-CONNET power-cables to 10mm²
(AWG 8)
Push-in plug connector Plug connector screw Fan model Fan with
connection monitoring.-
supported from SINAMICS
firmware V4.8
6SL3162-2MB00-0AC0 6SL3162-2MB00-0AC0
Notes :
The Combi drive unit consists of a Line Module and either 3 or 4 Motor Modules, the first of which is dedicated to the Spindle.
They must always be connected to the DriveCLiQ network via controller interface X100.
The number of axes can be increased by adding Sinamics S120 Book-sized Compact Motor Modules up to the maximum al-
lowed by the system.
X200 to X205:
Drive-CLiQ
connectors
X220: Interface
for TTL 5v DMS
encoder
LED Status
Indicators
Notes :
X22 Terminal description and functionality X12/X13 Terminal description and functionality
Notes :
DriveCLiQ Interfaces:
Notes :
Off Electronics power supply outside permitted Check +24V supply (X24).
range.
Green On Module configured and ready, DriveCLiQ
communication is active.
Orange On DriveCLiQ communication is being Check alarms on controller.
READY
established/module not configured.
(Top)
Red On At least one fault is present. Check alarms on controller.
Red Flashing Firmware download procedure is running.
@ 0.5 Hz
Red Flashing Firmware download procedure is complete. Power drives OFF/ON.
@ 5 Hz
Green/ Flashing Component recognition is active (p0124 = 1)
Orange or @ 2 Hz
Red/
Orange
Off Electronics power supply outside permitted Check +24V supply (X24).
range.
DC LINK
(Bottom) Orange On DC link voltage within tolerance-Only if unit
is configured and ready.
Red On DC link voltage outside tolerance-Only if unit Check mains input. (X1)
is configured and ready.
Notes :
X122
I2t alarm from SLM
Main to user
supply
+24V 24V DC 0V
PSU
Supply to other
equipment
OFF3 Drive
enable from
user to 828D
Filter Reactor
Notes :
X122
I2t alarm From SLM
to user
Mains
supply
Optional:-
Pulse enable
via user PLC
0V 24V
OFF3 Drive
enable from
Line Contactor user to 828D
with early break
contact Energise
Line
24V DC Line contactor
+24V 0V
PSU contactor from user
energised PLC
to user PLC
Filter Reactor
Notes :
X122
Main
supply Drive
enable
from 828D
X100 X132.10 to
828D
Early break X122.1
contact X132 (OFF1)
X21
Main DriveCLiQ
Optional:-
Switch Pulse enable
via user PLC
X200
+24V 24V DC 0V
PSU
Supply to other
equipment
OFF3
enable
(E stop)
from user
to 828D
X122.2
Filter Reactor
Notes :
X122
Mains
supply Drive
enabled
from 828D
X100 X132.10 to
828D
Early break X122.1
DriveCLiQ
contact X21 X132 (OFF1)
Main
Switch Supply to other
equipment
X200
Optional:-
Pulse enable
via user PLC
0V 24V
OFF3 enable
Line Contactor (E stop)
with early break from user to
contact 828D X122.2
+24V 24V DC 0V
PSU
Line contactor
energised- Energise line
Filter Reactor to user PLC contactor-
from user PLC
Notes :
X122
Main
supply
Drive
enable
from 828D
X100 X132.10 to
828D
Early break X122.1
DriveCLiQ X132 (OFF1)
contact
X21
Main
Switch Supply to other
equipment Line Energise
X200 contactor Line
energised contactor-
Optional:- Pulse -to 828D from 828D
enable via user x132.4 X132.12
PLC or 828D
X122/X132
0V 24V
OFF3 enable
(E stop)
Line Contactor from user to
with early break 828D X122.2
contact
+24V 24V DC 0V
PSU
Filter Reactor
B051: END
Module Description:
In the event of a problem with the machine it may be necessary to check the status of an axis/
drive. The information obtained from these status screens can be very useful to technical
personnel and help speed up the fault finding process.
Module Objective:
Upon completion of this module you will be able to use the Axis & Drive diagnostic functions.
Content:
Sinumerik
Axis Diagnostics
Drive Diagnostics
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B053
B053
Service
Overview
Screen
Axis
Diagnostics
Drive
Diagnostics
Notes :
Service Overview Screen The indicators change appearance depending on the condition
of the signal.
To navigate to the relevant diagnostics page please use the
following key presses. The signal is healthy, in the case of an enable, the
signal is high. For a monitoring signal there is no fault
present.
Notes :
Axis Diagnostics The selected axis is displayed at the top of the diagnostics
screen.
Axis specific information.
or
An alternative method of selecting the required axis is via the
“Axis selection” soft key.
This the quickest method on a machine with many axes.
Notes :
Drive Diagnostics The drive diagnostics screen shows useful information regard-
ing the motor and drive states such as motor temperature, DC
Drive specific information link voltage etc.
Drive System.
The status of the Drive-CLiQ drive objects can be seen. The CU is the only drive object displayed, to view the other
drive objects press the “Input” key.
A healthy drive object, fully enabled ready for
operation.
Notes :
The following screen shows a healthy system, indicated by the Drives not ready or in a fault condition will display yellow or
green tick symbols. red symbols.
or
Notes :
Selecting the “Warning” soft-key displays more infor- Selecting the “Faults” soft-key also displays more
mation which indicates a problem with encoder 1. information which indicates a problem with encoder
1, drive component 11.
The “Help” key, found to the lower right of the vertical soft- The alarms and warnings can also be seen on the alarm
keys can be used to get more information about Warnings/ screen.
Faults.
Notes :
Topology
The Component NCU_01 is connected via X100 to the
Component MM_SP1 socket X200.
The topology of the drive system can be
seen when the “Topology” soft-key is
selected.
Notes :
Firmware:
Firmware is a software that is written to the internal flash
memory of the Drive-CLiQ components. Firmware updates
are used to keep the components up to date with the latest
technological advances. The firmware version is dependant
upon the current system software version.
Graphic Toplogydisplay
Set/act comparison NCU
or
Topology error
Notes :
Notes :
Configuration
Display Settings The “Sort” soft-key is used to view the components in a partic-
ular order according to Drive Object, Wiring, Component num-
The level of displayed information about the components can ber or Axis number:
be controlled with the “Display options” function.
Notes :
Comparison Levels To the right of the screen, a column named “C.level” can be
seen.
This is used to set the comparison level for the Drive-CLiQ
components.
The system compares the stored details of the electronic rat-
ing plate of each object with the actual components connect-
ed to the Drive-CLiQ bus.
Once the drive system is configured it is continually moni-
Comparison Levels: tored. Alarms will be displayed if a fault occurs or an unknown
High-compares the complete electronic rating plate. object is detected.
Medium– compares the component type and order number.
Low– compares the component type.
Minimum– compares the component class.
Notes :
B053: END
Notes :
Module Description:
The PLC periphery components of the 828D controller are connected to the Profinet network.
Periphery components are used to interface between the controller and the physical inputs and
outputs of the machine.
PP72/48:
The 828D controller uses up to five PP72/48 PN input/output modules for example, to handle signals
to coils and lamps, and signals from pressure switches, over-travel switches etc.
Module Objective:
Upon completion of this module the course participant will know how to configure and install
Siemens machine control panels (MCPs) and PP72/48 periphery I/O modules.
Content:
Sinumerik
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents. B008
B008
Profinet
Connections and
Diagnostics:
START
USB MCP:
Description and
Interface
Signals
Profinet MCP:
Description and
Interface
Signals
Profinet
PP72/48:
Description and
Interface
Signals
Profinet
Configuration:
MCP &
PP72/48
Configuration
of two MCPs
Profinet
Connections and
Diagnostics:
END
Notes :
MCP483 USB
MCP483 USB: Front Layout with Custom Key Identification (S10 - 24 & S31 - 39)
RE-
AUTO
POS
VAR S16 S17 S18 S37 S38 S39
Notes :
MCP310 USB
MCP310 USB: Front Layout with Custom Key Identification (S10 - 18, S21 - 24 & S31 - 39)
Emergency
Stop S13 S14 S15 S34 S35 S36
Notes :
Input images (DB1000 & DB1001) for MCP483/MCP310 (USB & Profinet)
Note: Further information regarding the use of a Profinet MCP via DB1000 & DB1001 interface is described in the last section of
this module.
DB1001/
User Data 1 [r/w]
DB1001
Notes :
Ouput images (DB1100 & DB1101) for MCP483/MCP310 (USB & Profinet)
Note: Further information regarding the use of a Profinet MCP via the DB1100 & DB1101 interfaces is described in the last sec-
tion of this module.
DB1100/
User Data 2 [r/w]
DB1101
Operating mode
0000
JOG Teach IN MDA AUTO
0006 - - - - - - - -
0007 - - - - - - - -
0010 - - - - - - - -
0011 - - - - - - - -
DP
0012
- - - - - - DP2 DP1
0013
2) MCP310 USB: Preassigned as Coolant. MCP483 USB: Freely assignable customer key.
3) Not available for MCP310 USB, for MCP483 USB freely assignable customer key.
Notes :
7-Segment display.
The 7 segment display is controlled via DB1100.DBB8 (Left display) & DBB9 (Right display)
The following table shows the available 7-segment characters and the interface bits required to activate them.
Notes :
The MCP USB LEDs will no longer flash following the NCK
reset.
MCP483 PN
S1
Notes :
MCP483 PN: Front Layout with Custom Key Identification (T1 - T16)
Note:- Cycle stop, Feed stop & Spindle stop signals are inverted i.e. Normally closed.
X10
X53
X54 X60 X61
X31 X51
X52
X55
X20
H3
X30 H2
H1 X21
X5
S2
Notes :
Key- Key- Spindle start Spindle stop Feed Feed NC Start NC Stop
IB114 switch switch posi- start stop
position 0 tion 2
Reset Key- Single block Feedrate override
IB115 switch posi-
tion 1 E D C B A
Direction keys Key switch Axis selection keys
position 3
IB116 + - Rapid trav- X 4th axis 7th axis
R15 R13 erse R1 R4 R7
R14
Axis selection keys
IB117 Y Z 5th axis MCS/WCS R9 8th axis 6th axis
R2 R3 R5 R12 R8 R6
Unassigned customer keys
IB118
T9 T10 T11 T12 T13 T14 T15
Unassigned customer keys
IB119
T1 T2 T3 T4 T5 T6 T7 T8
IB122 KT8 KT7 KT6 KT5 KT4 KT3 KT2 KT1
IB123 KT9
Spindle override
IB125
E (16) D (8) C (4) B (2) A (1)
QB113 Feed Feed NC Start NC Stop REPOS REF INC var. INC 10000
start stop
Direction X 4th axis 7th axis Single block Spindle start Spindle stop
QB114 Minus R1 R4 R7 R10
R13
Z 5th axis MCS/WCS 8th axis 6th axis Direction Plus
QB115
R3 R5 R11 R9 R8 R6 R15
Unassigned customer keys Y
QB116
T9 T10 T11 T12 T13 T14 T15 R2
Unassigned customer keys
QB117
T1 T2 T3 T4 T5 T6 T7 T8
QB118 Reset Rapid
Notes :
MCP310 PN
MCP310 PN: Front Layout with Custom Key Identification (T1 - T16)
Note:- Cycle stop, Feed stop & Spindle stop-signals are inverted i.e. Normally closed.
Notes :
X10
X53
X54 X60 X61
X31 X51
X52
X55
X20
H3
H2
X30 H1 X21
X5
S2
Notes :
The following tables show the interface signals for an MCP310 PN with the recommended start address of 112.
IB112 *NC Stop Spindle - Spindle Spindle + Single block JOG MDA AUTO
100%
NC Start Spindle right *Spindle Spindle left Key-switch REF REPOS Teach IN
IB113 stop position 3
Feedrate override
IB115 Reset Key-switch Key-switch E (16) D (8) C (4) B (2) A (1)
position 2 position 1
Direction keys Rapid
IB116 traverse KT5 (X52.2) KT4 (X52.1) KT3 (X51.3) KT2 (X51.2) KT1
+ - (X51.1)
Axis selection
IB117
T16 KT6(X52.3) 6th axis 5th axis 4th axis Z Y X
IB118 T9 T10 T11 T12 WCS MCS T13 T14 T15
IB119 T1 T2 T3 T4 T5 T6 T7 T8
IB122 KT8 KT7 KT6 KT5 KT4 KT3 KT2 KT1
IB123 KT9
Spindle override
IB125
E (16) D (8) C (4) B (2) A (1)
QB112 NC Stop Spindle Dec. Spindle Spindle Inc. Single Block JOG MDA AUTO
100%
NC Spindle Spindle RESET REF REPOS Teach In
QB113 Spindle left
start right Stop
QB114 Feed Start Feed Stop INC var. INC 1000 INC 100 INC 10 INC 1
QB115
QB116 Minus Plus Rapid trav- KT5 KT4 KT3 KT2 KT1
Direction Direction erse
QB117 T16 KT6 6th axis 5th axis 4th axis Z Y X
T9 T10 T11 T12 MCS/WCS T13 T14 T15
QB118
QB119 T1 T2 T3 T4 T5 T6 T7 T8
Notes :
The outputs terminals are supplied with +24Vdc from the MCP. X55
I122.6
No external voltages should be applied to the input and output 1
terminals. I122.7
2
I123.0
3
M (0 volts)
4
X53 X54
Q119.0 Q119.3
1 1
Q119.1 Q119.4
2 2
Q119.2 Q119.5
3 3
M (0 volts) M (0 volts)
4 4
Notes :
There are two variants, one of which is all digital while the
second offers both digital and analogue functionality. X111
X222
828D Software Max. number of PP72/48 modules
24x 3
26x 4
28x & 28xA 5
X2 X2
6FC5311-0AA00-1AA0 Digital/analogue
(PP72/48 2/2A PN)
X1
Interfaces:
LED functionality:
Notes :
Pin Signal Pin Signal Pin Signal Pin Signal Pin Signal Pin Signal
1 0V DC 19 I2.0 37 Q0.6 1 0V DC 19 I5.0 37 Q2.6
2 +24VDC O/P 20 I2.1 38 Q0.7 2 +24V DC O/P 20 I5.1 38 Q2.7
3 I0.0 21 I2.2 39 Q1.0 3 I3.0* 21 I5.2 39 Q3.0
4 I0.1 22 I2.3 40 Q1.1 4 I3.1* 22 I5.3 40 Q3.1
5 I0.2 23 I2.4 41 Q1.2 5 I3.2* 23 I5.4 41 Q3.2
6 I0.3 24 I2.5 42 Q1.3 6 I3.3* 24 I5.5 42 Q3.3
7 I0.4 25 I2.6 43 Q1.4 7 I3.4* 25 I5.6 43 Q3.4
8 I0.5 26 I2.7 44 Q1.5 8 I3.5* 26 I5.7 44 Q3.5
9 I0.6 27 Not used 45 Q1.6 9 I3.6* 27 Not used 45 Q3.6
10 I0.7 28 Not used 46 Q1.7 10 I3.7* 28 Not used 46 Q3.7
11 I1.0 29 Not used 47 +24V DC I/P 11 I4.0 29 Not used 47 +24V DC I/P
12 I1.1 30 Not used 48 +24V DC I/P 12 I4.1 30 Not used 48 +24V DC I/P
13 I1.2 31 Q0.0 49 +24V DC I/P 13 I4.2 31 Q2.0 49 +24V DC I/P
14 I1.3 32 Q0.1 50 +24V DC I/P 14 I4.3 32 Q2.1 50 +24V DC I/P
15 I1.4 33 Q0.2 15 I4.4 33 Q2.2
16 I1.5 34 Q0.3 16 I4.5 34 Q2.3
17 I1.6 35 Q0.4 17 I4.6 35 Q2.4
18 I1.7 36 Q0.5 18 I4.7 36 Q2.5
*Note: The first input byte of X222 has FAST gating hardware.
Input information:
X222, byte 1 - maximum delay time - 600μs.
All other inputs, delay time - 0.5 to 3ms.
Notes :
Notes :
Recommended MD12986 use: Example: MD12986 for use with MCP and one PP72/48
module.
Machine data Device Start Address/ Activation
Default Setting Setting
12986[0] 1st PP72/48 0 -1
12986[1] 2nd PP72/48 9 -1
12986[2] 3rd PP72/48 18 -1
12986[3] 4th PP72/48 27 -1
12986[4] 5th PP72/48 36 -1
12986[5] PN/PN Coupler 96 -1
12986[6] MCP 112 -1
12986[7] Reserved
12986[8] Sentron PAC 132 -1 The machine data is activated by an NCK power off/on.
4200
12986[9] Sentron PAC 144 -1
3200
12986[10]... Reserved
[15]
When two MCPs are to be connected, observe the following: It is possible to use the MCP Data Block interface for the
Profinet MCP rather than the PLC I/O interface.
USB MCP always uses the DB interface.
Machine data to be set:
Profinet MCP can use either PLC I/O or DB interface.
If two MCPs are used, one must be the USB type and MD Profinet MCP via DB
one must be Profinet type.
19720 bit 0 1
MCP MD Profinet USB Not used The PLC user program needs to be edited to ensure the cor-
rect transfer of signals between MCPs and the user interface.
1 12950[0] 0 1 -1 More information is found in Module B026.
2 12950[1] 0 1 -1
There are four PLC interface DBs to handle the two MCPs:
MD Inputs Outputs
Notes :
Module Description:
Module Objective:
Upon completion of this module you will know how to use the PLC828 programming tool to:
Create a PLC program
Upload a PLC project from the controller to a computer
Download a PLC project to the controller from a computer
Use the diagnostic functions of the Programming Tool
Symbol Tables
Cross Referencing
Data Blocks
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B026
B026
Creating a PLC
Program:
START
PLC Symbol
Design Tables
S7-200 PLC
Cyclic Cross
Operation Referencing
General PLC
Interface Data Blocks
Description
Creating a Comparing
PLC PLC Pro-
Project grams
(PLC Part 1)
Notes :
PLC Design
The PLC design requirements have been put in place so that there is compatibility across machines fitted with the 828D control-
ler.
Definition Description
5 Network logic: Long and simple is better than short and complex
8 Indirect addressing should not be used, only use absolute operand names in the program.
9 The servo-synchronous task should only be used when the absolutely necessary.
The servo task is not called from OB! It is therefore difficult for the customer/dealer to
be aware of its presence.
11 Symbols should be available for all periphery signals, these should be the same as the elec-
trical diagram.
15 Maintenance Planner should be used for the planning of service intervals on the machine.
Notes :
The S7-200 PLC works cyclically, at the beginning of the scan the status of the inputs is copied to the Process Image Table
(Inputs).
This is then applied to the user PLC logic.
The Subroutines are processed in the order they appear in OB1.
This means that, for example, an output set early in the scan might be reset later in the scan. It is the command that appears
later in the scan that takes priority.
When the scan is complete the results are transferred to the Process Image Table (Outputs) which is then physically output to
the machine periphery devices.
The diagram below shows the position of the Interrupt Blocks INT_100 and INT_101.
Their position enables them to be used to influence the state of the inputs and outputs without making changes to the main user
programme.
Beginning of Scan
Process Image Table At the beginning of the scan, the status of the inputs is
(Inputs) transferred to the Process Image Table.
Subroutine
Subroutine
Subroutine
End of Scan
Notes :
DB3801.DBX1000.7
Bit Number (0 to 7)
Offset (000 to 999)
Section (0 to 9)
Area Number (00 to 99)
User Area (10 to 99)
Special Markers
The interface structure also consists of “Special Markers” (Flags) which are a set of operands to be used at the convenience of
the user throughout the PLC program
SM bits Description
SM0.0 Flag with defined ONE signal
SM0.1 Initial setting: first PLC cycle ’1’, following cycles ’0’
SM0.2 Buffered data lost - only valid in first PLC cycle (’0’ data ok, ’1’ data lost)
SM0.3 Power On: first PLC cycle ’1’, following cycles ’0’
SM0.4 60 s cycle (alternating ’0’ for 30 s, then ’1’ for 30 s)
SM0.5 1 s cycle (alternating ’0’ for 0.5 s, then ’1’ for 0.5 s
SM0.6 PLC cycle (alternating one cycle ’0’, then one cycle ’1’)
General
Variables that can only be read are identified with [r]
Variables that can be read and written to are identified with [r/w]
Notes :
The PLC interface Data Blocks are used for interfacing between the PLC, HMI, NC & Drives.
The following Table shows a brief description of the interface Data Blocks. For a more detailed description please refer to Ap-
pendix C.
Notes :
Toolbox Examples
The sample programs are freeware. Any user can use, Each example is a separate
copy and forward these programs free of charge. PLC828 project.
The authors and owners of these programs take no re- The Readme file gives a de-
sponsibility whatsoever for the functionality and compati- tailed description of the exam-
bility of this software. ples.
Use of the software is at the user's own risk.
Since this software is free of charge, there is no warranty The examples can be used to
nor entitlement to error correction and hotline support. easily achieve a running condi-
tion when commissioning a
Description of PLC examples: machine.
The examples are found in the examples folder created when Subroutines can be copied into
the toolbox “zip” file was extracted. the main PLC project from the
example projects.
PLC Project with Profinet MCP: Turning machine, turret behind the spindle (MCP483).
Notes :
Enter a suitable
name for the project.
Notes :
Double-clicking the net work title text will reveal the comments The other networks contain calls to subroutines. Additional
regarding the use of the example files. information about the subroutines can be seen when the net-
work comments are double-clicked.
Double-click Double-click
Notes :
X =1
Y =2
Z =3
Sp = 4
A =5
The PLC project now has MCP functionality, however, as The Subroutine needs to be copied into the existing project
mentioned previously, there are two more example projects containing the MCP logic.
required (Hand-wheel.ptp & Program_control.ptp) for the PLC This is achieved by the right click/copy/paste functions of the
step 1 commissioning phase. mouse.
With the current PLC project open, also open the example
project Hand-wheel.ptp.
Notes :
The properties dialogue box of the Subroutine is opened auto- The subroutine will now appear in the “Program Block” folder:
matically.
The properties can be edited if required.
The comments for the Program-control.ptp, network 3, show The Data Block (DB9051) is located in the User Data Block
that Data Block DB9051 is also required. The DB needs to be folder. This needs to be copied and pasted using the same
copied to the new project. method that was used for the subroutines.
Viewing the comments: Copying the Data Block from the Program-control.ptp
Double-click
Notes :
This should be pasted to an unused network e.g. Network 3 This subroutines are located in the Subroutines folder
Notes :
The target for the sub- It is also possible to drag and drop the subroutines to the cor-
routine, indicated by rect place in the network.
the black rectangle.
Notes :
PLC Part 1 is now complete. The call to the subroutines in PLC Project with USB MCP:
OB1 are shown below. The project is now ready for download-
ing to the controller. If a USB type MCP is to be used there are also PLC examples
in the toolbox.
There are only two example projects, one for milling, one for
turning.
No separate projects for MCP483/MCP310 types.
OB1 containing the important comments/disclaimer and the Completed PLC step 1 for USB milling type MCP.
calls to the USB subroutines:
Notes :
Uploading and Downloading PLC projects The PLC type can be selected from the drop down list or, if
there is it can be read automatically via the Read PLC button.
The PLC project (Part 1) is now complete and can be down-
loaded to the controller.
The machine control panel will then be fully functional.
HMI functions such as Program Test (PRT), Mode selection
etc. will also be possible.
New project
Button.
A warning is given regarding the use of older programs and Certain selections can be made with regards to what is to be
later software. included in the upload.
PLC type has automatically been automatically set.
Select the OK button to continue:
Upload
Button.
Notes :
Notes :
The option to download the project in stop or run mode is of- To start the PLC, select the Run button on the toolbar.
fered along with a warning about the dangers of downloaded
in run mode.
Run button.
Editing PLC projects (PLC Part 2): The subroutine will be assigned the next available number.
The number and name can be changed if required.
Editing of the PLC project examples will be required to suit Comments and information about the author can also be
individual machine requirements. added.
It may also be necessary to create new subroutines.
Subroutines can be added via the Edit drop down menu. Example subroutine for axis enables:
Notes :
The contacts and coils are found in the Bit Logic folder Help Functionality:
Notes :
Instructions known as coils are used for switching outputs and Insert a coil and assign it to Q0.0.
interface signals. Network comments can also be added.
Notes :
Controller Enable
A branch will be inserted: Position the rectangle to the left of the 2nd coil and use the
branch key as described previously
Notes :
Pulse Enable
Measuring Circuit Selection Example - 1st measuring circuit selection for X & Y axes:
Interface Signal
Axis Measuring Circuit 1 Measuring Circuit 2
X DB3800.DBX1.5 DB3800.DBX1.6
Y DB3801.DBX1.5 DB3801.DBX1.6
Z DB3802.DBX1.5 DB3802.DBX1.6
Spindle DB3803.DBX1.5 DB3803.DBX1.6 The project should be saved/compiled and downloaded to the
controller.
A DB3804.DBX1.5 DB3804.DBX1.6
Notes :
The status of the drives can be viewed in the diagnostics area. Missing interface signals/fault conditions will result in some of
The status is dependant on the status of the interface signals, the green symbols being replaced by yellow or red symbols.
as well as other conditions such as an active fault.
Example - the result of missing the controller enable signal for
Example - A healthy system with the required interface bits each axis (DB380x.DBX2.1)
active. The axes are ready to be jogged etc.
Notes :
Symbol Tables Selecting the Symbol Table icon, found on the left
side, also displays the Symbol Tables:
The project contains predefined symbol tables which can be
edited.
The symbol tables for the inputs and outputs, (PP_1, PP_2,
PP_3, PP_4, PP_5) should be edited to assist with the fault
finding process.
The symbols used should match those of the electrical dia-
grams.
Notes :
With both the Symbolic Information Table and the Symbolic New Symbol Tables
Addressing selected:
New Symbol Tables can be added by right clicking on the
Symbol Table folder and selecting Insert Symbol Table:
Symbolic
Addressing
Symbolic
Information
Table
Right click Insert Symbol table
Cross Referencing
Right click in the Symbol table to rename, if required:
A Cross Reference table can be created, this lists information
about individual operands such as which blocks they are used
in and can greatly assist maintenance personnel with the fault
finding process.
Compile
button
Notes :
Following the compile procedure the cross reference list will By using the mouse double click function it is possible to open
be displayed. up the subroutine where the instruction is used.
Symbol information will be displayed if selected.
Tabs for selecting Cross Reference, Byte Usage and Bit Us-
age formats.
The Byte Usage table allows you to see which bytes, from The Bit Usage table allows you to see which memory address-
which memory areas, have been used in your program. It also es, down to the bit level, have been used in your program. It
helps you recognise duplicate-assignment errors. also helps you recognise duplicate-assignment errors.
b Indicates that a bit of memory has been assigned. b Indicates that a bit of memory has been assigned.
B Indicates that a byte of memory has been assigned. B Indicates that a byte of memory has been assigned.
W Indicates that a word (16 bits) has been assigned. W Indicates that a word (16 bits) has been assigned.
D Indicates that a double word (32 bits) has been assigned. D Indicates that a double word (32 bits) has been assigned.
Notes :
A Data Block is used for handling interface signals and data in There are many User Interface Data Blocks for interfacing
various formats. between the controller and the user PLC.
The system requires Data Blocks in order to interface between Their functionality is predetermined and include functionality,
the controller and the user PLC. for example, to control/monitor an axis.
The system data blocks are part of the PLC282 project, by
default, and can be found in the Data Block\User Interface
area. A selection of System Data Blocks, found in the User Interface
User Data Blocks can also be created . These are stored in folder, relating to axis functions:
the Data Block\User Data Blocks area.
The contents of a Data Block can be viewed by double Clicking on it. DB3800 handles the signals from User PLC to the User
Interface.
Double click
Notes :
Data Blocks - User Data Blocks: The properties of the Data Block can be changed and infor-
mation added:
User Data Blocks, with a few exceptions, are created by the
user for many different purposes.
Some of the example PLC828 projects use User Data Blocks.
The PLC Project that was created earlier in this module con-
tains two User Data Blocks (DB9051 & DB9053).
These work in conjunction with the logic in the Subroutines to
ensure correct operation of the MCP & Program control func-
tions.
Right Click on the User Data Blocks folder and select Insert
Data Block:
The Data Block now appears in the User Data Blocks folder:
Notes :
Various Data Types can be used in various Formats Data Types Format Drop Down Menu:
(Depending on the Data Type): Drop Down Menu: (Depends on the Data Type):
Boolean Bit
Integer Signed
Initial Values:
Notes :
The values are the same as the Initial Values that were set in
the PLC Project.
Notes :
The Current Value column displays the online value from the online PLC.
The Data Block online values can be changed using the New Value column.
Enter the new value and confirm with the Write All button.
If a value is written to the online PLC, the data will be different from the offline.
If the PLC Project were to be uploaded/downloaded one of the differences would be overwritten.
Careful consideration should be given when changing data in this way.
Notes :
Special data Blocks: Example: To add a Special Data Block to a project use the
mouse right click/copy function and paste into the Data
Special Data Blocks are part of the PLC828 Programming Block\User data Block folder:
Tool but, unlike the User Interface Data Blocks, they are not
automatically included in a project. Instead, they have to be
manually added to the project, depending on what functionality
is required.
Tool management
Tool management
Tool management
Service Planner
Service Planner
Easy Extend
Control Energy
Sentron PAC
Spindle temperature sensor
Note:
The Special Data Blocks are described in more detail in
the relevant training module e.g. Tool management.
Notes :
The compare results are displayed at the bottom of the Pro- The comparison indicates a difference in the Axis_Enables
gramming Tool. subroutine, network 6, row 1, column 1, operand: I0.6.
Example: Comparison with differences: The offline PLC - Axis enables, network 6:
Notes :
Importing & Exporting PLC Archives Locate the setup archive to be loaded:
Importing Archives:
It is possible to import Setup archives (.ard extension) into
the Programming Tool.
Notes :
B026:END
Notes :
Module Description:
The Sinumerik 828D uses the in-built S7-200 PLC. Programming is performed with the software
package PLC828. This modules describes the instructions available to the user.
Module Objective:
Upon completion of this module you will know the PLC828 Programming Tool instruction list.
Content:
Sinumerik
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B019
B019
S7-200 PLC
Instructions:
START
Compare Or
Functions Functions
Convert Move
Functions Functions
Program
Counter
Control
Functions
Functions
Floating
Point Shift/Rotate
Number Functions
Functions
Integer Timer
Functions Functions
Interrupt
Libraries
Functions
S7-200 PLC
Invert Instructions:
Functions END
Notes :
Bit- This refers to a single element of logic e.g. I6.0, Q5.5, As with the Byte format the numbering starts from the right.
M100.6, DB3804.DBX2.1. Example IW4
The Bit part is the number after the decimal point. The value of IB5 IB4
a bit is either 1 or 0. Bit no 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Value 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 1
Byte- A Byte is a collective of 8 bits of logic in the same
group. e.g. In this example I4.0, I4.1, I4.4, I4.5, I4.6, I5.1, I5.2, I5.5, I5.7.
Input Byte 4 (IB4) contains the bits I4.0, I4.1, I4.2, I4.3, I4.4, are equal to 1.
I4.5, I4.6, I4,7. Output Words (QW) and Marker Words (MB) can also be used
When working with bytes it must be remembered that the in the same way.
numbering counts up from the right as shown below.
IB4 Double Word- A Double Word is a collective of 32 bits of logic
Bit no 7 6 5 4 3 2 1 0 which encompasses two consecutive Words (Four consecu-
Value 1 0 1 0 0 1 0 1 tive Bytes).
In this example I4.0, I4.2, I4.5 & I4.7 are equal to 1. Another A Double Word can only be addressed as 0 or an even num-
term for being equal to 1 is that these bits are High. ber which is a multiple of four, (ID0, ID4, ID8, ID12 etc) odd
The bits equal to 0 are termed as being Low. numbers are not allowed.
Output Bytes (QB) and Marker Bytes (MB) can also be used in Example ID4
the same way. IB7 IB6 IB5 IB4
Bit no 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Word- A Word is a collective of 16 bits of logic which encom- Value 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 1
passes two consecutive Bytes.
Output Double Words (QD) and Marker Double Words (MD)
can also be used in the same way.
Terminology
Notes :
Not operands.
The Not operand is used to reverse the state of the logic. i.e.
A status of one will become a status of zero while a status of
I6.0 = 1 or (High) zero will become a status of one.
I6.0 = 0 (Low)
I6.2 = 1 but Q4.2 remains low because the not operand inverts
the signal.
I6.2 = 0 but Q4.2 is high because the not operand inverts the
signal.
Notes :
An unfinished network.
When I6.3 changes from 0 to 1, Q4.3 will become high for one If the program is in the development stages then a “No Oper-
scan of the PLC cycle ation” operand can be inserted, this prevents the network
from being operational and allows the program to be compiled
Negative Transition operands. and loaded to the controller.
The Negative Transition operand monitors the preceding oper-
and status for a falling edge (Signal state change from 1 to 0)
on seeing a falling edge the logic will become true for one
scan of the PLC.
Immediate Outputs.
These operands are effective immediately upon activation.
The status is passed to both the physical output and the Pro-
cess Image Table (Outputs).
They are identified by the letter “I”. IB6 = 14 and IB7 = 15, they IB6 = 14 and IB7 = 14,
are not equal so the status they are equal so the
is low. Q5.0 = 0. status is high. Q5.0 = 1.
Output Immediate Set Immediate Reset Immediate Compare bytes for not being equal.
Notes :
Compare bytes for being less than or equal. Compare bytes for being less than
IB6 = 14 and IB7 = 7, IB6 is IB6 = 6 and IB7 = 7, IB6 is IB6 = 15 and IB7 = 14, IB6 IB6 = 6 and IB7 = 7, IB6 is
greater than IB7 so the status less than IB7 so the status is greater than IB7 so the less than IB7 so the status
is low Q5.3 = 0. is high. Q5.3 = 1 status is low. Q5.5 = 0. is high. Q5.5 = 1.
This would also be the
case if the values were The same principle applies to the other number formats of Inte-
equal. ger, Double Integer and Real
Compare bytes for being greater than Convert Functions
Convert functions are used to change one number format into
another.
The functions available are:-
Double Integer to Real
Truncate
IB6 = 6 and IB7 = 7, IB6 is IB6 = 15 and IB7 = 14, IB6 Binary Coded Decimal to Integer
less than IB7 so the status is greater than IB7 so the Integer to Binary Coded Decimal
is false. Q5.4 = 0. status is high. Q5.4 = 1.
When the block is inserted into the network it needs to be pa-
rameterised. The input is the number that is to be converted, the
output is the result of the conversion.
The number format of the input and output is dependant on the
type of conversion i.e. word, double word, byte.
The source and destination of the input/output can be a System/
User Variable, Input, Output or Marker.
Notes :
Integer to Binary Coded Decimal. Count up counters are used to monitor the rising edge of a
signal, each time a rising edge is detected on the CU input the
This function will convert a value from an integer to BCD .
count value will increment by one.
Permitted ranges:
The count can be reset at any time by setting the R input from
HEX BCD Decimal low to high.
When the counter is first selected in the user program it needs
Minimum 0000 0000 0000 0000 0 0 to be given a name (Available range C0 to C63).
A preset value is entered in the PV input field as an integer,
Maximum 1001 1001 1001 1001 9999 9999 when the count value is equal to or above this value the coun-
ter will be true. The counter operand (e.g. C1) can then be
Example: When input I6.3 is true the value in MW18 (96) will used elsewhere in the user PLC program.
be converted into an BCD and the result placed in MW16.(96
= 0000000010010110) Output Q4.6 will become high provided Below: A counter selected in the user program but not yet
that the value in MW0 is within the ranges specified above and parameterised.
I6.3 remains high. The name of the counter
needs to be entered here
e.g. C1
Counter functions
Count up counters
A preset value is
entered here e.g 10
Below: Network 19 count up counter C1. The count value Below: Network 19 count-up counter C1. The count value can
can be seen to be equal to six, this mean that the CU input be seen to be equal to ten, this means that the CU input (I6.4)
(I6.4) has detected a rising edge on 6 occasions since the has detected a rising edge on 10 occasions since the reset
reset (I6.4) was triggered. (I6.4) was triggered.
Network 20 is an example of how the counter can be used in Network 20 is an example of how the counter (C1) can be
the PLC logic. In this case the preset value (PV) of 10 has used in the PLC logic. In this case the preset value (PV) of 10
not been reached so the status is low. has been reached so the status is high, this results in output
Q4.7 being switched high.
Counter C1 with a The C1 operand will remain high until the reset input R (I6.5)
count value of 6. detects a rising edge. The count value stored in C1 will then
be set back to zero.
C1 count value = 10
Notes :
Countdown counters
Counter C2 with a
count value of 4.
Notes :
Below:-Countdown counter C2 showing a count value of 10 A preset value (PV) can be entered. The counter operand will
after the LD input detected a rising edge from input I7.1. This become high if the actual count value matches or is above this
also results in the C2 operand becoming false as seen in net- preset value. As soon as the value less than the preset value
work 22. the counter operand will become low.
The stored count value can be
C2 count value = 10 reset at any time by setting the re- The counter C3 has
set input (R) to high a count value of 10
which is equal to the
preset value.
Below:- When the count value is less than the preset value Below:- When the count value is more than the preset value
the C3 operand will be low. In this example the count value is the C3 operand will be high. In this example the count value
9 after the countdown input I7.4 was switched from low to is 11 after the count-up input I7.3 was switched from low to
high. high.
The counter C3 has a count The counter C3 has a count value
value of 9 which is less than of 11 which is more than the pre-
set value.
Notes :
Values to be added:
IN1 32 bit real number
IN2 32 bit real number added to IN1
Result:-
OUT 32 bit real number
MD100 has been assigned to IN1 and has a value of 16.0
Confirmation:- MD104 has been assigned to IN2 and has a value of 2.0
ENO Bit goes high if operation successful
Below:- The ADD function prior to parameterisation. Below:- Input I9.0 is high and the ADD function has been
performed. The result is placed in MD108. The ENO output is
high which sets output Q6.0 high, this indicates that the ADD
function was a success.
Notes :
Notes :
Multiplication of integers.
This function multiplies two words and converts the result into
a double word.
Division of integers.
Notes :
Examples:-
Invert Byte
Invert Word
To locate the chart status area select the following icon on the
toolbar.
And Word
And Functions
I7.0 and I9.0 are high
which sets M238.0
The AND function compares two bytes, words or double
words. If two corresponding bits are high the relevant output This equivalent operation when written in ladder is seen be-
bit will be set. low:-
And Byte
Notes :
Or Functions
OR Word
OR Double Word
Exclusive Or Functions
The Exclusive OR function compares two bytes, words or dou-
ble words. If either one but not both of the corresponding bits
are high the relevant output bit will be set. If either input but not both
are high M238.x will be set
Exclusive OR Byte
Notes :
Program Control
Jump Instruction to Label 1 is active.
Jump Instruction & Labels
I7.2 does not switch Q8.7 because the
The Jump Instructions and labels are used together. When program jumps to Label 1.
the Jump is activated the program will skip to the Label spec-
ified by the Jump.
The Jump Instruction needs to be parameterised with the
number of the label to be jumped to. The available range is
from 0 to 255.
The jump instruction has to be used in the same program-
ming block.
Notes :
Q9.3 remains low despite I7.7 being high. The Conditional End Instruction is active.
This is
because I7.7 was set high after the Condi-
tional Return was activated.
I6.2 is high which but Q4.1 remains low. This
is because program end is now in the previ-
ous network.
Conditional End Instruction.
The Conditional End Instruction is used only in OB1 and re- When the Conditional End Instruction is active, no further pro-
sults in the program scan restarting at the beginning of OB1. cessing takes place.
No further operations after the Conditional End will be pro- Outputs, markers etc which were already high will remain so
cessed. until influenced from elsewhere in the program.
Example of how the Conditional End Instruction might be Shift Left Byte.
used.
The shift Left Byte function allows the bits within a byte to be
moved to the left by up to 8 places. In the example below the
contents of IB9(IN) will be shifted left by 4 places (N). The
result will be placed in MB100 (OUT) The maximum number of
places that can be moved is eight. If a larger number is en-
tered the value will default to eight.
The Conditional End Instruction is not active.
Notes :
Below:-The Chart Status shows that status of IB9 has been The contents of a Word can be shifted left or right in the same
shifted left by four places and the result placed in MB100. way that the contents of a Byte can be shifted. The maximum
number of moves is 16.
Shift Right Byte.
Below:-Examples of shifting words.
The Shift Right Byte function operates in the same way as the
Shift Left Byte, except that the move is to the right. Shift Left:
Below:-Example of a Shift Right Byte by 2 places operation.
The Results:
Shift Right:
The Results:
Shift Left Double Word & Shift Right Double Word
Notes :
On-Delay Timer
Below:- The time value of T1 has gone beyond the PT value. Retentive On-Delay Timer
As a result the T1 operand in network 8 is high and has The Re-
switched output Q5.0 high. tentive On-Delay Timer works in the same way as the
ON-Delay Timer except that when the IN signal is re-
moved the Timer operand remains high. The Timer oper-
T1 value and will need to be reset by the user which also resets
has the time value to zero.
surpassed
the PT Below:- Retentive On-Delay timer T2 has been triggered
value of 50 by I7.1 and the time value has passed the 10 second PT
value (100 x 100ms = 10 seconds). The T2 operand is
high and has switched Q5.1 high.
T1 operand is now
high, Q5.0 is also
high as result
Below: Input I7.0 has gone low and the T1 time value is reset
to zero. The T1 operand also goes low as a result.
Notes :
The Input I7.1 is now low, T2 has stopped counting but retains
the count value. The T2 operand remains high. If I7.1 be- Off-Delay Timer
comes high again the time value in T2 will continue.
The Off-Delay Timer T3 shown below monitors the IN input.
Timer retains the When this input is high, the T3 operand is also high as seen in
count value network 12.
When the timer detects a falling edge on the IN input the time
value in T3 will count up, when this value reaches the value of
PT (75 x 100ms = 7.5 seconds) the T3 operand will be set to
zero.
The timer is reset using the Reset function which can be seen
in network 8 below.
The Off-Delay Timer T3 shown below monitors the IN input. The Timer has counted up to the PT value, as a result the T3
When this input is high, the T3 operand is also high as seen in operand has been reset to zero. The timer value is reset to
network 12. zero when the IN input goes from low to high.
When the timer detects a falling edge on the IN input the time
value in T3 will count up, when this value reaches the value of
PT (75 x 100ms = 7.5 seconds) the T3 operand will be set to
zero.
Notes :
The Library contains system blocks for executing specific TM_CTS (DB9900 Constant transfer step table for tool
tasks. These blocks consist of Interrupt Routines and Data change
Blocks.
TM_VTS (DB9901) Variable transfer step table for tool
change
TM_ACK (DB9902) Acknowledgement step table for tool
change
SP_INI (DB9903) Start data for service planner
SP_ACT (DB9904) Actual data for service planner
EE_IFC (DB9905) Interface for Easy Extend options.
CTRL_E (DB9906) Interface for energy saving.
Interrupt Routines The various data blocks are explained in the relevant modules.
B019: END
Notes :
B019
B033 PLC Functions
Module Description:
Initialise ASUP
Start ASUP
Reset password
Save data
Tool reloading
Read axis positions
Read and write NC variables
Exchange data between the NC and PLC
Control an axis from the PLC
Module Objective:
Upon completion of this module you will be able to perform the above listed PLC tasks.
Content:
Sinumerik
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B033
B033
PLC
Functions:
START
PI Services
(Program
Invocation
Services)
Reading
Axis
Positions
Reading
and Writing
of NC Data
Data
Exchange
between
NC & PLC
PLC
controlled
axis
PLC
Functions:
END
Notes :
Notes :
The following interface signals are reserved for use with the PI Services function.
4001 PI-Index
4002
4003
4004 PI-Parameter 1
4006 PI-Parameter 2
to
4022 PI-Parameter 10
DB3400-
PLC NCK [r/w]
3401
DB3400-
NCK PLC [r]
3401
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Notes :
A subroutine should be created in which to write the PLC code to initialise and start the ASUP.
Notes :
The ASUP will run in all modes. Any program running in automatic mode will be interrupted while the ASUP runs, this program
will then continue when the ASUP has finished.
Notes :
The active password will be deleted and the access level will be determined by the key-switch position.
Notes :
The actual position and distance to go of an axis can be read in the PLC.
The following PLC interface areas are reserved for this function.
The following table shows the DB addresses for each axis when reading axis positions/distance to go.
Notes :
Moving the 1st axis actual position into MD100 using the
MOV_R instruction.
The value is read only when DB2600.DBX1.1 is high.
Reading and Writing of NC Data The parameter values which are obtained from the NC Varia-
ble Editor point to the storage location within the NC which
During the manufacturing process it may be necessary to are required as destination or as source, determined by a
have data available to the NC program from the automation READ or WRITE function.
system in order to optimize the NC machining process.
This could take the form of a numerical value being trans- The NC Variable Editor is part of the 828D PLC Program-
ferred to an R Parameter or a machine setting data receiving ming Tool.
from the automation system an optimised value.
In the opposite direction it may be necessary to influence the
automation system dependent upon the current NC machining
process, positional data available in the automation system is
an example of this.
Notes :
DB1201 Var 2
Variable from
DB1200 Var 1 DB9910-9912
- Index DBB1000
- Data to NC
1016...1027.0
NC Data
Reading NC Data
Drive DB1207 Var 8
parameters
etc.
DB1201 Var 2
Variable from
DB1200 Var 1 DB9910-9912
- Index DBB1000
- Data from NC
3016...3027.0
Up to eight variables can be addressed at any one time, iden- Channel-specific variables
tified by substituting a number (0 to 7) in place of the 4th digit When reading/writing channel-specific variables, only the
of the DB number. Example: variables of exactly one channel may be addressed in a job.
DB1200.DBB1000 - 1st variable
DB1201.DBB1000 - 2nd variable Drive-specific variables
DB1202.DBB1000 - 3rd variable etc. When reading/writing drive-specific variables, only the varia-
bles of exactly one SERVO drive object may be addressed in
a job. The SERVO drive object must be assigned to a ma-
chine axis of the NC. The line index corresponds to the logical
drive number.
Error case
In the event of an error, reading/writing variables from differ-
ent drive objects, or simultaneously from a channel and a
drive object, an error message is output:
DB1200.DBX3000.1 == 1 (error occurred)
Notes :
Read:0
0000 Start
Write:1
0002
0003
1006
1012
*1) Only for predefined variables of the "Read/write NC variable" user interface
*2) Only for variables from DB9910-9912 NC_DATA
Request
2000 Error in job
Complete
2001
Notes :
3002
3004 Reading data from NC variable x (1 to 4 bytes) *1)
3008
3012
*1) Only for predefined variables of the "Read/write NC variable" user interface
*2) Only for variables from DB9910-9912 NC_DATA
0001 Syntax ID
0002 Area
0003 Unit
0008 Block
0010 Type
0011 Length
etc
etc ...
0503 Length
Notes :
DB120x.DBB1000 1
DB120x.DBB1001 —
DB120x.DBW1002 (Cut. Edge No -1) * numCuttEdgeParams + Param. No (Word)
DB120x.DBW1004
DB120x.DBD1008 Write: Data to NCK variable x (Real number)
DB120x.DBD3004 Read: Data from NCK variable x (Real number)
Type 2: numCuttEdgeParams - The number of parameter elements of a cutting edge, up to 25 parameters are available.
DB120x.DBB1000 2
DB120x.DBB1001 —
DB120x.DBW1002 —
DB120x.DBW1004 —
DB120x.DBD1008 —
DB120x.DBW3004 Read: Data from NCK variable x (Word)
Notes :
DB120x.DBB1001 —
DB120x.DBW1002 —
DB120x.DBW1004 —
DB120x.DBD1008 —
DB120x.DBW3004 Read: Data from NCK variable x (Word)
Notes :
DB120x.DBB1000 9
DB120x.DBB1001 —
DB120x.DBW1002 Location number
DB120x.DBW1004 Magazine number
DB120x.DBD1008
DB120x.DBW3004 Read: Data from NCK variable x (Word)
Type 100 - 225: Variable from DB9910-9912 NC_DATA - The value of a variable can be read/written.
*1) Only for variables from DB9910-9912 NC_DATA with parameter ”Unit” = 0
*2) Only for variables from DB9910-9912 NC_DATA with parameter ”Line index” = 0
*3) Only for variables from DB9910-9912 NC_DATA with parameter ”Column index” = 0
Notes :
1. Predefined variable of the 2a. Variable from DB9910 NC_DATA 2b. Variable from DB9910 NC_DATA
user interface fixed addressing variable addressing
(Example: R-Parameter 10) (Example: R-Parameter 10, Chan 1) (Example: R-Parameter 10, Chan 1)
DB1200 PLC NCK [r/w] DB1200 PLC NCK [r/w] DB1200 PLC NCK [r/w]
Result NCK PLC [r] Result NCK PLC [r] Result NCK PLC [r]
3004 Reading NC variable 25.0 3004 Reading NC variable - 3004 Reading NC variable -
3016 Reading NC variable - 3016 Reading NC variable 25.0 3016 Reading NC variable 25.0
NC Variable 1 NC Variable 2
Notes :
Steps to achieve function Locate the NC Variables folder. The folder contains two lists,
one each for the NC variables and the drive parameters. R
Before parameterising the PLC user interface the address of parameters are found in the NC variables list.
the variable has to be known, and stored in a user Data
Block.
This is carried out with the NC Variable Editor tool.
In order to create the address data the following steps should
be followed:
All available NC variables are listed: To narrow down the list it is possible to apply a filter:
Notes :
Detailed rpa variable information see help file: The required variables need to be selected, double-click on
the rpa row:
Notes :
The Row number for the first variable is set to 11. The chosen variable can now be seen in the lower half of the
(= Eleventh R parameter = R10). NC Variables selection area:
The Row number for the second variable is set to 0. This of- The second variable can now be seen in the lower half of the
fers more flexibility by allowing the R parameter number to be NC Variables selection area:
selected via the user PLC Interface DB1200.DBW1002.
Notes :
The DB9910 data block contains the data for variable ad-
dressing and data type conversion for each NC variable.
Notes :
Start signal.
For the example it is better to have a value other than zero in the selected R parameter. To locate the R Parameter screen use
the following key selection:
Notes :
R parameter 10 is used in the example, Cursor to R10 and When the start signal is set to high, the value in R10 will be
enter a value, confirm with the “Input” key. Example R10 = 99. transferred to DB1200.DBD3016.
Below: Status of target variable prior to the start signal.
Value of 25 written to
DB1200.DBD1016.
Notes :
Start signal.
The value from DB1200.DBD1016 will now appear in R10. This value remains there until the start signal is removed .
The 828D controller has a 4095 byte memory area for use
with data exchange between the NC program and PLC.
The function is also available with SYNACT.
The following program code has to be typed into the MDA When the cycle start button is pressed the value be copied
area of the Controller: $A_DBR[4]=R10. from R10 to the destination variable.
Notes :
This can be checked in the Chart Status of the PLC828 pro- This can be checked in the R parameter area of the controller :
gramming tool:
Notes:
It is possible to control a servo axis using the PLC interface. Various interface signals are available for this task.
A tool magazine is an example of when a PLC controlled axis could be used.
Notes :
G function: G function:
3003 Indexing posi- Absolute posi- Absolute nega-
tion tive direction tive direction
(ACP) (ACN)
3004
3005
Position (Real number for variable positioning, double word when using fixed index positions)
3006
3007
3008
3009 Feedrate (Real number)
If = 0 value is taken from axis machine data POS_AX_VELO
3010
3011
3001
3002
3003 Error number
Prior to commissioning a PLC axis it is necessary to declare the axis as a PLC axis.
It is possible to do this permanently via Axis machine data 30460 or using interface signals to switch between PLC/NC control.
The following example shows how to position a PLC axis using a variable from the PLC interface.
Notes :
By the changing the value of DB3805.DBD3004 it is possible to The 10 positions are divided equally into 36 degree incre-
move the axis to varying positions, For example, the value ments.
entered here could be taken from the Tool Management inter-
face and used to position a tool carousel in preparation for a
tool change.
Notes :
PLC requirements:
The axis will now move the position entered into the 5th value (Index 4) of General Machine data 10910
$MN_INDEX_AX_POS_TAB_1.
B033: END
Notes :
Module Description:
The SINUMERIK 828D system offers various possibilities for diagnosis, one of which is displaying
alarms and messages.
Alarms and messages are generated to indicate the machine status and faults in the control unit,
drive system or machine. They are used to assist the user with identifying the cause of machine
stoppages.
Module Objective:
Upon completion of this module you will understand the alarm and message structure of the 828D
system.
Content:
Sinumerik
Alarm Acknowledgement
Alarm Log
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents. B037
B037
NCK Alarms
and
Messages:
Structure
Alarm
Display
Description
Alarm
Acknowledg
ement
Alarm Log
Suppress
Alarm
Function
Notes
The NCK alarm structure is divided into three areas. Each area 103000 - 103999 Machine
has been assigned a separate range of alarm/message num- 104000 - 104999 Parameter
bers.
105000 - 105999 Programming
Message/Alarm 106000 - 106999 Reserved
Function range
Nr.
107000 - 107999 OEM
NCK-Alarms/Messages
108000 - 108999 HiGraph
000000 - 009999 General alarms
109000 - 109999 Distributed systems (M to N)
010000 - 019999 Channel alarms
110000 - 110999 Cycles
020000 - 029999 Axis/spindle alarms
111000 - 111999 ShopMill, ShopTurn
060000 - 064999 Cycle alarms SIEMENS
113000 - 113999 Expanding User Interface (Easy screen)
065000 - 069999 Cycle alarms user
114000 - 114999 HT6
070000 - 079999 Compile cycles Manufacturer and OEM
119000 - 119999 OEM
HMI-alarms/messages
120000 - 129999 HMI advanced messages
100000 - 100999 Basic system
130000 - 139999 OEM
101000 - 101999 Diagnosis
142000 - 142099 RCS Host/Viewer
149000 - 149999 ePS
Notes
Notes
The information will be displayed in a pop-up box. Help Screen Function Description:
Alarm Acknowledgement
Acknowledgement types:
Acknowledgement is via the NC keyboard “Alarm can-
cel” button.
The required acknowledgement is indicated to the right of the
This should not reset the machining program.
alarm number on the alarm display line.
Notes
Alarm Log
This shows the time when the alarm occurred and when it
was cleared.
The “Display new” soft key is used to refresh the list and
display any alarms that have recently occurred.
Number of entries:
This sets the maximum number of alarms displayed on the
alarm log page.
Notes
This will cause less wear and tear of the CF card but still car-
ries similar risk of damage to the CF card.
B037: END
Notes
Module Description:
Alarms and messages are essential to inform operators, maintenance personnel etc. of the state of
the machine.
Alarms and messages can be configured to have different behaviour on the operation of the
machine.
User help files can be created to give a more detailed description of each alarm/message.
This module describes how the alarms and messages are activated.
The effect an alarm has on the system is described and how to acknowledge an alarm.
Module Objective:
Upon completion of this module you can configure, activate and set the attributes of messages and
alarms and create user help files.
Content:
Sinumerik
General Information
Alarm and Message Screens
PLC Alarm Configuration
Entering the Alarm Text
User Help Files
Alarm Log
Extended Alarm Configuration
Cycle Alarm Configuration
Program Messages Configuration
Text and Colour Configuration files
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B031
B031
Alarms
and
Messages:
START Messages
Configuration
General
Information Text and
Colour
Configuration
files
Alarm and
Message Alarms
Screens and
Messages:
END
PLC Alarm
Configuration
Entering the
Alarm Text
User Help
Files
Alarm Log
Extended
Alarm
Configaration
Cycle Alarm
Configuration
Notes :
General Information 1 2 3
The alarms/messages are sub-divided into the following ranges:
Range Description
Alarms and Message Screen When alarms and messages are triggered they are separated
and displayed on different screens. The time and date of the
The 828D controller allows 248 user PLC alarms/messages alarm/message occurrence is given.
to be configured (numbered 700000 to 700247).
A configurable alarm log is available to show past alarms/
Each alarm/message has an interface bit for activation messages including when they occurred and when they were
(DB1600.DBX0.0 to DB1600.DBX30.7). cleared. The log can be saved and forwarded to technical
personnel if necessary.
The alarms/messages can be displayed in red or black. Red
is traditionally used to indicate a more serious alarm and Select the following keys to locate the screen where the ac-
black is used for a message type situation. tive alarms and messages are displayed.
Notes :
The “Alarm list” screen displays serious alarms Alarms/messages are also displayed on the top line of the
which result in the machining process being halted. screen. When more than one alarm/message is present a
downwards pointing arrow appears to the right of the alarm/
message number.
PLC Alarm Configuration Below: An example of how Alarm 700000 is activated via input
I8.0.
The table below shows the alarm numbers and their associat-
ed interface signals and configuration machine data.
Notes :
The configuration machine data is used to determine how the Bits 0 to 4 determine how the controller reacts to that particu-
controller reacts to that particular alarm. Each alarm has a lar alarm, Bit 5 determine if the PLC message is shown in the
machine data assigned to it for this purpose. alarm log. Bits 6 & 7 determine how the alarm is acknowl-
edged.
The machine data is activated with via the “Reset (po)” soft
key.
In this window:
Manufacturer PLC alarm tex.
Manufacturer cycle alarm text.
Manufacturer part program message text.
Can be selected.
Notes :
Use the cursor key to highlight the User PLC alarm texts The colour of the alarm text can be either black or red. This
option alarm type and select “OK”. is selected at the right of the text input field.
eng = English
deu = German The alarm text entered earlier can be seen within the file.
fra = French
ita = Italian
esp = Spanish
chs = Chinese (Simplified)
cht = Chinese (Traditional)
kor = Korean
ptb = Portuguese (Brazil)
Notes :
Creating additional language files using AMM-Project. Language files can be uploaded from the controller into the
project.
Access MyMachine can be used to the create language specif- To upload the language files, tick all boxes in the bottom win-
ic files. Start the Access MyMachine program and make an dow.
online connection to the controller.
Notes :
Note:
Notes :
German translation:
700000 Sicherheitstür geöffnet
700001 Hydrauliköldruck niedrig
700002 Hydraulikölstand niedrig
Note:
Export: Allows a CSV to be generated on PC/
PG, so that language text can be easily translated.
Once all the alarms have been transferred using AMM then
reboot the HMI.
English:
Notes :
Right click on the alarm text file oem_alarms_plc_eng.ts and Any alarms present in the alarm text file will be displayed.
select “Open with TS editor”
The text of the alarms can be easily edited, this is useful for
any translation requirements.
New alarms can also be added
Notes :
Variable Alarm text Function: In the Variable DB1600.DBD1012 the value of 2 is entered.
This is done by a move command.
It is possible to define a variable within the alarm text string. This variable is a Double Word and as such it has to use the
“MOVE_DW” instruction (Move Double Word).
Each alarm is assigned a Double Word variable for this pur-
pose. By selecting one of the following identifiers and enter- Below is an example of how a value 2 is moved into the varia-
ing it into the alarm text, the contents of the Double Word will ble DB1600.DBD1012 when input I8.3 is equal to one. This
appear in place of the identifier when the alarm is triggered. would display the number 2 in place of the “%d” and activate
alarm 700003.
%d Decimal value
%x Hexadecimal
%b Binary
%o Octal
%u Unsigned integer
%f Floating point number
Example:
The alarm number 700003 is to be used to signal that several
axes are in the parked position.
The bit to activate this alarm is DB1600.DBX0.3 and that the
extended function variable is DB1600.DBD1012.
Below is the alarm 700003 as displayed on the controller.
In the alarm text, “Axis %d in parked position” has been
typed.
Notes :
General Information
To further enhance the fault finding procedure it is possible to create a “Help” file.
When the HELP key is pressed the details of the selected alarm will be displayed on the screen.
The blue text indicates the folders that require creating. Separate folders are required for each language where the Help files are
a requirement.
Examples:
English - eng\sinumerik_alarm_plc_pmc
German - deu\sinumerik_alarm_plc_pmc
Chinese (Simplified) - chs\sinumerik_alarm_plc_pmc
Chinese (Traditional) - cht\sinumerik_alarm_plc_pmc
Portuguese - ptb\sinumerik_alarm_plc_pmc
Korean - kor\sinumerik_alarm_plc_pmc
A separate file needs to be created and stored in each of the language folders.
TAG Description
html Root element-Main tag for the help file, contains all other tags, first to be opened and last to be
closed.
head Contains document information, opened immediately after the HTML tag, closed directly before the
BODY tag is opened.
body The main body of the HTML document, determines what will be displayed on the screen. Opened
immediately after the closing the HEAD tag. Closed immediately before the HTML tag.
table Creates a table for the help file information.
tr Table row, creates a row within the table.
td Table data cell. Used within the tr tag, contains the text that is to be displayed on the help screen.
The tag is used with the width attribute to determine the width of the cell and the valign attribute
to align the text within a cell.
p Used to begin a new paragraph.
b Text will be written in bold type.
i Text will be written in italic type.
br Starts a new line.
Notes :
Locate the directory where the folders are to be created. Select the “Directory” soft-key, this is usually already selected
System CF-Card\oem\sinumerik\hmi\hlp by default.
Or
System CF-Card\user\sinumerik\hmi\hlp
The file will automatically open in readiness for the HTML code
to be entered,
The file is closed with the following soft-keys:
Creating the help file:
Cursor to “sinumerik_alarm_plc_pmc” directory and select the
“New” soft-key followed by the “Any” soft-key.
Notes :
Below is an example help file “sinumerik_alarm_oem_plc_pmc.html” for alarm 700001. The text is in different colours to assist with
understanding the contents.
It is important that the lines begin and end with a Tag open or Tag close instruction (< or />).
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset="UTF-8"/><title></title></head>
<body>
<table>
<tr>
<td width="15%"><b><a name="700001">700001</a></b></td>
<td width="85%"><b>Hydraulic Oil Pressure Low</b></td>
</tr>
<tr>
<td valign="top" width="15%"><b>Parameter:</b></td>
<td width="85%">N/A</td>
</tr>
<tr>
<td valign="top" width="15%"><b>Explanation:</b></td>
<td width="85%">I8.1 is low.</td>
</tr>
<tr>
<td valign="top" width="15%"><b>Reaction:</b></td>
<td width="85%">Emergency Stop Initiated</td>
</tr>
<tr>
<td valign="top" width="15%"><b>Remedy:</b></td>
<td width="85%">The hydraulic unit has indicated a fault. Check oil level. Check pressure switch. <br />Clean filter if necessary.</td>
</tr>
<tr>
<td valign="top" width="15%"><b>Part number:</b></td>
<td width="85%">Hydraulic oil type: AAA. Pressure switch type: BBB <br /> Filter type CCC</td>
</tr>
<tr>
<td valign="top" width="15%"><b>Program continuation:</b></td>
<td width="85%">Machine restart required</td>
</tr>
</table>
<p></p>
</body>
</html>
The system is able to cross reference the highlighted alarm with the entry under the “a” tag.
The contents of the table containing the correct anchor are now displayed.
Adding further alarms to the HTML file is simply a case of copying/pasting the existing ”table” tag and its contents and editing to suit
the individual alarm.
The contents of the “head” tag should be left as it is. This determines the content type and text format.
Notes :
Creating the help files/directories on an external PC: The alarm will appear in either the “Alarm list” or “Messages”
It is possible to create the directories/help files offline using screen depending how it has been configured.
an HTML or ASCII editor (e.g. Notepad®).
These files have to be transferred to the controller and placed
in the correct folders.
This can be done via the USB /CF Interfaces or with the Ac-
cess MyMachine software. If several alarms exist cursor to the alarm correct one.
To test the Help file the alarm specified in the Help file should
be activated.
Alarm 700001 is activated by DB1600.DBX0.1
The HELP function is activated by the “HELP” key located to Alarm Log
the bottom right of the screen.
A log of alarms that have occurred can be seen by selecting
the “Alarm log” soft key.
This shows the time when the alarm occurred and when it
was cleared.
Notes :
The “Display new” soft key is used to refresh the list and dis- Number of entries:
play any alarms that have recently occurred. This sets the maximum number of alarms displayed on the
alarm log page.
Write mode file:
Off: No storing of the log file will take place to the internal
flash memory (Compact flash card)
At every event: Each time an alarm occurs this will be record-
ed to the compact flash memory.
The “Settings” soft key is used to refresh the list and display
any alarms that have recently occurred.
Use the following soft key sequence to locate the log file:-
Use the “Cursor” and “Input” to locate the “alarm log” directory.
Notes :
Notes :
The table below shows the extended alarm numbers and their Below: An example of how Alarm 701000 is activated via input
associated interface signals and configuration data. I8.7.
701007 DB1600.DBX4000.7 DB9913.DBW14 DB1600.DBD5028 Open the PLC program using the PLC programming tool.
Locate DB9913 in the “User Data Blocks” of the PLC program
701008 DB1600.DBX4001.0 DB9913.DBW16 DB1600.DBD5032
and double click.
701009 DB1600.DBX4001.1 DB9913.DBW18 DB1600.DBD5036 Now double click the “Initial Value” for the required alarm num-
ber. The bit editor window will be shown.
701010 DB1600.DBX4001.2 DB9913.DBW20 DB1600.DBD5040
... ... ... ...
Notes :
Parameter Meaning
%1 Channel number
%2 Block number
Example text entered into the language file via AMM or HMI
alarm text editor:
Chan%1,%2,OEM_CYCLE_ALARM,%4
View's of the entered text using AMM and the HMI text editor.
Notes :
Program Messages Configuration The alarm text can also be entered into the language specific
files in the control via AMM or HMI alarm text editor, which is
Messages can be set from within an NC program. Messages described n this module.
are displayed in alarm window in GREEN text.
An example is shown using the MSG command. The text in the NC program is entered as a “text identifier”,
starting with the character “$”
…
N10 MSG(“MESSAGE”) Eg MSG(“$65000”) and text added into language specific file
… “PART PROGRAM MESSAGE”
View's of the entered text using AMM and the HMI text editor.
The standard colours for the HMI alarms and messages are,
RED or BLACK for PLC and CYCLE alarms and GREEN for
MESSAGES. These colours can be chosen when using the
HMI alarm text editor and in AMM.
Notes :
Open the text configeration file slaesvcadapconf.xml in following directory: /oem/sinumerik/hmi/cfg, and add the line.
<!DOCTYPE TS>
<TS>
<context>
<name>slaeconv</name>
<message><source>65200/NCK</source>
<translation>Chan%1,%2,alarm_example,%4</translation>
</message>
</context>
</TS>
Notes :
oem/sinumerik/hmi
- hmi
- Ing
oem_alarms_cycles_eng.ts
The standard Alarm text files that are
oem_alarms_plc_eng.ts generated when text is entered via the HMI
editor or using AMM
oem_alarms_partprogram_messages_eng.ts
Notes :
Open the colour configeration file slaesvcconf.xml in following directory: /oem/sinumerik/hmi/cfg, and add the line.
Notes :
oem/sinumerik/hmi
- hmi
- cfg
alarmtexteditor_db_oem_alarms_cycles.xml
Color files that are generated when colour
alarmtexteditor_db_oem_alarms_plc.xml is entered via the HMI editor or using AMM
alarmtexteditor_db_oem_alarms_partprogram_messages.xml
alarmtexteditor_db_oem_alarm_example.xml alarmtexteditor_db_oem_alarm_example.xml
is created by OEM so that non standard
colours can be used
Notes :
There is a html colour code list which is Color Name HEX Crimson #DC143C
reprecented by a hexidecimal number.
AliceBlue #F0F8FF Cyan #00FFFF
HTML Codes format: AntiqueWhite #FAEBD7 DarkBlue #00008B
Each HTML code contains symbol "#"
Aqua #00FFFF DarkCyan #008B8B
and 6 letters or numbers. These numbers
are in hexadecimal numeral system. For Aquamarine #7FFFD4 DarkGoldenRod #B8860B
example "FF" in hexadecimal represents
Azure #F0FFFF DarkGray #A9A9A9
number 255 in Decimal.
Beige #F5F5DC DarkGreen #006400
Meaning of symbols: Bisque #FFE4C4 DarkKhaki #BDB76B
The first two symbols in HTML color code
represents the intensity of red color. 00 is Black #000000 DarkMagenta #8B008B
the least and FF is the most intense. The BlanchedAlmond #FFEBCD DarkOliveGreen #556B2F
third and fourth represents intensity of
green and fifth and sixth represents the Blue #0000FF DarkOrange #FF8C00
intensity of blue. So with combining the BlueViolet #8A2BE2 DarkOrchid #9932CC
intensity of red, green and blue an unlim-
ited colour pallet can be created;) Brown #A52A2A DarkRed #8B0000
BurlyWood #DEB887 DarkSalmon #E9967A
By defining the colour in the alarmtextedi-
CadetBlue #5F9EA0 DarkSeaGreen #8FBC8F
tor_db_oem_test.xml we can adjust:
Alarm number Chartreuse #7FFF00 DarkSlateBlue #483D8B
Alarm number background Chocolate #D2691E DarkSlateGray #2F4F4F
Alarm text
Alarm text background Coral #FF7F50 DarkTurquoise #00CED1
CornflowerBlue #6495ED DarkViolet #9400D3
Cornsilk #FFF8DC DeepPink #FF1493
Notes :
oem_alarm_example_eng.ts, which states the text for the cyc- alarmtexteditor_db_oem_alarm_example.xml, which states
le alarm.This file is declared in slaesvcadapconf.xml confige- the text for the cycle alarm.This file is declared in slaes-
ration file. vcconf.xml configeration file.
Notes :
Once all the files have been created and edited, reboot the This simple program when run will post this alarm.
HMI.
B031: END
Notes :
Module Description:
The 828D controller has on-board PLC diagnostic capabilities to aid the user with the fault finding
process. It is possible to check the status of inputs, outputs etc.
There is also a ladder editor, which allows editing of the user PLC program, and a rewire function,
which allows inputs or outputs to rewired while keeping the original PLC logic intact.
Module Objective:
Upon completion of this module you will be able to use the 828D PLC viewer to diagnose PLC
related problems. You will also be able to rewire inputs and outputs using the ladder editor
Content:
Sinumerik
PLC Diagnostics
PLC Editor
Interrupt Routines
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B058
B058
PLC On-board
Diagnostics:
START
PLC
Diagnostics
PLC
Editor
Interrupt
Routines
PLC On-board
Diagnostics:
END
Notes :
Byte- A Byte is a collective of 8 bits of logic in the same In this example I6.0, I6.1, I6.4, I6.5, I6.6, I7.1, I7.2, I7.5, I7.7.
group, e.g. Input Byte 4 (IB6) contains the bits I6.0, I6.1, I6.2, are equal to 1.
I6.3, I6.4, I6.5, I6.6, I6.7. Output Words (QW) and Marker Words (MB) can also be used
When working with bytes it must be remembered that the in the same way.
numbering counts up from the left as shown below.
Example IB6 Double Word- A Double Word is a collective of 32 bits of logic
IB6 which encompasses two consecutive Words (Four consecu-
Bit no 7 6 5 4 3 2 1 0 tive Bytes).
Value 1 0 1 0 0 1 0 1
A Double Word can only be addressed as 0 or an even num-
In this example I6.0, I6.2, I6.5 & I6.7 are equal to 1. Another ber which is a multiple of four, (ID0, ID4, ID8, ID12 etc) odd
term for being equal to 1 is that these bits are High. numbers are not allowed.
The bits equal to 0 are termed as being Low.
Example ID6
Output Bytes (QB) and Marker Bytes (MB) can also be used in IB9 IB8 IB7 IB6
the same way. Bit no 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Value 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 1
Word- A Word is a collective of 16 bits of logic which encom-
passes two consecutive Bytes. Output Double Words (QD) and Marker Double Words (MD)
can also be used in the same way.
Processing Time:
The time taken to
process the PLC
logic.
Notes :
PLC Stop: The operands are typed into the left hand column. They can
be viewed in different formats. The format is changed by us-
ing the cursor key to highlight the letter in the “Format” col-
umn and then toggling with the “Select” key.
B = Binary
D = Decimal
PLC Start: H = Hexadecimal
F = Floating point number (only for
Double Words)
The “Delete all” soft key will delete all entries on the list.
Notes :
Notes :
↑
1 is for the 1st NC axis
2 is for the 2nd NC axis etc.
Or
Further functions are available when the following soft-key is Enter a suitable file name:
pressed:
Save mask: The list of operands that have been typed can be
saved to a file.
Notes :
Status List: The default list of operands is shown in the above screen.
The “Set address” soft key allows this list to be configured.
A further method of checking the status of operands is via the
“Status list” soft key.
The value entered in box will become the first entry at the top
of the list.
Each of the three columns can be changed this way .
Select the columns using the cursor keys.
Notes :
The “Window 1” & “Window 2” soft-keys can be changed to The soft-key text changes to match the selected block:
open up different blocks within the program.
Protected Blocks:
A list of available blocks is displayed, by highlighting a block Protected blocks will be displayed with a yellow padlock sym-
and pressing the “Open” soft-key, the selected block will be bol.
opened.
Or
Notes :
The password, if known, can be entered and accepted. Symbolic and Absolute Addressing:
Example: with Symbolic addresses deselected, i.e. Absolute Due to space restrictions of the screen, it is not always pos-
addresses active: sible to see the whole symbolic/absolute description.
The cursor keys can be used to position the orange rectan-
gle around an operand.
This allows further information about the operand.
Pressing the “Select” key will reveal the full symbolic/
absolute information.
Further information can be displayed if the “Input” key is
pressed.
Confirmation that Absolute
addressing is active. An operand with absolute address view showing a truncated
number (Orange rectangle is in place):
Symbol Info
The symbol information for a whole network can be viewed by
selecting the network followed by the “Symbol info” soft key
Display after “Select” key is pressed:
Notes :
Search Functions: After typing in the search target it is possible to choose be-
tween “Find all”, “Search downwards” or “Search upwards”.
The search function allows operands etc. to be located easily
in the program.
When the search parameters are correct the “OK” key is se-
lected to start the search.
Notes :
The “Go to” option is used for searching for a network within
the open program block.
Notes :
Operands can be located with the Search function or the cur- If the search target appears in the cross reference list more
sor keys. than once, use the Continue search option.
When the correct place is located cancel the search function
and open the program block via the Open in window 1 or
Open in window 2 soft-keys.
OR
OR
Notes :
The cross reference list can be displayed with symbolic or PLC in stop mode:
absolute addresses.
The default is set to absolute as shown on the previous page. If the PLC goes into stop mode information is available on the
When the Symbolic addresses soft key is selected a text diagnostics screen. To locate the diagnostics screen, use the
description of the operand is displayed as seen below. This following soft-key sequence:
text description is taken from the symbols table. If no symbol
has been written for a particular operand the absolute ad-
dress remains.
Notes :
It is possible to edit the user PLC program directly on the Only existing subroutines (Blocks) can be edited. It is not
828D controller. possible to add new subroutines (with the exception of the
Interrupts 100 & 101 - see next section).
Machine Data 51232 needs to be set to 1 to enable the PLC
editing function: The editing is done the Setup menu:
Program status ON
Use the cursor keys to navigate through the subroutine:
Program status OFF
Notes :
A wide range of editing functions are available via the horizon- Saving the changes:
tal and vertical soft-keys:
Any changes must be saved in the CPU:
Notes :
Interrupt routines 100 & 101 can be used to influence the user PLC. This is known as the rewire function because it allows a
faulty input/output to be rewired to a spare location; the logic for the new input/output can then be added to the interrupts.
This means that the original user PLC program remains intact; this is important for compatibility reasons.
The interrupt routines belong to the individual data class type.
The S7-200 PLC works cyclically - At the beginning of the scan the status of the inputs is copied to the Process Image Table
(Inputs). This is then applied to the user PLC logic.
The Subroutines are processed in the order they appear in OB1.
This means that, for example, an output which was set early in the scan might then be reset later in the scan. It is the command
that appears later in the scan that takes priority.
When the scan is complete the results are transferred to the Process Image Table (Outputs). This the point at which the outputs
etc. are physically set.
The diagram below shows the position of the Interrupt Blocks INT_100 and INT_101.
Their position enables them to be used to influence the state of the inputs and outputs without making changes to the main user
programme.
Beginning of Scan
Process Image Table At the beginning of the scan, the status of the inputs is
(Inputs) transferred to the Process Image Table.
Subroutine
Subroutine
Subroutine
Notes :
Or
Use the cursor keys and soft-keys to add the required logic:
The interrupt can now be opened and logic entered.
Notes :
The table below shows that the PLC status for I6.0 is at 0.
This is despite there being a +24v signal present at the input
terminal. This indicates a problem with the PP72/48. All other
inputs are functioning correctly.
One solution would be to replace the PP72/48. Another possi-
bility would be to rewire the faulty input to an unused input.
Interrupt 100 could then be used to set I6.0, internally, via the
new input.
I6.5 is now controlling I6.0
Original wiring to faulty input:
Input 6.0 rewired to input 6.5:
Function Signal Input PLC Status Function Signal Input PLC Status
Work light switch +24v I6.1 1 Work light switch +24v I6.1 1
Air pressure switch +24v I6.4 1 Air pressure switch +24v I6.4 1
The following table shows that the PLC status for Q6.0 is at 1,
but the +24v output is missing. This indicates a problem with
the PP72/48. All other outputs are functioning correctly. Q6.0 is now controlling Q6.5.
One solution would be to replace the PP72/48. Another possi-
bility would be to rewire the faulty output to an unused output. Any changes must be saved in the CPU:
Interrupt 101 can then be used to set Q6.5, internally, via the
existing output.
Notes :
B058: END
Notes :
Module Description:
The Sinumerik 828D CNC controller has been developed for the mid-range machine tool market,
where programming at the machine is necessary, in addition to programming using external
CAD/CAM type systems.
These machines are sold in high volume and should exhibit similar operating characteristics.
In order to ensure similarities, a defined start-up procedure is used by the commissioning engineer.
Module Objective:
Upon completion of this module you will be able to configure and commission a 3 axis
milling machine with spindle and additional 4th axis according to the defined commissioning
procedure.
This procedure is necessary to ensure compatibility and quality of the installation.
Content:
Sinumerik
HMI Configuration
PLC Program
Drive configuration
Drive optimisation
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B068
B068
Commissioning
sequence:
START
NC Axis
Assignment
Preparing the
Controller
NC
Machine
Data
HMI:
Language
Password
Time/date
Alarm Text PLC part 2:
OEM
signals,
enables etc.
Machine
Configuration:
BAG/Channel/
Axis
Drive
Optimization
PLC Part 1:
Hardware
configuration
and MCP
Data
Management
Drives:
Firmware
Update &
Configuration
Commissioning
sequence:
START
DMS Encoder
Configuration
Notes :
7. NC Axis assignment
Notes :
Factory settings
The basic “Set-up” menu will be displayed, to display the advanced “Start-up” menu select the keys indicated below in the nu-
merical order shown.
1 2
Notes :
or
Firmware update: Alarm 4060: Standard data for a milling machine has been
If the firmware of the drive components/objects is not at the loaded and the configuration is 3 axis and 1 spindle. This will
correct level for the software version an automatic firmware be expanded upon for our example.
update process will begin. Allow this to complete.
Alarm 40006: The user PLC has been cleared.
Expected Alarms:
The alarm list shows the following three alarms, this is normal Alarm 20402: The Sinamics drive system requires first com-
at this point in the procedure. missioning.
The request to commission the drives will appear several
times during the commissioning sequence, e.g. after each
NCK reset.
It is important only to commission the drives at a certain point
in the commissioning sequence.
Notes :
HMI Language - Password - Time and date - Alarm Text Password Setting
Notes :
Notes :
Notes :
MCP
Assignment of the SDBs (System data blocks) The machine control panel subroutine needs to be called in
OB1:
Machine Data 11240
MD11240 Description
[0, 1, 2, 3]
PLC Program
The PLC program for the MCP can now be downloaded and
tested according to the machine test protocol.
It may be necessary at this point to jog the axis in simulation
mode. A temporary enable may have to be programmed in
order to make these tests.
Notes :
A series of information boxes will be displayed: The drive components that are connected to the DriveCLiQ
bus are now displayed on the controller.
Notes :
1 2 3 4 5 6
X203 X203
X500
SMI- 21 SMI- 18 SMI- 15 SMI- 12 SMI- 9 SMC
ENC- 22 ENC- 19 ENC- 16 ENC- 13 ENC- 10 SMC- 7
MOT- 23 MOT- 20 MOT- 17 MOT- 14 MOT- 11 ENC- 8
2 3 4 5 6 6
Notes :
By paging down to the bottom of the screen it can be seen The encoder has to be first deselected from Servo 3.3.6 (A
that this drive does in fact have a 2nd encoder assigned to it. axis) to free it up for assignment to the Servo 3.3.2 (spindle)
The encoder type is unknown at this stage and will be added Select the “Change” soft-key.
shortly.
Press the Next step soft-key (three times) until the Encoder
assignment screen is displayed, the page will show two en-
coders assigned to the axis.
Deselect Encoder 2:
Press the Next step soft-key (Three times) until the Summary
screen is displayed.
This now shows Servo 3.3.6 with only one encoder.
Notes :
A dialogue box shows that the configuration has changed and Assigning the DMS encoder to the Spindle:
that save be carried out.
This is not necessary at this stage because the encoder has Use the Drive + or Drive - soft-keys to locate Servo 3.3.2
still to be assigned to the Spindle.
Press the Next step soft-key (Three times) until the Encoder Select the Encoder 2 checkbox.
assignment screen is displayed. From the list select the DMS encoder.
The top two encoders on the list are the ones available to the
The page will show one encoder assigned to the servo. spindle. The 1st one being the DMS (Motor_Module_6.X201-
SM_7-Encoder_8), the 2nd being the one already assigned
as the motor encoder.
The remaining items on the list are motor encoders which are
already assigned.
Notes :
Press the “Next step” soft-key until the Encoder 2 configura- The details of the encoder need to be manually entered, select
tion screen appears. the “enter data” soft-key.
The screenshot below has had the encoder type and infor-
mation entered:
Notes :
Notes :
Assignment Method:
Via Axis Machine Data - (NC Drive number) MD30110 - 828D Default.
Machine Axis Internal Axis Machine Data changed: Machine Data not changed:
Name name CTRL_OUT_MODULE_NR DRIVE_LOGIC_ADDRESS
The axis assignment procedure will automatically set various machine data including Axis MD 30110.
Assignment procedure:
SERVO_3_3_2
Training equipment axis/servo assignments:
Check the top right of the screen for the currently selected
servo: e.g. SERVO_3_3_2
Notes :
From the Setpoint: axis - -> drive list, select the correct NC Any encoders associated with the axis will be automatically
axis for the servo. selected:
In this example SERVO 3.3.2 & AX4: MSP1
or or
Repeat the process until all Servos have been assigned to the
correct NC axis.
Notes :
While the axis assignment procedure automatically sets cer- Spindle setting data can be set to limit the maximum spindle
tain machine data, it will be necessary to manually set addi- speed.
tional machine data according to the machine specifications The default maximum spindle speed is 1000rpm.
Machine data is used to set velocity/travel limitations, acceler- This needs to be changed to 3000rpm for the training simula-
ation, leadscrew pitches etc. tor.
Spindle MD
32000 3000
32010 100
32020 50
35100 3000
Unreferenced Axes:
35110[0] 3000
35110[1] 3000 By default, cycle start is inhibited until the axes are refer-
35120[0] 10 enced. This can be overcome by setting channel machine
data, 20700 REFP_NC_START_LOCK =0
35120[1] 10
35130[0] 3150 Warning: This should only be a temporary measure.
35130[1] 3150 Machine damage could result when running an axis that
hasn’t been referenced.
36200[0] 3300
36200[1] 3300
PLC part 2- OEM signals, enables etc. Example - X axis enable signals/measuring circuit 1 selection:
Axis Enables
Notes :
Drive optimisation is carried out to match the drive/controller to When the prototype of a machine is fully tested it is necessary
the mechanical characteristics of the axes. to create a backup of the data.
This is essential to achieve fast, accurate positioning, The backup data is in the form of a TGZ file (System image)
resulting in reduced cycle times and a superior surface finish. which includes all the information to restore the machine to its
Once a machine is optimised it should not require optimising original state.
again. This file is also used for the production of series machines as
Any mechanical problems should be repaired rather than it includes the Manufacturer data.
masked by re-optimisation.
See Module B017 Data Management for detailed information.
See Module B101 Servo Optimisation for detailed infor-
mation.
B068: END
Notes :
Module Description:
All positioning axes require referencing in order for the controller to position them.
The procedures for the referencing of incremental and absolute encoders is described along with
the most important machine data.
Module Objective:
Upon completion of this module you will be able to synchronise/adjust the measuring system for
the Sinumerik 828D controller.
Content:
Sinumerik
Automatic Referencing
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B084
B084
Encoder
Adjustment:
START
Referencing
Incremental
Encoders
Automatic
Referencing
Referencing
Absolute
Encoders
Machine Data
Information
Encoder
Adjustment:
END
Notes :
General Information
Notes :
To reference an individual axis select the correct axis via the Below: The symbol to the left of the axis name indicates that
machine control panel. the axis has been referenced, in this case axis MX1.
Notes :
In the event of the values of machine data 34080 & 34090 equalling less than the stopping distance of the axis, the controller will
automatically readjust to the correct position.
34040 $MA_REFP_VELO_SEARCH_MARKER = 0
34080 $MA_REFP_MOVE_DIST + 34090 $MA_REFP_MOVE_DIST_CORR = > 0
Velocity
Reference point cam
switch activated
0 1
MD34020 Ref. point approach velocity
Position
Cam switch 1 0
The control receives a reference axis command, the axis accelerates to the feed-rate in machine data
34020 $MA_REFP_VELO_SEARCH_CAM then searches for the reference switch input to become high.
The position display will indicate the axis is referenced and display any values stored in machine data :
34100 $MA_REFP_SET_POS
Notes :
Automatic Referencing (Incremental Encoders) To initiate the automatic cycle the necessary interface bit has
to be set (DB3200.DBX1.0).
Automatic referencing cycle
Example of how the automatic referencing cycle can be initiat-
To set the automatic referencing function it has to be decided in ed.
what order you want the axes to referencing.
It is common for example that on a milling machine the Z axis
needs to be referenced first, this helps eliminate the chance of a
collision.
The order is set by axis machine data $MA_REFP_CYCLE_NR
Possible entries:
0 = no referencing cycle participation.
1 to 15 = allowable range for setting the sequence. Interface signal description:
-1 = no reference required for Cycle start.
DB3100.DBX1.2 Reference Mode Active.
Up to five axes can be referenced at the same time. DB3200.DBX7.1 NC Start Active.
DB3200.DBX1.0 Activate Automatic Referencing Procedure.
Example: Y Axis set as number 2 in the reference procedure. Interface signal DB3300.DBX1.0 (NC to PLC) changes to 1
while the referencing cycle is active.
Referencing Absolute Encoders Below: Example showing the 1st measuring system declared
as an absolute encoder. The 2nd measuring circuit is not ac-
General information:- tive in this case.
Absolute encoders need referencing on first commissioning
and remain referenced until a problem occurs with encoder or
the NCK. Re loading of an archive will also necessitate the
referencing of the encoder.
Procedure:
First it must be ascertained that the encoder is of the absolute
type. This can be done checking the motor data rating plate in
the case of an integrated motor encoder. Also checking with
the supplier of the encoder might help determine the correct
type.
Another method is to check the machine data.
Machine data 30240[0] & [1] should be checked depending
upon the active measuring
circuit.
Incremental encoders…...30240[x] = 1
Absolute encoders……….30240[x] = 4
Simulation/no encoder.....30240[x] = 0
Notes :
Confirmation that the correct mode is selected can be seen at Select the axis to be referenced and then press the same di-
the top of the screen. rection key used to position the axis earlier.
The axis will not physically move but the position display will
change to show the axis is referenced symbol and the refer-
ence point set position will be shown as the position of the axis
(150 mm).
Machine data 34210 will have changed to 2 to indicate a suc-
cessful procedure.
Notes :
B084: END
Notes :
Module Description:
This module explains the step-by-step procedure for tuning the speed and position control loops
within the SINUMERIK 828D / SINAMICS S120.
The procedure is based on the onboard functions of the SINUMERIK Operate system.
Module Objective:
In order to ensure the required compatibility and consistency level between the machines
configured with the SINUMERIK 828D control, a defined tuning procedure should be observed.
This procedure is defined in this module.
Notice: This procedure causes the axis to move. All the required safety measures must be taken
into account. Before starting, you must read through the entire description and understand it.
SINUMERIK
Content:
Introduction
Acceleration
Axis jerk
Circularity test
Spindle tuning
Advanced surface
Applications
828D SINUMERIK Operate V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B101
B101
Servo
tuning:
START
Introduction
Circularity
test
Automatic
Servo
Tuning
Spindle
tuning
Interpolation
path
Advanced
Surface
Acceleration
Applications
Axis jerk
Servo tuning:
END
Notes
General notes re The relevant machine data requires an activation through the
Since the drive tuning is a very complex topic within the com- "Reset" button.
missioning, it is recommended that you first read the docu- cf The relevant machine data requires an activation through the
ment to obtain an overview. The individual tuning steps can "Set MD active" softkey.
then be performed in the sequence described here.
The recommendations are summarized again for the most im The relevant machine data is active immediately.
common applications at the end of the module.
Saving the drive data
Note that the strategies described here apply to the majority of Each time the SINAMICS S120 is switched on or a "Drive
machines. Particularly for special-purpose machines or special reset" performed, the configuration data from a file saved on
requirements, it may be necessary to make expert settings. the SINUMERIK control is loaded to the appropriate drive. If
However, as this topic exceeds the scope of this module, drive parameters are changed, the drive data must be saved
which is only intended to explain the operation of AST under so that the changes are retained after the next power off/on or
"standard conditions", it is not considered in more detail. after a "Drive reset".
Please refer to the AST Intensive Training.
Note: An "NCK reset" has no effect on the drive data.
Activating the changed machine data
In this procedure of optimization, certain changes to the ma- To save the drive data:
chine data must be activated. How this change is activated is In the Drive parameters area, press the "Save/reset" softkey,
shown in the last column of the respective parameter value. then the "Save" softkey and finally the "Drive system" softkey.
The following list shows these specifications and their mean- Messages in the lower left-hand area of the screen show the
ing. status of the saving operation. When the saving operation is
finished, the message "All drive objects saved" is displayed.
SINUMERIK 828D PROFIBUS-DP DRIVE However it is difficult to determine the maximum acceleration
at this point in time because inertia and friction and holding
torques ore often not known. As they likewise the maximum
permitted jerk are irrelevant for the execution of Auto Servo
Tune, we will later come back to this topic.
Notes
Performance of the frequency response measurements p410[0] & [1] Reverse actual encoder value:
Bit 0: Reverse actual velocity value
Calculation of the speed control loop Bit 1: Reverse actual position value
Setting of the current setpoint filters
Calculation of the position control loop Example: To reverse the actual velocity and actual position
values of the second encoder, set p410[1] = 3.
Verification of the actual response of the planned con-
trol loops If the automatic tuning is performed for a main spindle, a PLC
Feedforward control mode: equivalent speed control servo enable signal may not be present. The machine manu-
time facturer should provide a method to enable this PLC interface
signal for the servo tuning, e.g. a special key combination or
Interpolation paths by setting a special marker in the PLC status.
It is strongly recommended that you use the torque feedfor- Call of the tuning interface
ward control for the tuning. This ensures the greatest possible
contour accuracy.
By keeping the following error sufficiently small, the servo
gain factor has almost no effect on the path interpolation.
Therefore, different servo gain factors are now permitted in The Auto servo tuning screen is the standard screen. If this is
the axes for the path interpolation. not the case, press the "Auto servo tuning" softkey.
General procedure The screen shows whether an axis has been tuned or not.
If a machine or an axis is tuned for the first time, it is recom- The time and date of the tuning is shown for a tuned axis.
mended that this tuning is performed with a robust strategy
without further manual adaptations. This is to ensure that the
axis can be traversed correctly and the controllers can be set
correctly, even if they have not been tuned . The axis can
now be run in, aligned, etc.
In the second step, the tuning is performed again, but now
with realistic loading of the machine (e.g. with installed chuck
and possible a workpiece) with the desired strategy. Without
any load, the machine may be set well for no load, but is in-
stable later with the chuck and a workpiece.
Notes
First select the axis to be tuned, and then the strategy can be
The default settings are for tuning at the simple press of a adapted.
button with minimum user interaction. The "Enable strategy
selection during tuning" checkbox is only for experts.
Note: The set strategy only applies for the selected axis!
Notes
It may be that the preset objectives are not sufficient for the
desired axis behavior. The strategies can be adapted here
based on the specifications (press the "Adapt strategy" softkey
and confirm the prompt with "Yes"). However, these settings
should only be made with adequate background knowledge.
They are therefore not discussed in more detail in this module.
Note: The description of the tuning objectives applies in the
same way to the position controller. The set tuning objective As already shown with the speed controller, there are different
for the speed controller and the position controller is always strategies to adapt the position controller. The strategy "203.
identical. If the objectives are to be set differently, this must be Maximize Kv with NO speed setpoint filter and FFW" has
performed by adapting the strategy (see above). proved to return respectable results for most applications.
It is strongly recommended that the feedforward control (FFW)
be activated and the feedforward type be set to "Torque".
Position controller settings This greatly improves the positioning accuracy. This is already
preset in the above strategy.
Notes
Note: The drive must support telegram 136 in order to be able Make sure that the axis to be tuned is in a safe position. If this
to use the torque feedforward control. It must also be activated is not the case, you can move the axis to a safe position with
in each drive in: the Jog keys on the MCP. Press "OK" to confirm.
MD13060[x] = 136
P922 = [136] SIEMENS telegram 136, PZD-15/19
Notes
The dialog box that now appears indicates that the other axes
also have to be tuned for a good tuning result:
Notes
After tuning the individual axes, the axes have different con-
troller settings which are the optimum for the respective axis. The interpolation path strategy can now be specified.
In order to ensure a uniform following error, the settings must
be changed to match the axis with the slowest response; this
includes the Kv factor and the feedforward control mode. (The Strategy "1105. Path optimization with dynamics matching
parameters selected for the interpolating axes are shown on element" is recommended.
the next page.)
Select the functions in the tuning menu in order to optimize
the path interpolation:
Notes
Tn is not adapted. The axes that are to interpolate together can be selected.
Reference model (speed control) is not adapted. In the example, these are the X1, Y1, Z1 and A1 axes:
Kv factor is not adapted
→ The optimum axis values are retained.
Notes
1.) Determining the axis’ inertia The motor turns with the speed nM and delivers the torque MM.
That is transferred to the load side by the gear box with the
gear factor i = nL / nM = MM / ML. A lead screw with a pitch of h
2.) Determination of the torque maximum limit is transforms this rotary movement, which is applied to
through the slide to the workpiece: F‘L = ML * 2π/h resp.
v‘L = nL * h/2π.
3.) Determination of friction and holding torques
In order to convert the impact of masses use is made by the
mass moment of inertia. The equations are quite similar to the
4.) Determining of the inertia with maximum loading ones mentioned above; only the screw pitch and the gear fac-
tor are squared:
m‘L = JM / (h/2π * 1/i)2.
5.) Calculation of the maximum acceleration
The mass inertia of an axis will be determined during Automat-
ic Servo Tune an written in MD32650. If the task is to get the
6.) Check of the determined values inertia of a loaded axis, the additional mass must be converted
from the load to the motor side an added to this value.
Notes F‘L
In all calculations in this chapter, quantities that refer MM
to the motor side are marked with the index M, e.g. MM;
rotary quantities which refer to the load side with the
index L, e.g. ML and translational variables which refer
ML
to the load side are marked as primed quantities with
the index L, e.g. F‘L.
In order to find the signals you can make use of the search
filter function.
The first signal we need is the actual value of the torque- Do as well with the two other variables.
producing current:
When all variables have been added, you must still perform
some settings:
Notes
Start/initialize trace:
The peak at the beginning shows the current during the start
out of static friction. This value is not relevant to these consid-
The three traces will be displayed together; the scaling can be
erations.
adjusted: Click “Zoom“ and choose “X-time axis“ and “Y-value
With the help of the cursor the maximum current of the area
axis“ (both softkeys are now highlighted in blue). Now choose
with constant velocity can be determined.
“Fit overlaid“.
The determined current can now be, again by means of the
Both range and the momentary current actual value will be
torque constant kT, converted into a torque value MM,FH.
displayed:
Notes
4. Determining the inertia with maximum loading 5. Calculation of the maximum acceleration
Until now only unloaded axes were taken into consideration. If Finally, the determined values have to be combined and con-
however a work piece is clamped, the motor need more cur- verted to the load side (the maximum axis acceleration is
rent to achieve the commanded acceleration. If we set up the saved with regard to the linear movement in the controller).
formerly determined values, the motor would quickly reach
current limitation when trying to provide the corresponding The maximum torque on the motor side is calculated as
torque. So, the maximum torque has to be adapted to the MM,max,tot = MM,max - MM,FH and can be converted to a maximum
maximum loading. force F‘L,max on the load side with help of the given formula.
The maximum total inertia is determined as
It is important to figure out realistic values of the loading and Jtot = Jempty + JmaxLoading and converted to a total mass m‘L,tot
possibly set up additional, loading dependent, datasets be- on the load side.
cause the maximum acceleration (depending on the mass of
the additional loading) can be very small. By this the desired The maximum acceleration can be determined by the interre-
acceleration for this machine can possibly not be reached any lationship F = m × a.
more. In the extreme case (madd.loading = Vprocessingarea × ρMaterial)
resulting masses will realistically never be reached on a real
machine. This heavy masses would lead to a very slow accel- This value should be put into MD32300 and confirmed with cf.
eration and by this to longer machining times.
Note: In order to keep the controller from limiting the current
further, the parameter p500 in the drive parameters has to be
set to “[101] Feed drive“ for feed drives!
6. Checking the determined values Add the following variables to the trace as described previous-
To make sure that the set maximum acceleration is not too ly:
high, it can be verified. Nck/ServoData/nckServoDataActVel1stEnc64
(speed actual value)
For this purpose a new part program has to be generated. Nck/ServoData/nckServoDataDrvLoad64
This program moves the axis within a given distance so that (Load (m_cmd / m_cmd,limit))
the programmed rapid traverse velocity can be reached, e.g. Nck/ServoData/nckServoDataActCurr64
300 mm. (torque producing current act. value)
SOFT
$AN_SLTRACE=0; Reset Start Trace-Trigger Start the trace:
LAB:
G0 X0
$AN_SLTRACE=1; Start Trace-Trigger
X200 and adapt the display:
GOTOB LAB
M30
Notes
Example
The cursor shows that the
Trace selection reached maximum load was at Relevant machine data
about 58.52%.
Imax, MoMo p67 Max. current of the
power module
Step 1: Determination of the axis inertia Now determine the maximum permissible linear force:
JMD = 0.0054 kg m2 (MD32650) F‘L, max = MM,max × (2π / h) × i = 29.1 Nm × (2π / 0.01 m) =
Jempty = 1.11 × JMD = 0.0060 kg m2 = 18275 N = 18.3 kN
(Notice: AST must have been performed for this axis before!)
Step 2: Determination of the torque upper limit Then determine the mass on the load side:
m‘L,empty = Jempty / (h/2π × 1/i)2 = 0.0060 kg m2 / 2.60 × 10-6 m2 =
Imax,MoMo = 36 Aeff (r67) = 2366 kg
Imax,motor = 52 Aeff (p323)
kT = 1.05 Nm / Aeff (p316) This yields the maximum permissible acceleration:
h = 10 mm (MD31030) amax = F‘L,max / m‘L,empty = 18.3 kN / 2366 kg = 7.72 m/s2
i=1 (MD31060 / MD31050)
Enter this value in MD32300 (to ensure that the maximum per-
Power module current limit (Imax,MoMo) ≤ motor current limit missible limit values for mechanics and electronics are not
(Imax,motor), that means, continue to use Imax,MoMo for your calcula- exceeded when performing further tests) and confirm with cf.
tion. Consequently, the maximum electrical torque ME (80% of
the available torque) results: Step 3: Determination of the friction and holding torque
As described in the theoretical part, perform the trace (which is
Mel,max = 0.8 × kT · Imax,MoMo = 0.8 × 1.05 Nm/A × 36 A = displayed here with the Z axis instead of the X axis ). The trace
= 30.24 Nm is displayed on the next page.
In this example, the mechanical limitation is defined via the You can now read off the maximum current from the diagram
gearbox. The machine specification stipulates that the maxi- during constant traversal and convert it into a torque value:
mum input torque Mme,max may not exceed 29.1 Nm. IM,RH = |- 8.6 A| = 8.6 A
MM,RH = kT × IM,RH = 9.0 Nm
Mme, max < Mel,max: The mechanics is limiting. MM,max = Mme,max
Notes
Together with the load mass, this yields the following accele-
ration:
Step 4: Determination of the maximum load This value is now entered in MD32300 and confirmed.
As, on the milling machine, the Z axis only comprises the tool, Step 6: Check of the values determined
we assume a maximum additional load of approx. 30 kg: Finally, check the settings. The trace is created, as declared in
the theoretical part. The result (see next page) shows that the
m‘L,load = 30 kg utilization is 76 % and thus close to the requested value of
80 %.
Together with the mass of the empty axis determined before,
this yields: The optimization process is thus completed.
m‘L,total = m‘L,empty + m‘L,load = 2366 kg + 30 kg = 2396 kg
Fault cases
Notes
Axis jerk
Example: Jerk effects on the acceleration curve
After completing the automatic servo tuning, the axis
acceleration should be set to meet the requirements of
the machine manufacturer (a check is made later during without jerk-
the torque utilization check). limited accelera-
tion
Large acceleration changes frequently occur with dynamic
axis movements. If these acceleration changes (generally with jerk-limited
called jerk, unit: m/s³) are very large, oscillations can occur on acceleration
the machine axis and thus result in an inexact workpiece con-
tour. In order to reduce this effect, the control can reduce the
jerk. This lengthens the time during which the acceleration
changes.
In the chart on the left, the active jerk filter is indicated by the
rounded corners of the velocity curve.
If the machine axis is using a direct measuring system then the FFWON
actual position value can be determined easily. However, if the SOFT
position control loop is closed via a motor encoder then it is $AN_SLTRACE=0; Reset Start trace trigger
much more difficult to display the position values (e.g. via an LAB:
external measuring system). In this case, the measured posi- G01 Y-110 F10000
tion curves serve as the minimum criterion: overshoot on the G04 F0.5
motor encoder must be avoided. $AN_SLTRACE=1; Start trace trigger
Y-160
Usually, jerk limitation values between 20 and 100 m/s 3 are set G04 F0.5
(corresponding values for rotary axes). GOTOB LAB
Notes
The axis moves and the selected signals are monitored for five The following example shows the setting of the scale in order to
seconds. The result is then shown. view tha axis positioning at -110 mm.
The entered values result in a 100 micrometer window around
the target position of -110 mm.
A different scale may be required depending on the machine/
axis used.
The X minimum / X maximum values can also be adapted when
required.
Notes
Example - jerk too high: This chart shows the rise in jerk until overshoot occurs due to
the mechanical system.
Axis machine data 32431 is used to set the jerk.
Correct the oscillation of the actual position value by reducing
Example - jerk too high: the MAX_AX_JERK.
MD 32431 MAX_AX_JERK = 600
Notes
Example - jerk too low: Positioning with feedforward control and active position
MD 32431 MAX_AX_JERK = 2 contoller:
The positioning contour is rounded when the jerk is too low. If the jerk has been tuned, the position controller and the feed-
forward control must be activated. Set the machine data as
required:
Notes
Circularity test Technically, the worst case scenario of circle radius and path
velocity must result in a radial acceleration of which the ma-
The circularity test of the controller is used to check the chine is capable.
interpolation of the axes working together. This function
measures a circle, either with the direct measuring system or A distinction is made between the following scenarios:
the motor measuring system. An alignment of the machine
mechanical system is not taken into account in the result. Standard circularity tests of machine manufacturers normally
This enables the commissioning engineer to clearly separate use a radius of 100 mm or 150 mm for feedrates that are
the problems of the controller tuning from the mechanical specified by the machine manufacturer. The machine manu-
problems. It is recommended to verify the machine geometry facturer defines the specifications or an acceptable result.
by using an inspection square (granite master square).
High-speed machining operations generally place high de-
The following position error compensations should be mands on precision at high speed. Therefore, for high-speed
switched off when this procedure is being performed: milling machines, the test circle radii should be in the range
Backlash on reversal compensation MD32450 from 10 to 25 mm and the feedrates in the range from 5 to
10 m/min. The results for high-speed milling machines are
Spindle compensation MD32700 generally acceptable when the p/p difference ≤ 0.010 mm and
CEC compensation MD32710 the actual size of the circle is the same as the programmed
Temperature compensation MD32750 radius.
Friction compensation MD32500.
Paremeterizing the circularity test
Note: Backlash on reversal MD32450 must be adapted via an
Open the circularity test user interface:
external device, such as circularity test or dial gauge.
The best contour results are only achieved when the circulari-
ty test returns the correct actual size and shape as well as a
minimum p/p difference for all axis combinations (X-Y, X-Z, Y-
Z).
Notes
The machine data shown below is from a real machine that This results in the following figure:
has been used for the following circularity test examples.
Date Description X Y
32620 FFW_MODE 3 or 4 3 or 4
32890 DESVAL_DELAY_ENABLE 1 1
32895 DESVAL_DELAY_TIME 0.0009 0.0009 The circle is now only 0.00021 mm too large.
Note:
The already existing value has been adapted by AST. Since SW 4.7, it is recommended that the adaptation only
To correct the circle radii, the time constant be performed in special cases via the AX_JERK_TIME
DESVAL_DELAY_TIME is increased in both axes by 0.0002 (MD 32410).
s to 0.0011 s, and activated by cf (whereby the channel must
be in Reset).
Notes
Example:
In the following example, the X1 axis is too "slow" and cannot
follow the movement of the Y axis. The time constant of the X
axis must therefore be reduced or that of the Y axis in-
creased.
An improved circularity is shown after the adaptation.
Notes
Compare the preset MD with the MD shown below as well as all the relevant parameters for spindle/axis interpolation.
The example applies to a 8000 rpm spindle motor without mechanical gear stages.
The following parameters can be preset with the values proposed in the table. The values vary depending on the application.
Notes
Now consider the motor data sheet. For example, 1PH8089-1VM02-0MG1 induction motor:
Make sure that the spindle has been selected when you add
the variables:
Notes
After completing the trace function, press the "Fit all" softkey:
S8000 M03
G04 F5
M30
The acceleration time can be determined with the cursor: The power that is used/available for the acceleration of the
motor can be seen on trace 2:
Trace selection:
actual power
Notes
The torque setpoint can be seen on trace 4: Based on the motor data sheet, the acceleration/deceleration
can be changed up to the maximum values. However, this
Trace selection: depends on the respective application.
torque setpoint
Enter suitable values for the application. In our example, a
short acceleration/deceleration time was required.
The maximum values from the motor data sheet are entered
in the appropriate drive data:
Torque setpoint
= 4.8 Nm = S1 curve.
Notes
The following variables can be selected in the trace window: Select the trace trigger, etc. via the "Settings" softkey.
Position setpoint (64-bit) The example shows a trace that is triggered as soon as the
Actual position value measuring system (64-bit) actual position exceeds 5 degrees. The trace is recorded for
Contour deviation (64-bit) 10 seconds.
Utilization (m_set/m_set,limit) (64-bit)
Note: Make sure that the correct signal is selected when moni-
toring measuring systems, e.g. measuring system 1 or 2.
In the example below, the utilization reaches 64% and the posi-
tion control acceleration can be increased.
However, during tapping the spindle can operate above the S1
curve so that you must ensure that the utilization does not
reach 100% as otherwise "Contour monitoring” alarms are out-
put.
Notes
Utilization = 88%
Notes
Advanced Surface
Background
The “High Speed Settings“ Cycle 832 supports the tooling of free-form surfaces in 3- or 5-axis programs. A good compromise
between machining time and surface quality. The softer the machine runs, the better the surface gets – i.e. a low jerk value has
to be chosen (e.g. between 20-50 m/s3). However, the machining time takes longer in this case. In order to save time, when
roughing the jerk and the acceleration can be set higher by the selection of DYNROUGH. Therefore index 2 of the appropriate
value has to be set to a reasonable value. Normally one will determine experimentally which jerk value is, despite the time
saved, not too hard for roughing, and when surface and accuracy of the part are ok within roughing.
Cycle 832 knows thee different types of machining: roughing, semi-finishing and finishing. For each of this modes there are, in
addition to the normal axis data (DYNNORM), a set of necessary settings. This additional parameters occur only in MD32431
and MD32300.
The dynamic G-code DYNPOS is used mainly for positioning purposes, as tapping.
In order to prevent too many acceleration and stopping operations during milling, it is recommended to use a lower value, as
2 m/s2, while finishing. The acceleration during roughing can be set to the calculated maximal value.
The previously determined jerk value can be set for finishing. For roughing operations, it is recommended to put in a value that is
for times as high as the one for finishing.
Moreover the jerk of the path (MD20600[0…4]) should be set to 10,000 because the jerk values are set for every individual
axis.
In order to be able to determine the appropriate values all optimization steps mentioned before should be performed first of all.
To get approximate start values for an optimization, the set-up rules are summarized in the table below:
Now the settings can be refined. Therefore it is recommended to create a part program for the verification of these settings. The
optimization is finished when the component properties (especially the surface quality) are as desired. If the surface does not
meet the specifications, the maximum jerk and acceleration values of the dynamic G-code must be further reduced.
Notes
Recommend-
MD Name Description Comment
ed value
10050 $MN_SYSLOCK_CYCLE_TIME Basic system cycle 0.002 - 0.004 HW dependent
10070 $MN_IPO_SYSLOCK_TIME_RATIO Factor IPO-cycle 1-2
10200 $MN_INT_INCR_PER_MM Internal calculation resolu- 100 000 100,000 for export version
tion linear axis
10210 $MN_INT_INCR_PER_DEG Internal calculation resolu- 100 000 100,000 for export version
tion rotary axis
10680 $MN_MIN_CONTOUR_ SAMP- Minimal contour sampling = MD 10200 100,000 for export version
LING_TIME time
10682 $MN_CONTOUR_ SAMP- Contour sampling factor 1 Default
LING_FACTOR
18360 $MN_MM_EXT_PROG_ BUF- Maximum reload memory 500 Against sticking, in some
FER_SIZE when xecution from exter- cases values like 2000 had
nal to be used.
18362 $MN_MM_EXT_PROG_NUM Number of ext. programs 2
that can be simultaneous-
ly processed
19330 $ON_IPO_FUNCTION_ MASK Compressor functionality If only the Bit 8 = 1 is acti-
Bit 8: 3-axis Bit 8 = 1 vated and a 5 axes program
Bit 2: 5-axis Bit 2 = 1 will be executed, only the
tool path will be compressed
not orientation.
NO ALARM!
Recommend-
MD Name Description Comment
ed value
20150 $MC_GCODE_RESET_ VALUE[3] Initial setting G group 4 3 FIFOCTRL
Notes
20602 $MC_CURV_EFFECT_ON_ Ratio, translator to cen- 0.6 (depends Limitation of the centripetal
PATH_ACCEL [3] tripetal acceleration on machine acceleration
(DYNSEMIFIN) mechanic)
20602 $MC_CURV_EFFECT_ON_ Ratio, translator to cen- 0.5 (determined Limitation of the centripetal
PATH_ACCEL [4] tripetal acceleration by circularity acceleration
(DYNFINISH) test)
Notes
Recommend-
MD Name Description Comment
ed value
20603 $MC_CURV_EFFECT_ON_ Effect path curvature on 0 Deactivated
PATH_JERK path jerk
20605 $MC_PREPDYN_SMOOTHING_ Factor for curve smooth- 1 Default
FACTOR [0-1] ing
20606 $MC_PREPDYN_SMOOTHING_ Activates curvature 0 Default
ON[0-1] smoothing for selected
technology-specific dy-
namic values
(DYNNORM, DYNPOS)
Notes
Notes
Applications
If the maximum possible position control gain is to be calculated, the "max. Kv" limit must be increased to a higher value (e.g. 20
m/mm/min).
Milling spindle:
The robust or moderate tuning objective is recommended.
The tuning refers to the establishment of a stable speed controller and a stable position controller. The feedforward
control is also set.
If different gear stages are used, they must be selected before each tuning and then tuned with AST.
If third-party motors are used, they must be set up with the aid of the respective data sheets or SINAMICS MotID.
The current controller adaptation, etc. is not determined through AST.
Because of the unknown mounting situation and greatly varying loads, it may be necessary to manually influence the measuring
parameters for the speed-controlled system.
You can do this after a measurement, or— if the required measuring parameters are already known — selected at "Strategy"
before starting the tuning.
Notes
Gantry:
The gantry grouping must be set up and synchronized in the SINUMERIK. AST recognizes which axes belong to the gantry
grouping and tunes all the associated axes automatically. Whereby, the gantry grouping is traversed with all axes and each axis
measured individually. The tuning results are checked for dynamic equivalence. All gantry axes are then set with the same
speed controller and position controller dynamic response. The current setpoint filters can be different (sutiable for the respective
axis).
Requirement: In order to be able to ensure that all gantry axes have the same dynamic response, the axes must have
the same structure (same motor types, same encoders, same gear ratio).
Master-slave:
Must be tuned manually
If a clamping arrangement is required (torque difference), the clamping torque must first be selected and the torque compensato-
ry controller set.
The speed-controlled system, the speed controller reference frequency response and the position controller reference frequency
response can then be measured manually.
During this process, the master-slave grouping is always moved uniformly with all motors.
Notes
Notes
Module Description:
The "Adaptive Friction Compensation" option of the SINUMERIK 828D is described in this module.
This option enables acceleration-dependent friction effects at the reversal points of an axis to be
partly or totally eliminated.
Module Objective:
In order to be able to use the friction compensation with its new functionality, it is important to
understand the technical background and to know the individual input steps. This is explained in
the module.
SINUMERIK
Content:
Technical background
Requirements
Automatic optimization
Manual optimization
Expert settings
828D SINUMERIK Operate V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B106
B106
Adaptive Friction
Compensation:
START
Technical
background
Requirements
Implemen-
tation
Automatic
optimization
Manual
optimization
Expert
settings
Adaptive Friction
Compensation:
END
Notes
Technical Background
"Stiction" from Debenben - Own publiction. licensed under Creative Commons Attribution-Share Alike
When starting an axis from standstill, stiction forces occur (F H)
that are opposite to the desired axis movement and keep the
axis stationary (see figures 1-3 on the right). Only when a criti-
cal friction force is overcome is the body released from standstill
http://commons.wikimedia.org/wiki/File:Stiction.svg#mediaviewer/File:Stiction.svg
and starts to move (figure 4). The stiction forces are caused
mainly by the guide mechanism and bearings of the axis. The
effect can often be reduced through sufficient lubrication. How-
ever, if suitable workpiece quality cannot be achieved at the
reversal points, the Adaptive Friction Compensation can be
used.
Requirements The required softkey does not appear until the license has
been activated and the machine data has been set for at least
The license 6FC5800-0AS06-0YB0 must be purchased in or- one axis.
der to be able to use the Adaptive Friction Compensation func-
tion. The associated Friction compensation with adaptive
characteristics option must be activated in the License menu:
$MA_FRICT_COMP_MODE 32490[0] = 3
$MA_FRICT_COMP_ENABLE 32500 = 1
Notes
A
The values acceleration, amplitude (of the velocity injection
pulse), active time and decay time are relevant for the use of
the compensation.
Time t
The amplitude (A) describes the height of the velocity injection [s]
pulse at the reversal point.
The active time (B) is the time which the amplitude is added to The feedrate values for the interpolation points can be preset
the feedrate. individually. The control calculates the accelerations from
The amplitude is reduced during the decay time (C) in the form feedrate and travelled circle radius with a=v²/r and saves the
of a decaying exponential function. respective values as interpolation points in the machine data.
The required values for amplitude, active time and decay time
between the specified interpolation points are then interpolat-
ed linearly during operation.
Notes
Automatic optimization
Axis selection
The axes on which the Adaptive Friction Compensation is to
be used can now be selected. It is recommended that you
optimize all of these axes. Each axis is traversed and opti-
mized separately.
Radius: $SCS_FRICT_OPT_RADIUS
Feed: $SCS_FRICT_OPT_FEED[i]
- i = 1 … 9 (interpolation points) Note: The channel must be in the AUTO mode and all select-
- Not all possible interpolation points have to be ed axes must be enabled.
assigned feedrate values; however, an entry of 0
cannot be followed by entries not equal to 0 After the required axes have been selected, press "Start".
The values of the rotary axes are in the respective variable
with the extension _ROT.
Notes
The measuring cycle now starts. The measurement progress Information on the number
is displayed next to the axis being optimized. of steps and feedrate
Selected axis
The current results and the determined parameters can be
displayed. To do this, click in the graphic (see the figure on Determined comp.values
the right).
Notes
2 axes:
Traversing of two geometry axes in a circle
This function is only relevant for special cases and is
not considered further here
Extended settings
The parameters to be set are identical to those of the auto-
matic optimization and are described in the relevant section.
Only the direction of rotation is also required
($SCS_FRICT_OPT_DIR_MINUS). However, this is only
active for two-axis traversing.
Before the adaptation: Determine the target tolerances and Operating mode = AUTO and enables active
specify the possible feedrates for a circular path. "Start" softkey
If required, adaptation of the program
There is a plausibility check before the start of the measure-
ment. The following parameters are checked: Confirmation of the program
- Observance of the maximum permissible feedrates NC start
for the machine
- No 0 for the feedrates of the interpolation points The NC now performs the circle measuring program cyclically
(unless it is the last specified value) and displays the result in the circle diagram. Changes can
now be made to the compensation values. The current meas-
Recommendation for the setting of the feedrates: urement is terminated, the new parameters activated and the
1. Average feedrate measurement started again automatically.
2. High feedrate
3. Low feedrate
Now measure and adapt these three interpolation points. As an example, the X axis of a real machine is measured.
If required, interpolation points can be inserted one after the The circularity diagram shows the following result:
other and the compensation parameters set if the measured
values are not in an acceptable tolerance band. If the result is
satisfactory from the start, the relevant intermediate point can
be removed again.
Notes
Equidirectional deviation
→ Reversal points do not have to be adapted separately
Notes
The deviation can already be reduced by adapting the ampli- Select the text field:
tude and the decay time.
The measured values are now within the tolerance band and
the measurement can be continued with the next step.
Notes
Module Description:
Module Objective:
At the end of this module, you will be able to add to a running system:
An additional axis
A NX
Content:
Sinumerik
Information
Extension with NX
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B016
B016
Additional Axis
Installation:
START
Information
Options and
Licensing
Adding the
Additional
Axis
Extension
with NX
Additional Axis
Installation:
END
Notes :
Informatiom
There are three scenarios that can take place when adding an
additional axis
Option 1 Option 2
Line module sized correctly for all 4 axis plus spindle. Line module sized correctly for all 4 axis plus spindle.
All options commissioned with all enabling within the PLC for All options commissioned with all enabling within the PLC for
the A axis. the A axis.
Channel MD 20070 is set to 0 for the A axis Channel MD 20070 is set to 0 for the A axis
Drive MD p105 is set to 0 for the A axis Drive MD p105 is set to 0 for the A axis
The A axis motor and encoder cables are removed, and sold The A axis motor module, motor and encoder cables are re-
to the customer as an option, and setting the above MD and moved, and sold to the customer as an option, and setting the
parameter to 1 for additional axis use. above MD and parameter to 1 for additional axis use.
Notes :
To replicate a standard 3 axes + spindle milling machine, the Options and licensing
drive configuration has been changed so that only the double
axis modules are used. Any additional axes may need to be licensed. To check
The single axis module that was previously used for the spin- whether the licence already exists go to the licence screen:
dle will now become the additional axis.
The 3 axis + spindle DriveCLiQ configuration can be seen
below:
The new axis also needs to be added in the channel machine Configuring the Additional Axis
data area.
The axes have been assigned to the drives in the following
way:
Notes :
When the new hardware is fitted and the controller powered To add the new component use the following procedure:
up, the system will detect the extra hardware and issue an
alarm.
Configuration with the additional axis can be seen below:
Notes :
or
or or with
Notes :
The axis assignment function results in certain machine data Testing will only be possible if the PLC interface signals for the
for the axis being set. It is however necessary to check and new axis are set
adjust machine data to suit the individual requirements of
specific machines. Interface signals required for this example:
The follow machine data should be set to allow the axes to DB3804.DBX1.5 Activate 1st measuring system.
function as a rotary axis. DB3804.DBX2.1 Controller enable.
MA_IS_ROT_AX DB3804.DBX4001.7 Pulse enable.
With the following machine data should be checked for speed A full list of interface signals is available in Appendix C.
of the rotary axis.
NOTE:
(Not recommended on actual machines)
Notes :
Extension with NX
The drive data must be saved before the extension! ( Module A17 chapter on data management)
The existing 5-axis system (spindle, X, Y, Z, A) on the NCU is extended with a NX10.
With the new topology, the X-axis and the Y-axis are on the NX10, the spindle, the Z-axis and the A-axis remain on the NCU!
X105 X105
1 2 3 4 1 2 3
X104 X104
Sp Z A X500 X Y
SMI- 13 SMI- 10 SMI- 7 SMC SMI- 7 SMI- 4
ENC- 14 ENC- 11 ENC- 8 ENC- 5 ENC- 8 ENC- 5
MOT– 15 MOT– 12 MOT– 9 MOT- 6 MOT– 9 MOT– 6
2 3 4 2 2 3
Notes :
Notes :
The drive system overview now shows the new machine con-
figuration!
With the "Load data from a file" function, select a drive file
with the extension .TEA (source) and the servo (target).
Confirm the selection with the "OK" softkey.
Notes :
The source DOs must be loaded via the "Adapt" softkey func-
tion!
Caution: Never direct Load "Actual topology will be over-
written"!
A016: END
Notes :
Module Description:
Easy extend is a system which gives the seller of the machine a mechanism to enable the hardware
options which are offered by the machine tool builder, without the necessity for service intervention.
Module Objective:
Upon completion of this module you will be able write Easy extend scripts to enable and activate
machine builder options.
Content:
Sinumerik
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B009
B009
Easy Extend:
START
Tag
Descriptions:
Dialogue
Screens
General
Information
and Concept
Adding
language
files
Creating
XML scripts
Easy Extend:
END
User PLC
Program
Enabling
and Testing
Devices
Creating and
Restoring a
“rollback“
archive
Additional
Axis
Addressing
of Variables
General Tag
Descriptions
Notes :
General Information
XML Files
Easy Extend uses Extended Mark-up Language.
The agm.xml file is the main file and entry point for Easy Extend.
All Easy Extend devices originate from the agm.xml file, this can include calls to other xml files to simplify the programming
structure.
The XML language used in the 828D is none standard and has been extended to allow the following data processing and high-
level language elements:-
User PLC
Data Block EE_IFC (DB9905) is located in the PLC828D library and has to be integrated into the OEM´s PLC project.
Interface signals for activating and deactivating devices are to be found in the Data Block.
Device Enabling
Devices first need to be enabled, this can be done using one of two methods.
Enabling by PLC variable: A PLC variable is declared in the agm.xml file, the status of the variable is checked. This method is
used if the device is to be password protected.
Enabling by machine data: A user machine data is declared in the agm.xml file. If the corresponding bit of the machine data is
set the device will be enabled.
Device Activation
Once a device has been enabled it can be activated. Activation is done with a soft-key on the Easy Extend screen and with PLC
interface signals for acknowledgement.
Toolbox Examples
The 828D toolbox supplied with the controller contains various Easy Extend and PLC project examples which can be used to
supplement the information supplied in this module.
Notes :
<START_UP>
</START_UP>
</AGM>
<AMG>
<OPTION_MD name = "plc/db9061.dbw0" index = "0">
<OPTION_MD name = "plc/db9061.dbw2" index = "1">
<OPTION_MD name = "plc/db9061.dbw4" index = "2">
<OPTION_MD name = "plc/db9061.dbw6" index = "3">
<!.....................................................................................................>
<DEVICE>
<list_id>1</list_id>
<name> "Basic Machine Settings"</name>
<password refvar - "plc/db9062.dbd0" />
<START_UP>
</START_UP>
<FORM>
..
</FORM>
<SET_ACTIVE>
..
</SET_ACTIVE>
<SET_INACTIVE>
..
</SET_INACTIVE>
</DEVICE>
PLC <!.....................................................................................................>
<DEVICE>
DB9905 <list_id>2</list_id>
<name> "Spindle Motor (Speed)"</name>
</DEVICE>
Byte Bit Description <!.....................................................................................................>
0 0 = = 1 - device has been commissioned (HMI feedback signal) <DEVICE>
1 = = 1 - device should be activated (HMI request) <list_id>3</list_id>
<name> "Tool Changer"</name>
2 = = 1 - device should be de-activated (HMI request) </DEVICE>
3-7 Reserved <!.....................................................................................................>
1 0-7 Reserved <DEVICE>
2 0 = = 1 - device is activated (PLC feedback signal) <list_id>4</list_id>
1 = = 1 - device has faulted <name> "Spindle Centre Coolant"</name>
</DEVICE>
2-7 Reserved <!.....................................................................................................>
3 0-7 Unique ID of the device </AMG>
Notes :
An example of the Easy Extend screen from an actual machine showing some of the types of options which can be handled us-
ing the Easy Extend function.
Notes :
Creating XML Scripts The agm tag is the root element of the agm.xml.
All other tags are written inside this tag.
A unique file named “agm.xml” is required for Easy Extend.
This file has to be created by the user. Creation of the xml files can be done directly on the controller
or indirectly using AMM Access MyMachine or suitable editing
It is possible to configure all devices within the “agm.xml’. It is program such as Notepad ®.
also possible to use separate xml files for each individual de- Advanced xml editing software programmes are also commer-
vice. These files are called from within the agm.xml file. cially available.
The xml files use tags, which are required for code execution. The required directory is found under the following path:
Each tag performs a specific function. System CF card\oem\sinumerik\hmi\dvm
Example:
<name of tag> “open tag”
Enter script in here
</name of tag> “close tag with / slash”
Notes :
Rather than have one file containing the code for many
devices, it makes sense to have one file for each device.
Locate the “dvm” folder .
These separate files can then be called from within the
agm.xml file.
Notes :
The individual xml files for each device should be placed in the
same directory as the agm.xml file.
password_refvar tag:
The password entered on the Easy Extend screen
will be stored here i.e. DB9062.DBD0
</DEVICE> Close the DEVICE tag
<DEVICE>
<list_id> 1 </list_id>
<name> "Test Password" </name>
<password refvar = "plc/db9062.dbd0" />
</DEVICE>
Notes :
Double clicking the DB will open up the properties and allow The Data Block will now appear in the Data Block folder of the
the Data Class to be selected, also the author can enter project. Other Data Blocks may also be present.
details if required.
Right click on the Data Block folder and select “Insert Data
Block”.
Notes :
The user DB will require certain information to be entered depending on the number of devices in use.
DB9061
DB9062
The following PLC example can be used for enabling and activating devices using the PLC interface signals and the previously
created user Data Block.
Notes :
Device Enabling
Inputting the password:
To input the password, first locate the “Easy Extend” screen
via the following soft-key selection.
Notes :
The device is enabled but it is not operational until it is activated. This is achieved by pressing the “Activate” button.
A green tick symbol will appear in the “Activated” column to confirm this.
When the activation is successful the “Activate” interface signal will be high for one PLC cycle. This should be used in the PLC
logic to set the “Activated” interface signal.
Device enabled:
Entered password matches required
password, enable signal is then set.
Device activated:
Activation interface signal is set.
When the “Deactivate” soft-key is pressed the “Deactivate” interface signal is high for one PLC cycle. This should be used in the
PLC logic to reset the “Activate” signal
Device disabled:
Password no longer matches, enable signal = 0
Activation interface
signal is reset
Notes :
<AGM>
</AGM>
The script within the Set_Active tag is run when the “Activate” soft-key is pressed. Likewise, the “Deactivate” soft-key runs the
script included in the Set_Inactive tag.
“MessageBox_test.xml”
<DEVICE>
<list_id>1</list_id>
<SET_ACTIVE>
<LET name = "var_return"> 0</LET>
<MSGBOX text="Activate Option 1. %n Press OK" caption="Activation of Option" retvalue="var_return" type="BTN_OK" />
</SET_ACTIVE>
<SET_INACTIVE>
</SET_INACTIVE>
</DEVICE>
Notes :
text - The text to be displayed in the message box. Using the characters “%n” results in a new line.
caption - The header of the text box.
retvalue - Defines the variable where the return value is copied. (Return values– OK = 1, CANCEL = 0.)
type - Acknowledgement possibilities:
“BTN_OK” - OK button.
“BTN_CANCEL - CANCEL button.
“BTN_OKCANCEL” - OK & CANCEL buttons
Notes :
Modify the agm.xml to include the new file:- <?include src= "Write_PLC_output.xml" ?>
Create the device file containing the function for switching a PLC output. This example has also been configured with a cancel
soft-key. The functions IF, THEN & ELSE are used to evaluate whether the OK or Cancel key was pressed. If the cancel key is
pressed the system variable “$actionresult” is set to 0. This interrupts the processing of the function.
<DEVICE>
<list_id>1</list_id>
<SET_ACTIVE>
<LET name = "var_return"> 0</LET>
<MSGBOX text="Activate Option 1 %n Press OK%n%nAbort press Cancel" caption="Activation of Option" retvalue="var_return" type="BTN_OKCANCEL" />
<IF>
<condition> var_return==1 </condition>
<THEN>
<DATA name = "PLC/Q4.7"> 1</DATA>
</THEN>
<ELSE>
<OP> "$actionresult" = 0</OP>
</ELSE>
</IF>
</SET_ACTIVE>
<SET_INACTIVE>
<LET name = "var_return"> 0</LET>
<MSGBOX text="Deactivate Option 1 %n Press OK%n%nAbort press Cancel" caption="Deactivation of Option" retvalue="var_return"
type="BTN_OKCANCEL"/>
<IF>
<condition> var_return==1 </condition>
<THEN>
<DATA name = "PLC/Q4.7"> 0</DATA>
</THEN>
<ELSE>
<OP> "$actionresult" = 0 </OP>
</ELSE>
</IF>
</SET_INACTIVE>
</DEVICE>
Notes :
<DEVICE>
<list_id>1</list_id>
<SET_ACTIVE>
<LET name = "var_return"> 0</LET>
<MSGBOX text="Activate Option 1 %n Press OK%n%nAbort press Cancel" caption="Activation of Option" retvalue="var_return" type="BTN_OKCANCEL" />
<IF>
<condition> var_return==1 </condition>
<THEN>
<DATA name = "PLC/Q4.7"> 1 </DATA>
</THEN>
<ELSE>
<OP> "$actionresult" = 0</OP>
</ELSE>
</IF>
</SET_ACTIVE>
<SET_INACTIVE>
<LET name = "var_return"> 0</LET>
<MSGBOX text="Deactivate Option 1 %n Press OK%n%nAbort press Cancel" caption="Deactivation of Option" retvalue="var_return" type="BTN_OKCANCEL"/>
<IF>
<condition> var_return==1 </condition>
<THEN>
<DATA name = "PLC/Q4.7"> 0 </DATA>
</THEN>
<ELSE>
<OP> "$actionresult" = 0 </OP>
</ELSE>
</IF>
</SET_INACTIVE>
<TEST>
<IF>
<condition> The condition of Q4.7 is
"PLC/Q4.7"==1 checked for a value of 1
</condition>
<THEN> If the above condition is true, a value of 1 is
<op> "$actionresult" = 1 </op> written to the system variable $actionresult
</THEN>
<ELSE>
<op> "$actionresult" = 0 </op> If the condition is false, a value of 0 is written
</ELSE> to system variable $actionresult
</IF>
</TEST>
</DEVICE>
To run the Test function first enter the “Start up” area of the Easy Extend area. The “Function test device” soft-key should be
pressed to initiate the test. A dialogue box will display the result of the test.
Q4.7 = 1 Q4.7 = 0
Notes :
LET
INIT
PAINT
TIMER
CLOSE
CAPTION
SOFTKEY_OK
SOFTKEY_CANCEL
Creating the Picture_test.xml: The following example shows how a bitmap is selected and positioned on the screen.
The bitmap file has to be placed in the same folder as the agm.xml file.
<DEVICE>
<list_id>1</list_id>
<password refvar="plc/db9062.dbd0"></password>
<name> "Picture Test" </name>
<FORM>
<init>
<caption>Easy Extend Picture Test</caption>
</init>
<paint>
<img xpos = "155" ypos = "90" name = "tiger.bmp" height="250" width="250"/>
</paint>
</FORM>
</DEVICE>
Notes :
System variables
<DEVICE>
<list_id>1</list_id>
<name> "R Parameters" </name>
<password refvar="plc/db9062.dbd0"></password>
<FORM>
<init>
<caption>Easy Extend Picture Test</caption>
<control name = "r_param_0" xpos = "100" ypos = "30" refVar = "nck/channel/parameter/r[0]" />
<control name = "r_param_1" xpos = "100" ypos = "45" refVar = "nck/channel/parameter/r[1]" />
<control name = "r_param_2" xpos = "100" ypos = "60" refVar = "nck/channel/parameter/r[2]" />
<control name = "r_param_3" xpos = "100" ypos = "75" refVar = "nck/channel/parameter/r[3]" />
<control name = "r_param_4" xpos = "100" ypos = "90" refVar = "nck/channel/parameter/r[4]" />
</init>
<paint>
<text xpos = "40" ypos = "30">R0</text>
<text xpos = "40" ypos = "45">R1</text>
<text xpos = "40" ypos = "60">R2</text>
<text xpos = "40" ypos = "75">R3</text>
<text xpos = "40" ypos = "90">R4</text>
<img xpos = "200" ypos = "150" name = "tiger.bmp" height="180" width="180"/>
</paint>
</FORM>
</DEVICE>
Notes :
Example:
<DEVICE>
<list_id>1</list_id>
<name> "Rollback Archives" </name>
<password refvar="plc/db9062.dbd0"></password>
<START_UP>
</START_UP>
</DEVICE>
Notes :
When the archive has been created the „Back“ soft-key is se-
lected.
In the event that the previously created archive needs to be Activating and deactivating axes
restored, the “Restore” soft-key can be selected and the dia-
logue box acknowledged. A common requirement is for an extra axis to be added.
A machine can be initially commissioned to include all axis
possibilities. The optional axis can then be deactivated until
required.
Notes :
<SET_ACTIVE> As can be seen in the example xml file, the drive parameter-
<data name = "drive/dc/p105[DO5]">1</data> “P105 Activate/deactivate drive object” is responsible for
<data name = "$MC_AXCONF_MACHAX_USED[4]">5</data> activating/de-activating the drive part of the system.
<data name = "drive/dc/p971[DO5]">1</data>
<while>
<condition> "drive/dc/p971[DO5]" !=0 </condition>
</while>
<control_reset resetnc ="true" resetdrive = "true"/>
</SET_ACTIVE>
<SET_INACTIVE>
<data name = "drive/dc/p105[DO5]">0</data>
<data name = "$MC_AXCONF_MACHAX_USED[4]">0</data>
<data name = "drive/dc/p971[DO5]">1</data>
<while>
<condition> "drive/dc/p971[DO5]" !=0 </condition>
</while>
<control_reset resetnc ="true" resetdrive = "true"/>
</SET_INACTIVE>
</DEVICE>
Notes :
$MX_<Name[index, AXyy]>
$SX_<Name[index, AXyy]>
The axis index number can also be read from a local variable:
Example:-
Axis index with the index number obtained from the variable called “axis”. This would be written as AX$axis.
Examples:-
<data name=“$MN_AXCONF_MACHAX_NAME_TAB[0]”>X1</data> Writing a value of X1 to general machine data
$MN_AXCONF_MACHAX_NAME_TAB[0]
Indirect addressing:-
<let name=“axisindex”>1</let> Declaring a temporary variable called “axisindex” and setting the value to 1.
<data name=“$MA_CTRLOUT_MODULE_NR[0, AX$axisindex]”>1</data> Using the temporary variable to determine the axis
index number and writing a value of 1 into axis1 machine data $MA_CTRLOUT_MODULE_NR, index 0.
The GUD path is first specified followed by the specific area. If a field is to be used, this follows next and is contained in square
brackets.
Examples:-
<data name=“gud/channel/mgud/syg_rm[0]”>1</data> Defining the channel manufacturer gud - syg_rm, index 0 and writing
a value of 1 to it.
<op>“gud/channel/mgud/syg_rm[0]” = 5*2</op> The result of the multiplication of two numbers (5 x 2) is written to the
syg_rm[0] gud.
Notes :
PLC Addressing
Examples:
<data name = “plc/mb200”> 1 </data> Writing a value of 1 to MB200
NC Variables
<OP>TempStatus = “nck/channel/state/chanstatus” </OP> Writing the channel status in to the variable “TempStatus”.
Drive Addressing
The drive path starts with the component identifier (cu for the Control Unit, dc for a drive component)
The drive index number can also be read from a local variable:
Example: Parameter p0970 with the drive object number obtained from the variable called “drive”. This would be written as
p0970[do$drive]
Examples:
<data name=“drive/cu/p0092”>1</data> Writing a value of 1 to the cu, p0092
Indirect Addressing:
<let name=“driveIndex”>0</let> Declaring a temporary variable called “driveindex” and setting the value to 0.
<op>driveIndex = $ma_ctrlout_module_nr[0, AX1]</op> Reading the value of the NC variable (ctrlout_module_nr Axis 1) into
the temporary variable (driveindex)
<data name =“drive/dc[do$driveIndex]/p0092”>1<data> Using the temporary variable to determine the drive object number
and writing a value of 1 into p0092.
Notes :
Some XML editors can incorrectly display certain characters. The following operations are available for use:
These have to be re-written.
Operator Significance
&, & Logical AND operation (Bitwise)
&&, Logical AND opertaion
&&
+ Addition
— Subtraction
* Multiplication
/ Division
! Not
!= Not equal to
Notes :
Tag Function
AGM Main Tag, defines the device. All other tags are contained within this tag.
For writing directly to the NC, PLC, GUD and Drive areas.
Attributes: name variable address
All alphanumeric values can be used as tag values. When writing directly from a local variable the $
symbol should be used immediately in front of the variable name.
DATA Examples:
<data name=“plc/mb160”>1</data> (Writing a value of 1 into mb160.
<let name= “tempvar”>7</let> (Declaring a variable named “tempvar” and loading a value of 7 into
it.)
<data name= “plc/mb170”>$tempvar</data> (Writing the contents of the variable into marker byte
170.
For saving/restoring the listed drive and machine data. Up to 20
addresses can be listed line by line.
Attributes:
Action=“read” - saves the value of the variable into temporary memory.
Action=“append” - Attaches the value of the listed variable to an existing list.
Action=“write” - writes the saved values into the machine data
Id=“name” - Label given to the temporary memory
DATA_LIST Examples: Reading the values of R200, R201 & R202 into the temporary memory called “name”:-
<data_list action=“read” id=“<name>”>
nck/channel/parameter/r[200]
nck/channel/parameter/r[201]
nck/channel/parameter/r[202]
</data_list>
Writing the values back into the listed machine variables:-
<data_list action=“write” id=“<name>”>
The version number of the drive is copied into the $driveversion variable that is valid within the
DRIVE_VERSION
Device tag
ELSE A condition used if the instruction was not fulfilled.(Used in conjunction with IF, THEN)
The Form tag contains the user dialogue description. One dialogue is permitted per device. The
“Addition. Parameter” soft-key displays the user dialogue that is entered under this tag.
Attributes:
color - Background colour of the dialogue screen.
label - Optional name for the form.
FORM xpos - X Position of the upper left-hand corner of the dialogue box
ypos - Y Position of the upper left-hand corner of the dialogue box.
width - Extension in the X direction (Pixels).
height - Extension in the Y direction (Pixels).
Notes :
Tag Function
For the creation and restoring of archive files.
Attributes:
Create=“true” - Command to create an archive
Name=“filename.arc” or “filename.ard”- Filename
specified by user (.arc = complete archive, .ard = dataclass archive)
Class - Specifies that the archive will be a “Data class” archive (Choice of User, Manufacturer or Individu-
al).
If a class is not specified a standard archive containing NC, PLC, HMI & Drive data will be created.
Group - Specifies the data groups to be included in the archive.(Choice of NC, PLC, HMI & Drive data)
FILE Examples:-
Read in a standard archive called “complete.arc”-
<file name=”complete.arc/>
Read in a data class archive called “dataclass.ard”-
<file name=”dataclass.ard/>
Create a standard archive called “user.arc”-
<file name=”user.arc create=“true” />
Create a data class archive called “user.ard”-
<file name=”user.ard” create=“true” class=“manufacturer individual user” group=“nc plc hmi
drv”>
The archives are stored in the following path:- System CF card\oem\sinumerik\hmi\dvm\archives.
Contains the function body of a sub-function. This should be programmed within the AGM or DEVICE
tags. Globally used functions should be set up in the AGM tag.
Attribute:
name = “Name of the function body”
FUNCTION_ BODY Example:
<FUNCTION_BODY name=“function name”>
…
…
</FUNCTION_BODY>
ID Dialogue screen index of the device.
Conditional instruction (IF, THEN, ELSE)
Notes :
Tag Function
Setting up of a local variable with a user specified name.
Attribute:
name - variable name
type - The format of the variable can be integer (INT),
double (DOUBLE) or string (STRING). The default of INT is
assumed if no format is specified.
Examples:
LET <LET name=“variable_name” type=“STRING”/>
It is possible to assign a value to the variable eg 99:
<LET name=“variable_name” type=“STRING”>99</LET>
NC and PLC variables can be saved in a local variable using the “=“ operation. The format of the local varia-
ble automatically takes the format of the NC/PLC variable.
Variables that are required to be globally available should be set up directly after the AGM tag.
When used with a dialogue box, processing of the message opens up the corresponding DEVICE tag, this
tag is closed after the message is executed and as such deletes all variables within the DEVICE tag.
A message box is opened with this tag, the return value can be used to make a branch.
Attributes:
text - The text to be displayed in the message box. Using the characters “%n” results in a new line.
caption - The header of the text box.
MSGBOX retvalue - Defines the variable when/where the return value is copied. 0 - CANCEL, 1- OK,
type - Acknowledgement possibilities.
“BTN_OK” - OK button.
“BTN_CANCEL - CANCEL button.
“BTN_OKCANCEL” - OK or CANCEL buttons.
Execute instruction. For carrying out mathematical Operations with system and temporary variables.
Examples:
Setting a temporary variable equal to PLC system variable MB100
<op> tmpVar=“plc/mb100” </op>
OP Multiplying a variable by 2.
<op> tmpVar= tmpvar * 2 </op>
Setting PLC system variable MB100 equal to a temporary variable.
<op> “plc/mb100”=tmpVar </op>
Text can be output in the dialogue line or copied into a variable.
Attributes:
name - Name of the variable where the text is to be saved (optional)
text - The text to be output.
PRINT Values:- Number of variables whose values should be inserted in the text.
Format:- d Integer
f Floating point value
s String
Example: <print name=“variable name” text=“text” %formatting”> variable..</print>
Notes :
Tag Function
THEN Used with the IF, & ELSE commands. See the description for IF
VERSION Version Information
For Loop – This tag checks for a condition, if the condition is false, the loop will end.
Example:- Declaring a local variable as “count” with an initial value of 0. Set the condition to check that the
variable is less than or equal to 7. Increment the count by increments of one. When the value of the varia-
ble is more than 7 (False) add 1 to the count value and place the result in output byte 10.
<let name=“count=0”</op>
<for>
<init>
FOR <op> count=0 </op>
</init>
<condition> count <= 7 </condition>
<increment>
<op count = count +1</op>
</increment>
<op “plc/qb10” = 1+count</op>
</for>
This tag is used for the enabling of the device.
Enabling via PLC machine data:
14510 $MN_USER_DATA_INT[0] to $MN_USER_DATA_INT[3]
The devices are assigned to the machine data in logical order, each machine data handles 16 devices-
$MN_USER_DATA_INT[0] Devices 1 to 16 (Bits 0 to 15)
“ “ “ “ [1] “ 17 to 32 (Bits 0 to 15)
“ “ “ “ [2] “ 33 to 48 (Bits 0 to 15)
“ “ “ “ [3] “ 49 to 64 (Bits 0 to 15)
Bit assignment examples:
$MN_USER_DATA_INT[0] bit 15 = device 16
$MN_USER_DATA_INT[2] bit 12 = device 45
$MN_USER_DATA_INT[3] bit 1 = device 50
OPTION_MD Attributes:
name - machine data address - $MN_USER_DATA_INT
Index - index of machine data - [x]
Example:- <option_md name=“$MN_USER_DATA_INT0[0]/>
Enabling via PLC variable:
Example DB9061.DBWx.
When only devices 1 to 16 are in use, no index is required:
<option_md name=“PLC/DB9061.DBW0”/>
When more than 16 devices are in use, the index must be specified:
<option_md name=“PLC/DB9061.DBW0” index=“0”/>
<option_md name=“PLC/DB9061.DBW2” index=“1”/>
<option_md name=“PLC/DB9061.DBW4” index=“2”/>
<option_md name=“PLC/DB9061.DBW6” index=“3”/>
When this tag is used for a device and the option is not set, a soft-key is available which allows the entry
of a password. The entered password is placed in the specified variable and should be verified by the user
PLC. Acknowledgement of this to the HMI is required using the relevant interface bit (DB9061).
PASSWORD Attribute:
refvar - name of the reference variable.
Example: Declaring DB9062.DBD0 as the target for the entered password-
<password refvar=“plc/db9062.dbd0”/>
Notes :
Tag Function
The interface signals are handled as standard by DB9905. This tag allows the interface to be re-defined.
Attribute:
PLC_INTERFACE Name - Address of the new interface.
Example: <plc_interface name=“address of the new interface”/>
With this tag a message will appear instructing the operator to power down the system. The message
POWER_OFF text is fixed by the System.
While Loop - This tag executes a sequence of instructions for a multiple number of times providing that a
certain condition is true. The sequence is halted when the condition becomes false.
Example:- Set the condition that IB9 should be equal to 0. Providing that this is the case, write a value of
15 into QB11 using the data tag.
WHILE <while>
<condition> “plc/ib9” ==0</condition>
<data name “plc/qb11> 15 </data>
</while>
Do-While Loop - This tag executes a sequence for instructions and then checks for a condition, if the
condition is true, the instructions will be processed again. The processing stops when the condition is
false.
Example:- Write a value of 15 into QB11 using the data tag. Then check the condition that IB9 should be
equal to 0.
DO_WHILE Providing that this is the case, again write a value of 15 into QB11. When the condition is false, stop the
loop.
<while>
<data name “plc/qb11> 15 </data>
<condition> “plc/ib9” ==0</condition>
</while>
Notes :
Tag Function
The Form tag contains the user dialogue description. One dialogue is permitted per device. The “Addition.
Parameter” soft-key displays the user dialogue that is entered under this tag.
The following tags are processed by the Form tag:-
LET
INIT
PAINT
TIMER
CLOSE
CAPTION
SOFTKEY_OK
SOFTKEY_CANCEL
FORM Attributes:
color - Background colour of the dialogue screen.
type = "FALSE" – the values are only copied into the reference variable when tag UPDATA_DATA type =
"FALSE".
Notes :
Tag Function
The CONTROL tag generates the control elements.
Attributes:
name:- label of the field. The label also represents a local variable.
xpos:- X position of the upper left hand corner.
zpos:- Y position of the upper left hand corner.
fieldtype:- Field type (Optional).
“edit” - Data can be changed
“readonly” - Data cannot be changed.
“combobox” - A drop down list with text that can accept a value or be used for selection purposes.
refvar – label of the reference variable that can be linked to the field. (optional)
hotlink – “TRUE“ the field is automatically updated when data is changed (optional)
time – specifies the refresh rate of the data (optional). The following refresh rates are possible:
“super fast“ - refresh time < 100ms
“fast“ - refresh time, approx. 100ms
“normal“ - refresh time, approx. 200ms
“slow“ - refresh time, approx. 500ms
If the combo box field type is selected then the expressions to be displayed also have to be defined. The tag
<item> should be used for this purpose. The combo box saves the index of the currently selected text in the
variables belonging to the control (variable name). Indexing starts with the value 1.
CONTROL Syntax:
<item>Expression</item>
Example:
<control name = "button1" xpos = "10" ypos = "10" fieldtype=” combobox “>
<item>text1</item>
<item>text2</item>
<item>text3</item>
<item>text4</item>
</control>
If any integer value should be assigned to an expression then the value=“value“ attribute must be added to the
tag. Instead of the consecutive numbering - the control variable now contains the assigned value of the item.
Example:
<control name = "button1" xpos = "10" ypos = "10" fieldtype=” combobox “>
<item value = “10” >text1</item>
<item value = “20” >text2</item>
<item value = “12” >text3</item>
<item value = “1” >text4</item>
</control>
Note: The hotlink attribute results in the appropriate control being cyclically updated. This means that if a value
is entered, then the next update cycle overwrites the value that has been entered. In order to avoid this, use the
DATA_ACCESS tag to activate the function where entered data is immediately saved.
An additional possibility is to include the SOFTKEY_OK tag in the form. This tag is then run before the dialog
box is closed. In this block - using the UPATE_CONTROLS instruction - data can be aligned between the con-
trol and reference variables.
Notes :
Tag Function
The tag is used to display a text at the specified position on the screen. If the text is to be read from a text file,
then the “$$” character string should be placed in front of the label.
If the contents of a string variable are to be displayed, then the “$$$” character string should be located in front of
the variable.
Syntax: <text xpos = "X position" ypos = "Y position"> Text </text>
Attributes:
xpos - X position of the upper left-hand corner
ypos – Y position of the upper left-hand corner
color – text color
Value: Text to be displayed
Example: Direct text output: <text xpos=“10“ ypos=“20“> Hello World </text>
Example tag to be placed in the relevant xml file: <text xpos=“10” ypos=“20”>$$MY_TEXT_SYMBOL </text>
Linux: Lower case letters should be used for all file names.
Syntax: <img xpos = "X position" ypos = "Y position" name=“name“ />
Attributes:
IMG xpos - X position of the upper left-hand corner
ypos – Y position of the upper left-hand corner
name – bit map name
Optional: If the display of an image/graphic deviates from the original size then the dimensions can be defined
using the width and height attributes.
width – width in pixels
height - height in pixels
Notes :
Tag Function
The tag draws a solid square at the specified position in the specified color.
Syntax:
<box xpos="X position" ypos = "Y position" width=“X extension“ height=“Y extension“ color=“color code“ />
BOX Attributes:
xpos – X position of the upper left hand corner
ypos – Y position of the upper left hand corner
width – extension in the X direction (in pixels)
height – extension in the Y direction (in pixels)
color – color coding
TIMER Dialog box message. Tag is cyclically executed.
CLOSE Dialog box message. Tag is executed before the dialog box is closed.
Using the tag, a variable is included in the cyclic read utility (hotlink).
This tag is only valid within the INIT instruction of a form.
Attribute:
REQUEST
name - address label
Attribute:
type – the attribute defines the direction of the data alignment.
TRUE – data is read out of the reference variables and copied into the operator elements.
FALSE – data is copied from the operator elements into the reference variables.
UDATE_CONTROLS
Syntax:
<update_controls type="<direction>"/>
Example:
<softkey_ok>
<update_controls type="false"/>
</softkey_ok>
This tag overwrites the standard behavior when a dialog box is closed using the "Cancel" softkey.
The tag should be programmed in the first sub-level of a form tag.
The following functions can be executed in this tag:
Data manipulation
Conditional processing
Loop processing
SOFTKEY_ CANCEL
Example:
<form>
<softkey_cancel>
<data name=”plc/mb170”>2</data>
</softkey_cancel>
</form>
Notes :
Tag Function
This tag overwrites the standard behavior when closing a dialog box using the "OK" softkey.
The tag should be programmed in the first sub-level of a form tag.
Syntax:
<SOFTKEY_OK>
…
…
</SOFTKEY_OK>
Example:
SOFTKEY_OK
<form>
….
….
<softkey_ok>
<update_controls type="false"/>
<let name="msgbox_result">0</let>
<MsgBox text="Execute NCK Reset!! " caption= "NCK Reset" retvalue= "msgbox_result" type=
"BTN_OKCANCEL" />
<if>
<condition> " msgbox_result " == 1 </condition>
<then>
<CONTROL_RESET resetnc="TRUE"/>
</then>
</if>
</softkey_ok>
</form>
Notes :
Notes :
Notes :
Notes :
<AGM>
<OPTION_MD name = "plc/db9061.dbw0" index="0" />
<OPTION_MD name = "plc/db9061.dbw2" index="1" />
<OPTION_MD name = "plc/db9061.dbw4" index="2" />
<OPTION_MD name = "plc/db9061.dbw6" index="3" />
<DEVICE>
<list_id> 1 </list_id>
<name>$$Option_01</name>
<password refvar = "plc/db9062.dbd0" />
</DEVICE>
<DEVICE>
<list_id> 2 </list_id>
<name>$$Option_02</name>
<password refvar = "plc/db9062.dbd8" />
</DEVICE>
<DEVICE>
<list_id> 3 </list_id>
<name>$$Option_03</name>
<password refvar = "plc/db9062.dbd16" />
</DEVICE>
<DEVICE>
<list_id> 4 </list_id>
Open the agm.xml file and modify the text: <name>$$Option_04</name>
<password refvar = "plc/db9062.dbd24" />
</DEVICE>
</AGM>
Notes :
English: German:
Explanation
Notes :
<AGM>
<OPTION_MD name = "plc/db9061.dbw0" index="0" />
<OPTION_MD name = "plc/db9061.dbw2" index="1" />
<OPTION_MD name = "plc/db9061.dbw4" index="2" />
<OPTION_MD name = "plc/db9061.dbw6" index="3" />
<DEVICE>
<list_id> 1 </list_id>
<name>$$Option_01</name>
<password refvar = "plc/db9062.dbd0" />
</DEVICE>
<DEVICE>
<list_id> 2 </list_id>
<name>$$Option_02</name>
<password refvar = "plc/db9062.dbd8" />
</DEVICE>
<DEVICE>
<list_id> 3 </list_id>
<name>$$Option_03</name>
<password refvar = "plc/db9062.dbd16" />
</DEVICE>
<DEVICE>
<list_id> 4 </list_id>
<name>$$Option_04</name>
<password refvar = "plc/db9062.dbd24" />
</DEVICE>
</AGM>
Therefore:
A controller with English language selected uses the
"oem_aggregate_eng.ts" file.
A controller with German language selected uses the
"oem_aggregate_deu.ts" file.
B009: END
Notes :
Module Description:
The 828D controller has a Service Planner function which allows the user to set up maintenance
tasks. The tasks require an acknowledgement to confirm that the task has been completed, the
tasks are based on timed intervals. Each task has to be parameterised to suit the individual
requirements of that task.
Module Objective:
Upon completion of this module you will be able to set up maintenance tasks using the Service
Planner function.
Content:
Sinumerik
ts Language Files
Confirming/Resetting/Saving Tasks
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B020
B020
Service
Planner:
START
Enabling the
Service
Planner
PLC
Programme
Example
Setting up
the
Maintenance
Tasks
ts Language
Files
PLC
Interface
Signals
Confirming/
Resetting/
Saving
Tasks
Adding
additional
language
files
Service
Planner:
END
Notes :
To create the Data Blocks first open up the correct project and
open the Data Block folder.
Double Click each Data Block
to add the PLC Project
In this example the required It is possible to change the Data Class of the Data Block and
Data Blocks (DB9903 & add the name of the author if needed.
DB9904) are not present. The box is closed by clicking the “OK” key.
Notes :
Below is an example of how to activate and reset messages using the Service Planner.
Setting the
alarm
Setting the
message
Resetting the
alarm
Resetting the
message
Deactivating the
service interval
Notes :
Example:-
In the following example, the interval is 168 hours. The 1st
warning will appear after 144 hours and then every 3 hours
until the alarm is triggered after 168 hours.
The interval for between the warning is obtained by the follow-
ing:
(168 - 144) ÷ 8 = 3
To confirm the data, use the “Input” key, to navigate the dia-
logue boxes use the cursor keys. When the data required fields
have been entered press the “Enter” key.
Notes :
ts Language Files
Notes :
254 Reserved
Data Block 9904 is used to report the status of the maintenance tasks.
252 Reserved
254 Reserved
Notes :
The following interface signals are used for signalling that an alarm or message has been activated. Example: by checking that
the remaining time is not zero then the user PLC can be written to produce a message can be issued. If the remaining time is
zero then an alarm can be issued in the same way. The signal is active for one PLC cycle.
It may be necessary to deactivate a task, switching the signal high will result in the task being frozen.
Notes :
Confirming/Resetting/Saving Tasks
The user PLC program should trigger a PLC user alarm when
a task has reached a time limit. If it is a pre-warning the mes-
sage response can usually acknowledged by the “Alarm Can-
cel” key with no interference to the machine operation.
When the Interval time has expired completely the PLC user
message should be configured to match the importance of
the maintenance task.
When the status of the task is checked in the Service Planner Once the maintenance task is complete then it can be
screen, a red clock symbol should have appeared in the acknowledged by pressing the “Maintenance Completed” soft
“Status” column and the remaining time column will be zero. -key.
This will reset the remaining time back to the original and the Saving Service Tasks:
interface bit will remain high for one PLC cycle. This can be All the Service Tasks can be saved/read-in to/from an external
used by the user PLC to acknowledge user alarms etc. USB/CF memory device.
It is possible to reset a maintenance task at any time prior to
the interval time expiring. Exporting tasks:
The “Exporting tasks” soft-key is used to save the tasks.
Tasks can be changed or deleted at any time with the
“Change task” & “Delete task” soft-keys.
Notes :
Enter a suitable name for the file and then select the “OK” soft
-key.
Reading in Service Tasks: The procedure will overwrite any existing tasks on the control-
The “Importing tasks” soft-key is used to read in a task file. ler, select the “OK” soft-key to continue.
The save procedure creates two files, one file is of the “xml”
type, while the second file is of the “ts” type. The “xml” has to
be selected for the import procedure, followed by the “OK” soft
-key.
Notes :
Notes :
Notes :
In the Edit window, change the alarm number and enter the
required text.
In the Edit window, change the alarm number and enter the
required text.
Notes :
Download the two alarm text files by selecting them and us-
ing the "transfer" button.
German: English:
B020: END
Notes :
Module Description:
The 828D system offers the possibility for the connection of an analogue spindle
Analogue output functionality is available for controlling a single analogue servo drive. The
interface for this is located on X252 of the 828D controller.
Module Objective:
Upon completion of this module you will be able to locate and configure the analogue interfaces.
Content:
Sinumerik
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B029
B029
Analogue Spindle:
START
Analogue
Servo
Control via
X252
Analogue Spindle:
END
Notes :
X143
X252 pins 1 & 2 are reserved for the analogue output MD30134 Signal Function
Signal which is used for controlling an analogue servo drive. =0 AOUT (X252.1) Analogue output +/- 10V
(Nominal +/- 10V, can be changed via machine data.) Bipolar
The functionality of the analogue signal can be influenced by spindle with AGND (X252.2) Analogue output 0V
Axis MD 30134 $MA_IS_UNIPOLAR_OUTPUT. enable
The resolution of the analogue output signal is 14bit. Controller enable (+24V
signal. DO11 (X252.12)
DC)
Sinamics digital outputs DO14 & DO15 (X132 pins 12 & 13)
=1 AOUT (X252.1) Analogue output +10V
are used for enabling and direction signals.
Unipolar
spindle,
Machine Data Descriptions. AGND (X252.2) Analogue output 0V
separate
MD30100 $MA_CTRLOUT_SEGMENT_NR: enable/
direction Controller enable (+24V
Activates the axis as an analogue axis when set to 0 DO11 (X252.12)
signals. DC)
(828D digital drive operation = 5)
Negative direction (+24V
DO12 (X252.13)
Note: MD30100 and X252 pins 12 & 13 DC)
X252 Axis MD 30100 = 0 Axis MD 30100 = 5 =2 AOUT (X252.1) Analogue output +10V
Unipolar
Pin 12 Controller enable/positive Digital Output spindle, AGND (X252.2) Analogue output 0V
direction for analogue spindle $A_OUT[11] direction
option dependant Controller enable and
DO11 (X252.12)
enable. positive direction (+24V DC)
Pin 13 Controller enable/negative Digital Output
direction for analogue spindle $A_OUT[12] Controller enable and
option DO12 (X252.13) negative direction (+24V
DC)
Notes :
MD30220 $MA_ENC_MODULE_NR[0] :
The encoder should be connected as the 2nd encoder of an
existing Sinamics axis via an SMC module.
MD30220[0] of the analogue axis should be set the same as
MD30220[0] of the axis that the encoder is connected to.
MD30230 $MA_ENC_INPUT_NR[0] :
As previously explained, the encoder is connected as the 2nd
encoder of an existing Sinamics axis, therefore a value of 2
must be entered in MD30230[0].
Example: Notes:
Machine data configuration for a system with 3 digital axes The analogue axis is restricted in the following areas:
and an analogue spindle. The spindle encoder is connected
via SMC to the Y axis Sinamics drive module. Dynamic Stiffness Control - unavailable.
Machine
X Y Z SP Torque Feed Forward control - unavailable.
Data
30220[0] 1 2 3 2
30230[0] 1 1 1 2
30240 1 or 4 1 or 4 1 or 4 1 or 4
B029: END
Notes :
Module Description:
This module explains the step by step procedure to setup the Tool management on a milling and
on a Turning machine.
Module Objective:
Upon completion of this module, you will be able to setup the Tool management for a milling and
also a turning machine.
Content:
Sinumerik
Fundamentals
Magazine Configuration
HMI customization
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B102
B102
Tool Management:
START
Fundamentals
User
Interface
PLC - NCK
Machine data
for Tool
Management
Magazine
Configuration
Load / Unload
Tool change
sequence
Customizing
the Tool
Management
HMI
Tool change
with turret
Tool Management:
END
Notes :
Fundamentals
Requirements
Scope of delivery
Tool management is included in the scope of delivery for all 828D controls (M/T version).
Licensing
1. Tools/Software installation
3. Magazine configuration
4. Tool load/unload
6. HMI modifications
Notes :
Tool load
Tool unload
Tool relocate
Position Magazine
Tool change
Notes :
Tool management
Magazine configuration
Magazine (9999)
Location (2)
Magazin (2)
LP2
Location (1...n)
Reference (2, 1) etc.
CL
Location (2)
LP1
Magazine (9999)
Location (1)
Notes :
programGUIDE
Block search
Destination N100 T=“Face_Mill_20” Tool preparation -> PLC
Move magazine/Tool
N100 to change position
M06 L6.SPF
N5...
=0 N150 N10...
.. Program test active?
..
.. Simulation active?
..
ISFILE -> CYCPE_MA .. Block search active?
..
.. Tool in Spindle?
..
.. Hand tool?
Hand tool permitted
..
MD22562.1=1
..
..
..
Notes :
ShopMill
Tool preparation
ShopMill SD55212.0=1
HEADER
Move magazine/Tool
to change position
L6.SPF
N5...
ISFILE -> CYCPE_MA N10...
Toolchange .. Program test active?
TAPPING
-> L6 ..
.. Simulation active?
..
.. Block search active?
..
.. Tool in Spindle?
..
.. Hand tool?
Hand tool permitted
..
MD22562.1=1
..
..
END ..
Notes :
programGUIDE
Block Search
Destination N100 T=“Turning_Tool_1” TCHANGE.SPF
N5...
N10...
.. Program test active?
..
N100 .. Simulation active?
..
.. Block search active?
..
PROG_EVENT -> After BLS ..
..
..
..
..
..
Block Search Cycle ..
=1
ShopTurn MD52212.3
N85 Txx Tool change order -> PLC
..
..
M17
=0
T=“Turning_Tool_2”
M30
Notes :
ShopTurn
HEADER
=0
TCHANGE.SPF
N5...
ISFILE -> CYCPE_MA N10...
TAPPING Tool change .. Program test active?
-> TCHANGE ..
.. Simulation active?
..
.. Block search active?
..
..
..
..
..
..
..
END ..
Notes :
HMI
Tool list
Tool wear list
OEM-Tool list
Magazine list
NCK
Tool Management
- Tool search
- Empty location search
- Tool change
- Load, unload
PLC
Magazine control
Gripper control
Spindle control
Safety interlocks
Notes :
The interface is set up for Tool Management functions: Load/Unload and tool change. The PLC functions DB9900, DB9901 and
DB9902 are used to communicate changes in the current positions of tools.
NCK PLC
Tool manage-
ment Machine functions for
Tool change
DB43xx ...
DB42xx Acknowledgment for
Tool change the transfer steps
Magazine data
DB9902
Acknowledg-
ment steps
Notes :
Acknowledgement step
0000 7 6 5 4 3 2 1 ALL
NC 0001 15 14 13 12 11 10 9 8 PLC
0002 23 22 21 20 19 18 17 16
0003 Res 30 29 28 27 26 25 24
DB9900 Constant transfer step table [r] DB9901 Variable transfer step table [r/w]
Transfer step 1 Transfer step 101
0000 Source magazine no. 0 0000 Source magazine no. 1
0002 Source location no. 1 0002 Source location no. 0
0004 Target magazine no. 9998 0004 Target magazine no. 9998
0006 Target location no. 2 0006 Target location no. 1
Transfer step 2
0008 Source magazine no. 9998
0010 Source location no. 1
0012 Target magazine no. 9998
0014 Target location no. 3
Notes :
Note:
The data blocks DB40xx, DB41xx, DB42xx and DB43xx are system blocks and are created automatically by the
control.
The data blocks DB9900, DB9901 and DB9902 are made available by the PLC Programming Tool under Librar-
ies / Special data blocks. The blocks are not yet filled with the necessary data. The user must copy them into the
PLC project and edit them.
Notes :
Tool Management
y006 to
y008 Reserved
Notes :
y016 to
y054 Reserved
y056 Multitool: Distance coding (Int)
Feedback signal
Acknowl- Acknowl-
y100 edgement edgement OK
error
y102 Reserved
y106 Reserved
Notes :
Job status
y132 to
y138 Reserved
y004 to
y008 Reserved
Notes :
y032 Tool has been Tool is fixed Tool being Pre warning Measuring tools Tool Tool Active tool
in use location coded changed limit reached disabled enabled
y033 Manual tool 1:1 change Master tool To be loaded To be Blocked Identifier for
unloaded tool
y034 New tool: Internal T no. of NCK (Integer)
y036 Reserved (Double word)
y040 Reserved (Double word)
y044 User defined parameter 1 (Double word)
y048 User defined parameter 2 (Double word)
y052 User defined parameter 3 (Double word)
Notes :
Feedback signal
DB4300- NCK PLC Signals from TM [r]
DB43xx (*1)
Acknowl- Acknowl-
y100 edgement edgement
error OK
y102 Reserved
y106 Reserved
Job status
Notes :
Notes :
Notes :
etc
Acknowledgement step 30
0116
Transfer step for new tool. (Byte)
Acknowledgement step 30
0117
Transfer step for old tool. (Byte)
Acknowledgement step 30
0118
Acknowledgement status. (Byte)
Acknowledgement step 30
0119
Reserved
Notes :
Acknowledgment status
The job is cancelled, previously acknowledged tool position changes will be kept.
The cancel command itself does not trigger any position acknowledgements or
changes in the tool management.
6 End acknowledgment for "Move tool" from the real magazine to a buffer (gripper,
spindle) with reservation of the old location in the magazine for this tool.
Further meaning as status 1.
7 Repeat "prepare tool change" job:
All the tools concerned are in the positions specified in the job.
The part program can be continued. All target positions from the job have been
reached.
Synchronous Interme- 105 Intermediate position for tool:
diate acknowledgment
The tools are moved from the source position specified in the job, or from the last
acknowledged intermediate position, to the specified target position.
Communicating an 201 Communicate tool movement:
asynchronous transfer
The tool is moved from the source position to the specified target position. When
moving from a location in a real magazine to an intermediate buffer location, the
source location is reserved for the tool.
Also observe MD20310, Bit 24.
204 Communicate magazine position:
Intermediate and end acknowledgment take place synchronously with the job.
- The part program must wait.
- No new job can come yet.
Notes :
- from location ‑ ‑ ‑ ‑ ‑ ‑ xx xx
- to magazine xx ‑ xx ‑ ‑ xx xx zz
- to location xx ‑ xx ‑ ‑ xx xx zz
- from magazine ‑ ‑ ‑ ‑ ‑ ‑ xx ‑
- from location ‑ ‑ ‑ ‑ ‑ ‑ xx ‑
- to magazine xx ‑ ‑ ‑ ‑ xx xx ‑
- to location xx ‑ ‑ ‑ ‑ xx xx ‑
Legend:
- Date not relevant
x Number (1…n) of the transfer step from the transfer-step table
xx Magazine number, location number of the tool
zz Magazine number, location number of the load / unload or changing point
- Depending on their meaning, the states 1, 6, 105, 201 and 204 should be combined in the acknowledgment table with the
transfer steps to make useful acknowledgment steps.
- If status 1 is coded with both transfer step numbers = 0, this acknowledgment step serves as an end acknowledgment of the
current status reached via intermediate acknowledgments.
- If a tool has been moved for a real magazine to a buffer (relocate, MVTOOL), acknowledgment with status 6 or total acknowl-
edgment reserves the source location for this tool ($TC_MPP4 bit 1 and bit 2). The behaviour is the same as for the removal of
a tool from the magazine during tool change. With status 1, there is no reservation of the source location during relocation or
MVTOOL.
- States 3 and 7 need only to be coded once in the acknowledgment-step table, as no transfers steps are evaluated.
- Status 99 does not need to be coded, it is specified by the "total acknowledgment" bit.
Magazine/Location Meaning
0/1 The source position of the only or new tool from the job should be used.
0/2 The target position of the old tool from the job should be used.
0/3 The target position of the only tool or new tool from the job should be used.
Notes :
Tool Management requires that changes are made to the machine data for memory configuration. The TO block
need to be assigned to the channel etc. These machine data are set by default in the system.
NC TM
TO Block 2
TO Block 1
Magazine data
$TC_MAP...
NC Channels
Channel 1
Multitool data Machine
$TC_MTP... data
Tool Management
Tool data
$TC_TP...
Note:
Notes :
Note:
Since at least one buffer and one loading point must be availa-
ble, maximum two real magazines can be managed.
When the control powers up, depending on the technology,
the following tool magazines are pre-selected and created:
Milling: Chain magazine with 20 locations and double gripper Turning: Turret with 12 locations
Notes :
Notes :
Notes :
Notes :
Notes :
Magazine data
Description:
MLSR - MAP: Magazine description data
MAMP - MPAC: Magazine user data
MDP - MPP: Magazine location data
Tool data
Description:
TPC
- TP: Tool related data
TPG - TPG: Tool related grinding data
TP
- TPC: Tool related user data
Note: The Tool data are only available when tool monitoring
is active.
Notes :
Magazine data
$TC_MAP1 0 Type of magazine (1: Chain, 3: Turret, 5: Box magazine, 7: Buffer magazine,
9: Loading magazine)
$TC_MAP2 ““ Identifier of magazine
$TC_MAP3 2 Status of magazine
- Bit 0: active magazine
- Bit 1: disabled
- Bit 2: magazine is at load position
- Bit 3: Tool motion is active
- Bit 4: Magazine may be moved
- Bit 5: Reserved
- Bit 6: Magazine is fixed location coded
- Bit 7: Reserved
- Bit 8: Edge location must not be overlapped left
- Bit 9: Edge location must not be overlapped right
- Bit 10: Edge location must not be overlapped top
- Bit 11: Edge location must not be overlapped bottom
$TC_MAP6 1 Number of tiers (box magazine only)
$TC_MAP7 0 Number of columns
$TC_MAP8 0 Current magazine position relative to change position
$TC_MAP9 0 Current wear group number
$TC_MAP10 0 Current tool search strategies of magazine, see MAMP2.
Notes :
Magazine data
$TC_MDP1 9999 Distance between tool change position of magazine and location of first inter-
nal magazine (loading magazine 9999)
$TC_MDP2 9999 Distance between tool change position of magazine and location of second
internal magazine (buffer magazine 9998)
$TC_MLSR 9999 System variable for assigning magazine locations of the buffer magazine to
the spindle
Notes :
Multitool data
Notes :
Tool data
Notes :
Notes :
The magazine configuration can be accomplished with the Example: Chain magazine 30 locations and double gripper
operating software “HMI Operate“.
Magazine configuration
The magazine configuration contains:
Magazine 1
(Chain) 30 locations
- Definition of the magazines
- Definition of the magazine locations
- Definition of the buffer locations Buffer magazine
- Definition of the load locations 3 locations (Spindle and
(9998)
- Definition of the search strategy two Grippers)
Load magazine
Procedure: (9999) 2 locations (load location
for Spindle and magazine)
- Create the magazine configuration
NC
(INI file)
L2
9999,2
L1 G1
9999,1 9998,2 M1 Magazine 1
Sp Spindle
M1 G1 Gripper 1
G2 Gripper 2
Sp L1 Loading point 1
G2 L2 Loading point 2
9998,1
9998,3
Notes :
Position the cursor on the "Tool unit (Chan1)" folder and press
the "Delete element" softkey.
The Tool management menu contains the following areas: The default magazine configuration of the 828D controller is
Active data contains the tool management of the NC deleted.
Examples contains examples for the tool management
Network / USB contains the connections
Position the cursor on the "Active data" folder and press the A magazine configuration is created that consists of a maga-
"New element" softkey. zine with 5 locations, as well as a tool spindle and a loading
point.
Name optional
Channel number input a value of “1”
Tool search select “Active tool”
Location search select “1:1 replacement”
This magazine configuration can now be adapted to the
conditions on the machine.
Notes :
Configure the tool spindle / grippers Two new locations of the Gripper type are added to the buffer.
Name optional
Magazine no. 9998 (not changeable)
Locations input a value of “3”
Configure the load magazine A new location of the Loading point type is added to the load
magazine.
Position the cursor on the "Load magazine" folder and open
the element with the "Input" key.
Name optional
Magazine no. 9999 (not changeable)
Locations input a value of “2”
Notes :
Configure Magazine 1 Accept the preassignments for the new magazine locations
for Location type and Consider adjacent location with "OK".
Position the cursor on the "Magazine 1" folder and open the
element with the "Input" key.
Name optional
Locations input a value of “30”
Configure the assignments Specify the assignments of the magazine and accept with
"OK".
Position the cursor on the "Assignments" folder and open the
element with the "Input" key.
Notes :
Back up the data Enter the name for Initialization program INI and accept with
"OK".
Position the cursor on the "Active data" folder and press the
"Copy" softkey.
Position the cursor on the "USB" folder and press the "Paste"
softkey.
Notes :
CHANDATA(1) $TC_MPP1[9999,1]=7
$TC_MPP2[9999,1]=0 Loading point 1
$TC_MPP3[9999,1]=0
; delete old data $TC_MPP4[9999,1]=2
$TC_MAP1[0]=0 Delete old data $TC_MPP5[9999,1]=1
$TC_DP1[0,0]=0 $TC_MPP1[9999,2]=7
$TC_MPP2[9999,2]=0 Loading point 2
$TC_MAMP1="" $TC_MPP3[9999,2]=0
TO area $TC_MPP4[9999,2]=2
$TC_MAMP2=8193 $TC_MPP5[9999,2]=2
$TC_MAP1[1]=1 Assignments
$TC_MAP2[1]="" Magazine 1 $TC_MLSR[2,1]=0
$TC_MLSR[3,1]=0 Grippers to spindle
$TC_MAP3[1]=17
$TC_MAP6[1]=1 $TC_MDP1[1,1]=0 Loading points to
$TC_MAP7[1]=30 $TC_MDP1[1,2]=4 magazine
$TC_MAP10[1]=8193
$TC_MDP2[1,1]=0 Spindle/grippers to
$TC_MPP1[1,1]=1 $TC_MDP2[1,2]=0
$TC_MDP2[1,3]=0 magazine
$TC_MPP2[1,1]=1 Location 1
$TC_MPP3[1,1]=1 M17
$TC_MPP4[1,1]=2
$TC_MPP5[1,1]=0 to
...
$TC_MPP1[1,30]=1 Variables in the configuration file (INI file)
$TC_MPP2[1,30]=1 Location 30
$TC_MPP3[1,30]=1
Parameter Meaning
$TC_MPP4[1,30]=2
$TC_MPP5[1,30]=0 $TC_MAMP1 Configuration magazine identifier
$TC_MAMP2 Tool search (bit 0-7) and location search (bit 8-15)
$TC_MAP1[9998]=7 - Bit 0=1: Active tool / min. duplo
$TC_MAP2[9998]="" - Bit 13=1: 1:1 replacement of old tool on location
Buffer magazine of new tool
$TC_MAP3[9998]=17
$TC_MAP1 Magazine type (1=chain, 7=tool buffer magazine,
$TC_MAP6[9998]=1
9=load magazine)
$TC_MAP7[9998]=3
$TC_MAP10[9998]=0 $TC_MAP2 Magazine identifier
$TC_MAP3 Magazine state
$TC_MPP1[9998,1]=2 - Bit 0=1: Active magazine
$TC_MPP2[9998,1]=0 Spindle - Bit 4=1: Magazine can be moved
$TC_MPP3[9998,1]=0 $TC_MAP6 Number of lines (box magazine only)
$TC_MPP4[9998,1]=2
$TC_MAP7 Number of columns
$TC_MPP5[9998,1]=1
$TC_MPP1[9998,2]=3 $TC_MAP10 Magazine tool search strategies, see MAMP2
$TC_MPP2[9998,2]=0 Gripper 1 $TC_MPP1 Location category (1=magazine location,
$TC_MPP3[9998,2]=0 2=Spindle /tool holder, 3=gripper, 7=loading point)
$TC_MPP4[9998,2]=2 $TC_MPP2 Location type (0=compatible with each tool location
$TC_MPP5[9998,2]=1 type)
$TC_MPP1[9998,3]=3 $TC_MPP3 Consider adjacent location (1=On, 0=Off)
$TC_MPP2[9998,3]=0 Gripper 2 $TC_MPP4 Location state
$TC_MPP3[9998,3]=0 - Bit 1=1: Free to receive a tool
$TC_MPP4[9998,3]=2
$TC_MPP5 Location type index
$TC_MPP5[9998,3]=2
$TC_MLSR Assignment of locations of the buffer magazine to
$TC_MAP1[9999]=9 the spindle
$TC_MAP2[9999]="" $TC_MDP1 Distance from the magazine change position to the
$TC_MAP3[9999]=17 Load magazine
location of the first internal magazine (9999)
$TC_MAP6[9999]=1
$TC_MAP7[9999]=2 $TC_MDP2 Distance from the magazine change position to the
$TC_MAP10[9999]=0 location of the second internal magazine (9998)
Notes :
Activate the data After successfully reading in the definition files, the "*" symbol
goes away.
Position the cursor on the "Active data" folder and press the
"Activate data" softkey.
Magazine 1 (Chain)
- Location 1
...
- Location 30
Notes :
Load loc. 2
Tool load/unload is done via the loading location defined in
the machine configuration. L2
Load loc. 1 9999,2
Each loading location has it own interface area in
DB41xx/40xx .
G1
L1 9998,2 M1 Magazine 1
The interfaces are set up to handle the tool management 9999,1 Sp Spindle
commands: *Tool load*, *unload*, *Relocate* and *position M1 G1 Gripper 1
magazine*. G2 Gripper 2
Sp L1 Load loc. 1
G2 L2 Load loc. 2
The PLC functions DB9900, DB9901 und DB9902 are used 9998,1
9998,3
to communicate the current positions of tools.
Procedure:
Load location 1 is permanently assigned to the Spindle.
- Assign loading locations.
Load location 2 is assigned to the magazine via machine data
- PLC program to handle the acknowledgments for the tool 52274 = 2.
management commands.
MD52274
Load station Tool manage-
$MCS_TM_TOOL_LOAD_
ment
STATION
Change to: 2
Description:
1
If only one loading station is configured: The setting = 0
= 0: No query window appears on the surface
2
If more than 1 loading station is configured, you can select
between
= 0: A query window appears on the surface to select the
loading point.
= 1: fixed loading station 1, the window does not appear
= 2: fixed loading station 2, the window does not appear 1. Magazine location on change position
2. Magazine location on loading point
Notes :
Job: Load magazine DB4101 Acknowledgement for load the magazine DB4001
DB4101 NCK PLC Signals from TM [r] DB4001 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Job Posi- Relo- Un- Load- Ack Ack Ack Ack Ack Ack Ack Ack
from tionin cate loadin ing DBB1
15 14 13 12 11 10 9 8
DBB1 NC g g
pro-
gram Example: Load tool to magazine location 9
Source magazine no. (INT)
DB4101.DBW6 =0
DBW6
DB4101.DBW8 =0
DBW8 Source location no. (INT) DB4101.DBW10 =1
DB4101.DBW12 =9
DBW10 Target magazine no. (INT)
Notes :
2
1
Job: Unload magazine DB4101 Acknowledgement for unload the magazine DB4001
DB4101 NCK PLC Signals from TM [r] DB4001 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Job Posi- Relo- Un- Load- Ack Ack Ack Ack Ack Ack Ack Ack
from tionin cate loadin ing DBB1
15 14 13 12 11 10 9 8
DBB1 NC g g
pro-
gram Example: Unload tool from magazine location 9
Source magazine no. (INT)
DB4101.DBW6 =1
DBW6
DB4101.DBW8 =9
DBW8 Source location no. (INT) DB4101.DBW10 =0
DB4101.DBW12 =0
DBW10 Target magazine no. (INT)
Notes :
Job: Load magazine DB4100 Acknowledgement for load the magazine DB4000
DB4100 NCK PLC Signals from TM [r] DB4000 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Job Posi- Relo- Un- Load- Ack Ack Ack Ack Ack Ack Ack Ack
from tionin cate loadin ing DBB1
15 14 13 12 11 10 9 8
DBB1 NC g g
pro-
gram Example: Load tool to the spindle
Source magazine no. (INT)
DB4100.DBW6 =0
DBW6
DB4100.DBW8 =0
DBW8 Source location no. (INT) DB4100.DBW10 =9998
DB4100.DBW12 =1
DBW10 Target magazine no. (INT)
Notes :
Job: Unload magazine DB4100 Acknowledgement for unload the magazine DB4000
DB4100 NCK PLC Signals from TM [r] DB4000 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Job Posi- Relo- Un- Load- Ack Ack Ack Ack Ack Ack Ack Ack
from tionin cate loadin ing DBB1
15 14 13 12 11 10 9 8
DBB1 NC g g
pro-
gram Example: Unload tool from spindle
Source magazine no. (INT)
DB4100.DBW6 =9998
DBW6
DB4100.DBW8 =1
DBW8 Source location no. (INT) DB4100.DBW10 =0
DB4100.DBW12 =0
DBW10 Target magazine no. (INT)
Notes :
Relocate tool
2
1
DB4100 NCK PLC Signals from TM [r] DB4000 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Job Posi- Relo- Un- Load- Ack Ack Ack Ack Ack Ack Ack Ack
from tionin cate loadin ing DBB1
15 14 13 12 11 10 9 8
DBB1 NC g g
pro-
gram Example: Relocate tool from location 9 to 5
Source magazine no. (INT)
DB4100.DBW6 =1
DBW6
DB4100.DBW8 =9
DBW8 Source location no. (INT) DB4100.DBW10 =1
DB4100.DBW12 =5
DBW10 Target magazine no. (INT)
Notes :
Position magazine
DB4101 NCK PLC Signals from TM [r] DB4001 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Job Posi- Relo- Un- Load- Ack Ack Ack Ack Ack Ack Ack Ack
from tionin cate loadin ing DBB1
15 14 13 12 11 10 9 8
DBB1 NC g g
pro-
gram Example: Bring magazine pocket 5 to the load position
Source magazine no. (INT)
DB4101.DBW6 =1
DBW6
DB4101.DBW8 =5
DBW8 Source location no. (INT) DB4101.DBW10 =9999
DB4101.DBW12 =2
DBW10 Target magazine no. (INT)
Notes :
Job: Load magazine DB4101 Reset Acknowledgement for load the magazine DB4001
DB4101 NCK PLC Signals from TM [r] DB4001 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Job Posi- Relo- Un- Load- Ack Ack Ack Ack Ack Ack Ack Ack
from tionin cate loadin ing DBB1
15 14 13 12 11 10 9 8
DBB1 NC g g
pro-
gram ...
PLC Programming example with Total acknowledgement and Status 3 for “cancel job”
Note:
By directly writing to parameter $TC_MPP6[magazine No.,location No.] = 0, a tool can be removed from this magazine location
(whether it is a real magazine, buffer or loading magazine).
All reservations of the removed tool are automatically deleted. This does not involve an associated command output to the PLC.
Notes :
Set up the machine data for the tool change Programming the tool change
TEST_PROGRAM.MPF
Tool change with M function N10
N20
MD22550 = 1 An M function is used to start the „Tool N30 T=“FRAESER1” Prepare for change (PLC)
Change“ phase, Which M function is speci- N40
fied by MD 22560. N50
Tool change program
The T command starts the „Prepare Tool“ N60 M06
L6 is called
phase. N70
MD22560 = 206 M Function for Tool Change N80
This M function triggers the start of the tool N90
change process. N100 M30 Program end
Notes :
Notes :
The L6 tool change program has to take the machine layout into consideration. The L6 program is stored in the manufacturer
cycles or the user cycles directory of the control.
TCA program
The TCA program is used for the replacement tools (duplo tools) function. With selection of a replacement tool on the HMI sur-
face or programming of a TCA command in the NC program the TCA cycle is automatically called.
The TCA program is stored in the manufacturer cycles or the user cycles directory of the control.
Notes :
L1
9999,1
G1
9998,2
3 1 M1 Magazine 1
T=“FRAESER1“ Sp Spindle
M1 G1 Gripper 1
2 4 G2 Gripper 2
Sp L1 Load loc. 1
9998,1
G2
9998,3
Notes :
Notes :
L2
Programming 9999,2
G1 T=“CUTTER1“
9998,2
TEST_PROGRAM.MPF
N10 L1 M1 Magazine 1
N20 9999,1 1 Sp Spindle
N30 M1 G1 Gripper 1
N40 G2 Gripper 2
N50 T=“CUTTER1” Prepare tool -> PLC Sp L1 Load loc. 1
N60 9998,1 L2 Load loc. 2
N70 2
N80 G2
9998,3
N90
N100 M06 Call L6, do tool change Update Tool list
N110
N120
N130
N140
N150
N160 M30 Program end
For a 1:1 change the new and old tool must satisfy all these
conditions:
Job “Prepare change“
- Neither tool is fixed location
- Both tools have the same size
- Both tools have the same location type
Notes :
Job: Prepare tool change DB4300 Acknowledgement for prepare tool change DB4200
DB4300 NCK PLC Signals from TM [r] DB4200 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Tool Manu- Manu- No old T0 Pre- Chang Fixed
Ack Ack Ack Ack Ack Ack Ack Ack
re- al tool al tool tool pare e tool loca- DBB1
mains un- load chang (Initiat tion 15 14 13 12 11 10 9 8
DBB1 in load e ed by coded
spin- M06)
dle Example: 1:1 change Example: Not 1:1 change
DB4300.DBW6 =1 DB4300.DBW6 =1
DBW6 Source magazine no. for new tool (Int) DB4300.DBW8 =10 DB4300.DBW8 =10
DBW8 Source location no. for new tool (Int) DB4300.DBW18 =1 DB4300.DBW18 =1
DB4300.DBW20 =10 DB4300.DBW20 =4
DBW18 Target magazine no. for old tool (Int )
Address Name Data type Format Value Address Name Data type Format Value
Notes :
PLC Programming example with acknowledgement signals for prepare tool change
Ack 1
Ack 3
Notes :
Sequence for tool change Example: Tool change with 1:1 change
L2
Programming 9999,2
G1 T=“CUTTER1“
9998,2
TEST_PROGRAM.MPF
N10 L1 2 1 M1 Magazin 1
9999,1 Sp Spindle
N20
N30 M1 G1 Gripper 1
N40 1 2 G2 Gripper 2
N50 T=“CUTTER1” Prepare tool -> PLC Sp L1 Load Location 1
9998,1 L2 Load Location 2
N60
N70
G2
N80 9998,3
N90
N100 M06 Call L6, do tool change
N110
N120
N130
N140
N150
N160 M30 Program end
For a 1:1 change the new and old tool must satisfy all these
conditions:
Job “Execute tool change“
- Neither tool is fixed location
- Both tools have the same size
1 2 - Both tools have the same location type
3 4
Notes :
Job: Execute tool change DB4300 Acknowledgement for execute tool change DB4200
DB4300 NCK PLC Signals from TM [r] DB4200 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Tool Manu- Manu- No old T0 Pre- Chang Fixed
Ack Ack Ack Ack Ack Ack Ack Ack
re- al tool al tool tool pare e tool loca- DBB1
mains un- load chang (Initiat tion 15 14 13 12 11 10 9 8
DBB1 in load e ed by coded
spin- M06)
Example: Tool change with 1:1 change
dle
DB4300.DBW6 =1
DBW6 Source magazine no. for new tool (Int) DB4300.DBW8 =10
Source location no. for new tool (Int) DB4300.DBW18 =1
DBW8
DB4300.DBW20 =10
DBW18 Target magazine no. for old tool (Int )
The job remains unchanged, the tools are still in their re-
DBW20 Target location number for old tool (Int )
spective starting positions.
Address Name Data type Format Value Address Name Data type Format Value
Notes :
PLC Programming example with acknowledgement signals for execute tool change (1:1 change)
Ack 4
Intermediate acknowledgement Gr1 -> Sp, Gr2 -> M1 with Status 105
Ack 5
Ack 2
Notes :
Example: Tool change not 1:1 change Job: Execute tool change DB4300
L2
DB4300 NCK PLC Signals from TM [r]
9999,2
G1 T=“CUTTER1“
9998,2 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job
L1 5 4 3 M1 Magazine 1
9999,1 Sp Spindle Tool Manu- Manu- No old T0 Pre- Chang Fixed
M1 G1 Gripper 1 re- al tool al tool tool pare e tool loca-
1 2 G2 Gripper 2 mains un- load chang (Initiat tion
L1 Load loc. 1 DBB1 in load e ed by coded
Sp
L2 Load loc. 2 spin- M06)
9998,1 dle
G2 DBW6 Source magazine no. for new tool (Int)
9998,3
DBW8 Source location no. for new tool (Int)
1 4
Old tool from spindle to gripper 2 New tool from magazine to gripper 1
-> Intermediate acknowledgement -> Intermediate acknowledgement
(Sp -> Gr 2) Ack 6 (Mag -> Gr 1) Ack 8
2 5
Old tool from gripper 2 to magazine New tool from gripper 1 to spindle
-> Intermediate acknowledgement -> Intermediate acknowledgement
(Gr 2 -> Mag) Ack 7 (Gr 1 -> Sp) Ack 9
Notes :
Address Name Data type Format Value Address Name Data type Format Value
PLC Programming example with acknowledgement signals for execute tool change (not 1:1 change)
Ack 1
Ack 3
Notes :
Quitt 6
Ack 7
Ack 3
Ack 8
Ack 9
Ack 2
Notes :
Interrupt L1
9999,1
G1 1
9998,2
T=“FRAESER1“
1 M1 Magazine 1 Old tool from spindle to gripper 2 und
Sp Spindle New tool from magazine to gripper 1
M1 G1 Gripper 1 -> Intermediate acknowledgement
2 G2 Gripper 2 (Mag -> Gr 1, Sp -> Gr 2)
Sp L1 Load loc. 1
9998,1
G2
9998,3
“Reset“ acknowledge
DB4300 Ack 13
Examples of what can cause the tool change to be aborted Old tool from gripper 2 to magazine
and new tool von gripper 1 to spindle
- Reset -> Intermediate acknowledgement
- E-Stop (Gr 1 -> Sp, Gr 2 -> Mag)
- Power failure
Ack 13
Notes :
G2
9998,3
Note:
Address Name Data type Format Value Address Name Data type Format Value
Notes :
The specific data from a job of tool management are not available after Power-On.
In the following example these data are saved in a user data block.
Ack 10
Ack 10
Notes :
Ack 10
Ack 10
Notes :
Customizing the Tool Management HMI The customization of the HMI is accomplished by making
changes to these configuration files.
3
The configured tool tip text “OEM 1 Tooltip“ will be displayed.
2 Longtext
Notes :
In this example the OEM Tool list will be enabled and the user parameter “ToolUser_1“ will be displayed in an new column. The
parameter “ToolUser_1“ refers to the OEM tool parameter $TC_TPC1.
The OEM tool parameters are activated via these NC machine data (default on 828D):
Copy the configuration file “sltmlistconfig.xml“ into the user or oem directory.
OEM directory
“System CF Card\oem\sinumerik\hmi\cfg“
User directory
“System CF Card\user\sinumerik\hmi\cfg“
<CONFIGURATION>
</CONFIGURATION>
Notes :
Copy the custom text file “sltmlistdialog_xxx.ts“ into the user or oem directory
OEM directory
“System CF Card\oem\sinumerik\hmi\lng“
User directory
“System CF Card\user\sinumerik\hmi\lng“
</context>
</TS>
Notes :
Procedure:
Notes :
TCHANG
10717 $MN_T_NO_FCT_CYCLE_NAME Name of tool-changing cycle for T function replacement
E
15710 $MN_TCA_CYCLE_NAME ““ Name of tool-changing cycle for TCA function replacement
$MN_MAXNUM_REPLACEMENT_TOO
17500 1 Maximum number of replacement tools
LS
$MN_TOOL_DATA_CHANGE_COUNT
17530 1FH Mark tool data change for HMI
ER
Memory reservation for tool management (SRAM)
Bit 0 = 1
- Bit 0: Provide magazine management data
$MN_MM_TOOL_MANAGEMENT_MA Bit 1 = 1
18080 - Bit 1: Provide monitoring data
SK Bit 3 = 1
- Bit 3: Consider adj. Location
Bit 10 = 1
- Bit 10: The multitool function is available
18082 $MN_MM_NUM_TOOL 512 *) Number of tools the NCK can manage (SRAM)
18084 $MN_MM_NUM_MAGAZINE 4 *) Number of magazines the NCK can manage (SRAM)
$MN_MM_NUM_MAGAZINE_LOCATIO
18086 260 *) Number of magazine locations the NCK can manage (SRAM)
N
$MN_MM_NUM_CUTTING_EDGES_IN
18100 1024 *) Tool offsets in the TO range (SRAM)
_TOA
Activation of tool management
19320 $ON_TECHNO_FUNCTION_MASK Bit 4 = 1
- Bit 4: Tool monitoring and Magazine management
Definition of basic control settings after reset/part program end
Bit 0 = 1
20110 $MC_RESET_MODE_MASK - Bit 0: RESET mode
Bit 6 = 1
- Bit 6: Active tool length compensation
$MC_TOOL_MANAGEMENT_TOOLHO
20124 1 Tool holder number
LDER
Activation of tool management functions
Bit 0 = 1
- Bit 0: Magazine management active
Bit 1 = 1
- Bit 1: Monitoring functions active
Bit 3 = 1
20310 $MC_TOOL_MANAGEMENT_MASK - Bit 3: Adjacent location treatment
Bit 14 = 1
- Bit 14: Automatic tool change during RESET and Start
Bit 16 = 1
- Bit 16: Programming T=“Location number“
Bit 23 = 1
- Bit 23: On offset selection no synchronization with HL
Time monitoring for tool in tool holder
20320 $MC_TOOL_TIME_MONITOR_MASK Bit 0 = 1
- Bit 0: Monitoring tool in tool holder 1
Notes :
Machine data for the tool change with turret Tool change program, TCHANGE
MD22550 = 0 The „tool change“ phase is activated by the The TCHANGE program is called whenever a T command is
T function for the new tool. programmed in the part program.
TEST_PROGRAM.MPF
N10
N20
N30 T=“ROUGHING1” Tool change program
N40 TCHANGE is called
N50
N60
N70
N80
N90
N100 M30 Program end
T3
Example: Tool change with turret
T2
L1
9999,1 M1 Magazine 1
H1 Tool holder 1
M1/T1 L1 Load loc. 1
L1 H1
9999,1 M1 Magazine 1 9998,1
T8
H1 Tool holder 1
M1 L1 Load loc. 1 T7
H1
9998,1
Notes :
The magazine configuration can be accomplished with the Example: Turret with 12 locations
operating software “HMI Operate“.
Magazine configuration
The magazine configuration contains:
Magazine 1
(turret) 12 locations
- Definition of the magazines
- Definition of the magazine locations
- Definition of the buffer locations Buffer magazine
- Definition of the load locations (9998) 1 location (tool holder)
- Definition of the search strategy
Load magazine
Procedure: (9999) 1 location ((load location
for turret)
- Create the magazine configuration
NC
(INI file)
L1
9999,1 M1 Magazine 1
H1 Toolholder 1
M1 L1 Load loc. 1
H1
9998,1
Notes :
Position the cursor on the "Tool unit (Chan1)" folder and press
the "Delete element" softkey.
The Tool management menu contains the following areas: The default magazine configuration of the 828D controller is
Active data contains the tool management of the NC deleted.
Examples contains examples for the tool management
Network / USB contains the connections
Position the cursor on the "Active data" folder and press the A magazine configuration is created that consists of a maga-
"New element" softkey. zine with 5 locations, as well as a tool spindle and a loading
point.
Name optional
Channel number input a value of “1”
Tool search select “Active tool”
Location search select “First location forward“ This magazine configuration can now be adapted to the
conditions on the machine.
Notes :
Configure Magazine 1 Accept the preassignments for the new magazine locations
for Location type and Consider adjacent location with "OK".
Position the cursor on the "Magazine 1" folder and open the
element with the "Input" key.
Configure the assignments Specify the assignments of the magazine and accept with
"OK".
Position the cursor on the "Assignments" folder and open the
element with the "Input" key.
Notes :
Back up the data Enter the name for Initialization program INI and accept with
"OK".
Position the cursor on the "Active data" folder and press the
"Copy" softkey.
Position the cursor on the "USB" folder and press the "Paste"
softkey.
Notes :
Configuration file (INI file) Variables in the configuration file (INI file)
Parameter Meaning
CHANDATA(1) $TC_MAMP1 Configuration magazine identifier
$TC_MAMP2 Tool search (bit 0-7) and location search (bit 8-15)
; delete old data - Bit 0=1: Active tool / min. duplo
$TC_MAP1[0]=0 Delete old data - Bit 8=1: First location forward
$TC_DP1[0,0]=0 $TC_MAP1 Magazine type (1=chain, 7=tool buffer magazine,
9=load magazine)
$TC_MAMP1="" TO area $TC_MAP2 Magazine identifier
$TC_MAMP2=257
$TC_MAP3 Magazine state
- Bit 0=1: Active magazine
$TC_MAP1[1]=3 - Bit 4=1: Magazine can be moved
$TC_MAP2[1]="" Magazine 1 - Bit 6=1: Fixed-location coded
$TC_MAP3[1]=81 $TC_MAP6 Number of lines (box magazine only)
$TC_MAP6[1]=1
$TC_MAP7 Number of columns
$TC_MAP7[1]=12
$TC_MAP10[1]=257 $TC_MAP10 Magazine tool search strategies, see MAMP2
$TC_MPP1 Location category (1=magazine location,
$TC_MPP1[1,1]=1 2=Spindle /tool holder, 3=gripper, 7=loading point)
$TC_MPP2[1,1]=1 Location 1
$TC_MPP2 Location type (0=compatible with each tool location
$TC_MPP3[1,1]=1 type)
$TC_MPP4[1,1]=2 $TC_MPP3 Consider adjacent location (1=On, 0=Off)
$TC_MPP5[1,1]=0 to
... $TC_MPP4 Location state
$TC_MPP1[1,12]=1 - Bit 1=1: Free to receive a tool
$TC_MPP2[1,12]=1 $TC_MPP5 Location type index
$TC_MPP3[1,12]=1 Location 12
$TC_MPP4[1,12]=2 $TC_MLSR Assignment of locations of the buffer magazine to
$TC_MPP5[1,12]=0 the spindle
$TC_MDP1 Distance from the magazine change position to the
$TC_MAP1[9998]=7 location of the first internal magazine (9999)
$TC_MAP2[9998]="" $TC_MDP2 Distance from the magazine change position to the
$TC_MAP3[9998]=17 location of the second internal magazine (9998)
Buffer magazine
$TC_MAP6[9998]=1
$TC_MAP7[9998]=1
$TC_MAP10[9998]=0
$TC_MPP1[9998,1]=2
$TC_MPP2[9998,1]=0
$TC_MPP3[9998,1]=0 Spindle/holder
$TC_MPP4[9998,1]=2
$TC_MPP5[9998,1]=1
$TC_MAP1[9999]=9
$TC_MAP2[9999]="" Load magazine
$TC_MAP3[9999]=17
$TC_MAP6[9999]=1
$TC_MAP7[9999]=1
$TC_MAP10[9999]=0
$TC_MPP1[9999,1]=7 Loading point 1
$TC_MPP2[9999,1]=0
$TC_MPP3[9999,1]=0
$TC_MPP4[9999,1]=2
$TC_MPP5[9999,1]=1
Assignments
$TC_MDP1[1,1]=0 Loading point to
magazine
$TC_MDP2[1,1]=0
Spindle/holder to
M17 magazine
Notes :
Activate the data After successfully reading in the definition files, the "*" symbol
goes away.
Position the cursor on the "Active data" folder and press the
"Activate data" softkey.
Magazine 1 (Turret)
- Location 1
...
- Location 12
Notes :
T=“ROUGHING1“
2 1
1
L1 Position the correct magazine location
9999,1 M1 Magazine 1 (DB4100.DBW10/12) to the load loca-
H1 Tool holder 1
M1 tion
L1 Load loc. 1
H1
9998,1
2
Job: Load magazine DB4100 Acknowledgement for load the magazine DB4000
DB4100 NCK PLC Signals from TM [r] DB4000 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Job Posi- Relo- Un- Load- Ack Ack Ack Ack Ack Ack Ack Ack
from tionin cate loadin ing DBB1
15 14 13 12 11 10 9 8
DBB1 NC g g
pro-
gram Example: Load tool to magazine location 9
Source magazine no. (INT)
DB4100.DBW6 =0
DBW6
DB4100.DBW8 =0
DBW8 Source location no. (INT) DB4100.DBW10 =1
DB4100.DBW12 =9
DBW10 Target magazine no. (INT)
Notes :
The TCHANGE, tool change program has to take the machine layout into consideration. The TCHANGE program is stored in the
manufacturer cycles or the user cycles directory of the control.
IF $C_T_PROG==1 ; T is numeric
IF $C_T==0 ; T=0
T=0
ENDIF
IF $C_T > 0
T=$C_T ; T-programming location number T=Location number
IF $C_D_PROG==TRUE
D=$C_D ; call Cutting edge number if programmed Tool change -> PLC
ENDIF
; insert here machine function for tool change
ENDIF
ENDIF
;
IF $C_TS_PROG==1 ; T is string
T=$C_TS ; T-programming without address expansion
IF $C_D_PROG==TRUE
D=$C_D ; call Cutting edge number if programmed T=“Identifier“
ENDIF Tool change -> PLC
; insert here machine function for tool change
ENDIF
ENDIF
;
;SETPIECE(1) ; if the number of workpieces machined by the tool is monitored
; (Tool Wear, column TC = C) counter of main toolholder
; is decremented by 1
M17
TCA program
The TCA program is used for the replacement tools (duplo tools) function. With selection of a replacement tool on the HMI sur-
face or programming of a TCA command in the NC program the TCA cycle is automatically called.
The TCA program is stored in the manufacturer cycles or the user cycles directory of the control.
Notes :
T=“Identifier“
Programming -> T=“ROUGHING1“
Example: Tool change with turret Sequence: Tool change with turret
1
L1
9999,1 M1 Magazine 1 1
H1 Toolholder 1
M1 L1 Load loc. 1
H1
Position turret to new tool location
9998,1 (DB4300.DBW6 and 8)
Notes :
Job: Execute tool change DB4300 Acknowledgement for “Execute tool change” DB4200
DB4300 NCK PLC Signals from TM [r] DB4200 PLC NCK Signals to TM [r/w]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0 Job Ack Ack Ack Ack Ack Ack Ack Total
DBB0
7 6 5 4 3 2 1 Ack
Tool Manu- Manu- No old T0 Pre- Chang Fixed
Ack Ack Ack Ack Ack Ack Ack Ack
re- al tool al tool tool pare e tool loca- DBB1
mains un- load chang (Initiat tion 15 14 13 12 11 10 9 8
DBB1 in load e ed by coded
spin- T-No)
dle Example: Change to turret position 3
DB4300.DBW6 =1
DBW6 Source magazine no. for new tool (Int)
DB4300.DBW8 =3
DBW8 Source location no. for new tool (Int) DB4300.DBW18 =0
DB4300.DBW20 =0
DBW18 Target magazine no. for old tool (Int )
B102: END
Notes :
Module Description:
In this module a simple milling machine with the axes X, Y and Z, the rotary axes A, C and the
main spindle SP1 is to be setup for milling. The individual commissioning steps are to be checked
from time to time to show the result of the parameterization.
The preparation of the tool list, the cycle selections, the block search and various basic settings
are also part of the training scope. There will be a detailed description of the selections to be made
for JOG-TSM.
Module Objective:
By means of this module you will learn and get to know the meaning of the Machine and Setting
data to be used as well as the various means available in order to configure the machine to suit the
particular requirements.
The functions will be parameterized in several blocks and subsequently tested to check correct
working.
Content:
Menu and Technology settings
Sinumerik
Manufacturer Cycles
Cycle settings
Basic Settings
JOG-TSM
Block Search
Simulation
Setup Milling:
START
Simulation
Overview
MD and SD
Machining
example
Manufacturer
Cycles
Menu and
Technology
settings
Setup for
Milling
Setup Milling:
END
Cycle
Settings
Tool List
Setup
Basic
Settings
JOG-TSM
Block search
Notes
19320 $ON_TECHNO_FUNCTION_MASK Bit 4 = 1 Exact Tool management with magazine data enabled
Notes
42528 $SC_CUTCOM_DECEL_LIMIT 1 Exact Feed lowering on circles with tool radius compensation
Change of tool length components with change of active
42940 $SC_TOOL_LENGTH_CONST 0 Exact
plane
Assignment of tool length compensation independent of tool
42950 $SC_TOOL_LENGTH_TYPE 0 Exact
type
Notes
Notes
Notes
Notes
$MCS_M_CODE_COOLANT_1_AND
52233 -1 M-code for coolant 1 + 2 ON
_2_ON
$MCS_NAME_TOOL_CHANGE_PRO
52240 M6 Tool change program for G code steps
G
Function mask Tool management
Bit 0: Do not permit Create tool on magazine location
Bit 1: Load/unload disable, if machine is not in reset
Bit 2: Load/unload disable for emergency stop
Bit 3: Load/unload tool or relocate tool to/from spindle
disabled
Bit 4: Load directly in spindle
Bit 5: Use grinding configuration file
52270 $MCS_TM_FUNCTION_MASK 0H
Bit 6: Permit relocating to/from spindle despite a block
(Bit 3)
Bit 7: Create tool using the T number
Bit 8: Hide Relocate tool
Bit 9: Hide Position magazine
Bit 10: Reactivate tool using Position magazine
Bit 11: Reactivate tool in all monitoring modes
Bit 12: Fade out Reactivate tool
Distance between individual magazine locations.
52271 $MCS_TM_MAG_PLACE_DISTANCE 70 Is used for graphical display of magazine and tools in tool
management.
Number of load station
= 0: If a query window is on the surface or if only one load-
52274 $MCS_TM_LOAD_STATION 0 ing station is available there will be no pop-up window
= 1: fixed loading station 1
= 2: fixed loading station 2
ShopMill only:
52281 $MCS_TOOL_MCODE_FUNC_ON -1
M-code for tool-specific function ON
M-code for tool-specific function OFF
52282 $MCS_TOOL_MCODE_FUNC_OFF -1 If both M commands of a function equal -1, the correspond-
ing field will not be displayed
X=0
Axis position at start of simulation
53230 $MAS_SIM_START_POSITION Y=0
Only adjust with geometry axes
Z=300
Notes
Notes
55305 $SCS_EASY_DRILL_DEEP_FD1 90 Simple input: percentage 1st federate deep - hole drilling
55307 $SCS_EASY_DRILL_DEEP_V1 1.2 Simple input: min. depth infeed deep - hole drilling
55308 $SCS_EASY_DRILL_DEEP_V2 1.4 Simple input: absolute retraction value deep - hole drilling
$SCS_EASY_THREAD_RETURN_DI
55309 2 Simple input: return distance thread tapping
ST
Engraving cycle CYCLE60: Circ. path radius for generating
55400 $SCS_MILL_ENGRAVE_POINT_RAD 0
the char. ”point”
Notes
Assignment of geometry axis to channel axis Machine axis number valid in channel
MD20070
MD20050 Machine axis number valid in
Assignment of geometry axis $MC_AXCONF_MACHAX_
$MC_AXCONF_GEOAX_ channel
to channel axis USED
ASSIGN_TAB
Change to:
Change to:
MD20070[0] = 1
MD20050[0] = 1 MD20070[1] = 2
MD20050[1] = 2 MD20070[2] = 3
MD20050[2] = 3 MD20070[3] = 4
MD20070[4] = 5
MD20070[5] = 6
MD20060 MD20080
Geometry axis name in chan- $MC_AXCONF_CHANAX_ Channel axis name in channel
$MC_AXCONF_GEOAX_
nel NAME_TAB
NAME_TAB
Change to:
Change to:
MD20080[0] = X1
MD20080[1] = Y1
MD20060[0] = X MD20080[2] = Z1
MD20060[1] = Y MD20080[3] = SP1
MD20060[2] = Z MD20080[4] = A
MD20080[5] = C
Notes
AX4: MSP1
MD30300 = 1 axis is a rotary axis
Modulo 360 degrees displayed for rotary axis or spindle
AX5: MA1
MD30300 = 1 axis is a rotary axis
AX6: MC1 MD30320 Modulo 360 degrees displayed
MD30300 = 1 axis is a rotary axis $MA_DISPLAY_IS_MODULO for rotary axis or spindle
Change to:
Assignment of spindle to machine axis Check of the set axes and spindles:
MD35000
Assignment of spindle to ma-
$MA_SPIND_ASSIGN_TO_
chine axis
MACHAX
Change to:
Description:
Definition of the spindle. The spindle is defined if the spindle
number is entered into this MD.
AX4: MSP1
MD35000 = 1 Assignment of spindle to the machine axis
(spindle S1)
Notes
For the individual matching the following cycles are included The cycle PROG_EVENT.SPF is a standard Siemens cycle
in the standard cycle package: and should not be changed by the manufacturer. For the
manufacturer cycles CYCPE1MA.SPF or CYCPE_MA.SPF,
the corresponding jump-out markers are prepared at the
Manufacturer‘s cycle for matching to the technological beginning and at the end of PROG_EVENT.SPF.
CUST_TECHCYC.SPF
cycles.
Manufacturer‘s cycle for matching to the functions At the beginning of the cycle PROG_EVENT
CUST_800.SPF
swivelling plane and orienting tool (CYCLE800). CYCPE1MA in the directory CMA
Manufacturer‘s cycle for matching to the function High
CUST_832.SPF
Speed Settings (CYCLE832). At the end of the cycle PROG_EVENT
CUST_CLAMP.SPF
Manufacturer’s cycle for matching to the function multi- CYCPE_MA.SPF in the directory CMA
ple workpiece clamping
Standard cycle for the support of the functionality of: For these cycles templates are not available. If the
Block search when milling or turning is activated CYCPE1MA.SPF and CYCPE_MA.SPF manufacturer cycles
PROG_EVENT.SPF are loaded in the NC, the program branches from
Block search and swivelling plane
PROG_EVENT to the manufacturer cycles as appropriate.
Block search and tool indexing
Notes
MD52005
$MCS_DISP_PLANE_MILL Plane selection Milling Plane Tool axis
Note:
Typical vertical function = G17
Notes
Continuation MD52005
MD52200 MD52201
Technology $MCS_TECHNOLOGY_EXTE Extended technology
$MCS_TECHNOLOGY
NSION
Change to: 2 Default: 0 Change to:
Description: Meaning of the axes in the channel
0: No specific configuration
1: Turning
2: Milling MD52206[x] Meaning of the axes in the
$MCS_AXIS_USAGE channel
Please also note MD 52201
$MCS_TECHNOLOGY_EXTENSION. Default: 0 Change to:
Note:
If high-speed extension spindles are used, a 2 must be en-
tered into the respective machine datum of the extension
spindle. An extension spindle is not included in the axis con-
figuration used here.
Notes
Note:
Number of actual values with large font Only display spindles in actual values window when in
axis mode
MD52010
Number of actual values with
$MCS_DISP_NUM_AXIS_BIG MD51023 Only display spindles in actual
large font
_FONT $MNS_ACT_VALUE_SPIND_ values window when in axis
MODE mode
Default: 3 Change to:
Default: 1 Change to:
Description: Description:
Number of actual values with large font, Max. value 31. The display of the spindles in the actual value windows can
be influenced by means of this. If the datum is set to 1 the
spindles will be shown in the actual value window only while
they are in the axis mode. The axes are displayed below the
geometry and auxiliary axes. Axes that are not in the axis
mode are shown as gaps.
If set to 0 the spindles will be displayed at all times.
Notes
Bit 2=0: The Softkey "T,S,M" is shown in the mode JOG . Bit 4=0: The follow-up tool is not shown in the T;F;S-window
This setting is in line with the basic setting of Shop-
Mill.
Bit 2=1: The Softkey "T,S,M" is hidden in the mode JOG. Bit 4 = 1 The follow-up tool is shown in the T;F;S-window.
This setting makes sense only in conjunction with
tool prepare on a machine featuring a double grip-
per.
Notes
Function mask Cross-technology Bit 0 and Bit 1 make sense only in conjunction with swivelling.
A more detailed description will be found in Module "Setup
Swivelling".
MD52212
Function mask Cross-
$MCS_FUNCTION_MASK_
technology
TECH
Change to: Bit 3 = 1
Bit 5 = 0 Bit 2: This Bit is not relevant in the technology Milling . In the
ShopMill cycles the longest cutting edge is taken into
account when retracting (retraction to the safety level).
Description:
Bit 0: Enable swivel plane/align tool with tool carrier
Bit 1: Optimized travel along software limit switches
(ShopMill/ShopTurn) Bit 3 = 0 Bit 3 = 1
Bit 2: Special approach logic for step drill (ShopTurn)
Bit 3: Call block search cycle for ShopMill/ShopTurn The ShopMill cycle The ShopMill cycle
Bit 4: Approach logic through cycle (ShopTurn) E_S_ASUP is not carried E_S_ASUP will be carried
Bit 5: Call block search cycle for SERUPRO out after block search. out after block search. De-
Bit 6: Work offset ZV cannot be entered as an absolute value tails regarding this setting
(ShopTurn) are contained in the section
"Block search"
Notes
Function mask Cross-technology Bit 1 = 0 The thread depth will not be evaluated automatically
The value for the thread depth "H1" must be entered manual-
SD55212 ly from a table.
Function mask Cross-
$SCS_FUNCTION_MASK_
technology
TECH_SET Bit 1 = 1 The thread depth will be evaluated from the metric
Change to: Bit 0 = 1 thread pitch.
Bit 1 = 1
Bit 2 = 1
Description:
Bit 0: Tool pre-selection activated
Bit 1: Evaluate thread depth from metric pitch
Bit 2: Transfer thread diameter and thread depth from table
Notes
Notes
SD55214
$SCS_FUNCTION_MASK_ Function mask Milling
MILL_SET
Default: Bit 0 = 1
Change to:
Bit 2 = 1
Description:
Bit 0: Default setting for milling with synchronous operation
Bit 1: not assigned
Bit 2: Depth calculation in milling cycles without parameter
SC
Description:
Bit 0: Reserved
Bit 1: Boring CYCLE86: Taking into account the rotation of
the work piece plane when positioning the spindle
Bit 2: Boring CYCLE86: Taking into account the indexed
table kinematics (tool carrier) when positioning the
spindle
Bit 3: Tapping CYCLE84: (without compensating chuck).
Note:
Monitoring the machine data 31050[x] and 31060[x] of
The safety gap is specified in the program header.
the spindle
Notes
Description:
Upper limit for the input of the feedrate in mm/min
Notes
Description:
Bit 0: Coolant OFF
Bit 1: Coolant 1 ON
Bit 2: Coolant 2 ON
Bit 3: Coolant 1 and 2 ON
In the tool list there are input fields for coolant 1 and coolant 2 M-code for all coolants OFF
for each tool. The select key can be used to toggle the func-
tion "coolant ON/OFF". The respective M-functions are put MD52230
out if the tool is changed by means of the part-program. The $MCS_M_CODE_ALL_ M-code for all coolants OFF
M-commands will not be put out if the tool is exchanged by COOLANTS_OFF
means of the T,S,M mask.
Default: 9 Change to:
Description:
M-Code for all coolant OFF
MD52231
$MCS_M_CODE_COOLANT_1 M-code for coolant 1 ON
_ON
Description:
M-Code for coolant 1 ON
Notes
MD52232
$MCS_M_CODE_COOLANT_2 M-code for coolant 2 ON MD52233
_ON $MCS_M_CODE_COOLANT_ M-code for both coolants ON
1_AND_2_ON
Default: 7 Change to:
Default: -1 Change to:
Description:
M-Code for coolant 2 ON Description:
M-Code for coolant 1 + 2 ON
MD52281[x]
M-code for tool-specific func-
$MCS_TOL_MCODE_FUNC_
tion ON
ON
Description:
In MD52281[0] - [3] ON and
in MD52282[0] - [3] OFF up to 4 additional columns for tool-
specific functions can be activated in the tool list. These can
then be selected in the columns M1- M4 (see screenshot
"Tool list" on the following page).
Description:
M-Code for tool-specific function ON
The value -1 means that the M-function will not be put out. If
both M-commands of a function = -1, the associated field in
the surface will not be shown.
Notes
M-code for tool specific function OFF Function mask Tool management
Bit 4: Loading takes place in the spindle directly. Bit 10: Re-activation of tool using magazine positioning
The tools are only loaded exclusively in the spindle. Before re-activation the tool is located on the loading
position.
Bit 5: Use grinding configuration file for creating the tool list.
Only grinding tools are offered. Bit 11: Re-activating the tool in all monitoring modes.
When re-activating a tool, all monitoring modes for this
Bit 6: Relocating a tool to/from the buffer (spindle/gripper) is tool released in the NC will also be re-activated; i.e.
permitted desoite a block (see bit3) also those monitoring modes that are not selected for
the respective tool, but which are dormant in the back-
Bit 7: Create tool using the tool number. Specify the tool's ground.
T-number when creating the tool.
Note: This function is intended for machines with tool Bit 12: Hide 'Tool re-activation'
management but without magazine configuration. The The function "Tool re-activating" is suppressed on the
default setting must not be changed. user interface.
Notes
Load station Tool management The following screenshots show a configuration with two
loading stations and the setting MD52274 = 0.
Description:
Function mask Tool management Bit 5: Evaluation of tool wear inputs additively
The input of wear data will be added to any existing
SD54215 wear values.
Function mask Tool manage-
$SNS_TM_FUNCTION_MASK
ment Bit 6: Numeric input of the tool identification
_SET
No name will be assigned to a new tool being created.
Default: 0H Change to: Only numerical characters are permitted .
Description: Bit 7: Hiding the tool monitoring parameter
Bit 0: Diameter readout for rotating tools The tool monitoring parameter will not be shown on the
It is not the radius value, but the diameter value that is user interface.
shown for rotating tools.
Bit 3: Input interlock for tool name and tool type for loaded
tools
Tool name and tool type cannot be changed for loaded
tools.
Notes
Description:
Bit 0 = 1 Diameter readout for rotating tools Bit10 = 1 Release of Tool relocation to buffer station
Notes
Notes
Notes
Bit 14 = 0: Description:
The basic frame is cancelled
Bit 16 = 0:
Bit 14 = 1: Initial setting for the master spindle as per
The current setting for the basic frame is retained. $MC_SPIND_DEF_MASTER_SPIND.
Note: Bit 16 = 1:
The setting Bit 14 = 1 is necessary to retain the channel- The current setting of the master spindle (SETMS) is re-
specific basic work offset (WO), which was activated with tained. This Bit in case of
G500, after a Reset/End-of-part-program. $MC_TOOL_MANAGEMENT_TOOLHOLDER = 0 has also
After activation of the basic WO (JOG-T,S,M-mask - Work an effect on the response of Bit 6.
offset - basic reference) the values in the Work offset
base are transferred to the Total basic WO and then from Note:
there to be transferred for activation also to the Total The setting of Bit 16 is not applicable to ShopMill.
WO.
The previously described settings in MD20110
correspond to the further MD-settings in:
MD20120 $MC_TOOL_RESET_VALUE
MD20130 $MC_CUTTING_EDGE_RESET_VALUE
MD20150 $MC_GCODE_RESET_VALUES
MD20152 $MC_GCODE_RESET_MODE
MD20140 $MC_TRAFO_RESET_VALUE
MD20112 $MC_START_MODE_MASK
MD20121 $MC_TOOL_PRESEL_RESET_VALUE
MD20118 $MC_GEOAX_CHANGE_RESET
Notes
Tool edge with length compensation during runup (reset/ Corresponds to:
end of part program) MD20110 $MC_RESET_MODE_MASK
MD20112 $MC_START_MODE_MASK
With active tool management and with Bit 0 and Bit 6 set in
MD20110 $MC_RESET_MODE_MASK at selection, the last
offset of the tool active at power OFF (as a rule the tool in the
spindle) is effective after booting.
Notes
MD20150[51] = 1 (exact)
Group 52: Tool-related Frame rotation
Value: 1 = PAROTOF
The tool related Frame rotation is deactivated.
The work piece coordinate system is not aligned
to the work piece.
MD20150[52] = 1 (variable)
Group 52: Tool-related Frame rotation
Value: 1 = TOROTOF
The tool related Frame rotation is de-activated.
Notes
Notes
MD20240
Blocks for look-ahead contour
$MC_CUTCOM_MAXNUM_
calculation with TRC
CHECK_BLOCKS
Default: 4 Change to:
Description:
Indicates the maximum number of blocks with traversing in-
formation at the offset plane that are considered simultane-
ously for collision detection with active TRC (tool radius com-
pensation).
Note:
The Standard setting should not be undercut.
Maximum number of blocks without traversing motion in Time monitoring for tool in tool holder
TRC
MD20320
Time monitoring for tool in tool
MD20250 Maximum number of blocks $MC_TOOL_TIME_MONITOR
holder
$MC_CUTCOM_MAXNUM_ without traversing motion in _MASK
DUMMY_BLOCKS TRC
Change to: Bit 0 = 1
Change to: 5
Description:
Note: The setting Bit 0 = 1 is required for the life-time monitoring of
The value 5 represents a value based on experience for the tool in the tool holder 1. The machine configuration used
JobShop installations. here only uses one tool holder.
Notes
Active system frames after reset Deletion of system frames after reset
MD24006 MD24007
Active system frames after Deletion of system frames
$MC_CHSFRAME_RESET_ $MC_CHSFRAME_RESET_
reset after reset
MASK CLEAR_MASK
Change to: Bit 0 = 1 Change to: Bit 0 = 0
Bit 5 = 0 Bit 5 = 1
Description: Description:
Bit-mask for the reset setting of the channel-specific system Bit-mask for deleting channel-specific system frames in the
frames, which will be evaluated with the channel. data management on Reset..
Bit 0: System frame active for preset. actual value/ scratching Bit 0 = 0: The system frame for setting actual values and
scratching (basic reference) will not be deleted with Reset/
Bit 5: System frame for cycles End-of-part-program.
Reset channel system frames after power ON Activation and impact of program runtime measurement
MD24008
Reset channel system frames
$MC_CHSFRAME_ MD27860
after power ON Activation and impact of pro-
POWERON_MASK $MC_PROCESSTIMER_
gram runtime measurement
Change to: Bit 0 = 0 MODE
Bit 5 = 0
Change to: Bit 0 = 1
Bit 1 = 1
Description: Bit 4 = 1
This machine data defines whether channel-specific system Bit 5 = 1
frames are reset in the data management on Power On. That Bit 6 = 1
is offsets and rotations are set to 0, scalings to 1. Mirroring is Bit 8 = 1
disabled.
Description:
The selection can be made separately for individual system
frames. Under the function program runtime timers are provided as
system variables. While the NCK-specific timers are always
Bit 0: System frame for set actual value and scratching is activated (for timings since the last control unit boot), the
deleted after Power On. channel-specific timers must be started by means of this da-
tum.
Bit 5: System frame for cycles retained after Power On.
Meaning:
Bit 0 = 0
No timing of the total runtime for all part programs
Notes
Notes
Notes
Continued MD27880 In a G code part program the program repetition can be done
by:
Bit 15 = 1: Counter $AC_SPECIAL_PARTS is increased by
the value 1 after a jump back with GOTOS. G-Code-Program_1: G-Code-Program_2:
… ...
M33; Repeat GOTOS; Repeat
Application example: M30 M30
MD27880 PART_COUNTER = 101H The number of work pieces is to be set in the mode-of-
Bit 0 = 1: Counter $AC_REQUIRED_PARTS "Work pieces operation AUTO in the mask “Time/Counter” by the parame-
Command" activate ter “Workpieces, setpoint”.
Bit 8 = 1: Counter $AC_ACTUAL_PARTS "Work pieces Actu-
al" activate Relevant PLC interface signals:
MD 27882[1] PART_COUNTER_MCODE = 33 Activating the part program repetition is done by setting the
PLC interface signal "Program branches control" to 1.
Part program: - For 840D sl: PLC bit DB21.DBX384.0
In such a JobShop-Program the program repeat can be - For 828D: PLC bit DB3200.DBX16.0
switched ON in the automatically generated End-of-program
block by means of the parameter "Repetition". In this case the When the actual number of workpieces matches the number
command GOTOS will be generated. of setpoint the PLC interface signal "Workpiece setpoint
reached" is set to 1.
- For 840D sl: PLC bit DB21.DBX317.1
- For 828D: PLC bit DB3300.DBX4001.1
MD28000
Memory space for REORG
$MC_MM_REORG_LOG_
(DRAM)
FILE_MEM
Change to: 75
Notes
Projecting of channel-specific system frames Projecting of channel-specific system frames in the data
management
MD28082
$MC_MM_SYSTEM_FRAME_ System frames (SRAM)
MASK MD28083
$MC_MM_SYSTEM_ System frames (SRAM)
Change to: Bit 0 = 1 DATAFRAME_MASK
Bit 5 = 1
Change to: Bit 0 = 1
Bit 5 = 0
Description:
Bit mask for configuring channel-specific system frames in- Description:
cluded in the channel. Bit mask for configuring channel-specific system frames in
the data storage (SRAM).
Bit 0: System frame for setting actual value and scratching
Bit 0: System frame for setting actual value and scratching
Bit 5: System frame for cycles
Bit 5: System frame for cycles
Note:
The system frames for actual value set and scratching
(basic reference) and for cycles are required for JobShop
installations.
Notes
Work offsets in frames Feed reduction on circles with tool radius compensation
SD42440
$SC_FRAME_OFFSET_INCR_ Work offsets in frames SD42528 Feed reduction on circles with
PROG $SC_CUTCOM_DECEL_LIMIT tool radius compensation
Change to: 0
Change to: 1
Note:
Note:
This setting is required for JobShop installations.
This setting is required for JobShop installations. It avoids the
"stopping" of the axes in such circular sections if the diameter
of the milling cutter is only marginally smaller than the ma-
chining radius.
Tool length compensations
SD42442
$SC_TOOL_OFFSET_INCR_ Tool length compensations
PROG
Change to: 0
Note:
This setting is required for JobShop installations.
Change of tool length components with change of active Assignment of tool length compensation independent of
plane tool type
Description: Description:
If this setting data is not equal to 0, the assignment of tool This setting data defines the assignment of the tool length
length components (length, wear, base dimensions) to geom- components to the geometry axes independently of the tool
etry axes is not changed when the machining plane (G17 - type. It can assume any value between 0 and 2. Any other
G19) is changed. value is interpreted as 0..
Notes
After the data have been entered and NC-Start initiated the Bit 0 = 1 Reset mode
file MA_JOG_STEP1.MPF will be generated in the directory Bit 6 = 1 Active tool length compensation
"Workpieces - TEMP " in the program-manager and execut- Bit 14 = 1 Base frame
ed.
Description:
To ensure that such functions as e.g. tool selection and spin-
dle Start will remain activated also after Reset and End-of Bit 6 = 1:
program, respective machine data are required, which will be The current setting for the active tool length correction re-
described below. mains active also after Reset/End-of-part program.
If the tool or magazine management is active, that tool is
The settings will be described with the T,S,M-Mask; the input selected which happens to be in the master spindle
masks Position and Roughing do not require special settings. (generally referred to as master-tool holder).
If the tool in the master spindle is locked, the "locked" status
will be ignored.
It must be borne in mind that after end-of-program, program Activation of tool management functions
abort either the last programmed value for the master spindle
respectively the master tool holder or else the value specified MD20310
by $MC_SPIND_DEF_MASTER_SPIND respectively Activation of tool management
$MC_TOOL_MANAGEMENT_
$MC_TOOL_MANAGEMENT_TOOLHOLDER for the master functions
MASK
spindle respectively the master-tool holder will be used.
Change to: Bit 14 = 1
Description:
Bit 14 = 1: Reset-Mode
Tool and correction selection as per the settings of MD20110
$MC_RESET_MODE_MASK and
MD20112 $MC_START_MODE_MASK.
Notes
Change to: 32 This machine data defines the response of the spindle after
Reset and program end (M2, M30).
Suggestion M32
This MD is only active in the spindle mode open-loop control
mode. In the positioning or oscillation mode, the spindle is
Description:
always stopped.
With Start in the manual mode-of-operation (T,S,M-mask,
position) the part-program MA_JOG_STEP1 will be generat-
ed and executed.
This part-program will be finished with the M-function in
MD10714. The setting of MD35040 = 2 ensures that the spin-
dle remains active also after the end-of-program.
MD35040 $MA_SPIND_ACTIVE_AFTER_RESET= 1:
Spindle does not stop
Program is aborted Enter speed and direction of
rotation
MD35040 $MA_SPIND_ACTIVE_AFTER_RESET= 2:
Spindle does not stop at the M function configured via and actuate NC-Start
MD10714 $MN_M_NO_FCT_EOP (e.g. M32).
However, the spindle stops at channel or mode group re-
set.
Notes
Continued Start main spindle via the T,S,M-mask Monitoring the tool change
Description:
M3 G972 S1=1000
Starting of the spindle
Note:
In case of a ShopMill installation there will be no
CUST_TECHCYC call-ups for the spindle control from the
T,S,M-mask and during program execution.
Notes
The tool will be loaded into the T,F,S mask with Cycle Start.
The PLC-tool change functions provided by the machine man-
The selected tool "Finisher" is now displayed in the T,S,M ufacturer are executed in the background for this process.
mask.
Gear step
MD35010
Parameterize gear stage
$MA_GEAR_STEP_CHANGE_
change
ENABLE
Change to: Bit 0 = 1 With NC-Start the program
MA_JOG_STEP1 will be gen-
erated - in this example for
Description:
the selection of the gear
The selection field Gear stage appears only if in MD35010 for stage 2 = M42.
the spindle Bit 0 = 1 is set.
MD35090
Number of gear stages
$MA_NUM_GEAR_STEPS
Description:
Number of prepared gear stages.
Notes
MD10260
Enable basic system conver-
$MN_CONVERT_SCALING_
sion
SYSTEM
Change to: 1
Description: Note:
Switching the measuring systems with HMI-Softkey MD 20152[12] = 0 must be set for the position readouts to be
0. Hide Softkey inch/metric switching converted.
1. Display Softkey inch/metric switching
Selection of Inch/metric switching. :
Note:
Description:
Bit 0: Response to output of alarm 10208 The setting of Bit 3=1 ensures that the tool programmed after
the block search is duly changed and that the spindle rotates
Bit 1: Automatic ASUP start after action blocks in the tool-assigned direction at the speed programmed in the
destination block. For installations without ShopMill this Bit
Bit 2: Response to Auxf output (spindle) needs not to be set, however, the machine manufacturer
must ensure that the tool and spindle functions are gathered
and put out during the block search.
Notes
Tool change commands to PLC after search run 1: Tool changing commands and tool preparation commands
are gathered and passed on to the PLC with program Start
when the search run has attained the destination block.
MD20128
Tool change commands to 0: all tool and/or magazine specific commands that were
$MC_COLLECT_TOOL_
PLC after search run gathered during the block search will not be put out to the
CHANGE
PLC with the next program Start! That means that also pro-
Change to: 0 grammed POSM, TCI, TCA will not be passed on to the PLC.
Note 1:
Description:
Without an active magazine management the tool change-M-
This MD is of any meaning only with activated magazine
code will not be gathered, if it is not assigned to an auxiliary
management (MD18080
function group. With an active magazine management this
$MN_MM_TOOL_MANAGEMENT_MASK, MD20310
corresponds to an MD-value = 0.
$MC_TOOL_MANAGEMENT_MASK).
It specifies whether after block search with evaluation tool
Note 2:
changing commands, tool preparation commands (generally
tool changing commands) are put out to the PLC or not put The value = 0 is sensible for instance if after reaching the
out to the PLC. search destination the gathered tool change commands are
transferred to the PLC in an ASUP-program with the aid of
Note: the commands GETSELT, GETEXET.
This setting is necessary for ShopMill/ShopTurn.
Simulation
Change to: 1
Description:
0: SZS results from the WCS transformed with
$P_CYCFRAME and $P_PFRAME.
Notes
AX2: MZ1
MD53230 = e.g. 300 mm
Description:
Axis position at the Start of the simulation.
Note:
For the further axes and spindles this MD should be left on 0.
Notes
Tool list
Preparation:
The tools used in this example must be created.
Face milling and technology data: Deep hole drilling and technology data:
Notes
Position circle for deep hole drilling: Program end and repetition:
Notes
MD52010 BIG_FONT = 3
depending on MD52011
Softkey Description
selection
Notes
Softkey Description
Machine —> JOG —> WCS selection
Softkey Description
Machine —> JOG —>MCS selection
MD51023 ACT_VALUE_SPIND = 1
Spindles are displayed only if in axis
mode, MSP1 not displayed
(Default setting)
Notes
MD20110 RESET_MODE_MASK
Bit 6 = 1 Tool length compensa-
tion is retained even after RESET
MD20130 = 1 Tool and tool edge
number retain active
MD17500
MAX_NUM_REPLACEMENT_TOOLS
>1 Maximum number of tools in a tool group
For 828D the Replacement tools for tool
management option is required.
MD20110 RESET_MODE_MASK
Bit 6 = 1 Active tool length offset is retained after reset
and
MD20310 TOOL_MANAGEMENT_MASK
Bit 14 = 1 Automatic Tool change during Reset and Start
MD35040
SPIND_ACTIV_AFTER_RESET
= 2 Own spindle reset
MD35000 AX4:MSP1 = 1
The spindle must be configured
MD35010 GEAR_STEP_CHANGE_ENABLE
of AX4:MSP1 Bit 1 = 1
and
MD35090 NUM_GEAR_STEPS of MSP1
Number of gear steps = 5
Notes
MD52210 FUNCTION_MASK_DISP
Bit 0 = 0 Selection of the meas. unit on
the operator panel
MD20152[5] G_CODE_RESET_MODE = 1
Switch over machining plane
and
MD52005 DISP_PLANE_MILL = 0 Plane
selection on the operator panel
Notes
Softkey Description
Machine —> JOG —> Measure workpiece selection
Example:
Choice for the 5 free assign-
able vertical softkeys
Notes
SD54780 Bit 3 = 1
Select probe calibration data field
Example:
MD52207[5] AXIS_USAGE_ATTRIB = 44H
Bit 6 = 1 Show rotary axis as correction
destination for measuring in addition to
coordinate rotation
Selection
Notes
Softkey Description
Machine —> JOG —> Measure tool selection
SD54782 Bit 2 = 0
SD54782 Bit 2 = 1
SD54782 Bit 3 = 1
Select tool probe calibration data field
Notes
not displayed
Notes
Softkey Description
Machine —> JOG —> Settings selection
MD10260 CONVERT_SCALING = 1
Softkey Description
selection
Notes
SD54215 TM_FUNCTION_MASK
Bit 0 = 0 Always radius
Bit 0 = 1 Diameter display for rotating tools
Softkey Description
selection
MD52270 TM_FUNCTION_MASK
Bit 0 = 1 Create tool on magazine location not allowed
Bit 7 = 1 Create tool using the tool number
SD54215 TM_FUNCTION_MASK_SET
Bit 2 = 1 Create tool without name suggestion
Bit 3 = 1 Input disable for tool name and tool type in loaded tools
Bit 4 = 1 Input disable for loaded tools, if the channel is not in Reset
Bit 11 = 1 Creating tool in gripper disabled
Notes
MD52229 ENABLE_QUICK_M_CODES
MD52230 M_CODE_ALL_COOLANTS_OFF
MD52231 M_CODE_COOLANT_1_ON
MD52232 M_CODE_COOLANT_2_ON
MD52233 M_CODE_COOLANT_1_AND_2_ON
Softkey Description
Parameter —> Tool wear selection
SD54215 TM_FUNCTION_MASK_SET
Bit 5 = 1 Calculate tool wear inputs additively
Notes
Softkey Description
Parameter —> Magazine selection
MD17500 MAX_NUM_REPLACEMENT_TOOLS
>1 Maximum number of tools in a tool group
MD52270 TM_FUNCTION_MASK
Bit 8 = 1 Fade out Relocate tool
Bit 9 = 1 Fade out Position magazine
MD52270 TM_FUNCTION_MASK
Bit 1 = 1 Load/unload disable, if machine is not in reset
Bit 2 = 1 Load/unload disable on Emergency stop
Bit 3 = 1 Load/unload tool to/from spindle is disabled
Bit 4 = 1 Loading is executed directly in the spindle
MD52274 TM_TOOL_LOAD_STATION
Default setting = 0 All configured stations are taken into account
Notes
MD35000 AX4:MSP1 = 1
Assignment of spindle to machine axis,
otherwise this field is not displayed
Notes
MD52210 FUNCTION_MASK_DISP
Bit 3 = 1 The M-code entered in MD10714 M_NO_FCT_EOP is
generated automatically after pressing the “Delete blocks“ softkey
Softkey Description
selection
Notes
Softkey Description
selection
Notes
Softkey Description
Machine —> AUTO —> Time / Counter selection
MD27860 PROCESSTIMER_MODE
Bit 0 = 1 Measuring total runtime for all part programs
Bit 1 = 1 Measuring current program runtime
Bit 4 = 1 Measuring during active dry run feedrate
Bit 5 = 1 Measuring during program test
Bit 6 = 1 $AC_CYCLE_TIME is not deleted on start by ASUP
and PROG_EVENTs
Bit 8 = 1 Delete $AC_CYCLE_TIME with GOTOS
MD27880 PART_COUNTER
Bit 0 = 1 Counter $AC_REQUIRED_PARTS
Bit 8 = 1 Counter $AC_ACTUAL_PARTS
Bit 11 = 1 Increment AC_ACTUAL_PARTS
with GOTOS
Softkey Description
selection
Notes
MD52210 FUNCTION_MASK_DISP
Bit 3 = 1 The M-code entered in MD10714 M_NO_FCT_EOP is
generated automatically after pressing the “Delete blocks“ softkey
MD51039 PROGRAM_CONTROL_MODE_MASK
Bit 0 = 1 Program test function available
Selection
Notes
Softkey Description
Machine —> AUTO —> Block search (ShopMill) selection
Softkey Description
Machine —> AUTO —> Block search (G Code program) selection
Notes
Softkey Description
Machine —> AUTO —> Simultaneous recording selection
Softkey Description
Program manager —> New program selection
Option ShopMill/ShopTurn
Notes
Softkey Description
selection
Notes
MD52210 FUNCTION_MASK_DISP
Bit 0 = 0 Unhides input field for mm/
inch
Selection
MD52005 DISP_PLANE_MILL
= 0 plane selection on the operator panel
SC = Safety distance
Selection
SD55214 FUNCTION_MASK_MILL_SET
Bit 2 = 1 Depth calculation in milling cycles w/o SC
Default setting = 1
SD55214 FUNCTION_MASK_MILL_SET
Bit 0 = 1 Milling cycles with synchronous operation
Default setting = 1
Notes
MD52216 FUNCTION_MASK_DRILL
Bit 0 CYCLE 84 (w/o compensat. chuck)
Bit 1 CYCLE 840 (with compensat. chuck)
CYCLE 840 for ShopMill only
MD52216 FUNCTION_MASK_DRILL
Bit 0 = 1 Unhide input fields Technology
SD55216 FUNCTION_MASK_DRILL_SET
Bit 1 = Boring (CYCLE86) Consider rotation of the tool plane
Bit 2 = Boring (CYCLE86) Consider swiveled table kinematics
Bit 3 = Tapping (CYCLE84) Monitoring spindle MD 31050/31060
Bit 4 = Tapping (CYCLE840) Monitoring spindle MD 31050/31060
Bit 6 = Boring (CYCLE86) Adapt spindle position to the tool orientation
Bit 7 = Boring (CYCLE86) Adapt direction of retraction path in the plane to active mirroring
Notes
SD55212 FUNCTION_MASK_TECH_SET
Bit 1 = 1 Calculate thread depth from metric
thread lead
Note: As soon as the line table "None" is
selected, the parameter H1 can be overwritten
Selection Table
SD55212 FUNCTION_MASK_TECH_SET
Bit 2 = 1 Refer to the table for thread diameter and depth
Note: As soon as the line table "ISO metric" is selected, the table is
activated for the various threads
Notes
Softkey Description
Program —> Contour milling selection
Softkey bar with Residual Option Residual material detection and machining
material detection and
machining option
Softkey Description
Program —> Simulation selection
MD51226 FUNCTION_MASK_SIM
Bit 0 = 1 No automatic start on simulation selection
MD53230 SIM_START_POSITION
Axis position at start of simulation
for AX1:MX1 e.g. 500mm
for AX2:MY1 e.g. 500mm
for AX3:MZ1 e.g. 200mm
Notes
B110: END
Notes
Module Description:
In this module a milling machine with the axes X, Y and Z, a tool spindle SP1, well as a swivel
table A and C is to be set up. The individual setup steps will be checked at times in order to show
the result of the parameterization.
At the end the swivelling function will be tested under JOG and in the part program by means of an
example.
Module Objective:
With the aid of this module you will learn know the meaning of the MDs and SDs that must be
addressed as well as the various means to configure the machine according to the requirements.
The functions will be parameterized in blocks and in the end tested for correct function.
Content:
Sinumerik
Swivelling
set up:
START
Overview
Machine and
setting data
Machine data
set-up
Swivelling
data block
set-up
Set up the
CUST_800.SPF
Application in
JOG and
part program
Swivelling
set up:
END
Notes
$MN_FRAME_GEOAX_CHANGE_
10602 1 Exact Frames when changing geometry axes
MODE
18088 $MN_MM_NUM_TOOL_ CARRIER 1 Minimum Maximum number of definable tool carriers
[41] = 0 Exact
20152 $MC_G_CODE_RESET_MODE [51] = 0 Exact Reset response of G groups
[52] = 0 Exact
Tool carrier: rotary axis setting with axis positions not
20196 $MC_TOCARR_ROTAX_ MODE Bit 1 = 1 Variable
defined
$MC_TOOL_PARAMETER_DEF_
20360 Bit 10 = 1 Variable Definition of tool parameters
MASK
$MC_TOCARR_ROT_OFFSET_
21186 1 Variable Offset of TOCARR rotary axes from WO
FROM_FR
Notes
42980 $SC_TOFRAME_MODE 2000 Exact Frame definition at TOFRAME, TOROT and PAROT
Notes
Swivelling
For this you can program the swivelling axes (A, B, C) of the
machine or else you can simply state the rotations about the
swivelling axes (X, Y, Z) of the work piece coordinate system
as shown on the respective work piece drawing. The rotation
of the work piece coordinate system in the program are then
automatically converted during the machining of the work
piece into rotations of the respective swivelling axes of the
machine.
Function mask Cross-technology Bit 0 = 0 Swivelling plane/aligning tool with tool carrier is not
enabled
MD52212 Bit 0 = 1 Swivelling plane/aligning tool with tool carrier is
Function mask Cross- enabled
$MCS_FUNCTION_MASK_
technology
TECH
The following functions are available:
Change to: Bit 0 = 1
In JOG:
Description:
Bit 0: Enable swivel plane/align tool with tool carrier
Bit 1: Optimized travel along software limit switches For details see section "Application in JOG and part program"
(ShopMill/ShopTurn) in this module.
Notes
The first diagram shows the axis motion if the coordinate sys- The second diagram shows the axis motion in case of a swiv-
tem is not swivelled. elled coordinate system.
1. Retraction from the work piece to the retraction plane RP 1. Retraction from the work piece to the retraction plane RP
2. Travelling along the retraction plane to the next machining 2. Travelling along the retraction plane to the next machining
position position. Here the machining space at the machine would
3. Infeed to the work piece be exceeded and from this a software limit switch alarm
would be raised as a result. This alarm will be avoided by
optimized travelling along the software limit switch.
3. Travelling along the Software limit switch.
4. Infeed to the work piece.
Function mask Swivel CYCLE800 Bit 10: Swivel plane: Display input field “positioning direction”
Bit 11: Swivel plane: Positioning of both solutions AB - display
kinematics
SD55221
Function mask Swivel Bit 12: Reset behaviour taking into account the rotary axis
$SCS_FUNCTION_MASK_
CYCLE800 position
SWIVEL_SET
Change to: Bit 2 = 1
Bit 3 = 1
Description:
Description: Bit 0: Input field "Swivel":
Bit 0: Unhide input field "No swivel"
Bit 1: Retraction variant Z; Z XY or fixed position In the editor mask
Bit 2: Show swivel data block "Deselection" “Swivel plane” is the
Bit 3: Display active swivel plane in JOG selection "Swivel yes/no"
Bit 4: Positioning in basic position (pole position) of the kine-
matics = 0 not released
Bit 5: Align tool, absolute (TCOABS)
Bit 6: Do not offer swivel mode “directly” under swivel in JOG = 1 released
Bit 7: Swivel plane: Direction selection in initial setting of
kinematics
Bit 8: Take into account work offset of rotary axes, swivel
data set in Work
Bit 9: Swivel data set TC permanently assigned to the tool
Notes
Notes
Hide and unhide cycle alarms for CYCLE800 Initial setting swivel: Retract
SD55410 SD55420
Hide and unhide cycle alarms
$SCS_MILL_SWIVEL_ALARM $SCS_MILL_SWIVEL_RESET Initial setting swivel: Retract
for CYCLE800
_MASK _RETRACT
Default: 0H Change to: Default: 0 Change to:
Bit 0: Display alarm 62186: Active work offset G54 ff. and = 0: no change
base (base reference) contain rotations = 1: no
= 2: Z
Bit 1: Display alarm 62187: Active base and basic reference = 3: Z XY
(G500) contain rotations = 4: Tool direction max.
= 5: Tool direction inc.
Initial setting swivel: Tool correction Initial setting swivel: Swivel mode
SD55421 SD55422
Initial setting swivel: Tool cor- Initial setting swivel: Swivel
$SCS_MILL_SWIVEL_RESET $SCS_MILL_SWIVEL_RESET
rection mode
_TRACK _MODE
Default: 0 Change to: Default: 0 Change to:
Description: Description:
With this setting data, the state With this setting data, the state
of the toggler “Tool” in the editor of the toggler “Swivel mode” in
mask “Swivel plane” and in swiv- the editor mask “Swivel plane”
elling-JOG can be set with the and in swivelling-JOG can be
“Initial setting” softkey. set with the “Initial setting” soft-
key.
= 0: no change
= 1: do not correct = 0: axis by axis
= 2: correct = 1: directly
Note:
The tracking of the tool tip when
swivelling requires the option
"Machining package 5-axes”.
This option is not available with
the NCK-Export-Version.
Notes
= 1: The current total frame is recalculated when geometry The data are stored in battery-backed memory.
axes are switched over. Translations, scaling and mirror-
ing for the new geometry axes become active. The rota- Application example(s):
tions of the old geometry axes still apply.
2 channels are taken to be active, with one TO-unit (= default)
in each channel. Three carriers are to be defined in channel
1 , one carrier in channel 2. The value to be set is 6, because
6 / 2 = 3. I.e. in each TO-unit there are a max of 3 carrier defi-
nitions.
Note: Value = 3:
This machine data is used only in conjunction with angled Not only the system parameters $TC_DPV[n, m] and
tools. $TC_DPV3 - $TC_DPV5 but also the additional three system
parameters $TC_DPVN3[n, m], $TC_DPVN4[n, m] and
Description: $TC_DPVN5[n, m] are assigned to each tool cutting edge
D=m of the tool T=n, with the aid of which a vector (normal
The function allows an orientation deviating from the default vector) can be defined that is preferably perpendicular to the
value to be assigned to each tool cutting edge. tool orientation. The normal vector may be modified so that it
lies in the plane formed by the orientation and the pro-
Value = 0: grammed normal vector but perpendicular to the orientation.
The tool orientation function is inactive.
The orientation and the possibly modified normal vector
Value = 1: together define a complete orientation coordinate system.
The system parameter $TC_DPV[n, m] is assigned to each The machine data affects the requirement for battery-backed
tool cutting edge D=m of the tool T=n, with the aid of which memory.
one of 6 possible tool orientations in positive or negative co-
ordinate direction can be defined.
Notes
MD20150[x] MD20152[x]
$MC_GCODE_RESET_ Initial setting of G groups Reset response of G groups
$MC_GCODE_RESET_MODE
VALUES
Change to: [41] = 1 Change to: [41] = 0
[51] = 2 [51] = 0
[52] = 1 [52] = 0
[53] = 1
Description:
Group 42: Tool carrier This MD is only evaluated if bit 0 is set in MD20110
MD20150[41] = 1 (TCOABS) $MC_RESET_MODE_MASK.
Group 52: Work piece related frame rotation
MD20150[51] = 2 (PAROTOF) Setting this MD equal to 0 specifies that for each entry in
Group 53: Tool related frame rotation MD20150 $MC_GCODE_RESET_VALUES the setting after
MD20150[52] = 1 (TOROTOF) a reset/end of part-program is once more the setting as per
Group 54: Vector rotation for polynomial programming MD20150 $MC_GCODE_RESET_VALUES.
MD20150[53] = >1 in cases of rotary axes with Hirth tooth
system or angled tools are used
Description:
Definition of the G codes which become active on run-up and
reset or at part program end depending on MD20152
$MC_GCODE_RESET_MODE and at part program start
depending on MD20112 $MC_START_MODE_MASK.
Tool carrier: If the relevant bit is 0, the position of the rotary axis will be 0;
Rotary axis setting with axis positions not defined a possibly necessary rotation is performed through the speci-
fied frame.
MD20196
Tool carrier: rotary axis setting If the relevant bit is 1, the rotation is performed by means of
$MC_TOCARR_ROTAX_
with axis positions not defined the rotary axis of the orientable tool carrier. The resulting
MODE
frame will no longer include a rotation.
Default: Bit 1 = 1 Change to:
Example:
Bit 0: Rotary axis mode for ToolCarrier with 1 axis A tool in its basic position points into the Z direction, and an
Bit 1: Rotary axis mode for ToolCarrier with 1 axis axis of the orientable tool carrier rotates the work piece
around Z (C-Axis). If the tool shall be oriented in parallel with
Description: the Z axis of a rotating frame, and if the frame only rotates
The MD is bit-coded. Bit 0 applies to orientable tool carriers around the Z axis, the tool orientation will not be changed, if
with one axis, bit 1 for those with 2 axes. the C axis is rotated. The condition saying that the tool is to
point in the direction of the Z axis defined by the frame is
When the axis positions of an orientable tool carrier are deter- therefore fulfilled for any position of the Z axis.
mined from a specified frame, it might happen that the re-
quired orientation is achieved at any position of a rotary axis.
Notes
MD20360 MD21100
Angle definition for orientation
$MC_TOOL_PARAMETER_ Definition of tool parameters $MC_ORIENTATION_IS_
programming
DEF_MASK EULER
Change to: Bit 10 = 1 Change to: 0
Offset of TOCARR rotary axes from WO (Work offset) M code at change of tool carrier
MD21186 MD22530
Offset of TOCARR rotary axes M code at change of tool carri-
$MC_TOCARR_ROT_ $MC_TOCARR_CHANGE_M_
from WO er
OFFSET_FROM_FR CODE
Change to: 1 Default: 0 Change to:
Description: Description:
Rotary axes offset for the orientable tool carrier is automati- The absolute value of this machine data indicates the number
cally accepted from the work offset activated on activation of of the M code, which is output at the VDI interface when a
the orientable tool carrier for the rotary axes. tool carrier is activated.
= 0: In CYCLE800, the WCS is recalculated when there is a If the MD is positive, the unchanged M code is always
value in the zero offset (ZO) of the rotary axes. output.
If values are entered in the zero offset of the rotary axes
of the active swivel data set, the basic position of the If the MD is negative, the number of the tool carrier is add-
swivel data set and therefore also the basic position if the ed to the absolute value of the machine data and the num-
WCS can be changed. ber is output.
= 1: A value in the zero offset (ZO) of the rotary axes acts as Special cases:
an offset of the orientable tool carrier. The WCS remains If the number of the M code to be output or the absolute value
unchanged. of this MD is set to one of the values 0 to 6, 17 or 30. It is not
monitored whether an M code created in this way will conflict
with other functions.
Notes
Active system frames after reset Deletion of system frames after reset
MD24006 MD24007
Active system frames after Deletion of system frames after
$MC_CHSFRAME_RESET_ $MC_CHSFRAME_RESET_
reset reset
MASK CLEAR_ MASK
Bit mask used for the reset setting of the channel-specific Description:
system frames included in the channel.
Bit mask used to delete channel-specific system frames from
Bit 4: System frame for work piece reference points is active the data management on reset.
after reset.
Bit 2: Reserved, for TCARR and PAROT, see MD20150
Related to: $MC_GCODE_RESET_VALUES[].
MD28082 $MC_MM_SYSTEM_FRAME_MASK
Bit 3: Reserved, for TOROT and TOFRAME, see MD20150
$MC_GCODE_RESET_VALUES[].
Reset channel system frames after power on Parameterize properties for settable frame
MD24008 MD24080
Reset channel system frames Parameterize properties for
$MC_CHSFRAME_ $MC_USER_FRAME_
after power on settable frame
POWERON_ MASK POWERON_ MASK
Change to: Bit 2 = 0 Change to: Bit 0 = 0
Bit 3 = 0
Bit 4 = 0
Description:
Description: Setting the following bits activates certain properties of the
This machine data defines whether channel-specific system settable frame:
frames are reset in the data management on Power On. That
is offsets and rotations are set to 0, scalings to 1. Mirroring is Bit 0 = 0: default behaviour.
disabled.
Bit 0 = 1: if MD20152 $MC_GCODE_RESET_MODE[7] = 1,
Bit 2: System frame for TCARR and PAROT is deleted after the last active settable frame is selected again ac-
Power On. cording to G code group 8 after power up of the con-
trol.
Bit 3: System frame for TOROT and TOFRAME is deleted
after Power On.
Related to:
MD28082 $MC_MM_SYSTEM_FRAME_MASK
Notes
MD28082 MD28083
$MC_MM_SYSTEM_FRAME_ System frames (SRAM) $MC_MM_SYSTEM_ System frames (SRAM)
MASK DATAFRAME_MASK
Change to: Bit 2 = 1 Change to: Bit 2 = 1
Bit 3 = 1 Bit 3 = 1
Bit 4 = 1 Bit 4 = 1
Description: Description:
Bit mask for configuring channel-specific system frames in- Bit mask for configuring channel-specific system frames in
cluded in the channel. the data storage (SRAM).
Bit 2: System frame for TCARR and PAROT Bit 2: System frame for TCARR and PAROT
Bit 3: System frame for TOROT and TOFRAME Bit 3: System frame for TOROT and TOFRAME
Bit 4: System frame for work piece reference points Bit 4: System frame for work piece reference points
Notes
Change of tool length components with change of active Assignment of tool length compensation independent of
plane tool type
Description: Description:
If this setting data is not equal to 0, the assignment of tool This setting data defines the assignment of the tool length
length components (length, wear, base dimensions) to geom- components to the geometry axes independently of the tool
etry axes is not changed when the machining plane (G17 - type. It can assume any value between 0 and 2. Any other
G19) is changed. value is interpreted as 0..
Fine offset TCARR ON / OFF Frame definition at TOFRAME, TOROT and PAROT
SD42974
SD42980 Frame definition at TOFRAME,
$SC_TOCARR_FINE_ Fine offset TCARR ON / OFF
$SC_TOFRAME_MODE TOROT and PAROT
CORRECTION
Change to: 0 Change to: 2000
Description: Description:
= 0: no fine offset of the vectors of the swivelling block This setting data defines the direction of the geometry axes
on the machining plane (XY in the case of G17), in the case
= 1: Fine offset of the vectors of the swivelling block. The of the frame definition by means of TOFRAME, TOROT
parameters of the swivelling block $TC_CARR41[n] ... (TOROTY, TOROTX) or for PAROT.
$TC_CARR65[n] take effect.
= 2000: Rotation around the Z axis is selected so that the
angle between the new X axis and the old X-Z plane
has the same absolute value as the angle between
the new Y axis and the old Y-Z plane.
Notes
For every swivel head, swivel table or combination of both, a swivel data a set has to be compiled.
Swivel data sets may be assigned to several channels (refer to machine data).
A swivel data set consists of parameters $TC_CARR1[n] to $TC_CARR65[n], n = number of swivel data set.
In the operating area Setup, the swivel data set parameters ($TC_CARR1[n] to $TC_CARR65[n]) can be read in/out . Program-
ming with relevant value assignment is also possible in a NC program (manufacturer cycle). After program start, swivel data set
parameters are immediately active.
Offset vectors I1 to I4
The vectors always contain three components, which represent the reference to the X, Y and Z machine axes. The positions in
the kinematic chain are measured by the machine manufacturer; they are always relevant with respect to a swivel head / swivel
table (swivel data set). Offset vectors I1 to I4 refer to the non-swiveled state of the rotary axes (machine kinematics basic set-
ting).
I1 $TC_CARR1…...3[n]
I2 $TC_CARR4…...6[n]
I3 $TC_CARR15...17[n]
I4 $TC_CARR18...20[n]
Kinematic types
Swivel head (type T) Swivel table (type P) Swivel head + swivel table (type M)
Notes
I3 distance from the tool adapter to the pivot point/intersection of the 2nd rotary axis
I2 distance from the pivot point/intersection of the 2nd rotary axis to the pivot point/intersection of the 1st rotary axis
I1 closure of the I1=-(I2+I3) vector chain, if the swivel head cannot be changed
I2 distance from the machine reference point to the pivot point/intersection of the 1st rotary axis
I3 distance from the pivot point/intersection of the 1st rotary axis to the pivot point/intersection of the 2nd rotary axis (or to
the reference point of the tool adapter)
I4 closure of the I4=-(I2+I3) vector chain, if the swivel table cannot be changed
Swivel head / Swivel table Mixed kinematics: (swivel head and swivel table
Of the swivelling axes one is on the spindle head and one on the work piece table. The kinematics type is "M".
I2 distance from the tool adapter to the pivot point/intersection of the 1st rotary axis
I1 closure of the I1=-I2 vector chain, if the swivel head cannot be changed..
I3 distance from the machine reference point to the pivot point/intersection of the 2nd rotary axis (or to
the reference point of the tool adapter)
I4 closure of the I4=-I3 vector chain, if the swivel table cannot be changed.
● Is the traversing direction of the linear axes and the rotary axes correct?
Right-hand rule: If the linear axis or the rotary axis moves the workpiece, the direction of motion of the axis and also
the sign of the rotary axis vector change.
● Which rotary axis rotates around which axis of the coordinate system or the machine axis (axes)?
This defines the rotary axis vectors of the kinematics.
Example 1:
Head kinematics. Rotary axis 2 rotates around axis Y → rotary axis vector V2xyz = 0,1,0
Example 2:
Table kinematics. Rotary axis 1 rotates around axis X → rotary axis vector V1xyz = -1,0,0
Notes
Notes
X Y Z
Rotary axes A
Rotary axis 1
Rotary axis 2 C
Notes
Retract settings
The settings in the "Selection fields Retraction" corresponds to SD55221 $SCS_FUNCTION_MASK_SWIVEL_SET, Bit 1 Re-
traction variant.
Notes
Notes
1 Manually
$TC_CARR37[n]
In the swivelling block parameter $TC_CARR37[n] the display 2 Semi-automatically
variants are shown decoded in ones; tens, etc.
Thousands Selection field Direction: Direction reference of
rotary axes
In the used data block the parameter $TC_CARR37[1] =
415008004 is assumed. In the table the settings are high- 0 No display of direction reference,
lighted. CYCLE800(_DIR) = -
3 Direction reference Rotary axis 1 optimized
Decimal place Meaning (selection - in basic position)
Ones Selection of swivelling mode 4 Direction reference Rotary axis 2 optimized
(selection - in basic position)
0 Axis by axis
5 No display Direction reference
1 Axis by axis + projection angle
CYCLE800(_DIR) = +
2 Axis by axis
8 Direction reference Rotary axis 1 opti-
+ projection angle + space angle
mized (selection + in basic position)
3 Axis by axis + directly
9 Direction reference Rotary axis 2 optimized
4 Axis by axis + projection angle + directly (selection + in basic position)
5 A.by axis + proj. angle + space angle + direct. Ten-thousands Selection field tracking / B-axis kinematics
Decimal place Meaning Hundred mil- Release of swivelling block, swivelling block change
lions and tool change
Hundred- 0 reserved
thousands
0 No release of swivelling block
One million and Selection field retraction
4 Swivelling block released
ten millions
swivelling block- and tool change auto-
00 No retraction matically
5 Swivelling block released
01 Retraction Z Swivelling block change automatically and
tool change manually
02 Retraction Z XY
6 Swivelling block released
03 Retraction Z or Z XY swivelling block change manually and tool
change automatically
04 Retraction in tool direction max.
7 Swivelling block released
08 Retraction in tool direction inc. Swivelling block- and tool change manual-
ly
In the case of transformer type 72, the vectors of the TOOLCARRIER in MD24582: $MC_TRAFO5_TCARR_NO_1 are used.
Notes
In cycle CUST_800.SPF, the function markers (_M2: to 3. Open the directory NC data/Cycles/Standard
_M59) are prepared and documented. Also refer to the follow- cycles and select the manufacturer cycles.
ing diagram “Call-up structure for swivelling”.
If you modify the cycle CUST_800.SPF, proceed as follows: 4. Press the "Copy" softkey and open the NC
data/Cycles/Manufacturer cycles directory.
1. Copy cycle CUST_800.SPF from the directory
/NC data/Cycles/Standard cycles
5. Press the "Paste" softkey.
2. Insert cycle CUST_800.SPF into directory The cycles are available for you to individual-
/NC data/Cycles/Manufacturer cycles. ly adapt them.
Note:
By means of the access stage "Manufacturer" it is only possi-
ble to copy into the manufacturer or user directory those cy-
cles starting with CUST_.*.SPF and which are envisaged for
the machine matching.
Notes
Description:
The cycle E_TCARR is used for milling machines (ShopMill) and the cycle F_TCARR for turning machines (ShopTurn).
Notes
Notes
Structure: E_TCARR.SPF
Notes
Mode-of-operation AUTO:
Notes
Notes
Note:
Notes
Swivelling in JOG
Basic setting:
The axes are positioned by means of the mask "Position":
X = 0, Y = 0, Z = 100, A = 0 and C = 0
A tool is selected, the tool length is 80mm, no values are en-
tered in the zero point offset.
Description:
Notes
Preparation:
The tools used in this example must be created.
Notes
Deep hole drilling and technology data: Position circle for deep hole drilling:
B111: END
Notes
Module Description:
In this module a simple turning machine with the axes X and Z, a main spindle C as well as a
driven tool CS3 is to be set up for turning and the subtechnology milling. The individual setup steps
are to be checked from time to time to show the result of the parameterization.
The preparation of the tool list, the cycle selections, the search run and various basic settings are
also part of the training scope. There will be a detailed description of the selections to be made for
JOG-TSM, TRANSMIT/TRACYL and for the main .
Module Objective:
By means of this module you will get to know the meaning of the Machine and Setting data to be
used as well as the various means available in order to configure the machine to suit the particular
requirements.
The functions will be parameterized in several blocks and subsequently tested regarding the
function.
Content:
Menu and Technology settings
Manufacturer Cycles
Cycle settings
Basic settings
JOG-TSM
Block search
Simulation
TRANSMIT/TRACYL
Setup Turning:
START
Simulation
Overview
MD and SD
Machining
example
Manufacturer
Cycles
TRANSMIT
TRACYL
Setup for
Turning
Clamping jaws,
cut-off and parts
gripper
Cycle
Settings
Menu and
Technology
settings
Tool List
Setup
Setup Turning:
END
Basic
Settings
JOG-TSM
Block search
Notes
Notes
42528 $SC_CUTCOM_DECEL_LIMIT 1 Variable Feed lowering on circles with tool radius compensation
Change of tool length components with change of active
42940 $SC_TOOL_LENGTH_CONST 18 Exact
plane
Assignment of tool length compensation independent of
42950 $SC_TOOL_LENGTH_TYPE 2 Exact
tool type
Notes
Notes
Notes
Notes
$MCS_M_CODE_COOLANT_1_AND
52233 -1 M code for coolant 1 + 2 ON
_2_ON
[0]: M code for Open chuck with non-rotating main spindle
52250 $MCS_M_CODE_CHUCK_OPEN ““ [1]: M code for Open chuck with non-rotating counter spin-
dle
$MCS_M_CODE_CHUCK_OPEN_RO [0]: M code for Open chuck with rotating main spindle
52251 ““
T [1]: M code for Open chuck with rotating counter spindle
Notes
Notes
55305 $SCS_EASY_DRILL_DEEP_FD1 90 Simple input: percentage 1st federate deep - hole drilling
55307 $SCS_EASY_DRILL_DEEP_V1 1.2 Simple input: min. depth infeed deep - hole drilling
55308 $SCS_EASY_DRILL_DEEP_V2 1.4 Simple input: absolute retraction value deep - hole drilling
$SCS_EASY_THREAD_RETURN_DI
55309 2 Simple input: return distance thread tapping
ST
Notes
55582 $SCS_TURN_CONT_TRACE_ANGLE 5 Contour turning: minimum angle for rounding along contour
$SCS_TURN_CONT_VARIABLE_DE
55583 20 Contour turning: percentage for variable cutting depth
PTH
$SCS_TURN_CONT_BLANK_OFFSE
55584 1 Contour turning: blank allowance
T
Contour turning: feed interrupt time
$SCS_TURN_CONT_INTERRUPT_TI
55585 -1 negative value in spindle revolutions
ME
positive value in seconds
$SCS_TURN_CONT_INTER_RETRA
55586 1 Contour turning: retraction path after feed interrupt
CTION
$SCS_TURN_CONT_MIN_REST_MA Contour turning: minimum difference dimension residual
55587 50
T_AX1 machining axis 1
$SCS_TURN_CONT_MIN_REST_MA Contour turning: minimum difference dimension residual
55588 50
T_AX2 machining axis 2
$SCS_TURN_CONT_TOOL_BEND_R
55595 0,1 Contour plunge turning: retraction path due to tool bending
ETR
$SCS_TURN_CONT_TURN_RETRA
55596 0,1 Contour plunge turning: retraction depth prior to turning
CTION
Notes
Assignment of geometry axis to channel axis Machine axis number valid in channel
MD20050 MD20070
Assignment of geometry axis Machine axis number valid in
$MC_AXCONF_GEOAX_ $MC_AXCONF_MACHAX_
to channel axis channel
ASSIGN_TAB USED
Change to: Change to:
MD20050[0] = 1 MD20070[0] = 1
MD20050[1] = 0 MD20070[1] = 2
MD20050[2] = 2 MD20070[2] = 3
MD20070[3] = 4
MD20070[4] = 5
MD20060 MD20080
Geometry axis name in chan-
$MC_AXCONF_GEOAX_ $MC_AXCONF_CHANAX_ Channel axis name in channel
nel
NAME_TAB NAME_TAB
Change to:
Change to:
MD20080[0] = X1
MD20060[0] = X MD20080[1] = Z1
MD20060[1] = Y MD20080[2] = C
MD20060[2] = Z MD20080[3] = CS3
MD20080[4] = Q
Notes
AX3: MCS1
MD30300 = 1 axis is a rotary axis Modulo 360 degrees displayed for rotary axis or spindle
AX4: MCS3
MD30300 = 1 axis is a rotary axis MD30320 Modulo 360 degrees displayed
$MA_DISPLAY_IS_MODULO for rotary axis or spindle
AX5: MQ1
MD30300 = 1 axis is a rotary axis
Change to:
AX3: MCS1
Modulo conversion for rotary axis / spindle
MD30320 = 1 Actual value display Modulo
AX4: MCS3
MD30310 Modulo conversion for rotary MD30320 = 1 Actual value display Modulo
$MA_ROT_IS_MODULO axis / spindle
AX5: MQ1
MD30320 = 1 Actual value display Modulo
Change to:
Assignment of spindle to machine axis Check of the set axes and spindles:
MD35000
Assignment of spindle to ma-
$MA_SPIND_ASSIGN_TO_
chine axis
MACHAX
Change to:
Description:
Definition of the spindle. The spindle is defined if the spindle
number is entered into this MD.
AX3: MCS1
MD35000 = 1 Assignment of spindle to the machine axis
(spindle S1)
AX4: MCS3
MD35000 = 3 Assignment of spindle to the machine axis
(spindle S3)
Notes
Notes
Notes
The Coordinate system can take one from the shown posi-
tions.
Plane selection Milling and Turning The machining planes are specified as shown:
MD52005
Plane selection Milling
$MCS_DISP_PLANE_MILL Plane Machining
Description:
Turning operation: The machining plane is set permanently to
G18.
Boring and milling operations: In the standard cycles the ma-
chining plane can be set by means of the parameter PL. In
the ShopTurn cycles the setting of the MD52005 has no ef-
fect.
Notes
MD52200 MD52201
Technology $MCS_TECHNOLOGY_EXTE Extended technology
$MCS_TECHNOLOGY
NSION
Change to: 1 Change to: 2
Notes
spindle and C-axis with a drive The machine features no separate drives for the spindle and
for the C-axis. This means that the settings in machine datum
Separate C-axis drive 52207 must be entered according to the axis index for the
main spindle (Index [2]).
Notes
From this derive the following setting possibilities for the main spindle. The settings for the machine data, however, depend on
the direction of viewing the coordinate axis.
No matter as to which of the four combinations of MD52207[2] Bit 3 und Bit 4 shown below the machine manufacturer selects, it
is imperative that the settings shown in one line for PLC interface signal “Invert M3/M4” and MD52207[2] Bit 5 are used.
0 0 0 0
0 1 1 1
1 1 0 0
1 0 1 1
The setting of the machine datum MD52207 Bit 3 requires that viewing takes place in the direction of the negative Z axis. If, how-
ever, you prefer to view in the positive Z axis direction, the values must be reversed; i.e. "0" and "1" must be exchanged.
Note:
The MD52207[2] of the main spindle is relevant for
the readout of the spindle direction in the T,F,S window
the readout within simulation simultaneous recording
the rotation direction of the spindle after tool change according to the direction given in the tool list
Notes
Bit 1=0: Display of the coordinate system when machining the Bit 1=1: Display of the coordinate system during face machin-
front face (G17) ing (G17) in the ordinary Coordinate system
The display of the axis directions depends on the set- The axis direction are always displayed in the ordinary
ting for the position of the coordinate system in MD coordinate system independently of the setting of the
52000 $MCS_DISP_COORDINATE_SYSTEM; in this machine datum 52000
example = 34 for a horizontal lathe with machining be- $MCS_DISP_COORDINATE_SYSTEM.
hind the turning centre.
Notes
Continuation MD52210 Bit 4=0: The follow-up tool is not shown in the T,F,S-window
Bit 2=1: The Softkey "T,S,M" is hidden in the mode JOG. Bit 4=1: The follow-up tool is shown in the T,F,S-window.
This setting makes sense only in conjunction with
tool prepare on a machine featuring a double grasp-
er. In the configuration chosen for this example the
display of the follow-up tool is not possible.
Function mask Cross-technology Bit 0 and Bit 1 are meaningless for the machine configuration
used here. These Bits are used in the technology Turning in
conjunction with a B-axis kinematics.
MD52212
Function mask Cross-
$MCS_FUNCTION_MASK_
technology
TECH
Change to: Bit 3 = 1
Bit 5 = 0 Bit 2 = 0 Bit 2 = 1 (Step drill)
Description:
Bit 0: Enable swivel plane/align tool with tool carrier
Bit 1: Optimized travel along software limit switches
(ShopMill/ShopTurn) D2
Bit 2: Special approach logic for step drill (ShopTurn)
Bit 3: Call block search cycle for ShopMill/ShopTurn D1
Bit 4: Approach logic through cycle (ShopTurn)
The current cutting edge The longest cutting edge in
Bit 5: Call block search cycle for SERUPRO
will be taken into account direction of the active cutting
Bit 6: Work offset ZV cannot be entered as an absolute value
when retracting. edge is taken into account
(ShopTurn)
when retracting.
Notes
MD52214
$MCS_FUNCTION_MASK_ Function mask Milling
MILL
Description:
Bit 0: Enable cylinder surface transformation (ShopMill)
Bit 1: Offer fixed table for blank clamping (at milling ma-
chines)
Bit 2: Special handling of slide mill/saw for polyhedron
Bit 3: Enable inside/rear machining (ShopTurn)
Bit 4: Enable spindle clamping (C axis) (ShopTurn)
Notes
Bit 3 = 1 Release of machining internally/at the rear 1. Machining at the rear refers to the face of the work piece
opposite the front face. The work piece must be clamped
in such a manner that machining on the rear using the
Machining at rear Machining internal required tool is possible on the rear of the work piece. The
infeed along the Z-axis (e.g. drilling depth) is in the positive
direction.
HSP HSP
2. Internal machining is possible on large internal work piece
diameters using a suitable tool. The infeed along the X-
axis (e.g. drilling depth) takes place in the positive direc-
tion.
With the release of "machining internally/at rear" an additional Boring: Clamping OFF
input parameter appears in the boring, milling and position
masks depending on the face to be machined.
Notes
Function mask Drilling MD52216 Bit 0 = 0 Technology fields will not be shown
MD52216
$MCS_FUNCTION_MASK_ Function mask Drilling
DRILL
Description:
Bit 0: CYCLE84 Show technology fields (without compensat-
ing chuck)
Bit 1: CYCLE840 Show technology fields
The selection "with compensating chuck (CYCLE840)"
is not available for ShopTurn.
MD52216 Bit 0 = 1 Technology fields are being shown Function mask Turning
MD52218
$MCS_FUNCTION_MASK_ Function mask Turning
TURN
Description:
Bit 0: Enable zoom under manual for tool measurement
Bit 1: Enable parts gripper for cut-off
Bit 2: Enable Tailstock
Bit 3: Enable spindle control of main spindle via surface (only
Manual machine)
Bit 4: Enable spindle control of tool spindle via surface (only
Manual machine)
Bit 5: Enable spindle control of counter spindle via surface
(only Manual machine)
These settings for bit 3 to 5 are reserved for the Manual ma-
chine function, MD52212 bit 8 = 1.
Notes
When the parts gripper is released, there will be jumps from Extract from the Manufacturer‘s cycle CUST_TECHCYC.SPF
the machining cycles for the cut-off to the Manufacturer‘s with the modes 100 - 102, which have been provided for the
cycle CUST_TECHCYC.SPF parts gripper. At this point the machine manufacturer can
- ShopTurn program: Mode 100, 101 and 102 undertake the machine-specific matching.
- ProgramGuide program. Mode 101 and 102
Notes
Description:
Bit 0: Tool pre-selection active
Bit 1: Calculate thread depth from metric thread lead
Bit 2: Refer to the table for thread diameter and depth
SD55212
Function mask Cross-
$SCS_FUNCTION_MASK_
technology
TECH_SET
Default Bit 1 = 1
Change to:
Bit 2 = 1
Notes
Continuation SD55212
Notes
Continuation SD55212
SD55214
$SCS_FUNCTION_MASK_ Function mask Milling
MILL_SET
Default: Bit 0 = 1
Change to:
Bit 2 = 1
Description:
Bit 0: Default setting for milling with synchronous operation
Bit 1: Not assigned
Bit 2: Depth calculation in milling cycles without parameter
SC
Notes
Description:
Bit 0: Reserved
Bit 1: Boring CYCLE86: Taking into account the rotation of
the work piece plane when positioning the spindle
Bit 2: Boring CYCLE86: Taking into account the indexed
table kinematics (tool carrier) when positioning the
spindle
Description: Description:
Bit 3: Tapping CYCLE84: (without compensating chuck).
Bit 0: Reserved
Monitoring the machine data 31050[x] and 31060[x] of
the spindle
Bit 1 = 1: Taking into account the rotation of the tool plane
Bit 4: Tapping CYCLE840: (with compensating chuck). Moni- (CYCLE 86)
toring the machine data 31050[x] and 31060[x] of the In the cycle CYCLE86 Boring the spindle is po-
spindle sitioned on the parameter SPOS when reaching
the boring depth. If SPOS=0 the tool cutting
Bit 5: Reserved
edge points in the positive direction of the 1st
axis of the plane (G17 towards X+).
The denominator of the gearbox is contained in MD31050[x]
while MD31060[x] contains the numerator. Together the two
If the setting is varied by using Bit 1 = 1, a rota-
provide the gear ratio for the spindle. This is required for
tion about the tool axis (e.g. ROT Z180) will be
monitoring the feed obtained from the speed x the pitch.
taken into account for the spindle positioning.
Notes
Description: SD55218
$SCS_FUNCTION_MASK_ Function mask Turning
Bit 3 = 1: Tapping CYCLE84: Monitoring the machine data TURN_SET
31050 $MA_DRIVE_AX_RATIO_DENOM (divider
of gearbox ratio) and 31060 Default: Bit 0 = 1 Change to:
$MA_DRIVE_AX_RATIO_NUMERA (numerator of
gearbox ratio) of the spindle for the boring axis.
Description:
The monitoring is activated only if MD35590
$MA_PARAMSET_CHANGE_ENABLE = 2 Bit 0: New thread table for thread cutting
This setting permits a parameter block change by Bit 1: Reserved (CYCLE93)
the PLC-interface or by the command SCPARA
(servo parameter block programming). Bit 2: Reserved (CYCLE93)
If the monitoring is activated the alarm 61127
[Channel %1: ] Block %2 (gear ratio of the tapping Bit 0: For the types of thread ISO metric, Whitworth BSW,
axis incorrectly defined) will be set: Whitworth BSP and UNC a table is included, which will
be used when this Bit is activated.
Bit 4 = 1: Similar to Bit 3, however, for the cycle CYCLE840
Bit 5: Reserved
Notes
Tool clearance time for grooving at the base (neg. val- Contour turning: Retraction angle
ue=rotations)
SD55580
Contour turning: retraction
$SCS_TURN_CONT_
SD55510 Tool clearance time for groov- angle
RELEASE_ANGLE
$SCS_TURN_GROOVE_ ing at the base (neg. val-
DWELL_TIME ue=rotations) Default: 45Grad Change to:
Default: -1s Change to:
Description:
Description: This setting datum specifies
If in the course of a cycle, e.g. plunging and extended rough- the angle at which the tool is
ing (CYCLE952) a dwell period is included, then the value of lifted off the surface when
this setting datum will be used. roughing during contouring.
negative Value: Dwell in spindle revolutions
positive Value: Dwell in seconds
Notes
Contour turning: retraction value Contour turning: minimum angle for rounding along con-
tour
SD55581
Contour turning: retraction
$SCS_TURN_CONT_ SD55582 Contour turning: minimum
value $SCS_TURN_CONT_TRACE_ angle for rounding along con-
RELEASE_DIST
ANGLE tour
Default: 1mm Change to:
Default: 5Grad Change to:
Description:
Description:
This setting datum specifies
the distance, by which the tool This setting datum specifies
is lifted off the surface in both the angle between cutting
directions when contouring. edge and the contour as from
which the cutting depth is var-
ied such as to remove any
remaining material.
Contour turning: percentage for variable cutting depth Contour turning: Blank allowance
SD55583 SD55584
Contour turning: percentage Contour turning: blank allow-
$SCS_TURN_CONT_ $SCS_TURN_CONT_BLANK_
for variable cutting depth ance
VARIABLE_DEPTH OFFSET
Description: Description:
Percentage for variable cut- This setting datum states the distance (machining allowance)
ting depth when contouring. of the raw material as from which switching from G0 to G1
The variable cutting depth can takes place during contouring, in order to compensate for
be selected for roughing and possible blank allowances.
residual material removal.
Notes
Contour turning: Feed interrupt time (neg. values = revo- Contour turning:
lutions) Retraction after feed interrupt
Description: Description:
Feed interruption times during Retraction path feed interrupt during contour turning, contour
contouring, contour grooving grooving and plunge turning:
and plunging
R>0: retraction path after feed interrupt (the setting datum
Negative Value: feed inter- 55585 $SCS_TURN_CONT_INTERRUPT_TIME is now inef-
ruption in revolutions fective!)
Positive Value: feed inter- =0: no retraction path
ruption in seconds
This setting datum is effective
only if the setting datum
55586
$SCS_TURN_CONT_INTER_
RETRACTION equals 0.
Contour turning: minimum difference dimension residual Contour turning: minimum difference dimension residual
machining axis 1 machining axis 2
Description: Description:
This MD defines the limit value for stock removal of residual This MD specifies the limiting value for the removal of residu-
material in the direction of the 1st axis. al material in the direction of the 2nd axis.
Example: Example:
If the MD is set to 50% and the finishing allowance is 0,5 mm, If this MD is set to 50% and the finishing allowance is 0.5mm,
the residual material, which is thinner than 0.25mm, will not any residual material thinner than 0.25mm will not be re-
be machined in a separate pass, instead it will be removed moved by means of an extra pass, instead it will be removed
with the finishing pass. together with the finishing pass.
Note: Note:
If residue machining is programmed and the residual material If residue machining is programmed and the residual material
is less than defined in the setting data 55587 and 55588, in is less than specified in the setting data 55587 and 55588, in
other words there is no residual material, the alarm 61732 "no other words there is no residual material during roughing, the
residual material" will appear.. alarm 61732 "no material to be machined" will appear.
Notes
SD55595
Contour plunge turning: retrac-
$SCS_TURN_CONT_TOOL_
tion path due to tool bending
BEND_RETR
Description:
Due to the bending of the tool when grooving it is not possible
to traverse right up to the contour during roughing. This SD
specifies the lateral distance to the previous cut, by which the
successive cut will be shortened each time.
The sketch right illustrates the settings for the setting data
55595 and 55596.
Contour plunge turning: Retraction depth prior to turning Upper limit feedrate/min
SD55201
SD55596 $SCS_MAX_INP_FEED_PER_ Upper limit feedrate/min
Contour plunge turning: retrac- TIME
$SCS_TURN_CONT_TURN_
tion depth prior to turning
RETRACTION
Default: 10000 mm/min Change to:
Default: 0,1mm Change to:
Description:
Description: Feedrate input upper limit for mm/min
Retraction between grooving and turning in order to compen-
sate for the difference in tool length caused by deflection of
the tool (see sketch under SD55595).
Upper limit feedrate/tooth
Notes
Setting up the tool list In the JobShop tool list there are input fields for coolant 1 and
coolant 2 for each tool. The select key can be used to toggle
the function "Coolant ON/OFF". The respective M-functions
These settings are applicable only to JobShop programs.
are put out if the tool is changed by means of the part-
program, The M-commands will not be put out if the tool is
Enable fast M functions exchanged by means of the T,S,M mask.
MD52229
$MCS_ENABLE_QUICK_M_ Enable fast M functions
CODES
Description:
Bit 0: Enable fast M functions: coolant OFF
Bit 1: Enable fast M functions: coolant 1 ON
Bit 2: Enable fast M functions: coolant 2 ON
Bit 3: Enable fast M functions: coolants 1 and 2 ON
MD52230 MD52232
$MCS_M_CODE_ALL_ M code for all coolants OFF $MCS_M_CODE_COOLANT_2 M code for coolant 2 ON
COOLANTS_OFF _ON
Default: 9 Change to: Default: 7 Change to:
Description: Description:
M-Code for all coolants OFF M-Code for coolant 2 ON
MD52231
$MCS_M_CODE_COOLANT_1 M code for coolant 1 ON
_ON
Description:
M-Code for coolant 1 ON
Notes
Description:
Description: Bit 0: Create tool on a magazine location not permitted. Tools
M-Code for Coolant 1 + 2 ON can only be created outside the magazine.
Already defined: M8 = Coolant 1 ON Bit 1: Loading/unloading is not possible while the machine is
M7 = Coolant 2 ON not in Reset.
Tools can only be loaded or unloaded if the respective
If in the JobShop tool list both coolants have been selected, channel is at rest.
the following M-command will be put out.
Bit 2: Loading/unloading locked during emergency OFF
-1: M-command for coolant 1 OFF is MD52231 and M- Tools can only be loaded or unloaded if the Emergency
command for coolant 2 OFF is MD52232 OFF is not activated.
>0: the M-command selected in this MD. Bit 3: Loading/unloading tools to/from spindle disabled.
A separate M-command for both coolants is to be used if Tools cannot be loaded to or unloaded from the
the M-commands for coolant 1 and coolant 2 are grouped spindle.
in an M-commands group, however both coolants are to
be activated after a block search.
Bit 4: Loading takes place in the spindle directly. Bit 10: Reactivate tool using Position magazine. Prior to re-
The tools are only loaded exclusively in the spindle. activating the tool is positioned at the loading position.
Bit 5: Use grinding configuration file for creating the tool list. Bit 11: Reactivate tool in all monitoring modes. When re-
Only grinding tools are offered. activating a tool, all monitoring modes enabled in the
NC are reactivated for this tool, even the monitoring
Bit 6: Relocating a tool to/from the buffer (spindle/gripper) is modes, which have not been set for the relevant tool,
permitted desoite a block (see bit3) but are available in the background only.
Bit 7: Create tool using the tool number. Specify the tool's Bit 12: Hide 'Tool re-activation'
T-number when creating the tool. The function "Tool re-activating" is suppressed on the
Note: This function is intended for machines with tool user interface.
management but without magazine configuration. The
default setting must not be changed. Note:
This MD must be matched to the circumstances of the ma-
Bit 8: Hide 'Re-locate tool'
chine. By hiding those functions on the user interface that are
The function 'Re-locate tool' is suppressed on the user
not applicable to the machine, the PLC can be spared unnec-
interface.
essary actions to prevent operation errors..
Bit 9: Hide 'Magazine positioning'
The function 'magazine positioning' is suppressed on
the user interface.
Notes
MD52274 SD54215
Load station Tool manage- Function mask Tool manage-
$MCS_TM_TOOL_LOAD_ $SNS_TM_FUNCTION_MASK
ment ment
STATION _SET
Default: 0 Change to: Default: 0H Change to: Bit 0 = 1
Description: Description:
If more than 1 loading station is configured, a pop-up window Bit 0: Diameter display for rotating tools
appears when a tool is created with a query in which station It is not the radius value, but the diameter value that is
the tool is to be loaded. shown for rotating tools.
= 0: If a query window is on the user interface or if only one Bit 1: Default direction of rotation for all turning tools is M4
loading station is available there will be no pop-up win- When turning tools are created, the direction of rotation
dow is preset to M4.
= 1: fixed loading station 1, the window does not appear Bit 2: Create tool without name proposal
When creating a new tool the input field for the tool
= 2: fixed loading station 2, the window does not appear name remains empty.
If only one loading station is configured: The setting = 0 Bit 3: Input disable for tool name and tool type of loaded
In the turning machine configuration described here there is tools.
only one loading station is configured. The query on the right Tool name and tool type cannot be changed for loaded
regarding the selection of the loading station does not ap- tools.
pear.
Notes
Description:
As soon as the cursor is moved to a line with a rotating tool,
the term 'Radius' in the header line will be replaced by a di-
ameter symbol.
Bit 1 = 1 M4 Tool 14 has been newly created Checking the tool management
Bit 1 = 0 M3 Tool 15 has been newly created
Notes
Notes
Continued MD20110 However, it must be remembered that after the end of pro-
gram or a program interruption either the last programmed
Bit 6 = 0: value for the master spindle or master tool holder, or the val-
Initial setting for the active tool length offset after Reset/End- ue specified by $MC_SPIND_DEF_MASTER_SPIND or
of-part program as per $MC_TOOL_RESET_VALUE, $MC_TOOL_MANAGEMENT_TOOLHOLDER will determine
$MC_CUTTING_EDGE_RESET_VALUE, the master spindle or the master tool holder.
$MC_USEKT_RESET_VALUE and (The selection is made by Bit 16 or Bit 17.)
$MC_SUMCORR_RESET_VALUE.
Ist $MC_TOOL_CHANGE_MODE = 1, the tool specified by A special case is $MC_CUTTING_EDGE_DEFAULT = -2:
by $MC_TOOL_PRESEL_RESET_VALUE is additionally pre- If a tool has been changed on the spindle, but no new correc-
selected. tion D has been programmed, then the previous tool is still
If the tool and/or magazine management is active, it is not the active in the NCK.
datum $MC_TOOL_RESET_VALUE that is used, instead If an interruption takes place in this state, - e.g. by pressing
$MC_TOOL_RESET_NAME will be used. the reset key, the correction will be specified by the lowest D-
number of the tool in the master spindle.
Bit 6 = 1:
The current setting for the active tool length offset remains in Note:
force after reset/End-of-part-program. The setting Bit 6=1 is necessary to ensure that after a
If the tool and/or magazine management is active, that tool reset/End-of-part-program the previously programmed
will be selected which is presently loaded in the master spin- tool and the previously programmed cutting edge re-
dle (generally = master tool holder). mains activated (for instance, if the tool was changed via
If the tool in the master spindle happens to be blocked, the the T,S,M-mask) and if for example the JobShop-
"blocked"-status will be ignored. . functions in the mode of operation JOG "Zero point work
piece" or "Tool measurement" can be carried out with
this tool.
Notes
With active tool management and with Bit 0 and Bit 6 set in
MD20110 $MC_RESET_MODE_MASK at selection, the last
offset of the tool active at power OFF (as a rule the tool in the
spindle) is effective after booting.
Notes
MD20150[28] = 2 (exact)
Group 29: Radius/diameter programming
Value: 2 = DIAMON
Modal diameter programming ON
The effect is independent of the programmed
measuring mode (G90/G91).
The diameter programming is shown on the
user interface by means of a diameter symbol in
front of the X-axis readout.
MD20150[48] = 3 (variable)
Group 49: Point-to-point-motion
Value: 3 = PTPG0
Point-to-point-motion only with G0, otherwise
continuous path motion
Notes
Continued MD20150
Description:
The sketch below illustrates the setting PTPG0.
In the course of a facing operation travelling from one Point 1
to another Point 2 is intended.
When travelling at feedrate (G1) an interpolation between the
X-axis and the C-axis takes place. This results in the behav-
iour of the X-axis as shown in the lower sketch in that the axis
firstly travels from the starting point X1 in the minus-direction
(the distance towards the centre point reduces) to the point
XP and then from there in the plus-direction to the destination
Point X2. In conjunction with the interpolation with the C-axis
in effect a straight line is being traversed from Point 1 to Point
2. This behaviour corresponds to the programming of CP
(continuous path).
Notes
Notes
Definition of tool parameters Bit 3: Zero point offsets of Frames in the transverse axis will
be evaluated as diameter values.
MD20360
Bit 4: PRESET value is evaluated as diameter value.
$MC_TOOL_PARAMETER_ Definition of tool parameters
DEF_MASK Bit 5: Evaluate external zero point offsets in the transverse
axis as diameter values.
Change to: Bit 0 = 1
Bit 6: Read actual values of the transverse axis as diameter
value (AA_IW, AA_IEN, AA_COMM, AA_IB, Caution:
Description:
but not AA_IM)
Definition of the effect of tool parameters.
Bit 7: Readout of all actual values of the transverse axis as
Bit Nr. Meaning when the Bit is set.
diameter values independently of the G-Code of the
----------------------------------------------------------------------------------
Group 29 (DIAMON / DIAMOF)
Bit 0: For turning and grinding tools, the wear parameter of
the transverse axis is included in the calculation as a Bit 8: Display of the distance to go in WCS always as a radi-
diameter value. us.
Bit 1: For turning and grinding tools, the tool length compo- Bit 9: During DRF-handwheel traverse of an axis only half of
nent of the transverse axis is included in the calcula- the specified increment is actually travelled. (providing
tion as a diameter value. MD11346 $MN_HANDWH_TRUE_DISTANCE = 1)
Bit 2: If a wear component or a length component is included Bit 10: Permit activation of the tool component of an active
in the calculation as a diameter value, the tool may indexable tool carrier even if no tool is active..
only be used in the plane that was active when the tool
was selected. If the bit is set, a plane change raises an
alarm
Notes
MD20240
Blocks for look-ahead contour
$MC_CUTCOM_MAXNUM_
calculation with TRC
CHECK_BLOCKS
Default: 4 Change to:
Description:
Indicates the maximum number of blocks with traversing in-
formation at the offset plane that are considered simultane-
ously for collision detection with active TRC (tool radius com-
pensation).
Note:
The Standard setting should not be undercut.
Maximum number of blocks without traversing motion in Time monitoring for tool in tool holder
TRC
MD20320
Time monitoring for tool in tool
MD20250 Maximum number of blocks $MC_TOOL_TIME_MONITOR
holder
$MC_CUTCOM_MAXNUM_ without traversing motion in _MASK
DUMMY_BLOCKS TRC
Change to: Bit 0 = 1
Change to: 5
Description:
Note: The setting Bit 0 = 1 is required for the life-time monitoring of
The value 5 represents a value based on experience for the tool in the tool holder 1. The machine configuration used
JobShop installations. here only uses one tool holder.
Notes
Active system frames after reset Deletion of system frames after reset
MD24006 MD24007
Active system frames after Deletion of system frames
$MC_CHSFRAME_RESET_ $MC_CHSFRAME_RESET_
reset after reset
MASK CLEAR_MASK
Change to: Bit 0 = 1 Change to: Bit 0 = 0
Bit 5 = 0 Bit 5 = 1
Description: Description:
Bit-mask for the reset setting of the channel-specific system Bit-mask for deleting channel-specific system frames in the
frames, which will be evaluated with the channel. data management on Reset..
Bit 0: System frame active for preset. actual value/ scratching Bit 0 = 0: The system frame for setting actual values and
scratching (basic reference) will not be deleted with Reset/
Bit 5: System frame for cycles End-of-part-program.
MD24008
Reset channel system frames MD24040
$MC_CHSFRAME_ Adaptation of active frames
after power ON $MC_FRAME_ADAPT_MODE
POWERON_MASK
Change to: Bit 0 = 0 Change to: Bit 0 = 1
Bit 5 = 0 Bit 1 = 1
Bit 2 = 1
Description:
Description:
This machine data defines whether channel-specific system
frames are reset in the data management on Power On. That Bit-mask for matching the active frame to the axis constella-
is offsets and rotations are set to 0, scalings to 1. Mirroring is tion
disabled.
Bit 0: Adjustment of rotations.
The selection can be made separately for individual system
frames. Bit 1: Rectangular shear angle
Bit 0: System frame for set actual value and scratching is Bit 2: Geo axes are not scaled
deleted after Power On.
Note:
Bit 5: System frame for cycles retained after Power On.
This setting is absolutely necessary for the function the
ShopTurn cycles in conjunction with TRANSMIT/
TRACYL.
Notes
MD27860 Bit 1 = 0
Activation and impact of pro- No timing of the current program runtime
$MC_PROCESSTIMER_
gram runtime measurement
MODE Bit 1 = 1
The measurement of the current program run-time is active
Change to: Bit 0 = 1 ($AC_CYCLE_TIME)
Bit 1 = 1
Bit 4 = 1 Bit 2 = 0
Bit 5 = 1 No timing of the tool cutting time
Bit 6 = 1 Bit 2 = 1
Bit 8 = 1 Timing of the tool cutting time is active
($AC_CUTTING_TIME)
Description: Bit 3
Under the function program runtime timers are provided as Reserved
system variables. While the NCK-specific timers are always Bits 4,5 only if Bit 0, 1 = 1:
activated (for timings since the last control unit boot), the
channel-specific timers must be started by means of this da- Bit 4 = 0 No timing during active test run feed motion
tum. Bit 4 = 1 Timing also during active test run feed motion
Meaning: Bit 5 = 0 No timing during program test
Bit 0 = 0 Bit 5 = 1 Timing also during program test
No timing of the total runtime for all part programs Bit 6 only if Bit 1 = 1:
Notes
Notes
Bit 12 = 1: Counter $AC_SPECIAL_PARTS is active In such a JobShop-Program the program repeat can be
switched ON in the automatically generated End-of-program
Further meaning of Bit 13-15 only if Bit 12 =1 and block by means of the parameter "Repeat". In this case the
$AC_REQUIRED_PARTS > 0: command GOTOS will be generated.
Notes
Work offsets in frames Feed reduction on circles with tool radius compensation
SD42440
$SC_FRAME_OFFSET_INCR_ Work offsets in frames SD42528 Feed reduction on circles with
PROG $SC_CUTCOM_DECEL_LIMIT tool radius compensation
Change to: 0
Change to: 1
Note:
Note:
This setting is required for JobShop installations.
This setting is required for JobShop installations. It avoids the
"stopping" of the axes in such circular sections if the diameter
of the milling cutter is only marginally smaller than the ma-
chining radius.
Tool length compensations
SD42442
$SC_TOOL_OFFSET_INCR_ Tool length compensations
PROG
Change to: 0
Note:
This setting is required for JobShop installations.
Change of tool length components with change of active Assignment of tool length compensation independent of
plane tool type
Note: Note:
The setting = 18 is required for ShopTurn installations, see The setting = 2 is required for ShopTurn installations,
also SD42950 $SC_TOOL_LENGTH_TYPE. see also SD42940 $SC_TOOL_LENGTH_CONST.
Notes
After the data have been entered and NC-Start initiated the
file MA_JOG_STEP1.MPF will be generated in the directory Bit 0 = 1 Reset mode
"Workpieces - TEMP" and carried out in the program- Bit 6 = 1 Active tool length compensation
manager. Bit 14 = 1 Base frame
MD20310 Note:
Activation of tool management
$MC_TOOL_MANAGEMENT_
functions In case of turning machines featuring a turret the setting with
MASK
Bit 16=1 "Programming T=Location number" the program-
Change to: Bit 14 = 1 ming of the turret place can be selected in addition to the tool
name. In the T,S,M-mask appears the following selection
means:
Bit 0 - 3 must be set as in MD18080
$MN_MM_TOOL_MANAGEMENT_MASK
Notes
Continuation of tool change The cycle CYCLE206 called up with the tool change in turn
calls the manufacturer cycle CUST_TECHCYC in the mode
110 and 111.
Selection and transfer of a
tool from the list of tools in the
T,S,M-mask (the direct input Extract from the CUST_TECHCYC.SPF:
of the name is also possible)
Description:
CYCLE210(0)
checks the configuration settings for ShopTurn, as for
instance axis and spindle assignment.
CYCLE206
obtains the tool name and the cutting edge number as
transfer parameters.
M32
The M-command defined under MD10714
Description: Description:
_M110: This mode is called up after the tool change. No en- _M112: Is called up before the tool change when the retrac-
tries are prepared. tion plane is reached (the retraction plane is defined
for the X and Z-axis in the part program)
_M111:This jump is provided in case the tool change takes
place from a ShopTurn-program and the tool change _M113: Is called up if just a cutting edge, but no tool, has
is set up with the M-command (MD22550 been programmed.
$MC_TOOL_CHANGE_MODE = 1). The ShopTurn- Here a special case is being considered where on
cycle F_HOME.SPF for the approach of the tool one tool there is a cutting edge for external and an-
changing position will be called up. other or internal machining. If now a change between
these two cutting edges is programmed (together with
Further jump accesses in the CUST_TECHCYC are provided a simultaneous change from external to internal ma-
for the tool change, which, however, are called up only during chining) there will be no approach of the tool changing
the program execution. point from the ShopTurn cycles. The change of the
cutting edge takes place close to the work piece and
the starting point of the internal machining will be ap-
proached along the shortest possible path. In order to
avoid collisions with the work piece the ShopTurn
cycle F_HOME for the approach of the tool changing
point is called up.
Notes
Suggestion M32 This machine data defines the response of the spindle after
Reset and program end (M2, M30).
Description:
This MD is only active in the spindle mode open-loop control
With Start in the manual mode-of-operation (T,S,M-mask, mode. In the positioning or oscillation mode, the spindle is
position) the part-program MA_JOG_STEP1 will be generat- always stopped.
ed and executed.
This part-program will be finished with the M-function in
MD10714. The setting of MD35040 = 2 ensures that the spin-
dle remains active also after the end-of-program.
MD35040 $MA_SPIND_ACTIVE_AFTER_RESET = 0:
Spindle stops (with M2/M30 and channel and mode group
reset)
Program is aborted
MD35040 $MA_SPIND_ACTIVE_AFTER_RESET= 1:
Spindle does not stop
Program is aborted
MD35040 $MA_SPIND_ACTIVE_AFTER_RESET= 2:
Spindle does not stop at the M function configured via
MD10714 $MN_M_NO_FCT_EOP (e.g. M32).
However, the spindle stops at channel or mode group
reset.
Notes
Description:
SETMS(1)
declares the main spindle S1 as master spindle
Enter speed and direction of
CUST_TECHCYC(4)
rotation
Call-up of CUST_TECHCYC in mode 4 "Main spindle C-
axis clamping release"
and actuate NC-Start
CUST_TECHCYC(2)
Call-up of CUST_TECHCYC in mode 2 "Main spindle
switch to spindle mode-of-operation"
M1=4 G972 S1=1000
Starting of the spindle
Listed here are all the CUST_TECHCYC jump accesses en- Description:
visaged for the main spindle.
For the switching of the main spindle into the C-axis mode or
Extract from the CUST_TECHCYC.SPF: spindle mode and for clamping or unclamping of the main
spindle the following jump accesses into the manufacturer
cycle CUST_TECHCYC.SPF are prepared:
_M1: Switching the main spindle into the C-axis mode.
_M2: Switching from the C-axis mode into the spindle mode
Notes
Continued, Start main spindle via the T,S,M-mask From this derives the following logic:
The IF-query is fulfilled, if the main spindle is not in the mode-
of-operation 2 = positioning and not in the mode-of-operation
4 = axis mode-of-operation or the Prog_Event is in the mode
Description: 5 = block search.
_M1: Switching to the C-axis mode The subsequent line positions the main spindle to 0 degrees:
When switching into the C-axis mode there is a difference SPOS[_F_S_NR[0]]=0
whether in the C-axis mode the main spindle is driven by the The query ensures that the main spindle is not positioned
spindle drive or by a separate feed drive motor. again, if it had already been switched into the axis mode be-
forehand.
1. No separate feed drive available:
The following entry is prepared: 2. Separate feed drive fitted:
IF (($P_SMODE[_F_S_NR[0]]<>2)AND($P_SMODE The IF-query described above and the subsequent ENDIF-
[_F_S_NR[0]]<>4))OR($P_PROG_EVENT==5) command must be invalidated and replaced by the logic for
the engaging of the separate feed drive. This should prefera-
Variable _F_S_NR: The spindle index of the main, the tool bly be done in a separate manufacturer cycle, e.g. AX-
and the counter spindle can be freely defined by the machine IS_C_ON.SPF.
manufacturer. In order to permit the CUST_TECHCYC to be
generally valid for all applications, the spindle index will be _M1: Main spindle: Change to C axis mode
determined via the variable _F_S_NR from the given axis AXIS_C_ON
configurations (set by means of MD52206 GOTOF _MEND
$MCS_AXIS_USAGE). The following applies:
_F_S_NR[0] holds the spindle index of the main spindle
_F_S_NR[1] holds the spindle index of the tool spindle
_F_S_NR[2] holds the spindle index of the counter spindle
Example for the manufacturer cycle AXIS_C_ON.SPF: _M2: Switching of the main spindle to the spindle mode:
1. No separate feed drive available:
PROC AXIS_C_ON The following entry is prepared :
IF $P_SEARCH==1 GOTOF _END IF($SP_MODE[_F_S_NR[0]]<>1
IF $P_SIM==1 GOTOF _END ;N20 M[_F_S_NR[0]]=
; Do not execute cycle during block search and simulation ENDIF
IF $A_IN[24]==1 The line N20 will be executed only if the main spindle is not in
;If feedback from the PLC, that the drive is already coupled, the spindle mode and can be supplemented by "5". By means
;do not execute cycle; of the command M5 the counter spindle is switched back to
; Release digital inputs and outputs via MD10350/MD10360 the spindle mode.
GOTOF _END
ENDIF
M[_F_S_NR[0]]=41 ;Select gearbox stage 1 for main spindle
SPOSA[[_F_S_NR[0]]=0 ;Position main spindle
WAITS(1) ;wait until the spindle position is reached
STOPRE
G0 C0 ;C-axis positioning
STOPRE
M64 ;M-command for engaging the C-axis
MARK1:
IF $A_IN[24]==1 GOTOF MARK2
;Query whether the engaging has been completed
GOTOB MARK1 ; Jump back to engaging completed
MARK2:
_END:
IF $P_SIM==1 ;Simulation active
M[_F_S_NR[0]]=70 ;Switch main spindle into the axis mode
ENDIF
M17
Notes
Continued: Extract from the CUST_TECHCYC.SPF _M3: Main spindle: C axis clamping
The following entry is prepared:
2. Separate feed drive available: ;N30 M[_F_S_NR[0]]=
As described for the previous mode a further manufacturer ;N35 $AC_PRTIME_A_INC=1.5
cycle should be used for disengaging the separate feed drive:
AXIS_C_OFF.SPF and this is called up in the mode _M2. Enter the M-command for clamping the main spindle in the
line N30. The line N35 is prepared for matching the machin-
_M2: ; Main spindle: Change to spindle mode ing time evaluated during the simulation to the real machining
AXIS_C_OFF time (delay caused by the activation of the clamping must be
GOTOF _MEND taken into account).
Example for the manufacturer cycle AXIS_C_OFF.SPF: _M4: Main spindle: Release C axis clamping
The following entry is prepared:
PROC AXIS_C_OFF ;N40 M[_F_S_NR[0]]=
IF $P_SEARCH==1 GOTOF _END ;N45 $AC_PRTIME_A_INC=1.5
IF $P_SIM==1 GOTOF _END
; Do not carry out cycle during block search and simulation Enter the M-command for the clamping of the counter spindle
M65 ;M-command for disengaging C-axis in line N40. The line N45 is prepared for matching the ma-
MARK1: chining time evaluated during the simulation to the real ma-
IF $A_IN[23]==1 GOTOF MARK2 chining time (delay caused by the un-clamping must be taken
;Query, whether the disengaging has been completed into account).
GOTOB MARK1
MARK2:
ENDIF
_END:
M17
Notes
The tool will be loaded into the T,F,S mask with Cycle Start.
The PLC-tool change functions provided by the machine
The selected tool "Finisher" is now displayed in the T,S,M manufacturer are executed in the background for this pro-
mask. cess.
Gear step
MD35010
Parameterize gear stage
$MA_GEAR_STEP_CHANGE_
change
ENABLE
Change to: Bit 0 = 1
With NC-Start the program
Description: MA_JOG_STEP1 will be gen-
erated - in this example for the
The selection field Gear stage appears only if in MD35010 for selection of the gear stage 2
the spindle Bit 0 = 1 is set. of the main spindle M1=42.
MD35090
Number of gear stages
$MA_NUM_GEAR_STEPS
Description:
Number of prepared gear stages.
Notes
In the T,S,M-mask to select a The initial setting of the machining level of a turning machine
zero point offset by means of is G18 as per MD20150[5] = 2.
the parameter Zero point off-
set (G54,…) or it can be de-
selected by means of the se-
lection "Basic setting". Depending on the setting of MD20152[5] the switching of the
plane remains operative after a reset/end-of-program.
MD20152[5]=0 MD20152[5]=1
MD10260
Enable basic system conver-
$MN_CONVERT_SCALING_
sion
SYSTEM
Change to: 1
Description:
Notes
Main spindle:
1-2 Switching axis/spindle mode:
Section JOG-TSM
3-4 Clamping ON/OFF:
Section JOG-TSM
5-9 Chuck open/close, chuck flushing:
Section Jaws, chuck, …
Tool spindle:
11 - 12 Switching axis/spindle mode:
Section JOG-TSM
13 - 14 Clamping ON/OFF:
Section JOG-TSM
Counter spindle:
21 - 22 Switching axis/spindle mode:
Module Sub spindle
23 - 24 Clamping ON/OFF:
Module Sub spindle
25 - 29 Chuck open/close, chuck flushing
Module Sub spindle
Notes
Tool spindle
Description: Note:
In the program sequence the CUST_TECHCYC call-ups are
_M11 - _M14
obtained from the ShopTurn cycles depending on the pro-
These jump accesses for the tool spindle relate to the jump
grammed technology - in case of driven tools by the boring
accesses _M1 - _M4 for the main spindle and have already
and milling cycles. For this all shown jump accesses are pos-
been described there. The entries differ only with respect to
sible..
the spindle index in the variable _F_S_NR.
The call-ups in mode 11 (switching the tool spindle into the C
-axis mode) and mode 13 (tool spindle clamp) are not possi-
_M41: Engaging a driven tool
ble in the T,S,M-mask.
The following entry is prepared:
_M41: ; Engage driven tool
;N410 M[_F_S_NR[1]]=
GOTOF _MEND
The line N410 must be completed with the M-command for
engaging the driven tool.
Notes
Program control
Notes
Note:
Description:
Bit 0: Response to output of alarm 10208 The setting of Bit 3=1 ensures that the tool programmed after
the block search is duly changed and that the spindle rotates
Bit 1: Automatic ASUP start after action blocks in the tool-assigned direction at the speed programmed in the
destination block. For installations without ShopMill this Bit
Bit 2: Response to Auxf output (spindle) needs not to be set, however, the machine manufacturer
must ensure that the tool and spindle functions are gathered
and put out during the block search.
Tool change commands to PLC after search run 1: Tool changing commands and tool preparation commands
are gathered and passed on to the PLC with program Start
when the search run has attained the destination block.
MD20128
Tool change commands to 0: all tool and/or magazine specific commands that were
$MC_COLLECT_TOOL_
PLC after search run gathered during the block search will not be put out to the
CHANGE
PLC with the next program Start! That means that also pro-
Change to: 0 grammed POSM, TCI, TCA will not be passed on to the PLC.
Note 1:
Description:
Without an active magazine management the tool change-M-
This MD is of any meaning only with activated magazine
code will not be gathered, if it is not assigned to an auxiliary
management (MD18080
function group. With an active magazine management this
$MN_MM_TOOL_MANAGEMENT_MASK, MD20310
corresponds to an MD-value = 0.
$MC_TOOL_MANAGEMENT_MASK).
It specifies whether after block search with evaluation tool
Note 2:
changing commands, tool preparation commands (generally
tool changing commands) are put out to the PLC or not put The value = 0 is sensible for instance if after reaching the
out to the PLC. search destination the gathered tool change commands are
transferred to the PLC in an ASUP-program with the aid of
Note: the commands GETSELT, GETEXET.
This setting is necessary for ShopMill/ShopTurn.
Notes
Simulation
Change to: 1
Description:
0: SZS results from the WCS transformed with
$P_CYCFRAME and $P_PFRAME.
Description:
Axis position at the Start of the simulation.
The simulation is possible only, if for at least one geo-axis a
value not equal to 0 has been set.
Note:
For the further axes and spindles this MD should be left on 0.
Notes
Example:
By means of a simple machining example with the main spin-
dle the sequence is to be tested. Program head with workpiece definition:
Tool list
Preparation:
The tools used in this example must have been edited and
must have the correct cutting edge orientation.
Notes
Notes
TRANSMIT/TRACYL for the main spindle There are 2 differing sets of data, both of which must be set
up; - one for TRANSMIT and one for TRACYL:
General aspects
Front face machining main spindle: Transformation 1
By means of the functions cylinder mantle transformation and MD 24100 $MC_TRAFO_TYPE_1=256 (with C–axis)
front face machining both the mantle as well as the front face
of the work piece can be machined. Cylinder mantle transformation main spindle: Transfor-
mation 3 without slot side face correction (with C–axis):
The functions cylinder mantle transformation (TRACYL) and MD 24300 $MC_TRAFO_TYPE_3=512
front face machining (TRANSMIT) are a Software-Option.
_________________________________________________
Note:
There is a difference between the set-ups of TRANSMIT and
TRACYL depending on whether a Y-axis is available or not.
Described here is the set-up as applicable when no Y-axis is
available.
_________________________________________________
Notes
Index
20080[0] $MC_AXCONF_CHANAX_NAME_TAB = X1 1 The tables on the next pages gives an overview of the data
20080[1] $MC_AXCONF_CHANAX_NAME_TAB = Z1 2 blocks for TRANSMIT and TRACYL.
20080[2] $MC_AXCONF_CHANAX_NAME_TAB = C 3
20080[3] $MC_AXCONF_CHANAX_NAME_TAB = CS3 4
20080[4] $MC_AXCONF_CHANAX_NAME_TAB = Q 5
Set-
MD Identifier Comment Description
tings
[0]=1 (X)
[1]=3 (C)
24110 $MC_TRAFO_TYPE_IN_1 [2]=2 (Z) Axis assignment for transformation 1
[3]=0
[4]=0
[0]=1 (X)
$MC_TRAFO_GEOAX_ASSIGN_TAB Assignment of geometry axes to channel axes for transfor-
24120 [1]=3 (C)
_1 mation 1
[2]=2 (Z)
$MC_TRANSMIT_ROT_AX_OFFSET
24900 0 Offset of rotary axis for the 1st TRANSMIT transformation
_1
$MC_TRANSMIT_ROT_AX_FRAME_
24905 2 Rotary axis offset TRANSMIT 1
1
$MC_TRANSMIT_ROT_SIGN_IS_PL
24910 0 Sign of rotary axis for 1st TRANSMIT transformation
US_1
Restriction of working range in front of / behind the pole, 1.
24911 $MC_TRANSMIT_POLE_SIDE_FIX_1 1
TRANSMIT
Notes
Description: 1: the axial offset of the rotary axis will be taken into account.
Indicates the offset of the rotary axis for the first agreed
TRANSMIT transformation in degrees in relation to the neu- 2: the axial offset of the rotary axis will be taken into account
tral position while TRANSMIT is active. up to the SZS.
The rotary position of the XY-plane of the Cartesian Coordi- If the work piece is to be rotated during machining with
nate system in relation to the defined zero position of the ro- TRANSMIT, then this cannot be achieved by programming
tary axis C can be entered here. the rotary axis in the channel, since this is occupied by a ge-
ometry axis (Y). An offset of the rotary axis in the transfor-
mation frame (TRANS, ROT, SCALE) will be taken into ac-
count during TRANSMIT if the setting is = 1.
Corresponds to:
MD24030 $MC_FRAME_ACS_SET
Sign of rotary axis for 1st TRANSMIT transformation Restriction of working range in front of / behind the pole,
1st TRANSMIT
MD24910
Sign of rotary axis for 1st MD24911 Restriction of working range in
$MC_TRANSMIT_ROT_SIGN
TRANSMIT transformation $MC_TRANSMIT_POLE_SIDE front of / behind the pole, 1st
_IS_PLUS_1
_FIX_1 TRANSMIT
Change to: 0
Change to: 1
Description: Description:
Indicates the sign with which the rotary axis is taken into Restriction of the working range in front of/behind the pole or
account in the TRANSMIT transformation for the first agreed no restriction, i.e. travelling through the pole.
TRANSMIT transformation for each channel.
The assigned values have the following meaning:
Corresponds to:
0: No restriction of the working range. Travelling through the
MD24960 $MC_TRANSMIT_ROT_SIGN_IS_PLUS_2
pole.
Note:
1: Working range of the linear axis for positions >= 0,
The requirements at the machine such as direction of rotation (if the tool length correction parallel to the linear axis = 0)
of the spindle/C-axis might necessitate different settings to If on the turning machine travelling in the X-axis beyond
the ones shown here. the turning centre (-X) is not possible.
2: Working range of the linear axis for positions <=0,
(if the tool length correction parallel to the linear axis = 0)
Notes
Continuation of Restriction of the working range in Vector of base tool for 1st TRANSMIT transformation
front of / behind the pole, 1st TRANSMIT
The index i takes on the values 0, 1, 2 for the 1st to the 3rd
geometry axis.
Corresponds to:
MD24970 $MC_TRANSMIT_BASE_TOOL_2
Creating a machining program for front face machining Program head with workpiece definition:
with the main spindle.
Notes
Notes
Continuous path milling on front face and technology data: Starting the simulation:
Note:
In order for the depiction of the simulation to correspond to
the depiction of the contour programming, the transformation
has been deactivated (TRAFOOF) following the continuous
path milling and the C-axis positioned into the basic position
(G0 C0). Otherwise the depiction would be shown in the last
C-axis position to be approached =180 degrees; in other
words rotated by 180 degrees.
Cylinder mantle transformation main spindle: Transformation 3 (without slot side face correction with C–axis)
Set-
MD Identifier Comment Description
tings
[0]=1 (X)
[1]=3 (C)
24310 $MC_TRAFO_TYPE_IN_3 [2]=2 (Z) Axis assignment for transformation 3
[3]=0
[4]=0
[0]=1 (X)
$MC_TRAFO_GEOAX_ASSIGN_TAB Assignment of geometry axes to channel axes for transfor-
24320 [1]=3 (C)
_3 mation 3
[2]=2 (Z)
24800 $MC_TRACYL_ROT_AX_OFFSET_1 0 Offset of rotary axis for the 1st TRACYL transformation
$MC_TRACYL_ROT_SIGN_IS_PLUS
24810 1 Sign of rotary axis for 1st TRACYL transformation
_1
Notes
MD24800
Offset of rotary axis for the 1st
$MC_TRACYL_ROT_AX_
TRACYL transformation
OFFSET_1
Default: 0 Grad Change to:
Description:
Indicates the offset of the rotary axis for the first agreed
TRACYL transformation in degrees in relation to the neutral
position while TRACYL is active.
Rotary axis offset TRACYL 1 Sign of rotary axis for 1st TRACYL transformation
MD24805
$MC_TRACYL_ROT_AX_ Rotary axis offset TRACYL 1
FRAME_1 MD24810
Sign of rotary axis for 1st
$MC_TRACYL_ROT_SIGN_
Change to: 2 TRACYL transformation
IS_PLUS_1
Change to: 1
Description:
0: the axial offset of the rotary axis will not be taken into ac-
count. Description:
Indicates the sign with which the
1: the axial offset of the rotary axis will be taken into ac-
rotary axis is taken into account in
count.
the TRACYL transformation for
the first agreed TRACYL transfor-
2: the axial offset of the rotary axis will be taken into account
mation.
up to the SZS.
Corresponds to:
MD24030 $MC_FRAME_ACS_SET
Notes
Vector of base tool for 1st TRACYL transformation Creating a machining program for mantle machining with
the main spindle.
MD24820[x]
Vector of base tool for 1st
$MC_TRACYL_BASE_
TRACYL transformation
TOOL_1
MD24820[0] =0
MD24820[1] =0
MD24820[2] =0
Description:
Indicates a basic offset of the tools zero for the 1st TRACYL
transformation. The offset is referenced to the geometry axes
valid when TRACYL is active. The basic offset is included
with and without selection of the tool length compensation.
Programmed length corrections have an additive effect with
respect to the basic tool.
The index i takes on the values 0, 1, 2 for the 1st to 3rd ge-
ometry axes.
Corresponds to:
MD24870 $MC_TRACYL_BASE_TOOL_2
Notes
Chuck
Notes
M code for open chuck with non-rotating spindle M code for open chuck with rotating spindle
MD52250[x] MD52251[x]
M code for Open chuck with M code for Open chuck with
$MCS_M_CODE_CHUCK_ $MCS_M_CODE_CHUCK_
non-rotating spindle rotating spindle
OPEN OPEN_ROT
Default: - Change to: Default: - Change to:
Description: Description:
Elements: Elements:
MD52250[0] = Main spindle MD52251[0] = Main spindle
MD52250[1] = Counter spindle MD52251[1] = Counter spindle
MD52252[x] For the control of the chuck functions there are jump exits
$MCS_M_CODE_CHUCK_ M- code for Close chuck from the ShopTurn cycles into the manufacturer-cycle
CLOSE CUST_TECHCYC.SPF.
Default: - Change to:
Notes
Description:
The machine data are evaluated in the modes _M6, _M7 and
_M8. If the machine data contain a numerical value only, then
this will be put out as M-function without an extension. If the
machine datum contains an auxiliary function with an exten-
sion, e.g. M1=34, then this will be executed out as a string.
Notes
MD53241
Spindle jaw type
$MAS_SPINDLE_CHUCK_TYPE
Description:
for AX3: MCS1
Jaw type 1:
Jaw type 1: Z1 lies in the WKS on the front edge of the
clamping jaws; so if for instance Z1 = -10, the work piece will
be inserted by 10 mm.
Jaw type 2:
Jaw type 2: Z1 lies on the inner jaw step; so for Z1 = 0, the
work piece will be inserted right up to the jaw step.
Notes
Part receptacle
MD52218
Function mask Turning
$MCS_FUNKTION_MASK_TURN
Description:
Bit 1: Release of the part receptacle
Example:
In case of a work piece ZI = 150mm long, ZB is theoretically
120mm, since 30mm were entered in ZS1 as the dead stop
dimension. For safety reasons, however, a further allowance
must be made to ensure that the tools do not damage the
surface of the chuck jaws.
Notes
No entries are prepared in the CUST_TECHCYC-jump ac- ShopTurn program: programGuide program:
cesses for the part receptacle.
Notes
Tailstock activation
Software-Option
For the depiction of the tailstock the option "ShopMill/
ShopTurn" is required.
MD52218
Function mask Turning
$MCS_FUNKTION_MASK_TURN
Description:
Bit 2: Release of tailstock
AX3: MCS1
MD53242[0] = XR1 Tailstock diameter
MD53242[1] = ZR1 Tailstock length
Description:
The inputs into the parameters "XR1" for tailstock diameter
and "ZR1" for tailstock length must be entered into the ma-
chine data MD53242[0] and MD53242[1] of the data set for
the C-axis. These entries are then transferred to the data set
of the spindle. The tailstock dimensions are used in the simu-
lation for the depiction of the tailstock.
Notes
MD52010 BIG_FONT = 2
depending on MD52011
MD51040
SWITCH_TO_MACHINE_MASK MD52206 AXIS_USAGE, Meaning of the axes in the channel
MD52207 AXIS_USAGE_ATTRIB, Axis attributes
MD52200 TECHNOLOGY = 1
Softkey Description
selection
Notes
Softkey Description
Machine —> JOG —> WCS selection
MD20100 DIAMETER_AX = X
and MD52200 TECHNOLOGY = 1
and no DIAMOF or MCS active Switchover Switchover Softkey from MCS to WCS via
MD20150[28] = 2 DIAMON PLC
MCS/WCS
Softkey Description
Machine —> JOG —> MCS selection
MD51023 ACT_VALUE_SPIND = 1
Spindles are displayed only if in axis
mode, MCS1 and MCS3 not displayed
(Default setting)
alternative
Notes
MD20310 TOOL_MANAGEMENT_MASK
Bit 16 = 1 Tool name or location number
MD17500
MAX_NUM_REPLACEMENT_TOOLS
>1 Maximum number of tools in a tool group
For 828D the Replacement tools for tool
management option is required.
MD20110 RESET_MODE_MASK
Bit 6 = 1 Active tool length offset is retained after reset
and
MD20310 TOOL_MANAGEMENT_MASK
Bit 14 = 1 Automatic Tool change during Reset and Start
MD35040
SPIND_ACTIV_AFTER_RESET
= 2 Own spindle reset
MD35000 AX3:MCS1 = 1
MD35000 AX4:MCS3 = 3
These selection fields are displayed
for the configured spindles only
MD35010 GEAR_STEP_CHANGE_ENABLE
of AX3:MCS1 Bit 1 = 1
and
MD35090 NUM_GEAR_STEPS of C1 Number
of gear steps = 5
Notes
MD20152[7] G_CODE_RESET_MODE = 1
Work offset is retained even after Reset
MD52210 FUNCTION_MASK_DISP
Bit 0 = 0 Selection of the meas. unit on
the operator panel
Notes
Selection
Softkey Description
Machine —> JOG —> Measure tool selection
Selection
Notes
MD52218 Bit 0 = 1
Enable Magnifying glass
SD54782 Bit 3 = 1
Select tool probe calibration data field
Notes
not displayed
Notes
Softkey Description
Machine —> JOG —> Settings selection
MD35000 AX3:MCS1 = 1
MD35000 AX4:MCS3 = 3
These selection fields are displayed
for the configured spindles only
MD10260 CONVERT_SCALING = 1
Softkey Description
selection
Notes
SD54215 TM_FUNCTION_MASK_SET
Bit 8 = 1 Diameter display for transverse axis - Geometry
Softkey Description
selection
MD52270 TM_FUNCTION_MASK
Bit 0 = 1 Create tool on magazine location not allowed
Bit 7 = 1 Create tool using the tool number
SD54215 TM_FUNCTION_MASK_SET
Bit 2 = 1 Create tool without name suggestion
Bit 3 = 1 Input disable for tool name and tool type in loaded tools
Bit 4 = 1 Input disable for loaded tools, if the channel is not in Reset
Bit 11 = 1 Creating tool in gripper disabled
Notes
MD52229 ENABLE_QUICK_M_CODES
MD52230 M_CODE_ALL_COOLANTS_OFF
MD52231 M_CODE_COOLANT_1_ON
MD52232 M_CODE_COOLANT_2_ON
MD52233 M_CODE_COOLANT_1_AND_2_ON
Softkey Description
Parameter —> Tool wear selection
SD54215 TM_FUNCTION_MASK_SET
Bit 5 = 1 Calculate tool wear inputs additively
Bit 9 = 1 Diameter display for transverse axis - Wear
Turning tools
ΔRadius
Notes
Softkey Description
Parameter —> Magazine selection
MD17500 MAX_NUM_REPLACEMENT_TOOLS
>1 Maximum number of tools in a tool group
MD52270 TM_FUNCTION_MASK
Bit 8 = 1 Fade out Relocate tool
Bit 9 = 1 Fade out Position magazine
MD52270 TM_FUNCTION_MASK
Bit 1 = 1 Load/unload disable, if machine is not in reset
Bit 2 = 1 Load/unload disable on Emergency stop
Bit 3 = 1 Load/unload tool to/from spindle is disabled
Bit 4 = 1 Loading is executed directly in the spindle
MD52274 TM_TOOL_LOAD_STATION
Default setting = 0 All configured stations are taken into account
Notes
Softkey Description
Parameter —> Setting data selection
Softkey Description
Parameter —> Setting data selection
Notes
MD52210 FUNCTION_MASK_DISP
Bit 3 = 1 The M code entered in MD10714 M_NO_FCT_EOP is
generated automatically after pressing the “Delete blocks“ softkey
Softkey Description
selection
Notes
Softkey Description
selection
Notes
Softkey Description
Machine —> AUTO —> Time / Counter selection
MD27860 PROCESSTIMER_MODE
Bit 0 = 1 Measuring total runtime for all part programs
Bit 1 = 1 Measuring current program runtime
Bit 4 = 1 Measuring during active dry run feedrate
Bit 5 = 1 Measuring during program test
Bit 6 = 1 $AC_CYCLE_TIME is not deleted on start by ASUP
and PROG_EVENTs
Bit 8 = 1 Delete $AC_CYCLE_TIME with GOTOS
MD27880 PART_COUNTER
Bit 0 = 1 Counter $AC_REQUIRED_PARTS
Bit 8 = 1 Counter $AC_ACTUAL_PARTS
Bit 11 = 1 Increment AC_ACTUAL_PARTS
with GOTOS
Softkey Description
selection
Notes
MD52210 FUNCTION_MASK_DISP
Bit 3 = 1 The M code entered in MD10714 M_NO_FCT_EOP is
generated automatically after pressing the “Delete blocks“ softkey
MD51039 PROGRAM_CONTROL_MODE_MASK
Bit 0 = 1 Program test function available
Selection
Notes
Softkey Description
Machine —> AUTO —> Block search (ShopTurn) selection
Softkey Description
Machine —> AUTO —> Block search (G Code program) selection
Notes
Softkey Description
Machine —> AUTO —> Simultaneous recording selection
Notes
Softkey Beschreibung
Program manager —> New program Anwahl
Option ShopMill/ShopTurn
Notes
Softkey Description
selection
MD52201 TECHNOLOGY_EXT = 2
Subtechnology Milling
Notes
MD52210 FUNCTION_MASK_DISP
Bit 0 = 0 Unhides input filed for mm/
inch
Selection
MD52212 FUNCTION_MASK_TECH
Bit 6 = 0, if 1 the Work offset value ZV
cannot be entered
Notes
Selection
MD52218 FUNCTION_MASK_TURN
Bit 2 = 1 Enable tailstock
SC = Safety distance
SD55214 FUNCTION_MASK_MILL_SET
Bit 2 = 1 Depth calculation in milling cycles w/o SC
Selection
SD55214 FUNCTION_MASK_MILL_SET
Bit 0 = 1 Milling cycles with synchronous operation
Notes
MD52214 FUNCTION_MASK_MILL
Bit 4 = 1 Enable spindle clamping
MD52214 FUNCTION_MASK_MILL
Bit 3 = 1 Enable inside/rear machining
MD52216 FUNCTION_MASK_DRILL
Bit 0 CYCLE84
Bit 0 = 1 Unhide input fields Technology
Bit 1 CYCLE840 not relevant for ShopTurn
Notes
SD55216 FUNCTION_MASK_DRILL_SET
Bit 1 = Boring (CYCLE86) Consider rotation of the tool plane
Bit 2 = Boring (CYCLE86) Consider swiveled table kinematics
Bit 3 = Tapping (CYCLE84) Monitoring spindle MD 31050/31060
Bit 4 = Tapping (CYCLE840) Monitoring spindle MD 31050/31060
Bit 6 = Boring (CYCLE86) Adapt spindle position to the tool orientation
Bit 7 = Boring (CYCLE86) Adapt direction of retraction path in the plane to active mirroring
Notes
MD52218 FUNCTION_MASK_TURN
Bit 1 = 1 Enable parts gripper for cut-off
Stock removal:
SD55505 TURN_ROUGH_O_RELEASE_DIST, Return distance stock removal for external machining
SD55506 TURN_ROUGH_I_RELEASE_DIST, Return distance stock removal for internal machining
Groove:
SD55510 TURN_GROOVE_DWELL_TIME, Negative value = clearance time in spindle revolutions
Positive value = clearance time in seconds
Notes
SD55212 FUNCTION_MASK_TECH_SET
Bit 1 = 1 Calculate thread depth from metric
thread lead
Note: As soon as the line table "None" is select-
ed, the parameter H1 can be overwritten
Table
Selection
SD55212 FUNCTION_MASK_TECH_SET
Bit 2 = 1 Refer to the table for thread diameter
and depth
Note: As soon as the line table "ISO metric" is
selected, the table is activated for the various
threads
Notes
Softkey Description
Program —> Contour turning selection
Plunge turning:
SD55595 TURN_CONT_TOOL_BEND_RETR, Retraction path due to tool bending
SD55596 TURN_CONT_TURN_RETRACTION, Retraction depth prior to turning
MD52210 FUNCTION_MASK
Bit 1 = 1 Front view for turning in
school coordinate system (Default)
MD52210 FUNCTION_MASK
Bit 1 = 0 Front view in coordi-
nate system of the machine
Notes
Selection
SD55212 FUNCTION_MASK_TECH_SET
Bit 2 = 1 Refer to the table for thread diameter
and depth
Note: As soon as the line table "ISO metric" is Table
selected, the table is activated for the various
threads
Selection
Notes
Softkey Description
Program —> Simulation selection
MD51226 FUNCTION_MASK_SIM
Bit 0 = 1 No automatic start on simulation selection
MD53230 SIM_START_POSITION
for AX1:MX1 e.g. 500mm, for AX2:MZ1 e.g. 200mm.
The simulation is possible only, if for at least one geo-
axis a value not equal to 0 has been set.
MD52200 TECH-
NOLOGY = 0
MD52200 TECH-
Notes
MD52201 = 0
no Subtechnology
MD52201 = 2
Subtechnology Milling
MD52201 = 0
no Subtechnology
MD52201 = 2
Subtechnology Milling
B120: END
Notes
Module Description:
A turning machine with the linear axes X and Z as well as a main spindle C and a driven tool CS3,
now an additional Y-axis is to be added and tested.
The way of checking the undertaken parameterization is shown by means of examples and
illustrations.
Module Objective:
By means of this module you will learn which MD's must be adapted in order to retrofit a Y-axis to
an operative machine and at the end check it's function. In case of the transformations the special
aspects regarding the slot-wall correction will be pointed out.
Content:
Sinumerik
TRANSMIT/TRACYL
Machining examples
Extension
Y-axis:
START
Setting up
the Y-axis
TRANSMIT/
TRACYL
Machining
examples
Extension
Y-axis:
END
Notes
MD10000[x] MD20050[x]
Assignment of geometry axis
$MN_AXCONF_MACHAX_ Machine axis name $MC_AXCONF_GEOAX_
to channel axis
NAME_TAB ASSIGN_TAB
New:
MD10000[5] = MY1 MD20060[x]
$MC_AXCONF_GEOAX_ Geometry axis to channel
NAME_TAB
Change to:
MD20060[0] = X
MD20060[1] = Y
MD20060[2] = Z
MD20070[x] MD20080[x]
Machine axis number valid in
$MC_AXCONF_MACHAX_ $MC_AXCONF_CHANAX_ Channel axis name in channel
channel
USED NAME_TAB
Change to: Change to:
MD20070[0] = 1 MD20080[0] = X1
MD20070[1] = 2 MD20080[1] = Z1
MD20070[2] = 3 MD20080[2] = C
MD20070[3] = 4 MD20080[3] = CS3
MD20070[4] = 5 MD20080[4] = Q
MD20070[5] = 6 MD20080[5] = Y1
New: New:
MD20070[5] = 6 MD20080[5] = Y1
Notes
Notes
As a reminder:
MD52010 $MCS_DISP_NUM_AXIS_BIG_FONT is set to 3,
hence the 3 geo-axes are shown in large type.
_________________________________________________
Note:
Function
If your turning machine features an oblique axis (i.e. an axis
that is not perpendicular to the axes X and Z) you can still
programme the entire machining operation in Cartesian co-
ordinates. The control unit transforms the Cartesian co-
ordinates into the motions of the oblique axis using the func-
tion oblique axis (TRAANG).
Notes
Description:
If the machine features a real Y-axis, an extended TRACYL-
variant "Type 514“ can be projected. This permits the machin-
ing of slots with side wall correction: Slot side wall and bottom
are perpendicular to one another - even if the cutter diameter
is less than the slot width. This under other circumstances is
possible only if the diameter is the same as the slot width.
The following sketches show the machining of a slot The slot side wall correction is available only for
without slot side wall correction: By rotation of the longitudinal slots
C-axis the slot walls are not parallel
transverse slots
With slot side wall correction: The slot width is ob-
tained by the displacement of the Y-axis - the slot
slots in any direction (contours)
walls are now parallel to one another
The transformation of the type 514 in case of a machine with
a further linear axis makes use of the redundancy in order to
obtain a better tool correction. Applicable for the second line-
ar axis (Y-axis) is now:
● a reduced working range and
● that the second linear axis should not be used for exe-
cution of the part-program.
Notes
TRANSMIT/TRACYL
[0]=1 (X)
[1]=3 (C)
24110 $MC_TRAFO_TYPE_IN_1 [2]=2 (Z) Axis assignment for transformation 1
[3]=6 (Y)
[4]=0
[0]=1 (X)
$MC_TRAFO_GEOAX_ASSIGN_TAB Assignment of geometry axes to channel axes for transfor-
24120 [1]=3 (C)
_1 mation 1
[2]=2 (Z)
[0]=1 (X)
[1]=3 (C)
24310 $MC_TRAFO_TYPE_IN_3 [2]=2 (Z) Axis assignment for transformation 3
[3]=6 (Y)
[4]=0
[0]=1 (X)
$MC_TRAFO_GEOAX_ASSIGN_TAB Assignment of geometry axes to channel axes for transfor-
24320 [1]=3 (C)
_3 mation 3
[2]=2 (Z)
Notes
Tool list
Continuous path milling on front face C and technology data: Starting the simulation:
Note:
In order for the depiction of the simulation to correspond to
the depiction of the contour programming, the transformation
has been deactivated (TRAFOOF) following the continuous
path milling and the C-axis positioned into the basic position
(G0 C0). Otherwise the depiction would be shown in the last
C-axis position to be approached =180 degrees; in other
words rotated by 180 degrees.
Notes
Continuous path milling front face Y and technology data: Start simulation:
Notes
3rd programming example for mantle face machining Program header with blank definition:
with slot side wall correction
For the slot side wall correction it is most important, that the
contour is programmed back to the starting point since the
slot mill traverses along this contour with the necessary Y-
axis offset.
Notes
Travelling paths:
The entry into the slot takes place at a position of -2 mm
(D - tool diameter), the return path takes place at a Y-position
of +2 mm (-D + tool diameter).
The difference in the Y-axis is therefore 4mm. If the slot-mill
diameter of 8 mm is added the slot width of 12mm is ob-
tained.
Simulation depiction:
Note:
In the mask "Path milling “ the radius correction "to the left of
the contour“ is selected. Alternatively it is also possible to
select the radius correction "to the right of the contour“. The
only difference is the direction of traverse in the slot, i.e. when
entering the slot the Y-axis is positioned on +2 mm, on the
way back on -2 mm. The result on the work piece is identical.
B121: END
Notes
Module Description:
In this module a counter spindle will first of all be set up and shown as to which settings are
required for the axis ZS2 and the spindle CS2. In a subsequent step the technologies TRANSMIT
will be set up for the counter spindle and the technology TRACYL for the available axes/spindles.
After that follows the configuration for "Traverse to fixed stop" as well as for cutting-off. Lastly the
setting up of the counter spindle tailstock will be described.
A simple machining example using the main and the counter spindle, supported by illustrations, will
be used to thoroughly check the functionality.
A more complex machining example for facing with the main spindle, followed by circumferential
machining using the counter spindle and finally a facing operation with the counter spindle will be
used to check the functionality of TRANSMIT and TRACYL. This example, too, will be illustrated by
pictures showing the machining progress.
Module Objective:
With the aid of this module you will learn matching of general MD, channel MD and axis MD, in
order to extend the functionality of the machine and to equip the counter spindle with the technolo-
gy TRANSMIT/TRACYL. The travelling to a fixed stop as well as the cutting-off and the setting-up
of a tail stock for the counter spindle complete the functionality of the machine.
Content:
Sinumerik
Machining
Counter spindle/ example
Tailstock set-up: MSp - CSp
START TRANSMIT
TRACYL
TRANSMIT
TRACYL for
the counter
spindle
set-up
Travelling to
a fixed stop
Tailstock for
the counter
spindle
set-up
Machining
example
MSp - CSp
Notes
Counter spindle set-up Before machining the rear face, the counter spindle must
grab the work piece, pull it away from the main spindle and
If your machine features a counter spindle, you will be able to move it to the new machining location.
machine work pieces using turning, drilling and milling opera-
tions on all faces without having to re-load the work piece
manually.
Setting-up the axis and spindle Meaning of the axes in the channel
_________________________________________________
Note: MD52206[x] Meaning of the axes in the
The spindle denominations C2 and C3 are not permissible, $MCS_AXIS_USAGE channel
since these denominations are already used in the numerical
range of MD10620 – MD10640. Change to: [6] = 7
[7] = 5
If these abbreviations are used, the error message 4020
"Denomination C2 used repeatedly in the machine datum MD52206[6] = 7 Linear axis of the counter spindle ZS2
$MN_AXCONF_MACHAX_NAME_TAB“ MD52206[7] = 5 Counter spindle CS2
_________________________________________________
Description:
0 = No special meaning
MD10000[6] = MZS2 1 = Tool spindle (driven tool)
MD10000[7] = MCS2 2 = Extension spindle (driven tool)
3 = Main spindle (turning)
MD20070[6] = 7 4 = C-axis of the main spindle (turning)
MD20070[7] = 8 5 = Counter spindle (turning)
6 = C-axis of the counter spindle (turning)
MD20080[6] = ZS2 7 = Linear axis of the counter spindle (turning)
MD20080[7] = CS2 8 = Tailstock (turning)
9 = Steady (turning)
10 = B-axis (turning)
12 = B axis of the counter spindle (turning)
13 = Traverse travel X of the counter spindle (turning)
Notes
Matching of the axis MD for rotary axis/spindle AX7: MZ2 (Linear axis of the counter spindle)
MD30130 = 0 for simulation (command value)
MD30240 = 0 Simulation (actual value Encoder)
MD30300 = 0
MD30310 = 0
MD30320 = 0
MD30350 = 1 for axis simulation
MD34000 = 0 axis without reference cam
As a reminder:
MD52010 $MCS_DISP_NUM_AXIS_BIG_FONT is set to 3,
hence the 3 geo-axes are shown in large type.
Notes
MD35040 $MA_SPIND_ACTIVE_AFTER_RESET = 0:
Spindle stops (with M2/M30 and channel and mode group
reset)
Program is aborted
MD35040 $MA_SPIND_ACTIVE_AFTER_RESET= 1:
Spindle does not stop
Program is aborted
MD35040 $MA_SPIND_ACTIVE_AFTER_RESET= 2:
Spindle does not stop at the M function configured via
MD10714 $MN_M_NO_FCT_EOP (e.g. M32).
However, the spindle stops at channel or mode group
reset.
Notes
With reference to the work piece the main and the counter
spindle must have the same direction-of-rotation and speed in
MD32100 Traversing direction (not con- order to enable the transfer of the work piece from the main
$MA_AX_MOTION_DIR trol direction) to the counter spindle under synchronous running conditions.
Specifying the direction of rotation As a reminder: Here once more the axis indexes
Notes
From this derive the following setting possibilities for the counter spindle. The settings of the machine data, however, depend on
the direction of viewing the co-ordinate axis.
No matter as to which of the four combinations of MD52207[6] Bit 3 und Bit 4 shown below the machine manufacturer selects, it
is imperative that the settings shown in one line for PLC interface signal “Invert M3/M4” and MD52207[6] Bit 5 are used.
1 1 0 0
1 0 1 1
0 0 0 0
0 1 1 1
The setting of the machine datum MD52207 Bit 3 assumes that the direction of viewing is in direction of the negative Z-axis . If,
however, you are looking in the positive direction of the co-ordinate axis, the values must be reversed; i.e. "0" and "1" must be
interchanged.
Note:
The MD52207[6] of the counter spindle affects
the readout of the spindle direction in the user interface
the depiction in the simulation and for sketching
the direction of rotation of the spindle after a tool change according to the direction of rotation from the tool.
Notes
TRANSMIT and TRACYL for the counter spindle set-up There are 2 differing sets of data, both of which must be set
up; - one for TRANSMIT and one for TRACYL:
General aspects
Front face machining counter spindle: Transformation 2
The basic information and machine data settings have al- MD 24200 $MC_TRAFO_TYPE_2=257 (with Y–axis)
ready been described in module “Setup Turning”. Only the
differences and specialities regarding the transformations Cylinder mantle transformation counter spindle: Transfor-
TRANSMIT and TRACYL in conjunction with the counter mation 4 With slot side face correction and Y–correction:
spindle. MD 24400 $MC_TRAFO_TYPE_4=514
_________________________________________________
Note:
The tables on the next pages gives an overview of the data
There is a difference between the set-ups of TRANSMIT and blocks for TRANSMIT and TRACYL.
TRACYL depending on whether a Y-axis is available or not.
Described here is the set-up as applicable when an Y-axis is
available.
_________________________________________________
Notes
[0]=1 (X)
[1]=8 (CS2)
24210 $MC_TRAFO_TYPE_IN_2 [2]=2 (Z) Axis assignment for transformation 2
[3]=6 (Y)
[4]=0
[0]=1 (X)
$MC_TRAFO_GEOAX_ASSIGN_TAB Assignment of geometry axes to channel axes for trans-
24220 [1]=8 (CS2)
_2 formation 2
[2]=2 (Z)
$MC_TRANSMIT_ROT_AX_OFFSET Offset of rotary axis for the 2nd TRANSMIT transfor-
24950 0
_2 mation
$MC_TRANSMIT_ROT_AX_FRAME_
24955 2 Rotary axis offset TRANSMIT 2
2
$MC_TRANSMIT_ROT_SIGN_IS_PL
24960 0 Sign of rotary axis for 2nd TRANSMIT transformation
US_2
Restriction of working range in front of / behind the pole,
24961 $MC_TRANSMIT_POLE_SIDE_FIX_2 1
2. TRANSMIT
States the offset of the rotary axis in degrees in relation to the 2: axial rotary axis offset is considered until SZS.
zero position while TRANSMIT is active for the second
agreed TRANSMIT-transformation. The SZS-frames include transformed rotations around the
rotary axis.
Corresponds to:
MD24900 $MC_TRANSMIT_ROT_AX_OFFSET_1 Note:
This setting is necessary in conjunction with JobShop.
Notes
Sign of rotary axis for 2nd TRANSMIT transformation Restriction of working range before/behind the pole, 2.
TRANSMIT
Description: Description:
Indicates the sign with which the rotary axis is taken into Restriction of the working range before/behind the pole or
account in the TRACYL transformation for the 2nd agreed else no restriction; i.e. travelling through the pole.
TRACYL transformation for each channel. The sign of the
virtual Y-axis is meant in this context. The assigned values have the following meaning:
MD24970[x]
Vector of base tool for 2nd
$MC_TRANSMIT_BASE_
TRANSMIT transformation
TOOL_2
Default: 0, 0, 0 mm Change to:
MD24970[0] = 0
MD24970[1] = 0
MD24970[2] = 0
Description:
States a basic offset for the tool zero point offset for the 2nd
TRANSMIT-transformation. This MD will only be required. For
the standard application the default is applicable.
The index i takes the values 0, 1, 2 for the 1st to the 3rd ge-
ometry axis.
Corresponds to:
MD24920 $MC_TRANSMIT_BASE_TOOL_1
Notes
Cylinder mantle transformation main spindle: Transformation 4 (with slot side face correction and Y-correction)
[0]=1 (X)
[1]=8 (CS2)
24410 $MC_TRAFO_TYPE_IN_4 [2]=2 (Z) Axis assignment for transformation 4
[3]=6 (Y)
[4]=0
[0]=1 (X)
$MC_TRAFO_GEOAX_ASSIGN_TAB Assignment of geometry axes to channel axes for trans-
24420 [1]=8 (CS2)
_4 formation 4
[2]=2 (Z)
24850 $MC_TRACYL_ROT_AX_OFFSET_2 0 Offset of rotary axis for the 2nd TRACYL transformation
$MC_TRACYL_ROT_SIGN_IS_PLUS
24860 1 Sign of rotary axis for 2nd TRACYL transformation
_2
Mantle machining with TRACYL for the counter spindle Rotary axis offset TRACYL 2
(without correction of slot side edge )
MD24855
$MC_TRACYL_ROT_AX_ Rotary axis offset TRACYL 2
FRAME_2
Offset of rotary axis for the 2nd TRACYL transformation
Change to: 2
MD24850 Description:
Offset of rotary axis for the 2nd
$MC_TRACYL_ROT_AX_
TRACYL transformation 0: axial rotary axis offset is not considered.
OFFSET_2
Default: 0 Grad Change to: 1: axial rotary axis offset is considered.
Irrelevant:
if no TRACYL is active
Notes
Sign of rotary axis for 2nd TRACYL transformation Vector of base tool for 2nd TRACYL transformation
MD24860 MD24870[x]
Sign of rotary axis for 2nd Vector of base tool for 2nd
$MC_TRACYL_ROT_SIGN_ $MC_TRACYL_BASE_
TRACYL transformation TRACYL transformation
IS_PLUS_2 TOOL_2
Change to: 1 Default: 0, 0, 0 mm Change to:
Description: MD24870[0] = 0
MD24870[1] = 0
Indicates the sign with which the rotary axis is taken into MD24870[2] = 0
account in the TRACYL transformation for the 2nd agreed
TRACYL transformation for each channel. Description:
Corresponds to: Indicates a basic offset of the tools zero for the 2ndTRACYL
MD24810 $MC_TRACYL_ROT_SIGN_IS_PLUS_1 transformation. The offset is referenced to the geometry axes
valid when TRACYL is active. The basic offset is included
Note: with and without selection of the tool length compensation.
Programmed length corrections have an additive effect with
Match to the machine conditions.
respect to the basic tool.
The index i takes the values 0, 1, 2 for the 1st to 3rd geome-
try axes.
Corresponds to:
MD24820 $MC_TRACYL_BASE_TOOL_1
Activation of the undertaken alterations Switching between axis mode and clamping
After all parameters have been entered and validated by Extract from the CUST_TECHCYC.SPF
means of the softkey “Set MD active (cf)“ one further step is
necessary.
Turn the main switch OFF once and turn it back ON again to
cause the control to re-boot. By this the control unit is
matched to the undertaken alterations.
Notes
Notes
Notes
Description:
MD52251[x]
M code for opening chuck with M-Code for Close chuck
$MCS_M_CODE_CHUCK_
rotating spindle e.g.: "M36" or "M1=36"
OPEN_ROT
Default: Change to:
Notes
Description: Note:
Chuck of the counter spindle opening, closing and flushing The M-commands for opening and closing the chucks of the
main and the counter spindle are not defined by
_M26: Counter spindle chuck closing
CUST_TECHCYC.SPF. but by the machine data. This is nec-
if chuck [1] not closed, then closing
essary for the opening and closing of the chucks and the as-
sociated work piece motions to be correctly shown in the sim-
_M27: Counter spindle, chuck opening while stationary
ulation of G-code programmes.
if chuck [1] not open, then opening
Description:
_M28: Counter spindle, chuck opening while rotating
if chuck [1] not open while rotating, then opening The machine data are evaluated in the modes _M26, _M27
and _M28 . If the machine data contain only a numerical val-
_M29: Counter spindle, de-selection of chuck flushing ue then this will be put out as an M-function without an exten-
sion. If the machine datum contains an auxiliary function
with extension, e.g.. M1=34, then this will be carried out as a
string.
Notes
Description: Note 2
for AX8: MCS2 In order to show the counter spindle firstly without tailstocks,
it is sensible to temporarily take out a setting of the basic ma-
MD53240[0] = e.g. 50 mm chine!
Chuck dimension = ZC2 in the mask Spindle chuck data _________________________________________________
MD53240[1] = e.g. 40 mm
Stop dimension = ZS2 in the mask Spindle chuck data MD52218 Bit 2 = 0
Notes
MD53241
Spindle jaw type
$MAS_SPINDLE_CHUCK_TYPE
Description:
for AX8: MCS2
Jaw type 1:
Jaw type 1: Z1 lies in the WKS on the front edge of the
clamping jaws; so if for instance Z1 = -10, the work piece will
be inserted by 10 mm.
Jaw type 2:
Jaw type 2: Z1 lies on the inner jaw step; so for Z1 = 0, the
work piece will be inserted right up to the jaw step.
Notes
In order to recognise erroneous behaviour all the same when Counter spindle: path for travel to fixed stop
travelling to a fixed stop, these alarms are replaced by a cycle
alarm:
SD55550 Counter spindle: path for
61254 [channel %1: ] block %2: Error while travelling to a $SCS_TURN_FIXED_STOP_DIST travel to fixed stop
fixed stop
Default: 10 mm Change to:
SD55551
Counter spindle: feedrate
$SCS_TURN_FIXED_STOP_
for travel to fixed stop
FEED
Default: 0 mm/min Change to:
Notes
Between the travelling to a fixed stop and the chucking the 0,1mm
counter spindle can retract a small amount in order to relieve
pressure on the work piece.
SD55550
Counter spindle: Retraction path prior to chucking after e.g. 10mm
fixed stop SD55551
e.g. 10mm/min
SD55553 Counter spindle: retraction SD55552
$SCS_TURN_FIXED_STOP_ RE- path prior to chucking after e.g. 10%
TRACTION fixed stop SD55553
e.g. 0,1mm
Change to: e.g. 0,1
2. Cut-off
After chucking there is the possibility to cut off the work piece.
Prior to this the counter spindle can be retracted a small
amount together with the work piece to create a tensile force
in the work piece. This relieves the tool a little bit during the
parting.
SD55543
e.g. 1mm
Notes
After the cut-off a check can be carried out and during turning SD55541
the function "Travelling to a fixed stop" can be used. The cut- Feedrate for cut-off
$SCS_TURN_PART_OFF_CTRL_
off check can either be set up by means of the following check
FEED
channel specific setting data or it can be deactivated:
Default: 0 mm/min Change to:
SD55540 SD55542
$SCS_TURN_PART_OFF_CTRL_ Path for cut-off check Force for cut-off check
$SCS_TURN_PART_OFF_CTRL_FO
DIST in %
RCE
Default: 0.1 mm Change to: Default: 10 % Change to:
2. Cutting-off
Notes
Alarm Alarm Text Opening the input mask Spindle chuck data
In order to recognise a mal-function during the cut-off check, Depiction of the spindle chuck data for “Tailstock release“
these alarms are replaced by the cycle alarm 61255:
Notes
Depiction of the spindles after “Tailstock release“ and Cursor Depiction of the tailstock after “Tailstock release“, cursor on
position on ZC1. The fields for XR1, ZR1, XR2 and ZR2 have position XR2 and the tailstock data have been entered manu-
not yet been filled in. ally.
AX8: MCS2
MD53242[0] = XR2 Tailstock diameter
MD53242[1] = ZR2 Tailstock length
MD53242[x]
Tailstock data
$MAS_TAILSTOCK_PARAMETER
AX3: MCS1
MD53242[0] = XR1 Tailstock diameter
MD53242[1] = ZR1 Tailstock length
Notes
Example:
By means of a simple machining example with the main spin-
dle followed by the counter spindle the sequence is to be
tested.
The programming of the operations with the counter spindle Program head with workpiece definition:
is carried out in the same manner as for the main spindle, for
instance the location of cutting. For the machining with the
counter spindle the Z-axis is mirrored (within the cycles). Only
the cutting edge position must suit the actual cutting direction.
This way of programming permits part programmes to be run
both with the main spindle and also with the counter spindle.
Tool list
Preparation:
The tools used in this example must have been edited and
must have the correct cutting edge orientation.
Stock removal and technology data main spindle: Transfer to the counter spindle:
Notes
Stock removal and technology data counter spindle: Test of the machining
Notes
Machining example main spindle with TRANSMIT and Machining program: MSp and CSp
counter spindle with TRACYL and TRANSMIT
Example:
By means of a simple machining program for facing with the
main spindle followed by turning and facing with the counter
spindle the sequence is to be tested.
Machining time:
At the end of the graphic simulation the established machin-
ing time will be entered In the bottom program line.
Notes
Continuous path milling front face C main spindle: Transfer to the counter spindle:
Notes
Create contour description: Continuous path milling front face C counter spindle:
Front face Y, Starting point X=25 abs, Y =10 abs
Straight X=-15 abs
Straight Y=0 abs
Notes
Transfer of the work piece to the counter spindle Retraction of the counter spindle
B122: END
Notes
Module Description:
It is often a requirement to store machining programs externally to the controller.
The EES (Execute from External Storage) feature can then be used to execute the programs, from
the external source, as if they were stored in the NC memory.
The external storage can be on the System CF card, USB memory, or a networked PC.
Module Objective:
Content:
Sinumerik
NC Extend Function
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B035
B035
Program
Handling:
START
Program
Handling -
General
information
Setting up a
Networked
Logical
Drive
Execute
from an
External
Source
Function
NC Extend
Function
Program
Use With
EES & NC
EXTEND
Program
Handling:
END
Notes :
Program Handling - General information. NC Extend: Releases 100MB of System CF card memory.
(Option number: 6FC5800-0AP77-0YB0)
Logical Drives
Execute from External Source (EES): Suitable for connect-
The logical drive features allows storage of machining pro- ing via Ethernet to an external PC for unlimited storage capaci-
grams in addition to the standard NC memory. ty. (Option number: 6FC5800-0AP75-0YB0)
.
The additional storage can be: Global Part Program Memory:
On the controller (System CF card). The Global Part Program Memory feature behaves like stand-
ard NC memory and has no restrictions on program jumps,
A USB device. block search etc.
A user CF card. The feature can be activated for one of the following memory
A networked computer. types:
System CF card (NC Extend).
By default, the User CF card and USB features are already USB.
active.
User CF card.
Programs can be easily copied and pasted between the con- Networked computer (EES).
troller and a logical drive.
It is also possible to execute a program from a logical drive Standard NC memory allocation and availability of EES/NC
however, there are limitations with program jumps and block Extend functions:
search, for example.
828D NC Memory NC Extend EES
NC Extend, EES, and Global Part Program Memory. Software
24x 3MB
Options are available which allow full program functionality for 26x 5MB
programs stored externally of the controller.
28x 8MB
28xA 10MB
Setting up a Networked Logical Drive. The following example shows how to connect to a Win-
dows7® computer via the X130 (Factory network) interface of
Option: The following software option is required.: the controller (Direct connection without DHCP)
X130 will be configured with an IP address of 192.168.100.1.
Network drive management - 6FC5800-0AP01-0YB0 The computer will be configured with an IP address of
192.168.100.2
Both will have the subnet mask of 255.255.255.0
Note:
There are certain IP addresses that must be avoided as they
are reserved for use by the system.
IP addresses in the 192.168.214.xxx range must be avoided.
IP addresses in the 192.168.215.1 to 31 range must also be
avoided.
X130
Notes :
Setting up the Logical Drive: Select a free soft-key. Further soft-keys, 24 in total, are ac-
cessed via the >>Level soft-key.
Locate the logical drives set-up area:
Example - Soft-key 8:
Notes :
For this example the following data is required (the external The relevant data has to be entered:
computer settings will be changed later):
Password: SUNRISE
(Login password of the PC, for example)
Notes :
Notes :
Example:
In Windows® Explorer:
Select the D drive.
With the mouse pointer In the right hand window, right
click and create a new folder.
Give a suitable name to the folder.
Example 828D Programs.
Notes :
The default setting is for everyone to have read only access It is possible to restrict access to the shared folder by other
to the folder. users of the PC.
If restrictions are required, the Everyone user can be re-
moved or the permissions deselected.
Users can than be added via the Add button.
Notes :
In the following example, the user AUDUSER is going to be If the user exists, it will be displayed.
given permission to access the shared folder.
Example: AUDUSER has been granted full access to the It should now be possible to access the shared folder from the
shared 828D Programs folder. Program manager area of the controller.
The Share permission for Everyone has been removed.
Notes :
Example:
The 828D Programs folder has been shared.
Two folders, Share 1 & Share 2, have been added within the
shared folder.
There is no need to share these new folders.
The new folders can be seen inside the original shared folder:
Example:
The following example shows two additional soft-keys which
have been set-up to give access to one each of the new fold-
ers.
Notes :
The path to Share 1 has been included. The path to Share 2 has been included.
Access soft-keys 9 & 10 in the Program manager area: Execute from an External Source Function
Notes :
From within the Logical drives area, select the EES logical The EES SHARE Logical drive will now be activated for Global
drive, followed by the Change and then Details soft-keys. part program memory.
Notes :
The folder structure that was created by the Global part pro-
gram memory.
NC Extend Function. The settings for the NC Extend can be viewed in the Logical
drives area.
The NC Extend function releases 100MB of System CF card
memory which, when used with the Global part program
memory feature, behaves exactly like standard NC memory.
i.e. there are no restrictions on block search, long program
jumps etc. that are found with other methods of executing pro-
grams from external storage.
Notes :
The result of the Global part program memory being set is the
creation of the folder structure on the NC Extend drive: The available space, in this case on the System CF card, can
be seen at the bottom right of the screen.
The result of activating the Global part program memory is the Program Use With EES & NC EXTEND
creation of three folders which match the default NC memory
folders. Part programs, subprograms etc. can now be stored on the
external source and used in the same way as the ones in the
Navigate to the Program manager screen: NC memory.
The folder structure that was created by the Global part pro- Example 1: Main program and subprogram in the standard
gram memory. NC memory:
Notes :
The contents of the SUB_PROGRAM.SPF : The SUB_PROGRAM.SPF will be called and will run for 10
A program message (Sub_Program has been called) will be seconds:
displayed for 10 seconds (G04 F10) when the program is exe-
cuted.
Note:
B035 : END
Notes :
Module Description:
Run MyScreens is a function of the Sinumerik 828D which allows the manufacturer to write custom
screens.
The screens are intended as an interface to the specific functions offered by the OEM.
Module Objective:
Upon completion of this module the course participant will be able to create Run MyScreens
display screens.
Content:
Sinumerik
General Information
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B011
B011
Run MyScreens:
START
General
Information
Basic
Configuration
Information
Creating
Run
MyScreens
User Files
Language
Dependant
Texts
Parameters
and
Variable
Descriptions
Run MyScreens:
END
Notes :
General Information
The Run MyScreens function is configured using ASCII files. These files contain the descriptions of the user interface.
As standard, up to 5 screens can be configured. Further screens are available via a licensed option Sinumerik Integrate Run
MyScreens, order No: 6FC5800-0AP64-0YB0.
In order to create images for the screens, a graphic programme is required, e.g. Paint Shop Pro® and Paint® are programmes
which are compatible with the 828D controller.
6. Variables
Reading (NC, PLC, user variables)
Writing (NC, PLC, user variables)
Linking with mathematical, comparative or logic
operators
7. Executing functions:
Subroutines
File functions
PI Services
Notes :
Operating areas overview To enable custom screens in other area of the controller, the
“easyscreen.ini” file has to be modified.
Operating area Permissible position for start soft-keys
There are eight areas in total:-
Machine JOG HSK6
Machine Area-Sub divided into:-
Machine MDA HSK6 Jog
MDA
Machine AUTO HSK6 Auto
Parameter HSK7
Parameter Area
Program HSK6
Program Edit Area
Program-Manager HSK2-8, 12-16, if not used for networked
drives Program Manager Area
Notes :
Example of how all the areas are specified within the “easyscreen.ini” file:-
[STARTFILES]
Creating Run MyScreens User Files Creating the “easyscreen.ini” file on the controller
The files required for the Run MyScreens function need to be This file sets up the links to the files which are to be used to
created. This can be done directly on the controller by navi- create the user screens, it also determine which operating
gating to the relevant folders. Use the following key sequence areas these files are available in. The file has to be located in
to locate the “System data” area. any of the following paths/directories:-
“System CF card\oem\sinumerik\hmi\cfg”
“System CF card\user\sinumerik\hmi\cfg”
Notes :
To create the file select the “New” soft-key and ensure that the “Any” soft-key is selected.
The “Any” soft-key allows the file type to be determined by the user. In the dialogue box type in the name of the file and confirm
with the “OK” soft-key.
The file name must be in lowercase due to the LINUX operating system.
The newly created file will be automatically opened in preparation for editing.
The “com” file, the content of which will determine what appears on the Run MyScreens screens, is also declared here.
(startfile := param.com)
[STARTFILES]
StartFile01 = area := AreaParameter, dialog := SlParameter, startfile := param.com
As mentioned previously it is possible to create the Run MyScreens files directly on the controller or offline using an ASCII editor
(e.g. Notepad®).
These files have to be transferred to the controller and placed in the correct folders using the USB/CF Interfaces or with Ac-
cess MyMachine software.
Notes :
Creating the “param.com” file Below: The param.com file located in the proj directory.
“System CF card\oem\sinumerik\hmi\proj”
“System CF card\user\sinumerik\hmi\proj”
HS7=("Run %nMyScreens")
The 7th horizontal soft-key contains the text specified in the
When the soft-key is pressed a Mask (mask1) will be loaded:
“param.com” file: HS7=("Run %nMyScreens").
PRESS(HS7)
LM("mask1")
END_PRESS
//END
Notes :
The various parameters are separated by the “Forward slash” Graphic The position of the graphic in pixels. Distances
character (/). Position Position are from the left and top of the dialogue
screen and are separated by a comma.
//M(Identifier/header/Graphic/Dimension/Variable/Graphic Attributes CM (Column Mode) Column alignment.
position/Attributes)
CM0: Default, the column distribution is carried
Parameter descriptions: out separately for each line.
Notes :
Dialogue Elements refer to long and short texts, graphics texts, HS7=("Run %nMyScreens")
unit texts and I/O fields. Additional soft-keys can also be added. PRESS(HS7)
LM("mask1")
The dialogue elements are added below the mask header. END_PRESS
//END
In the following example (Shown in red text) a soft-key with the
label “Variable Test” is added. When the soft-key is pressed the //M(mask1/"Picture Test"/"tiger.bmp"///110,25)
screen will display a list of four variables. The four variables are
defined under a new mask (mask2-Workpiece Dimensions). HS1=("Variable %nTest")
PRESS(HS1)
The parameters of the variables defined in mask2 are separated LM("mask2")
by the forward slash character (/). END_PRESS
//END
A detailed description of the Dialogue Element parameters can
be found in chapter ”Parameters and Variable Descriptions”. //M(mask2/"Workpiece Dimensions"/)
Def Var1=(R2///"Length of component","R0 X Length"///"$R[0]")
Def Var2=(R2///"Width of component","R1 Y Width"///"$R[1]")
Def Var3=(R3///"Height of component","R2 Z Height"///"$R[2]")
Def Var4=(I///"Main spindle speed","R3 Spindle speed"///"$R[3]")
VS8=("EXIT")
PRESS(VS8)
EXIT
END_PRESS
//END
The additional soft-key can now be seen. Screen title/name Long text of the selected variable.
Notes :
PRESS(HS1)
LM("mask2")
END_PRESS
Def Var3=(R3///"Height of component","R2 Z Height"///"$R[2]") VS8=("EXIT") Determines the text for vertical soft-key 8 as
R parameter 2 as a real number to 3 decimal places, sets the “EXIT”:
component height:
Notes :
Filename Examples: The files for English and German can be seen located in the
OEM area.
easyscr_eng.txt English filename example
easyscr_deu.txt German filename example
Language
coding
85100 0 0 "Deutsch%nMyScreens" The identifier is used in place of the text in the param.com file.
85101 0 0 "Deutsch Mask Header" The identifier has to be prefixed by the $ symbol.
85102 0 0 "Deutsch Long Text" The text associated with the identifier will be displayed.
85103 0 0 "Deutsch Short Text"
Notes :
//END
Setting the controller language: When using the examples shown earlier it can be seen that the
text displays change with the selected language.
The controller language is selected via the “Start-up” menu.
Or
Notes :
Notes :
Notes :
The variable to be viewed is entered here, these have to be Byte y of bit z of data block x DBx.DBXy.z
contained within speech marks. The variable must be
addressed in the correct way. Byte y of data block x DBx.DBBy
R parameter 1 $R[1]
Input byte x bit y Ix.y The Short Text defined in attribute No.4 is positioned using
parameter No.8.
Input byte x IBx The measurements are in pixels and relate to the top left
corner of the main dialogue body.
Input word x IWx
Three values can be entered to define the position from the left,
Input double word x IDx
the position from the top and the width of the short text.
Output byte x bit y Qx.y Each entry has to be separated by a comma.
Output byte x QBx The following example would position the text “Short text” 200
pixels from the left and 100 pixels from the top with a width of
Output word x QWx 250 pixels:
Output double word QDx
Def Var1=(R2///" ","Short text"///"$R[0]"/200, 100, 250//)
Notes :
The I/O field can be positioned and sized using parameter The foreground and background colours of the I/O field can be
No.9. chosen by using parameter No.10.
The measurements are in pixels and relate to the top left The default colours are foreground: Black, background: White.
corner of the main dialogue body. These are determined by the “Write mode” (See parameter 5)
The following example would position the I/O field for the
defined variable, 600 pixels from the left and 100 pixels from Index Colour
the top with a width of 100 pixels and a height of 150 pixels: 1 Black
2 Red/brown
Def Var1=(R2///" "," "///"$R[0]"//600, 400, 100, 150/) 3 Dark green
4 Light grey
5 Dark grey
6 Blue
7 Red
8 Brown
9 Yellow
10 White
B011: END
Notes :
Hardware
Differences:
START
PPU
Differences
Digital I/O
Hardware
Differences:
END
Sinumerik
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
Appendix A
Appendix A Hardware Differences
X102
Rx/Tx
Link
X130 Certain terminals are automatically assigned to a function by
default, remaining terminals can be assigned to a function via
X140 X135 machine data.
X122
The status of the terminals is transferred to CU parameter
X132 r0722 which is referred to when assigning a function.
X242
X252
X143
X1
M T1 T2 T3
PPU
Notes :
Pin 12 Sinamics DI/DO10 Bero 1 - external zero mark (Input) CU-r0722.10 Drive p0495=2
Notes :
X132-Sinamics I/O
Source Destination
Notes :
Notes :
PPU
X132 Drive
1 DI 4
2 DI 5
3 DI 6
4 DI 7
5 MEXT
6 P24EXT2
7 DI/DO 12 1*
8 DI/DO 13 1*
9 MEXT2
10 DI/DO 14 1*
11 DI/DO 15 1*
12 MEXT2
Notes :
Pin 2 Sinamics DI1 OFF3 drive enable-Fast Stop CU-r0722.1 Each drive 2nd OFF3,
p0849
Pin 3 Sinamics DI2 SH/SBC 1 – Group 1 CU-r0722.2 p9620 (all drives in the
SINAMICS Safety Integrated group)
(SH enable = p9601)
Pin 4 Sinamics DI3 SH/SBC 1 – Group 2 CU-r0722.3 p9620 (all drives in the
SINAMICS Safety Integrated group)
(SH enable = p9601)
Pin 5 0V Ground (M) Ground for pins 1 to 4
Pin 10 Sinamics DI/DO10 Bero 1 - external zero mark CU-r0722.10 Drive p0495=2
Pin 11 Sinamics DI/DO11 Probe 1: Remote Measuring CU-p680[0]=0 Each drive p0488,
(MD13210=1) Index
encoder 1, 2, 3=3
Pin 12 0V Ground (M) Ground for pins 7, 8, 10, 11
Notes :
X132-Sinamics I/O
Source Destination
Notes :
Appendix A: END
Notes :
Channel Setting
Data
55000-55999
Technology
Settings:
END
828D/840D sl SINUMERIK Operate V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
Appendix B
General Machine Data
828D/840D sl SINUMERIK Operate
Technology Settings
MD Identifier Description Old MD/GUD
51025 $MNS_FRAMES_ACT_IMMEDIATELY Active data (frames) are activated immediately after change 9440
51026 $MNS_AXES_SHOW_GEO_FIRST When the machine data value is 1, the geometry axes of the channel are displayed first. 9421
Appendix B
51027 $MNS_ONLY_MKS_DIST_TO_GO Distance-to-go display in work window 9420
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
51029 $MNS_MAX_SKP_LEVEL The machine data defines how many skip levels are made available for operation. 9423
51030 $MNS_SPIND_MAX_POWER Maximum value of the permissible spindle power rating in percent; the display bar in the 9428
machine image is shown in green within the range between 0 and the value stored in
SPIND_MAX_POWER.
51031 $MNS_SPIND_POWER_RANGE Scale end value for spindle power rating in percent; value must be equal to or greater than 9429
Technology Settings
SPIND_MAX_POWER.
The display bar in the machine image is shown in red in the range between the values of
SPIND_MAX_POWER and SPIND_POWER_RANGE.
51034 $MNS_TEACH_MODE Teach mode to be activated 9026
Bit 0: Default teach-in
Taught-in block is transferred to the program using the Accept softkey.
Bit 1: Acceptance of teach block can be blocked by the PLC.
- 840D sl: PLC bit DB19.DBX13.0 Disable teach transfer
- 828D: PLC bit DB1700.DBX1000.0 Disable teach transfer
Bit 2: Block selection only explicitly
Page 3
Technology Settings
MD Identifier Description Old MD/GUD
51038 $MNS_SET_ACT_VALUE Set actual value selection 9422
0 = Set actual value is not offered.
1 = If a user frame (settable work offset e.g. G54) is active, it will be used. In G500 Set ac-
tual values is not offered (system frame is no longer used).
51039 $MNS_PROGRAM_CONTROL_MODE_MASK Options for machine - program influence:
Bit 0: Program test function available
51040 $MNS_SWITCH_TO_MACHINE_MASK Automatic operating area switchover to machine
Bit 0: When selecting a program in the program manager, the operating area does not
automatically switch over to Machine.
Bit 1: When switching the type of operation via the MCP, the operating area is not auto-
matically switched over to Machine.
Bit 2: Do not switch automatically in Programs during program selection.
Bit 3: No auto. Start of block search on selection / execution under Programs.
51041 $MNS_ENABLE_PROGLIST_USER Activates the PLC program list of the USER area. The programs entered there can be se-
lected by the PLC for processing.
51042 $MNS_ENABLE_PROGLIST_INDIVIDUAL Activates the PLC program list of the INDIVIDUAL area. The programs entered here can be
Page 4
Appendix B
51052 $MNS_ACCESS_WRITE_SEA Protection level write setting data 9215
Appendix B
51053 $MNS_ACCESS_WRITE_BASEFRAME Write basic work offset (basic frame) protection level
Appendix B
MD Identifier Description Old MD/GUD
Technology Settings
51060 $MNS_ACCESS_WRITE_USERFRAME Write settable work offset (G54 ... G599) protection level
51061 $MNS_ACCESS_WRITE_WPFRAME Write workpiece reference protection level 9185
51062 $MNS_ACCESS_WRITE_FINE Write protection level for fine offset of all work offsets 9203
Contains the numbers of the channels to be displayed under machine in the multi-
channel view, in the desired order and separated by commas, semicolons or spaces.
51067 $MNS_ENABLE_HANDWHEEL_WINDOW Show handwheel window.
If the machine data is set to 0, the window for handwheel assignment is hidden.
51068 $MNS_SPIND_DRIVELOAD_FROM_PLC1 Machine axis index of spindle 1 utilization display from PLC
51069 $MNS_SPIND_DRIVELOAD_FROM_PLC2 Machine axis index of spindle 2 utilization display from PLC
51070 $MNS_ACCESS_CAL_TOOL_PROBE Protection level for calibration of the tool probe (ShopTurn)
51071 $MNS_ACCESS_ACTIVATE_CTRL_E Protection level of CTRL-Energy
51072 $MNS_ACCESS_EDIT_CTRL_E Protection level of CTRL-Energy for changing profiles
828D/840D sl SINUMERIK Operate
Technology Settings
MD Identifier Description Old MD/GUD
51200 $MNS_ACCESS_WRITE_TM_GEO Write tool offset geometry data protection level 9201
51201 $MNS_ACCESS_WRITE_TM_WEAR Write tool offset wear data protection level 9202
51202 $MNS_ACCESS_WRITE_TM_WEAR_DELTA Protection level for restricted writing of tool wear values, 9203
s. SD 54213: TM_WRITE_DELTA_LIMIT
51203 $MNS_ACCESS_WRITE_TM_SC Write tool offset sum offset protection level 9204
51204 $MNS_ACCESS_WRITE_TM_EC Write tool offset use offsets protection level 9205
51205 $MNS_ACCESS_WRITE_TM_SUPVIS Write tool offset monitoring data protection level 9206
One authorization applies to all limit values: quantity, service life, wear and the monitor-
ing type.
51206 $MNS_ACCESS_WRITE_TM_ASSDNO Write tool offset unique D number protection level 9207
51207 $MNS_ACCESS_WRITE_TM_WGROUP Write tool offset wear groups (magazine location / magazine) protection level 9208
51208 $MNS_ACCESS_WRITE_TM_ADAPT Write tool offset tool adapter geometry data protection level 9209
Page 6
51209 $MNS_ACCESS_WRITE_TM_NAME Write tool offset tool name and duplo data protection level 9240
51210 $MNS_ACCESS_WRITE_TM_TYPE Write tool offset tool type protection level 9241
51212 $MNS_TM_WRITE_WEAR_ABS_LIMIT With TM_WRITE_WEAR_ABS_LIMIT, the max. possible value of a tool wear is limited 9639
absolutely, independently of the current protection level (keyswitch position), i.e. also
independently of ACCESS_WRITE_TM_WEAR. Absolute and incremental wear limita-
tion can be combined, i.e. the wear can be changed incrementally up to the absolute
limit, see MD 51213.
51213 $MNS_TM_WRITE_WEAR_DELTA_LIMIT When entering tool offsets, the value of the change from the previous value to the new 9450
value cannot exceed the value set here.
With TM_WRITE_WEAR_DELTA_LIMIT, the change to a tool wear can be limited incre-
mentally, if the current protection level is the same as or higher than the one set in AC-
CESS_WRITE_TM_WEAR_DELTA. With the current protection level being the same or
higher than ACCESS_WRITE_TM_WEAR, an incremental limitation is no longer per-
Appendix B
formed. incremental wear limitation can be combined, i.e. the wear can be changed up
to the absolute limit, see MD 51212.
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
51215 $MNS_ACCESS_WRITE_TM_ALL_PARAM Protection level TM details - write all parameters
Technology Settings
51219 $MNS_ACCESS_TM_TOOL_UNLOAD Protection level TM unload tool
51232 $MNS_ENABLE_LADDER_EDITOR_ADV Activation of PLC ladder editor for the complete PLC project
Technology Settings
MD Identifier Description Old MD/GUD
51600 $MNS_MEA_CAL_WP_NUM Number of calibration data fields for workpiece probes
51601 $MNS_MEA_CAL_EDGE_NUM Number of geometry data fields of gauging block for workpiece probes
Bit 1: Workpiece, length ref. of probe in infeed axis at the ball circumference
Bit 2: Workpiece, correction in the tool, taking into account toolholders
Bit 3: Reserved
Bit 4: Workpiece, probe fixed in the machine (not in a spindle)
Bit 5: Workpiece, correction in WO course, if no WO fine is set up
Bit 6: Measuring blocks in measuring cycles with feedrate override 100%
Bit 15: Workpiece, traverse measuring block with path behaviour G60 exact stop
Bit 16: Tool, turning technology, taking into account toolholders
51742 $MNS_MEA_FUNCTION_MASK Meas. cycles: Limitation of protection levels when writing system variables
51750 $MNS_J_MEA_M_DIST This parameter defines the measuring path in front of and behind the measuring setpoint. 9752
51751 $MNS_J_MEA_M_DIST_MANUELL Measuring path, manual measurement ((for "Measure in JOG")) [mm] (in front of and behind the 9753
measuring setpoint)
51752 $MNS_J_MEA_M_DIST_TOOL_LENGTH Measuring path for tool length measuring. 9754
Appendix B
51757 $MNS_J_MEA_COLL_MONIT_FEED Feedrate in the working plane with active collision detection. 9757
Appendix B
51758 $MNS_J_MEA_COLL_MONIT_POS_FEED Feedrate of the infeed axis with active collision detection, for "Measure in JOG". 9758
General Machine Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
51770 $MNS_J_MEA_CAL_RING_DIAM Calibration ring diameter for Measure in JOG
51772 $MNS_J_MEA_CAL_HEIGHT_FEEDAX Calibration height in the infeed axis for probe length calibration
51780 $MNS_J_MEA_T_PROBE_DIAM_RAD Diameter of the tool probe for radius measurement for Measure in JOG 9766
Technology Settings
51784 $MNS_J_MEA_T_PROBE_APPR_AX_DIR Approach direction in the plane on the tool probe for Measure in JOG 9768
51786 $MNS_J_MEA_T_PROBE_MEASURE_DIST Measuring path for tool measurement with stationary spindle for Measure in JOG 9772
52004 $MCS_PROG_COORDINATE_SYS_CHAN Coordinate system during programming as described in the specific channel
Technology Settings
MD Identifier Description Old MD/GUD
52011 $MCS_ADJUST_NUM_AXIS_BIG_FONT Adapt the number of actual values with large font if the number of geometry axes changes, e.g.
due to transformations like TRANSMIT or TRACYL.
0 = Only MD 52010 DISP_NUM_AXIS_BIG_FONT is valid. The number is assigned as a fixed
value.
1 = Only the geometry axes are displayed in large font. MD 52010 DISP_NUM_AXIS_BIG_FONT
is ignored.
2 = The number of geometry axes plus the content of MD 52010 DISP_NUM_AXIS_BIG_FONT
are displayed in large font.
52020 $MCS_ORIAXES_EULER_ANGLE_NAME Axis identifier of the orientation axes: Euler angle or geometry axis name
Appendix B
5 = counter spindle (turning)
6 = C axis of the counter spindle (turning)
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
Technology Settings
- 840D sl: PLC bit DBnn.DBX17.6, nn = 31 + machine axis index
- 828D: PLC bit DB38xx.DBX2001.6, xx is machine axis index
Bit 6: Show rotary axis as offset target for measuring
Bit 7: Offer rotation axis in position pattern 9727
Bit 8: Offer rotation axis to accept blank (at milling machines)
Bit 9: Spindle is not SPOS-capable
Bit 10: Rotary axis rotates around 1st geometry axis (for position pattern only)
Bit 11: Rotary axis rotates around 2nd geometry axis (for position pattern only)
Bit 12: Rotary axis rotates around 3rd geometry axis (for position pattern only)
Bit 13: Position of the axis for blank selection from active WO (for rotary axes)
Page 11
Technology Settings
MD Identifier Description Old MD/GUD
52211 $MCS_FUNCTION_MASK_DISP _ZOA Function screen for displaying overview of work offsets
Bit 0: Show machine position
Bit 1: reserved
Bit 2: Display DRF offset
Bit 3: Display $AA_OFF position offset
Bit 4: Display $P_PARTFRAME
Bit 5: Display $P_SETFRAME
Bit 6: Display $P_EXTSFRAME
Bit 7: Display $P_ISO1FRAME
Bit 8: Display $P_ISO2FRAME
Bit 9: Display $P_ISO3FRAME
Bit10: Display $P_ACTBFRAME
Bit 11: Display $P_IFRAME
Bit 12: Display $P_TOOLFRAME
Bit 13: Display $P_WPFRAME
Bit 14: Display $P_TRAFRAME
Bit 15: Display $P_PFRAME
Bit 16: Display $P_ISO4FRAME
Page 12
Appendix B
Bit 8: Manual machine (ShopMill/ShopTurn)
Bit 9: Selection/deselection of work offset via softkey
Bit 10: Enable swivel plane/align tool using kinematic transformation
Appendix B
Bit 11: Switch off layer check for drilling and milling tools (ShopTurn)
Bit 12: reserved
Bit 13: Approach tool change point Y in Machine (ShopTurn)
Bit 14: With approach logic only check tool position with cutting edge (ShopTurn)
Channel Machine Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
Technology Settings
Bit 6: Enable spindle control of turning spindle via surface
Bit 7: Offer fixed table for blank clamping (on boring mills)
52216 $MCS_FUNCTION_MASK_DRILL Function mask Drilling
Bit 0: CYCLE84 Unhide technology fields
Bit 1: CYCLE840 Unhide technology fields
Bit 2: Thread tapping also without encoder (ShopMill/ShopTurn)
Bit 3: Constant cutting speed in rel. to diameter of centering (ShopMill/ShopTurn)
52218 $MCS_FUNCTION_MASK_TURN Function mask Turning
Bit 0: Enable zoom under manual for tool measurement 9840
Bit 1: Enable parts gripper for cut-off 9841
Page 13
Bit 1: Coolant 1 ON
Bit 2: Coolant 2 ON
Bit 3: Coolant 1 and 2 ON
52230 $MCS_M_CODE_ALL_COOLANTS_OFF M code for all coolants OFF 9686
Technology Settings
MD Identifier Description Old MD/GUD
52240 $MCS_NAME_TOOL_CHANGE_PROG Tool change program for G code steps
52244 $MCS_SUB_SPINDLE_PARK_POS_Y Parking position of the Y axis with counter spindle 9849
52248 $MCS_REV_2_BORDER_TOOL_LENGTH Limit value of tool length X for 2nd revolver: 9838
Limit value = 0: There is only one revolver
Tool length < limit value: Tool belongs to 1st revolver/multifix
Tool length >= limit value: Tool belongs to 2nd revolver/multifix
52250 $MCS_M_CODE_CHUCK_OPEN M code for Open chuck with non-rotating spindle.
Example: "M34" or "M1=34"
Elements:
[0]: Main spindle
[1]: Counterspindle
Page 14
Appendix B
52254 $MCS_M_CODE_TAILSTOCK_BACKWARD M code for quill backward
Example: "M54" or "M1=54"
Appendix B
Elements:
[0]: Quill opposite main spindle
[1]: Quill opposite counterspindle
52260 $MCS_MACHINE_JOG_INTERRUPT_PRIO Priory for start ASUP under machine JOG
Channel Machine Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
Technology Settings
Bit 6: Permit relocating to/from spindle despite a block (Bit 3)
Bit 7: Create tool using the T number
Bit 8: Hide Relocate tool
Bit 9: Hide Position magazine
Bit 10: Reactivate tool using Position magazine
Bit 11: Reactivate tool in all monitoring modes
Bit 12: Fade out Reactivate tool
52271 $MCS_TM_MAG_PLACE_DISTANCE Distance between individual magazine locations. 9479
Is used for graphical display of magazine and tools in tool management.
52272 $MCS_TM_TOOL_LOAD_DEFAULT_MAG Default magazine for tool loading 9671
Page 15
0 = No default magazine
52273 $MCS_TM_TOOL_MOVE_DEFAULT_MAG Default magazine for tool relocation 9687
0 = No default magazine
52274 $MCS_TM_TOOL_LOAD_STATION Number of load station 9673
0 = All configured stations are taken into account
52281 $MCS_TOOL_MCODE_FUNC_ON M code for tool-specific function ON 9739, 9741,
Value -1 means that the M function is not output. If both M commands of a function equal -1, the 9743, 9745.
corresponding field will not be displayed in the user interface.
52282 $MCS_TOOL_MCODE_FUNC_OFF M code for tool-specific function OFF 9740, 9742,
Value -1 means that the M function is not output. If both M commands of a function equal -1, the 9744, 9746.
corresponding field will not be displayed in the user interface.
828D/840D sl SINUMERIK Operate
52290 $MCS_SIM_DISPLAY_CONFIG Location of status display of the channel in the simulation (OP019 only)
Bit 0: Corner left/top
Bit 1: Corner right/top
Bit 2: Corner left/bott
Bit 3: Corner right/bott
52740 $MCS_MEA_FUNCTION_MASK Function mask for measuring cycles, workpiece and tool measuring 9750, 9751
Bit 0: Workpiece probe connected at probe input 2 _CHBIT[0]
Bit 1: Workpiece, turning technology, measuring in the third geometry axis (Y) _CHBIT[19]
Bit 2: Calc. of correction angle with/without active orientation transformation
Bit 16: Tool probe connected at probe input 2 _CHBIT[1]
Bit 17: Tool measurement turning, recording the cutting edge position
Channel Machine Data
828D/840D sl SINUMERIK Operate
Technology Settings
MD Identifier Description Old MD/GUD
52750 $MCS_J_MEA_FIXPOINT Z value for measuring fixed point 9748
Appendix B
52840 $MCS_GRIND_FUNCTION_MASK Function mask for grinding
Bit 7: Retraction while profiling with G1
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
53220 $MAS_AXIS_MCS_POSITION Position of axis in the Machine
Technology Settings
53241 $MAS_SPINDLE_CHUCK_TYPE Spindle jaw type
0 = Clamp from outside 9829
1 = Clamp from inside
53242 $MAS_TAILSTOCK_PARAMETER Tailstock data
[0]: Tailstock diameter 9836
[1]: Tailstock length 9837
53250 $MAS_CLAMPING_TOLERANCE Permissible tolerance when an axis jams
Page 17
54481 $SNS_AST_MMC_DEFAULT_IS_PCU Auswahl HMI-Operate intern (NCU) / extern (PCU) für AST
General Setting Data
828D/840D sl SINUMERIK Operate
Technology Settings
MD Identifier Description Old MD/GUD
54600 $SNS_MEA_WP_BALL_DIAM Effective diameter of the probe sphere for the workpiece probe _WP[x,0]
54601 $SNS_MEA_WP_TRIG_MINUS_DIR_AX1 Trigger point of the 1st measuring axis in negative direction _WP[x,1]
54602 $SNS_MEA_WP_TRIG_PLUS_DIR_AX1 Trigger point of the 1st measuring axis in positive direction _WP[x,2]
54603 $SNS_MEA_WP_TRIG_MINUS_DIR_AX2 Trigger point of the 2nd measuring axis in negative direction _WP[x,3]
54604 $SNS_MEA_WP_TRIG_PLUS_DIR_AX2 Trigger point of the 2ns measuring axis in positive direction _WP[x,4]
54605 $SNS_MEA_WP_TRIG_MINUS_DIR_AX3 Trigger point of the 3rd measuring axis in negative direction _WP[x,5]
54606 $SNS_MEA_WP_TRIG_PLUS_DIR_AX3 Trigger point of the 3d measuring axis in positive direction _WP[x,6]
54607 $SNS_MEA_WP_POS_DEV_AX1 Position deviation of the probe sphere in the 1st measuring axis _WP[x,7]
Page 18
54608 $SNS_MEA_WP_POS_DEV_AX2 Position deviation of the probe sphere in the 2nd measuring axis _WP[x,8]
54609 $SNS_MEA_WP_STATUS_RT Calibration status axis positions, reserved for internal use! _WP[x,9]
54610 $SNS_MEA_WP_STATUS_GEN Calibration status in general, reserved for internal use! _WP[x,10]
54615 $SNS_MEA_CAL_EDGE_BASE_AX1 Calibration groove base of the 1st measuring axis _KB[x,2]
54617 $SNS_MEA_CAL_EDGE_PLUS_DIR_AX1 Calibration groove edge in positive direction of the 1st measuring axis _KB[x,3]
54618 $SNS_MEA_CAL_EDGE_MINUS_DIR_AX1 Calibration groove edge in negative direction of the 1st measuring axis _KB[x,4]
Appendix B
54619 $SNS_MEA_CAL_EDGE_BASE_AX2 Calibration groove base of the 2nd measuring axis _KB[x,6]
Appendix B
General Setting Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
54620 $SNS_MEA_CAL_EDGE_UPPER_AX2 Calibration groove upper edge of the 2nd measuring axis _KB[x,5]
54621 $SNS_MEA_CAL_EDGE_PLUS_DIR_AX2 Calibration groove edge in positive direction of the 2nd measuring axis _KB[x,0]
54622 $SNS_MEA_CAL_EDGE_MINUS_DIR_AX2 Calibration groove edge in negative direction of the 2nd measuring axis _KB[x,1]
54625 $SNS_MEA_TP_TRIG_MINUS_DIR_AX1 Trigger point of the 1st measuring axis in negative direction _TP[x,0]
Technology Settings
54626 $SNS_MEA_TP_TRIG_PLUS_DIR_AX1 Trigger point of the 1st measuring axis in positive direction _TP[x,1]
54627 $SNS_MEA_TP_TRIG_MINUS_DIR_AX2 Trigger point of the 2nd measuring axis in negative direction _TP[x,2]
54628 $SNS_MEA_TP_TRIG_PLUS_DIR_AX2 Trigger point of the 2nd measuring axis in positive direction _TP[x,3]
54629 $SNS_MEA_TP_TRIG_MINUS_DIR_AX3 Trigger point of the 3rd measuring axis in negative direction _TP[x,4]
Page 19
54630 $SNS_MEA_TP_TRIG_PLUS_DIR_AX3 Trigger point of the 3rd measuring axis in positive direction _TP[x,5]
54632 $SNS_MEA_TP_AX_DIR_AUTO_CAL Enabling axes and traversing directions for "Automatic calibration" of milling tool probes. _TP[x,7]
The default setting refers in X and Y to the plus and minus direction respectively, in Z only to the 9764
minus direction.
The parameter is divided into three components the functions of which are to be assigned to
calibration data records 1, 2 or 3!
The calibration data records are firmly assigned to tool measuring in the working planes G17 (1),
G18 (2) and G19 (3)!
Meaning of the parameter components
Decimal position:
828D/840D sl SINUMERIK Operate
Technology Settings
MD Identifier Description Old MD/GUD
54633 $SNS_MEA_TP_TYPE Tool probe type cube / wheel _TP[x,8]
0: Cube 9763
101: Wheel in XY, working plane G17
201: Wheel in ZX, working plane G18
301: Wheel in YZ, working plane G19
54634 $SNS_MEA_TP_CAL_MEASURE_DEPTH Distance between the upper tool probe edge and the lower milling tool edge _TP[x,9]
9767
54635 $SNS_MEA_TP_STATUS_GEN Calibration status in general, reserved for internal use!
54640 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX1 Trigger point of the 1st measuring axis in negative direction _TPW[x,0]
54641 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX1 Trigger point of the 1st measuring axis in positive direction _TPW[x,1]
Page 20
54642 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX2 Trigger point of the 2nd measuring axis in negative direction _TPW[x,2]
54643 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX2 Trigger point of the 2nd measuring axis in positive direction _TPW[x,3]
54644 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX3 Trigger point of the 3rd measuring axis in negative direction _TPW[x,4]
54645 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX3 Trigger point of the 3rd measuring axis in positive direction _TPW[x,5]
Appendix B
Appendix B
General Setting Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
54647 $SNS_MEA_TPW_AX_DIR_AUTO_CAL Enabling axes and traversing directions for "Automatic calibration" of milling tool probes. _TPW[x,7]
The default setting refers in X and Y to the plus and minus direction respectively, in Z only to the
minus direction.
The parameter is divided into three components the functions of which are to be assigned to cali-
bration data records 1, 2 or 3!
The calibration data records are firmly assigned to tool measuring in the working planes G17 (1),
G18 (2) and G19 (3)!
Technology Settings
Meaning of the parameter components
Decimal position:
Ones: 1st geometry axis (X)
Tens: 2nd geometry axis (Y)
Hundreds: 3rd geometry axis (Z)
Value:
=0: Axis not enabled
=1: Only minus direction possible
=2: Only plus direction possible
=3: Both directions possible
54648 $SNS_MEA_TPW_TYPE Tool probe type cube / wheel _TPW[x,8]
Page 21
0: Cube
101: Wheel in XY, working plane G17
201: Wheel in ZX, working plane G18
301: Wheel in YZ, working plane G19
54649 $SNS_MEA_TPW_CAL_MEASURE_DEPTH Distance between the upper tool probe edge and the lower milling tool edge _TPW[x,9]
54652 $SNS_MEA_INPUT_TOOL_PROBE_SUB CNC measurement input for tool probe with reference to the counterspindle 9828
=0: Toolsetter no.=n+1, with reference to the main spindle
828D/840D sl SINUMERIK Operate
Technology Settings
MD Identifier Description Old MD/GUD
54670 $SNS_MEA_CM_MAX_PERI_SPEED Max. permissible peripheral speed of the tool to be measured _CM[0]
9759
54671 $SNS_MEA_CM_MAX_REVOLUTIONS Maximum tool speed for tool measuring _CM[1]
9760
54672 $SNS_MEA_CM_MAX_FEEDRATE Maximum feed for contact of the tool with the probe _CM[4]
9771
54673 $SNS_MEA_CM_MIN_FEEDRATE Minimum feed for 1st contact of the tool with the probe _CM[4]
9761
54674 $SNS_MEA_CM_SPIND_ROT_DIR Direction of spindle rotation for tool measuring _CM[5]
54675 $SNS_MEA_CM_FEEDFACTOR_1 Feedrate factor 1, for tool measuring with rotating spindle _CM[6]
=0: Single probing with the feedrate calculated by the cycle (but at least with the value of 9769
$SNS_MEA_CM_MIN_FEEDRATE)
>=1: First probing with calculated feedrate (but at least with the value of
$SNS_MEA_CM_MIN_FEEDRATE).
Page 22
54676 $SNS_MEA_CM_FEEDFACTOR_2 Feedrate factor 2, for tool measuring with rotating spindle _CM[7]
=0:Second probing with the feedrate calculated by the cycle (only effective with 9770
MEA_CM_FEEDFACTOR_1 > 0)
>=1: Second probing with calculated feedrate, feedrate factor 2
Third probing with calculated feedrate (tool speed is influenced by SD54749
$SNS_MEA_FUNCTION_MASK_TOOL, Bit 12)
Notice: - Feedrate factor 2 should be smaller than feedrate factor 1!
- If the value of feedrate factor 2 is 0, a third probing will not be not performed!
Monitoring parameter for tool measuring with rotating spindle.
Appendix B
=1: TT130 (Heidenhain)
=2: TS27R (Renishaw)
Appendix B
General Setting Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
54691 $SNS_MEA_T_PROBE_OFFSET Measurement result offset for tool measuring with rotating spindle. _MT_COMP
=0: No offset 9775
=1: Cycle-internal offset (only effective with SD54689
$SNS_MEA_T_PROBE_MANUFACTURER<>0)
=2: Offset through user-defined offset table
54692 $SNS_MEA_T_CIRCULAR_ARC_DIST Arc distance for single cutting edge measuring from the radius
Technology Settings
54693 $SNS_MEA_T_MAX_STEPS Max. number of contacts for single cutting edge measuring from the radius
54695 $SNS_MEA_RESULT_OFFSET_TAB_RAD1 Offset table (measure tool radius with rotating spindle)
54705 $SNS_MEA_RESULT_OFFSET_TAB_LEN1 Offset table (measure tool length with rotating spindle)
Technology Settings
MD Identifier Description Old MD/GUD
54740 $SNS_MEA_FUNCTION_MASK Function mask for measuring cycles, workpiece and tool measuring
Bit 0: Workpiece, measurement repeated if TSA, TDIF are exceeded _CBIT[0]
Bit 1: Workpiece, repeat measurement with M0 if TSA, TDIF are exceeded _CBIT[1]
Bit 2: Workpiece, stop at M0 if TUL, TLL are exceeded _CBIT[2]
Bit 3: Workpiece, accept calibrated probe ball radius in tool data _CBIT[15]
Bit 4: Workpiece , plane between calibration and measurement can be different
Bit 16: Tool, repeat measurement if TDIF, TSA are exceeded _CBIT[0]
Bit 17: Tool, repeat measurement with stop at M0 if TDIF, TSA are exceeded _CBIT[1]
Bit 19: Tool milling, reduction of the spindle speed at the last probing _CHBIT[22]
54750 $SNS_MEA_ALARM_MASK Expert mode for cycle alarms
Bit 0 - 7 Workpiece measurement
Bit 0 =1 Alarms with cycle-internal states and coding are displayed (expert mode)!
Bit 1 - 7 Reserved
Bit 8 -16 Tool measuring
Bit 0 - 7 Reserved
54760 $SNS_MEA_FUNCTION_MASK_PIECE Setting for input screen, measuring cycles in Automatic, workpiece measuring
Bit 1: Selection of display softkey 3D measurement
Page 24
Appendix B
Bit 21: Select Additive setup offset
Bit 22: Select Calibrate to unknown or known center point
Bit 24: Select Calibrate with or without positional deviation
Appendix B
Bit 25: Selection zero offset when measuring the angularity of the spindle
Bit 26: Tool offset selection not enabled
Bit 27: Select tolerance of linear vectors with kinematics measurement
General Setting Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
54762 $SNS_MEA_FUNCTION_MASK_TOOL Setting for input screen, measuring cycles in Automatic, tool measuring
Bit 3: Select probe calibration data field, enable
Bit 4: Select Calibrate Input measuring feed
Bit 5: Select Input feed and spindle speeds for contacting
Bit 7: Select Measure in MCS and WCS
Bit 8: Select Measure absolute and incremental
Bit 9: Select Tool offset Geometry and wear
Bit 10: Select measuring function ”Check teeth individually”
Technology Settings
Bit 11: Selection spindle reversal when calibrating on the plane
Bit 12: Select Number of measurements
Bit 13: Select Empirical values
54764 $SNS_MEA_FUNCTION_MASK_TURN Setting for input mask, Measuring cycles in Automatic, Workpiece turning
Bit 0: Measure Diameter inside/outside with reversal
Bit 1: Measure Diameter inside/outside “Travel under turning center“?
54780 $SNS_J_MEA_FUNCTION_MASK_PIECE Setting for input screen, Workpiece measurement in JOG 9747
Bit 2: Activate calibration for electronic workpiece probe
Bit 3: Select probe calibration data field, enable
Bit 5: Select WO as measuring basis
Page 25
Technology Settings
MD Identifier Description Old MD/GUD
55200 $SCS_MAX_INP_FEED_PER_REV Feedrate input upper limit for mm/rev 9665
Note: Bit 2 is active with the following milling cycles: CYCLE61, CYCLE71, CYCLE76, CYCLE77, _ZSD[1]
CYCLE79, CYCLE899, LONGHOLE, SLOT1, SLOT2, POCKET3, POCKET4
55216 $SCS_FUNCTION_MASK_DRILL_SET Function mask Drilling
Bit 0: reserved
Bit 1: Consider rotation of the tool plane (CYCLE86)
Bit 2: Consider swivelled table kinematics (CYCLE86)
Bit 3: Monitoring spindle MD 31050/31060 (CYCLE84)
Bit 4: Monitoring spindle MD 31050/31060 (CYCLE840)
Bit 5: reserved
Bit 6: Adapt spindle position to the tool orientation (CYCLE86)
Bit 7: Adapt direction of retraction path in the plane to active mirroring (CYCLE86)
55218 $SCS_FUNCTION_MASK_TURN_SET Function mask Turning
Bit 0: New thread table during thread cutting
Bit 1: Reserved (CYCLE93)
Bit 2: Reserved (CYCLE93)
Bit 3: Chamfer in CYCLE930 as chamfer length (CHF)
Appendix B
Bit 4: Retraction from the inside machining (CYCLE951)
55220 $SCS_FUNCTION_MASK_MILL_TOL_SET Function mask High Speed Settings CYCLE832
Bit 0: Unhide technology fields
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
55221 $SCS_FUNCTION_MASK_SWIVEL_SET Function mask Swivel CYCLE800
Bit 0: Unhide input field "No swivel"
Bit 1: Retraction variant Z, Z XY or fixed position
= 0: Retract Z or retract Z XY
= 1: Retract to fixed position 1 or 2
Bit 2: Show swivel data block "Deselection"
Bit 3: Display active swivel plane in JOG
Bit 4: Positioning in basic position (pole position) of the kinematics
Technology Settings
Bit 5: Align tool, absolute (TCOABS)
Bit 6: Do not offer swivel mode “directly” under swivel in JOG
Bit 7: Swivel plane: Direction selection in initial setting of kinematics
Bit 8: Take into account work offset of rotary axes, swivel data set in Work
Bit 9: Swivel data set TC permanently assigned to the tool
Bit 10: Swivel plane: Display input field “positioning direction”
Bit 11: Swivel plane: Positioning of both solutions AB - display kinematics
Bit 12: Reset behaviour taking into account the rotary axis position
55230 $SCS_CIRCLE_RAPID_FEED Positional feed on circular path 9724
Page 27
55305 $SCS_EASY_DRILL_DEEP_FD1 Simple input: percentage 1st federate deep - hole drilling
55307 $SCS_EASY_DRILL_DEEP_V1 Simple input: min. depth infeed deep - hole drilling
55308 $SCS_EASY_DRILL_DEEP_V2 Simple input: absolute retraction value deep - hole drilling
55400 $SCS_MILL_ENGRAVE_POINT_RAD Engraving cycle CYCLE60: Circ. path radius for generating the char. ”point”
Channel Setting Data
828D/840D sl SINUMERIK Operate
Technology Settings
MD Identifier Description Old MD/GUD
55410 $SCS_MILL_SWIVEL_ALARM_MASK Hide and unhide cycle alarms
Bit 0: Display alarm 62186: Active work offset G54 ff. and base (basic reference) contain rotations
Bit 1: Display alarm 62187: Active base and basic reference (G500) contain rotations
Bit 2: Display alarm 61148: Swivel plane not possible with active turning tool
Bit 3: Display alarm 61426: Kinematics measurement with CYCLE9960/996
55420 $SCS_MILL_SWIVEL_RESET_RETRACT Initial setting swivel: retract
= 0: no change
= 1: no
= 2: Z
= 3: Z XY
= 4: Tool direction max.
= 5: Tool direction inc.
55421 $SCS_MILL_SWIVEL_RESET_TRACK Initial setting swivel: tool correction
= 0: no change
= 1: do not correct
= 2: correct
55422 $SCS_MILL_SWIVEL_RESET_MODE Initial setting swivel: swivel mode
Page 28
= 0: axis by axis
= 1: direct
55441 $SCS_MILL_TOL_TECHNO_ROUGH Settings for roughing High Speed Settings cycle CYCLE832 of G group 59 _TOLT[1]
55442 $SCS_MILL_TOL_TECHNO_SEMIFIN Settings for pre-finishing High Speed Settings cycle CYCLE832 of G group 59 _TOLT[2]
55443 $SCS_MILL_TOL_TECHNO_FINISH Settings for finishing High Speed Settings cycle CYCLE832 of G group 59 _TOLT[3]
55446 $SCS_MILL_TOL_VALUE_ROUGH Tolerance value for roughing High Speed Settings cycle CYCLE832 _TOLV[1]
55447 $SCS_MILL_TOL_VALUE_SEMIFIN Tolerance value for pre-finishing High Speed Settings cycle CYCLE832 _TOLV[2]
55448 $SCS_MILL_TOL_VALUE_FINISH Tolerance value for finishing High Speed Settings cycle CYCLE832 _TOLV[3]
Appendix B
Appendix B
Channel Setting Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
55460 $SCS_MILL_CONT_INITIAL_RAD_FIN This data affects the radius of the approach circle during contour pocket finishing. 9670
-1: The radius is selected to maintain a safety clearance to the finishing allowance in the starting
point.
>0: The radius is selected to maintain the value of this setting data to the finishing allowance in the
starting point.
55481 $SCS_DRILL_TAPPING_SET_GG12 Settings for tapping G group 12 cycle CYCLE84 and CYCLE840: 9855[0]
Technology Settings
G group 12: Block change behaviour at exact stop (G60) 9856[1]
0 = Exact stop behaviour, same as before the cycle call
1 = G601
2 = G602
3 = G603
Index[0]: for tool spindle
Index[1]: for main spindle - for drilling in centre
55482 $SCS_DRILL_TAPPING_SET_GG21 Settings for tapping G group 21 cycle CYCLE84: 9855[0]
G group 21: Acceleration profile (SOFT, BRISK, ..) 9856[1]
0 = Acceleration behaviour, same as before the cycle call
1 = SOFT
Page 29
2 = BRISK
3 = DRIVE
Index[0]: for tool spindle
Index[1]: for main spindle - for drilling in centre
55483 $SCS_DRILL_TAPPING_SET_GG24 Settings for tapping G group 24 cycle CYCLE84 and CYCLE840: 9855[0]
G group 24: Feedforward control (FFWON, FFWOF ) 9856[1]
0 = Feedforward control, same as before the cycle call
1 = FFWON
2 = FFWOF
Index[0]: for tool spindle
Index[1]: for main spindle - for drilling in centre
55484 $SCS_DRILL_TAPPING_SET_MC Setting for tapping cycle CYCLE84 spindle operation at MCALL 9855[0]
0= Reactivate spindle operation at MCALL 9856[1]
1= Maintain position-controlled spindle operation at MCALL
828D/840D sl SINUMERIK Operate
55490 $SCS_DRILL_SPOT_DIST Rough drilling depth for drill and thread milling 9682
Channel Setting Data
828D/840D sl SINUMERIK Operate
Technology Settings
MD Identifier Description Old MD/GUD
55500 $SCS_TURN_FIN_FEED_PERCENT Roughing feedrate for complete machining in % 9630
55505 $SCS_TURN_ROUGH_O_RELEASE_DIST Return distance stock removal for external machining 9648
-1: The distance is specified internally.
55506 $SCS_TURN_ROUGH_I_RELEASE_DIST Return distance stock removal for internal machining 9649
-1: The distance is specified internally.
55510 $SCS_TURN_GROOVE_DWELL_TIME Tool clearance time for grooving at the base (neg. value=revolutions) 9621
- Negative value in spindle revolutions
- Positive value in seconds
55553 $SCS_TURN_FIXED_STOP_RETRACTION Counterspindle: retraction path prior to chucking after fixed stop 9857
55582 $SCS_TURN_CONT_TRACE_ANGLE Counter turning: minimum angle for rounding along contour 9553
Appendix B
Appendix B
Channel Setting Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
55583 $SCS_TURN_CONT_VARIABLE_DEPTH Counter turning: percentage for variable cutting depth 9556
55585 $SCS_TURN_CONT_INTERRUPT_TIME Counter turning: feed interrupt time (neg. value=revolutions) 9557
- Negative value in spindle revolutions
- Positive value in seconds
Technology Settings
This setting data is effective only if setting data 55586 is 55586
$SCS_TURN_CONT_INTER_RETRACTION = 0.
55586 $SCS_TURN_CONT_INTER_RETRACTION Counter turning: retraction path after feed interrupt 9558
>0: Retraction path after feed interrupt (setting data 55585
$SCS_TURN_CONT_INTERRUPT_TIME is ineffective!)
=0: No retraction path
55587 $SCS_TURN_CONT_MIN_REST_MAT_AX1 Counter turning: minimum difference dimension residual machining axis 1 9554
Example:
If this MD is set to 50% and if the finishing allowance is 0.5 mm, the residual material which is
thinner than 0.25 mm is not removed in a separate machining step, but during finishing.
Page 31
55588 $SCS_TURN_CONT_MIN_REST_MAT_AX2 Counter turning: minimum difference dimension residual machining axis 2 9555
Example:
If this MD is set to 50% and if the finishing allowance is 0.5 mm, the residual material which is
thinner than 0.25 mm is not removed in a separate machining step, but during finishing.
55595 $SCS_TURN_CONT_TOOL_BEND_RETR Counter plunge turning: retraction path due to tool bending 9560
In this setting data you specify the lateral distance to the last cut, by which each next cut will be
shortened.
55596 $SCS_TURN_CONT_TURN_RETRACTION Counter plunge turning: retraction path prior to turning 9561
828D/840D sl SINUMERIK Operate
Channel Setting Data
828D/840D sl SINUMERIK Operate
Technology Settings
MD Identifier Description Old MD/GUD
Appendix B
55624 $SCS_MEA_AVERAGE_VALUE_NUM Number of mean values _EVMVNUM[1]
Appendix B
Channel Setting Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
55625 $SCS_MEA_AVERAGE_VALUE Mean value memory _MV[n
Using parameter $SCS_MEA_AVERAGE_VALUE_NUM the number of memory elements can be
defined! Currently, however, these 20 memory elements can-not be changed!
In the mean value memory, the mean values calculated in connection with functionality "Automatic
tool offset with mean value creation" are stored.
Using parameter _EVNUM the mean value element to be used is addressed!
55628 $SCS_MEA_TP_FEED_MEASURE Feed for calibrating a tool probe 9773
Technology Settings
55630 $SCS_MEA_FEED_MEASURE Feed for calibrating a workpiece probe 9756
55631 $SCS_MEA_FEED_MEASURE_DEG Measurement feedrate of workpiece probe during positioning of a rotary axis
55632 $SCS_MEA_FEED_RAPID IN_PERCENT Rapid traverse velocity in per cent for intermediate positioning _SPEED[0]
55634 $SCS_MEA_FEED_PLANE_VALUE Traverse velocity for intermediate positioning in the plane _SPEED[1]
Page 33
55637 $SCS_MEA_FEED_POS_DEG Feedrate when positioning a rotary axis between individual measurements
Technology Settings
MD Identifier Description Old MD/GUD
55649 $SCS_MEA_KIN_BALL_VEC Perform complete kinematics measurement: Vector of the ball mounting
55740 $SCS_MEA_FUNCTION_MASK Function mask for measuring cycles, workpiece and tool measuring
Bit 0: Workpiece, collision monitoring for intermediate positioning _CHBIT[2]
Page 34
Bit 1: Workpiece, coupling spindle with coordinate rotation around infeed axis _CHBIT[13]
Bit 2: Workpiece, for coupling of spindle pos., reverse positioning direction _CHBIT[14]
Bit 3: Workpiece, do not repeat if the probe does not switch _CHBIT[15]
Bit 4: Workpiece, 1st probing for each measurement with fast measuring feedrate _CHBIT[17]
Bit 5: Workpiece, fast retraction after measurement _CHBIT[16]
Bit 6: Workpiece, deactivate probe during spindle positioning
Bit 7: Kinematics, normalization based on the input values of rotary axis vectors
Bit 8: Kinematics, measurement with active swivel (TCARR) or active TRAORI
Bit 9: Kinematics, user-specific scaling of rotary axis vectors
Bit 10: Complete kinematics measurement with reference
Bit 11: Kinematics, number of measuring points for measuring the calibration ball
Bit 15: Workpiece, calib. Radius with start point at venter of ring, only in JOG E_MESS_SETT[1]
Bit 16: Tool, collision monitoring for intermediate positioning _CHBIT[2]
Bit 17: Tool, do not repeat if the probe does not switch _CHBIT[15]
Bit 19: Tool, fast retraction after measuring _CHBIT[16]
Bit 28: Continuous standard protocol for measurement in JOG (append)
Bit 29: Table format for standard protocol for measurement in JOG
Appendix B
55774 $SCS_J_MEA_PROTOCOL_FILE Name and path of protocol file for measurement in JOG
Appendix B
Channel Setting Data
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
Technology Settings
2: Deep hole tapping with chip breakage
3: Deep hole tapping with stock removal
55804 $SCS_ISO_M_RETRACTION_FACTOR Factor for retraction speed (0...200%)
55806 $SCS_ISO_M_RETRACTION_DIR Retraction direction for precision drilling and reverse counter-sinking G76/G87
0: G17(-X) G18(-Z) G19(-Y)
1: G17(+X) G18(+Z) G19(+Y)
2: G17(-X) G18(-Z) G19(-Y)
3: G17(+Y) G18(+X) G19(+Z)
4: G17(-Y) G18(-X) G19(-Z)
Page 35
55810 $SCS_ISO_T_DWELL_TIME_UNIT Dwell time evaluation for deep hole drilling G83/G87
0: Seconds
1: Revolutions
Technology Settings
MD Identifier Description Old MD/GUD
55821 $SCS_FRICT_OPT_RADIUS_ROT Circle radius for optimizing friction compensation for rotary axes
55823 $SCS_FRICT_OPT_FEED_ROT Feedrates for optimizing friction compensation for rotary axes
Appendix B
Appendix B
Appendix B: END
B034
Appendix C PLC Interface Structure
PLC Interface
Structure:
START DB3000
DB3100
Operating
Mode Signals
Machine
Control
Panel
DB3200
DB3300
NCK
Channel
DB1000
DB1100
User Area
DB3400
ASUP
Signals
DB1200
DB1400
PI Services
DB3700
DB3800
DB3900
Axis/Spindle
DB1600
PLS User
Alarms
DB4000
Tool
Management
DB1700
DB1800
DB1900
HMI Signals DB4500
PLC
Machine
Data
DB2500
Sinumerik
AUX
Functions
DB9900
User
DB2600 Interface
DB2700
NCK
Signals
PLC Interface
Structure:
END
DB2800
DB2900
Fast NC I/O
SINUMERIK 828D V4.7 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
Appendix C
Appendix C PLC Interface Structure
Notes :
IB113 NC Start Spindle right *Spindle stop Spindle left Key-switch REF REP Teach IN
position 3
Feed start *Feed stop INC var. Key-switch posi-
IB114 tion 0
INC 1000 INC 100 INC 10 INC 1
Feedrate override
IB115 Reset Key- Key-switch E (16) D (8) C (4) B (2) A (1)
switch position position 1
2
Direction keys
IB116
+ -
Axis selection
IB117 6th axis 5th axis 4th axis Z Y X
T16 KT6(X52.3)
QB115
QB116 Minus Plus Rapid trav- KT5 KT4 KT3 KT2 KT1
Direction Direction erse
QB117 T16 KT6 6th axis 5th axis 4th axis Z Y X
QB118 T9 T10 T11 T12 MCS/WCS T13 T14 T15
QB119 T1 T2 T3 T4 T5 T6 T7 T8
Notes :
Interface Description
DB1000-
User Data 1 [r/w]
DB1001
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0000
User Data
up to
DB1000-
User Data 1 [r/w]
DB1001
Notes :
0000
User Data
up to
0007
User Data
DB1100-
User Data 2 [r/w]
DB1101
Operating mode
0000
JOG Teach IN MDA AUTO
0006 - - - - - - - -
0007 - - - - - - - -
0010 - - - - - - - -
0011 - - - - - - - -
DP
0012
- - - - - - DP2 DP1
0013
Notes :
7-Segment display
The 7 segment display is controlled via DB1100.DBB8 (Left display) & DBB9 (Right display).
The following table shows the available 7-segment characters and the interface bits required to activate them.
DB1100.DBB8/9 bits:
7 Segment
Hex Decimal
Display
7 6 5 4 3 2 1 0
0 - - x x - - - - 30 48
1 - - x x - - - x 31 49
2 - - x x - - x 32 50
3 - - x x - - x x 33 51
4 - - x x - x - - 34 52
5 - - x x - x - x 35 53
6 - - x x - x x - 36 54
7 - - x x - x x x 37 55
8 - - x x x - - - 38 56
9 - - x x x - - x 39 57
A - x - - - - - x 41 65
b - x - - - - x - 42 66
C - x - - - - x x 43 67
d - x - - - x - - 44 68
E - x - - - x - x 45 69
F - x - - - x x - 46 70
H - x - - x - - - 48 72
j - x - - x - x - 4A 74
H - x - - x x - - 4C 76
n - x - - x x x - 4E 78
o - x - - x x x x 4F 79
p - x - x - - - - 50 80
q - x - x - - - x 51 81
r - x - x - - x - 52 82
t - x - x - x - - 53 83
u - x - x - x - x 55 85
y - x - x x - - - 59 89
Notes :
Reading/Writing of NC data
It is possible to read/write data too/from the NC &PLC. Variables are available to facilitate this function.
Below:- Defining read or write, how many variables and setting the start Signal.
Below:-Information regarding the variable has to be written to the following areas. Up to eight sets of data can be moved in one
go.
1006
1012
*1) Only for predefined variables of the "Read/write NC variable" user interface
*2) Only for variables from DB9910, DB9911, DB9912 NC_DATA
Notes :
2001
3002
3008
3012
*1) Only for predefined variables of the "Read/write NC variable" user interface
*2) Only for variables from DB9910, DB9911, DB9912 NC_DATA
PI Services
4000 Start
4001 PI-Index
4002
4003
4004 PI-Parameter 1
4006 PI-Parameter 2
etc
4022 PI-Parameter 10
Notes :
PI Services:- Result
DB1200 NCK PLC [r]
5001
5002
User area
0000
User area
0001
etc
User area
0127
User Alarms
DB1600 Activating alarms (Alarm number range 700000 to 700247) PLC HMI [r/w]
etc
etc
Notes :
Channel 1
2000 Acknowledge Acknowledge PLC Stop Em. Stop Feed disa- Read-in NC start
with power ON with DB1600. ble disable disable
DBX3000.0
Channel 2
3000 Acknowledg
e
etc
etc
Notes :
Program selection
DB1700- Interface PLC HMI [r/w]
DB1701
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1000 Part program Disable teach
selection transfer
1001 Always 1 Part program handling: Number of the control data base for user file names
1002 Part program handling: Index of the file to be transferred from the user list
SMS Messenger
DB1700- Interface SMS messenger PLC [r]
DB1701
Notes :
Channel 2 Channel 1
1023 Reserved
1026 Reserved
Notes :
Maintenance Planner
DB1800 PLC HMI Deactivate Maintenance Task [r/w]
Notes :
Maintenance Planner-continued
0006 up to Reserved
0010
0011 Error code for function selection number
Function selection from DBB5021
0012 up to Reserved
0019
0020 Simulation state
0022 up to Reserved
0023
Notes :
1000
1002
5002
5004 up to Reserved
5020
Notes :
0000 up to
0003
0006 S fcts.1
change
0007
0008 T fcts.1
change
0009
0010 D fcts.1
change
0011
Dynamic M functions
1012
M99 M98 M97 M96
1013 up to
1015
Notes :
Transferred T functions
2004
up to
2007
Transferred M functions
Transferred S functions
DB2500- NCK PLC [r]
DB2501
4016
4020
Transferred D functions
5004
Notes :
Transferred H functions
Protection level: Key-operated switch position 0 to 3 Ackn. emerg. Emerg. stop Braking along
stop contour in
0000 event of
4 5 6 7 Emerg. stop
Request axis Request INC Inputs
distances to Actual values in Mode
0001 go (*1) (*1) Group range
active
0002
0003
Notes :
0004
0005
0006
0007
0008
0009
0010
0011
0012 Change counter for motions of hand-wheel 1
0016
etc
0019
Notes :
Notes :
0002 Continuous INC var. INC 10000 INC 1000 INC 100 INC 10 INC 1
travel
0003
0002 Continuous INC var. INC 10000 INC 1000 INC 100 INC 10 INC 1
travel
0003
Notes :
Activate skip Activate skip Activate skip Activate skip Activate skip block Activate skip Activate skip Activate skip
0002 block 7 block 6 block 5 block 4 3 block 2 block 1 block 0
Feed-rate Rapid traverse Limited path Program level Delete number of Delete dis- Read-in disable Feed-rate
0006 override override active velocity abort subroutine cycles tance to go disable
active (*2)
Activate channel Activate channel Activate chan- Activate channel Activate channel Activate Activate chan- Activate
0010 specific protec- specific protec- nel specific specific protec- specific protection channel nel specific channel
tion zone tion zone protection zone tion zone zone specific pro- protection zone specific pro-
tection zone tection zone
Area 8 Area 7 Area 6 Area 5 Area 4 Area 3 Area 2 Area 1
Activate channel Activate channel Activate chan- Activate channel Activate channel Activate Activate chan- Activate
0011 specific protec- specific protec- nel specific specific protec- specific protection channel nel specific channel
tion zone tion zone protection zone tion zone zone specific pro- protection zone specific pro-
tection zone tection zone
Area 10 Area 9
0012
Do not disable Deactivate
0013 tool workpiece
counter
No tool change Circle Jog Activate associ- Neg. direction for Sim. Handwheel Handwheel Handwheel
commands ated M01 sim. contour contour hand wheel 3 2 1
0014 h/wheel ON
0016 Program
branches
(GOTOS)
control
0018 Blocking the digital NCK grinding inputs from the PLC
0019 Status of the digital NCK grinding outputs from the PLC $AC_IN_KEY_G_RUN_IN[1…8]
Notes :
1002
1003
1007
(*1) The type of numbering for the hand-wheel is determined by machine data
11234 HANDWH_VDI_REPRESENTATION (0=bit coded, 1=binary coded).
(*2) Machine function:- Only if DB2600.DBX1.0 is not set.
Notes :
Notes :
(*1) The type of numbering for the hand-wheel is determined by machine data 11234 (0=bit coded, 1=binary coded).
4004 Start after Boot Operator panel Part program Part program
search run reset end start from
reset
4005 Jog Circle active Retract data JOG Retract Stop condition StopbyColl
available active Danger
4010 ´Status of the enable for the digital NCK grinding inputs to the PLC $AC_IN_KEY_G_ISENABLE[1...8]
4011 ´Status of the function of the digital NCK grinding inputs to the PLC $AC_IN_KEY_G_RUN_OUT[1...8]
Notes :
ASUP result
etc
0063 Active G function of group 64 (8 bit Integer)
Notes :
Signals to axis/spindle
DB3800- PLC NCK [r/w]
DB3811
Feedrate override
0000 H G F E D C B A
Override active Measuring Measuring Follow up mode Axis/spindle disa- Sensor for fixed Acknowledge
system 2 system 1 ble stop fixed stop
0001 reached
Traversing keys Rapid traverse Traverse key lock Feedrate stop/ Activate Hand-wheel
0004 override spindle stop
Plus Minus 3 2 1
Parameter set-Servo
0009
C B A
Delay reference Modulo Limit 2nd software limit switch Hardware limit switch
point approach Reached
1000 Plus Minus Plus Minus
Activate Suppress
1002 program test program test
Signals to spindle
DB3800- PLC NCK [r/w]
DB3811
Spindle override
2003
H G F E D C B A
Notes :
Note:- IC, DC, ACP, ACN only one signal can be selected at any one time. If no signal is selected AC is active by default.
Signals to drive
DB3800- PLC NCK [r/w]
DB3811
Open manual
4000
brake
Pulse enable Speed control- Parameter set selection
4001 ler integrator
disable C B A
4002
4003
Notes :
Activate
dynamic
5001 backlash
compensation
Enable following
5002 axis overlay
Stop HIAxMove Stopp corr Stop DEPBCS Stop DEPMCS Resume HIAx- Resume corr Resume DEP- Resume
5003 Move BCS DEPMCS
PLC controlled Stop along Stop at next Change reversal Set reversal point Continue Reset External
5004 axis braking ramp reversal point point oscillation
reversal
Current controller Speed controller Position con- Axis/spindle sta- Follow up mode Axis ready Axis alarm
0001 active active troller active tionary active For
(n < nmin) operation
Power fixed stop Fixed stop Activate travel to Measurement Rotational feder- Hand-wheel
0002 limited reached fixed stop active ate overlay active
active
Axis stop
0003 Ready for opera-
tion
Notes :
Jog position Indexing axis in Jog fix point posi- Jog fix point posi- Jog fix point posi- Act jog fix Act jog fix point Act jog fix point
1001 reached position tion reached 2 tion reached 1 tion reached 0 point position position1 position 0
2
Velocity re-
1003 duced by Colli-
sion check
Actual Speed monitoring Spindle in Set- Supporting Geometry moni- Set-point Set-point speed Speed limit
2001 direction is clock- point range range limit vio- toring speed in- limited exceeded
wise lated creased
3001 Reserved
3002 Reserved
Notes :
4001 Pulses enabled Speed control- Motor being Active motor / parameter set
ler integrator selected
disabled E D C B A
nact = nset nact < nx nact < nmin Md < Mdx Ramp up com- Temperature pre-warning
4002 pleted
Heat Sink Motor
4004 Reserved
4006 Reserved
Notes :
Sensor configuration
Sensor S6 Sensor S5 Sensor S4 Sensor S1 Sensor avail-
available available available available able
7000 (angular (piston end (clamped
position of position) state)
the motor
shaft)
Sensor configuration
Status value
7001 is generated
Sensor S5 Sensor S4
7006 available available
(angular (piston end
position, position)
motor shaft)
7007
Tool Management
Notes :
Feedback signal
Acknowl- Acknowl-
y100 edgement edgement OK
error
y102 Reserved
y104 Error status (Word)
y106 Reserved
y108 Acknowledge- Acknowledge- Acknowledge- Acknowledge- Acknowledge- Acknowl- Acknowl- Total
ment step 7 ment step 6 ment step 5 ment step 4 ment step 3 edgement edgement acknowledge-
step 2 step 1 ment
y109 Acknowledge- Acknowledge- Acknowledge- Acknowledge- Acknowledge- Acknowl- Acknowl- Acknowl-
ment step 15 ment step 14 ment step 13 ment step 12 ment step 11 edgement edgement edgement
step 10 step 9 step 8
y110 Acknowledge- Acknowledge- Acknowledge- Acknowledge- Acknowledge- Acknowl- Acknowl- Acknowl-
ment step 23 ment step 22 ment step 21 ment step 20 ment step 19 edgement edgement edgement
step 18 step 17 step 16
y111 Acknowledge- Acknowledge- Acknowledge- Acknowledge- Acknowl- Acknowl- Acknowl-
Reserved ment step 30 ment step 29 ment step 28 ment step 27 edgement edgement edgement
step 26 step 25 step 24
Notes :
Job status
y132 to
y138 Reserved
y004 to
y008 Reserved
Notes :
y032 Tool has been Tool is fixed Tool being Pre warning Measuring tools Tool Tool Active tool
in use location coded changed limit reached disabled enabled
Tool status for new tool
y033 Manual tool 1:1 change Master tool To be loaded To be Blocked Identifier for
unloaded tool
y034 New tool: Internal T no. of NCK (Integer)
y036 Reserved (Double word)
y040 Reserved (Double word)
y044 User defined parameter 1 (Double word)
y048 User defined parameter 2 (Double word)
y052 User defined parameter 3 (Double word)
Notes :
Feedback signal
DB4300- NCK PLC Signals from TM [r]
DB43xx (*1)
Acknowl- Acknowl-
y100 edgement edgement
error OK
y102 Reserved
y106 Reserved
Job status
Notes :
Synchronised actions
Notes :
1008
1012
Notes :
Used in with: DB2600.DBX1.1 Request axis actual value, DB2600.DBX1.2 Request axis distance to go
Safety Integrated
Safety Control Channel (SCC)
Notes :
etc
etc
Notes :
etc
0006 Reserved 1
0014 Reserved 2
etc
0254 Reserved
Notes :
0004 Reserved_1 1
0006 Reserved_2 1
0012 Reserved_1 2
0014 Reserved_2 2
etc
0252 Reserved_1 32
0254 Reserved_2 32
0001
Error Activated
0002
1 1
0003 Device ID_1
etc
Notes :
n+3 Reserved
Control signals
n+4
Activation time energy saving
T1 has expired profile active
n+5 Reserved
Effectiveness profile
n+10
Disable energy Energy saving
saving profile profile config-
ured
State conditions (HMI PLC)
n+11
Screen change Data transfer Operator panel
active active
Notes :
HMI PLC
0002
Measurement
in progress
0040 Drawn active energy in kWh per previous day (REAL) to HMI
0044 Supplied active energy in kWh per previous day (REAL) to HMI
0056 Drawn active energy in kWh per previous month (REAL) to HMI
0060 Supplied active energy in kWh per previous month (REAL) to HMI
0072 Drawn active energy in kWh per previous year (REAL) to HMI
0076 Supplied active energy in kWh per previous year (REAL) to HMI
0098 Value invalid Value invalid Value invalid Value invalid Value invalid Value invalid Value invalid Value invalid
DBD0384 DBD0344 DBD0304 DBD0264 DBD0224 DBD0184 DBD0144 DBD0104
Notes :
n+102 Reserved
n+116 Consumed active energy of the ancillary component at beginning of measurement in kWh
n+120 Supplied active energy of the ancillary component at beginning of measurement in kWh
n+124 Consumed active energy of the ancillary component at end of measurement in kWh
n+128 Supplied active energy of the ancillary component at end of measurement in kWh
n+132 Reserved
n+136 Reserved
Notes :
DB9908 ISM_TS
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
n+0 Sensor installation location
n+2 Reserved
Notes :
0001 Syntax ID
0002 Area
0003 Unit
0008 Block
0010 Type
0011 Length
0013 Syntax ID
0014 Area
0015 Unit
0020 Block
0022 Type
0023 Length
etc
0493 Syntax ID
0494 Area
0495 Unit
0500 Block
0502 Type
0503 Length
Notes :
etc
Appendix C: END
Notes :