Professional Documents
Culture Documents
En 828D Complete Commissioning v44 1
En 828D Complete Commissioning v44 1
En 828D Complete Commissioning v44 1
Commissioning Documentation
Sinumerik 828D
Edition 2012.1
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
B007 B045 B044 B032
Electronic Network Licensing of RCS
Logbook Configuration Options Commander
B017
Data
Management
B026
Creating a
PLC Program
B068 B031
B058 B019
Commission- PLC Alarms B033
PLC Onboard S7-200 PLC
ing and PLC Functions
Diagnostics Instructions
Sequence Messages
B084
Encoder
Adjustments
B018
Easy
Messenger
B006 B016
Appendix A B029
Electrical Additional
Hardware Analogue
Cabinet Axis
Differences Spindle
Design Installation
Appendix B
Technology
Settings
Appendix C
PLC Interface
End
SIEMENS TEST PROTOCOL
Machine Test Protocol Sinumerik 828D
Product / Version Machine type / Serial No. Company / Location
Sinumerik 828D SW4.4
Distribution list
Name Company / e-mail Name Company / e-mail
Department Department
Title Published by
Machine Test Protocol Sinumerik 828D Gary Jones
I DT MC MT P2
Document no. Date
xx.yy
File name:
Protocol version 1.0
RTM_Machine Test Protocol Sinumerik 828D SW4_4.doc
Contents
3 BACK UP .............................................................................................................................................................................................................6
5.2 Control.......................................................................................................................................................................................................................................................................................8
7 FUNCTIONS TESTED........................................................................................................................................................................................10
8 DETAILED TEST................................................................................................................................................................................................11
1 Responsible persons:
1.1 Schedule
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 Teste OEM Alternative / or Teste Reason for OEM To Do´s
No d Comments / not d Alternative
relevant
T+M
1 Machine Start-up in Jog-REF
T+M Automatic referencing (Jog -
2 REF Cycle start)
Technolog Test Description Teste OEM Alternative / or Teste Reason for OEM To Do´s
y No d Comments / not d 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.
Technolog Test Description Teste OEM Alternative / or Teste Reason for OEM To Do´s
y No d Comments / not d 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.
Technology Test Description Teste OEM Alternative / or Teste Reason for OEM To Do´s
No d Comments / not d Alternative
relevant
T+M
5
Technology Test Description Teste OEM Alternative / or Teste Reason for OEM To Do´s
No d Comments / not d Alternative
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
4
8.1.7 AUTO
Technology Test Description Teste OEM Alternative / or Teste Reason for OEM To Do´s
No d Comments / not d Alternative
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 Teste OEM Alternative / or Teste Reason for OEM To Do´s
No d Comments / not d 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
8.5 Startup
T+M Password Æ
Delete SUNRISE after power on
8
All other power on retained
10
11
Not categorized
Technology Test Description Teste OEM Alternative / or Teste Reason for OEM Alternative To Do´s
No d Comments / not d
relevant
T+M
1 Electrical Cabinet Protocol
10
11
12
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
NX10 Module
Hand-held Units
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B060
B060
Machine
Control
Panels
Drive
Components
NX10 Module
Drive-CLiQ
Hub & Sensor
Modules
PLC
Periphery
Modules
Hand-held
Units
System Overview:
END
Notes :
To
other
828D
GSM/GPRS
Modem
PN1 & PN2
Profinet
Interfaces
+24V DC Supply Mini
X1 PN2 PN1 RS232 HHU
Interface
Compact Flash Front-
X140 Connection
ports
}
X145 Sinumerik X122 Sinamics kit
USB 2.0 828D & PPU X132 Digital I/O
X125
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
X100 to X102 DriveCLiQ Interface DriveCLiQ
Hub
Teleservice
Modem
DMS
Scales/encoders
via SMx & DMC
modules
Reactor
Notes :
To
other
828D
GSM/
GPRS
PN1 & PN2 Modem
Profinet
Interfaces
+24V DC Supply
Mini
RS232
X1 PN2 PN1 HHU
Interface
Compact Flash Front-
X140 Connection
ports
USB 2.0
X145
X125
Sinumerik
828D & PPU
X122
X132 } Sinamics
Digital I/O
kit
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
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 :
6FC5370-3AT20-0AA0
PPU241.2 Turning version without system software
6FC5370-3AM20-0AA0
PPU241.2 Milling version without system software
PPU261/281 6FC5370-5AA20-0AA0
Horizontal PPU261.2 Standard version without system software
variant
10.4” TFT 6FC5370-7AA20-0AA0
Colour PPU281.2 Performance version without system software
Screen.
PPU Vertical layout:
6FC5370-4AT20-0AA0
PPU240.2 Turning version without system software
PPU240
Horizontal 6FC5370-4AM20-0AA0
variant PPU240.2 Milling version without system software
8.4” TFT
Colour 6FC5370-6AA20-0AA0
Screen. PPU260.2 Standard version without system software
6FC5370-8AA20-0AA0
PPU280.2 Performance version without system software
Turning
6FC5313-5AG00-0AA0
Notes :
The controller is available in vertical or horizontal formats. X242 & X252-Digital I/O for NCK
The functionality of the two variants is identical.
The PPU includes “Qwerty” and numerical keyboard inputs X143-Hand-wheels x 2
and shortcut keys to specific machine areas.
The 828D encompasses the HMI, NC, PLC and CU logical PN1 & PN2 - Profinet interfaces. (Only PN1 available for
components. PPU240/PPU241)
X127 Ethernet service port-DHCP server (IP address Name Colour Description
192.168.215.1) Issues addresses up to 192.168.215.31. FAULT Red Fault present
X145 Compact Flash (CF) interface SYNC Green Synchronisation OK
Notes :
The following tables highlight the technical specifications of the 828D controller.
Key:-
In preparation
Delivered as standard
Option
- Not available
PPU240/241 PPU260/261 PPU280/281
Turning Milling Turning Milling Turning Milling
System Performance
Number of axes with standard configuration 3 4 3 4 3 4
Maximum number axes/spindles/positioning axes 5 5 6 6 8 6
Each additional axis/spindle
Each additional positioning axis
Maximum number of interpolating axes 4 4 4 4 4 4
Maximum number of machining channels 1 1 1 1 1 1
Minimum block cycle time 9ms 3ms 6ms 2ms 6ms 1ms
CNC user memory (buffered) 1MB 1MB 3MB 3MB 5MB 5MB
CNC Functions
Tool management with tool life monitoring and workpiece
count
Replacement tools
Maximum number of tools/cutting edges 80/160 80/160 128/256 128/256 256/512 256/512
Number of settable zero offsets 50 50 100 100 100 100
Safety Integrated (Safe Torque Off, Safe Brake Control)
Asynchronous subroutines (ASUP)
Synchronised actions and high speed auxiliary function out-
put
Acceleration with jerk limitation
Look Ahead (Number of blocks) 1 50 1 100 1 150
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 :
Notes :
H1 LED POWER OK
H2 LED BUSSYNC
H3 LED BUSFAULT
S2 IP address selection switch
Part Number:-
6FC5303-0AF23-0AA1
Features:-
49 mechanical keys with LED
Indicators (16 user assignable)
Feed override control(16 positions)
Key switch
Emergency stop/Spindle override optional
Hardware information
6 x Pre-drilled holes for hard wired user buttons
Connections for 9 user Inputs & 6 outputs Part Number:-
Connection via Profinet 6FC5303-0AF22-0AA1
Features:-
50 mechanical keys with LED indicators (17 user
Consumable items: assignable)
Spindle & feed override control.
6FC5247-0AF13-1AA0-Feed override rotary switch incl. cap,
Key switch
button, pointer & dials
Emergency stop button
6FC5247-0AF12-1AA0-Spindle 2 x Pre-drilled holes for hard wired user buttons
override rotary switch incl. cap, button, pointer & dials Connection via Ethernet
2 x Hand-wheel connections
Connections for 9 user Inputs & 6 outputs
Connection via Profinet
Consumable items:
Notes :
Drive Components
Line Modules
Interfaces:-
SLM (5 & 10Kw variant)
X21-Enable, ready and fault signals
X22-Regeneration inhibit and fault reset signals
X24-24V DC electronics supply
U1, V1, W1-3-Phase supply
X200, X201, X202-DriveCliq connections
Notes :
Line Modules-continued The motor modules convert the DC link voltage into a vari-
able AC voltage which is then output to the servo
Motors.
Part Numbers-SLM
Motor Modules are supplied with 24V DC via the ALM/SLM
6SL3130-6AE15-0AB0 5Kw Internal cooling
All motor modules are connected to the DriveCliq network.
6SL3130-6AE21-0AB0 10Kw “ “
They are available in one or two axis variants and can be
6SL3130-6TE21-6AA3 16Kw “ “
internally or externally cooled.
6SL3130-6TE23-6AA3 36Kw “ “
6SL3131-6AE15-0AA0 5Kw External cooling
6SL3131-6AE21-0AA0 10Kw “ “
Interfaces:-
Part Numbers-ALM
Single MM
6SL3130-7TE21-6AA3 16Kw Internal cooling
X1-Output to Motor.
6SL3130-7TE23-6AA3 36Kw “ “
X21-Enable & temperature sensor input
6SL3130-7TE25-5AA3 55Kw “ “
X200, X201, X202-DriveCliq connections
6SL3130-7TE28-0AA3 80Kw “ “
6SL3130-7TE31-2AA3 120Kw “ “
Double MM
6SL3131-7TE21-6AA3 16Kw External cooling
X1 & X2-Output to Motors
6SL3131-7TE23-6AA3 36Kw “ “
X21-Enable & temperature sensor input (Motor 1)
6SL3131-7TE25-5AA3 55Kw “ “
X22-Enable & temperature sensor input (Motor 2)
6SL3131-7TE28-0AA3 80Kw “ “
X200, X201, X202, X203-DriveCliq connections
6SL3131-7TE31-2AA3 120Kw “ “
Notes :
Motor Modules (MM) S120 Book-sized Compact Combi Drive (Combined Line and Motor Modules)
The S120 book sized motor modules are use to expand the The Combi drive unit consists of a Line Module and either 3 or
number of drives the Sinamics Combi drive system to the 4 Motor Modules, the first of which is dedicated to the Spindle.
maximum of 6. The modules are only available with internal They must always be connected to the DriveCLiQ network via
cooling. controller interface X100.
The number of axes can be increased by adding Sinamics
Interfaces:- S120 Booksized Compact Motor Modules up to the maximum
Single MM allowed by the system.
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.
16 Kw 24 A 9A 9A 9A 6SL3111-4VE21-6EA0
20 Kw 30 A 12 A 9A 9A 6SL3111-4VE22-0HA0
Notes :
Braking resistor
Control Supply
Module
Braking Module
Notes :
General information
General information
The requirement for additional Drive-CLiQ ports is catered for
Since the integrated control unit (CU) can control only 6
by the DMC20.
axes, an NX10 module is required to achieve the maximum
There are 6 Drive-CLiQ ports, 5 of these are available for
number of 8 axes allowed by the system.
additional devices such as direct measuring systems.
The modules are of the same design as the Sinamics S120
The remaining port is used for connecting to the PPU/Drive-
drives and fit neatly into the drive rack.
CLiQ network.
All modules have to be connected to the DriveCliQ
network.
Part Number:-
6SL3055-0AA00-6AA0
The drive enable connections are not required to be physi-
cally connected, these signals are mirrored with the CU Interfaces:-
connections:- X500 - Drive-CLiQ, Connects to PPU/Drive-CLiQ network
X122.1 = OFF1
X122.2 = OFF3
X501 to X505 - Drive-CLiQ, additional devices
X524 - 24V DC supply
Part Number:- RDY - LED indicator
6SL3040-0NC00-0AA0
Interfaces:-
X100 to X103 DriveCliQ
X122 4 x digital inputs & outputs
X124 24V DC supply
NX10
Notes :
Sensor Modules (SMC & SME) Sensor Modules (SMC & SME)-continued
SMC30
General information
SMC30
For the evaluation of the following measuring systems:-
Incremental with TTL/HTL signals
SSI with incremental TTL/HTL signals
SSI without incremental signals
SMC10/SMC20 (Temperature evaluation-KTY84-130 can also be used)
SMC10 Interfaces:-
For the evaluation of 2-pole resolvers & Multi-pole resolvers,
including motor temperature evaluation (KTY84-130) X500 DriveCliq
X520 TTL measuring system input (25 pin D-type con-
Interfaces:- nector)
X500 DriveCliq X521 HTL/TTL measuring system input (Screw type
X520 Measuring system input (25 pin D-type connector) connector)
X524 24V DC supply X531 “ measuring system input (Screw type
connector)
Status LED’s
Status LED’s
Part Number:- X524 24V DC supply
6SL3055-0AA00-5AA0 Note-The extra measuring system interfaces offer more flexibil-
ity for connecting the encoder, The device however can only
SMC20 handle a single encoder.
For the evaluation of the following measuring systems:-
Incremental sin/cos 1v pp Part Number:-
Absolute EnDat encoders 6SL3055-0AA00-5CA1
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’s
Part Number:-
6SL3055-0AA00-5BA1
Notes :
Part Number:-
6SL3055-0AA00-5EA0-SME20 X222
6SL3055-0AA00-5HA0-SME25
X2 X2
Port Port X333
2 1
X1
SME20/SME25
PP72/48D PN modules are a compact component which
connect to the Profinet network (Ports PN1 or PN2 of the
SME120/SME125 NCU). A 24V DC supply is required.
For the evaluation of the following measuring systems:-
Incremental sin/cos 1v pp with C and D tracks 5V supply- There are two variants, one of which is all digital while the
SME120 second offers both digital and analogue functionality (only for
Absolute EnDat encoders 5V supply-SME125 PLC).
(Temperature evaluation-KTY84-130 can also be used)
24 digital inputs and 16 digital outputs are available on each
Interfaces:- of the 3 ribbon connectors giving a total of 72 inputs and 48
DriveCliq-Also supplies 24V DC outputs for each module.
Measuring system input
Hall effect sensor input A maximum of 3 PP72/48 modules with the PPU240/PPU241
controllers.
Temperature sensor input A maximum of 4 PP72/48 modules with the PPU260/PPU261
controllers.
Part Number:- A maximum of 5 PP72/48 modules with the PPU280/PPU281
6SL3055-0AA00-5JA0-SME120 controllers.
6SL3055-0AA00-5KA0-SME125
Part numbers:-
6FC5311-0AA00-0AA0 Digital only (PP72/48D PN)
6FC5311-0AA00-1AA0 Digital/analogue (PP72/48 2/2A PN)
Interfaces:-
S1-Adressing switch-Default setting of 9
X1-24V DC Supply
X2-Profinet network ports 1 & 2
SME120/SME125
X111 digital inputs/outputs-ribbon connector
X222 digital inputs/outputs-ribbon connector (first byte has
fast gating hardware)
X333 digital inputs/outputs- ribbon connector
Notes :
PN/PN Coupler
Notes :
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 21
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
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
and is included in the scope of delivery.
RCS Commander is not included in the toolbox but is required for certain commissioning/service
procedures.
Module Objective:
Upon completion of this module the course participant will be able to do the following:
Content:
Sinumerik
Toolbox Installation.
Network Settings.
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B002
B002
Network Connection:
Online
The software tools communicate to the controller via Connection:
Ethernet. Start-up
The external PC needs to be set to allow communication to Tool
take place.
When the Toolbox installation is complete a connection to the
controller will be made with the PLC828 Programming Tool, Service and
Start-up Tool and RCS Commander Commissioning
Tools:
END
Notes :
Toolbox content:
- Configuration Data:- image for replacement card.
- Programming Tool PLC828:- For Creating/Loading/Editing
the PLC user program.
- Start-up Tool:- For the configuring of the drives.
Installation Process
Installation is started with “setup.exe” on the Toolbox DVD.
Double click the “Setup.exe” Software to be installed is dependant upon the required task.
file to start the toolbox installa-
tion.
Note:-
Notes :
The 828D controller operates with the Sinamics drive system, RCS Commander allows a remote operation between the
therefore the “Solution Line” variant should be selected. 828D controller and a computer.
This can be changed later using the NCU connection wizard if Data such as part programs etc can be transferred between
it is necessary to work also on the Powerline system. the remote computer and the controller.
A viewer is included which is used to view and change the
controller settings remotely (Dependant upon access rights).
The software can also be used to write images to compact
flash cards for service and commissioning tasks.
Installation:
Notes :
Network Settings: Ethernet port X127 of the controller is a DHCP server and
issues IP addresses. The computer has to be set to obtain an
X127 is a DHCP server with a fixed IP address of 192.168.215.1 IP address automatically.
Ensure that
“Obtain an IP
address
automatically” is
selected.
Confirm the
changes with the
OK key.
In the following example the network adapter is of the type:
“Marvell Yukon 88E8055 PCI-E Gigabit Ethernet Controller”
The adapter type will vary between computer types.
Notes :
When the program is opened for the first time after the
The access level determines which data can be accessed via
installation it is necessary to assign a password for encryption
RCS Commander. The “Manufacturer” login grants the most
purposes.
access, the “User” login is the most restrictive.
Select the login and enter the password.
Passwords:
Manufacturer-SUNRISE
Service-EVENING
User-CUSTOMER
Notes :
Online Connection - PLC Programming Tool A dialogue box opens giving the opportunity to cancel the
changes. Accept by selecting the “OK” button.
An Ethernet cable is required to connect between X127 of the
controller and the PG/PC.
Chosen adapter.
The correct adapter should be selected from the list and con-
firmed with the “OK” button.
Notes :
Notes :
Notes :
In the “Control Panel” area, select and open the “Set PG/PC
Interface” program.
Select the
network adapter
which is in use.
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
Start-up
Module Objective:
Upon completion of this module you will know the menu areas of the SINUMERIK 828D system.
Content:
Sinumerik
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B061
B061
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:
Access Levels: The data of 828D controller is protected by seven protection levels, four of which
are set via a key-switch and three by password.
The system has default access levels for restricting data of the controller. It is also possible to cus-
tomise access to individual files/folders and soft-keys as well as determine the read/write/execute
properties of certain files.
Time and Date: If at the time of installation, the time and date is not set correctly, the RSV guaran-
tee period of the controller could be effected. (See Module B007 Electronic Logbook)
Correct time/date setting is also necessary for checking when an alarm occurred or when a file
(Part program, archive etc) was created or edited.
Before the date and time settings can be edited, the access level for the “User” or higher must be
entered.
This module explains the different protection levels, how to set these levels and how to protect
individual files. The module also explains how to set the correct time/date.
Module Objective:
Upon completion of this module you will be able to set the different protection levels using a pass-
word or key switch, you will also be able to change the protection levels of individual NC pro-
grammes and set the time and date for the system.
Content:
Sinumerik
Protection of files
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B021
B021
Time and Date: If at the time of installation, the time and date
is not set correctly, the RSV guarantee period of the controller Setting and
could be effected. (See Module B007 Electronic Logbook) Deleting the
Correct time/date setting is also necessary for checking when Password
an alarm occurred or when a file (Part program, archive etc)
was created or edited.
Before the date and time settings can be edited, the access
level for the “User” or higher must be entered.
Protection of
This module explains the different protection levels, how to files
set these levels and how to protect
individual files. The module also explains how to set the cor-
rect time/date.
Customising
Soft-key
Access
Levels
Time and
Date
Setting
Access Levels /
Time & Date:
END
Notes :
No key required 0 7
The signals from the key switch are automatically set via the
MCP interface.
Notes :
Before deleting a password the next highest password level Certain files such as important cycles, programmes etc can be
or higher should be set. Navigate to the screen where the individually protected against accidental editing, deletion or
password is entered, and select the “Delete password” soft execution. They can also be hidden from view.
key The desired file has to be located before the properties can be
edited. In this example, the part programme “828.MPF” is to
have it’s properties changed.
The “Part program” directory is located by selecting the
“Program manager” key.
A dialogue box is opened, this box shows the current access
level and asks if you really want to delete the current pass-
word, if yes select the “OK” soft-key to delete the password.
The dialogue box will then disappear. The access level will be
now be determined by the key switch position.
The password remains active after power on.
The following dialogue box will be displayed. This allows a The properties of the file are found by paging right and select-
new password to be entered and confirmed. In this example ing the properties Soft-key.
the “Manufacturer” password is active, this allows the Manu-
facturer, Service & User passwords to be changed. Naviga-
tion of the dialogue box is achieved via the cursor and select
keys, confirmation is via the “OK” soft key.
A dialogue box allows four properties to be changed. In the
following example, the program:-
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 0 or higher
In this example the “Manufacturer” password is active, this is active
allows the Manufacturer, Service & User passwords to be
changed. Can only be read if the key switch position 1 or higher
is active
Notes :
It is possible to set the access levels for each soft-key. Use the mouse “Left click” to select the
The function must first be activated in the Setup area. required access level.
The menu will automatically disappear when
the selection is made.
If an access level is already active the
“Original setting” option will be available.
When the “OK” key is pressed the function will be activated. A summary of any changes to access levels can be seen in
This is confirmed by the message 150100 the “Customize softkeys” area
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:-
The time and date can now be checked and corrected if nec-
essary.
Use the cursor keys to move between the data fields.
The format can be changed by highlighting the required box
and using the “Select” key.
Once the time & date are correct press the “OK” soft key.
B021: END
Notes :
Module Description:
Machine and Setting data's are used in many ways to influence the operation of a machine.
During commissioning some of the machine data is automatically set while other machine data has
to be changed.
Over time, as the machine mechanically wears it may be necessary to edit certain machine data
such as compensation data's.
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.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B041
B041
Data Classes
Editing
Machine &
Setting Data
User Views
Machine and
Setting Data:
END
Notes :
General assignment 1 2 3 4 5
Range Description
9000 - 9999 Display machine data
10000 - 19999 General machine data
20000 - 29999 Channel-specific machine data
30000 - 39999 Axis-specific machine data
41000 - 41999 General setting data
42000 - 42999 Channel-specific setting data
43000 - 43999 Axis-specific setting data
51000 - 51999 General cycle machine data
52000 - 52999 Channel-specific cycle machine data 1 Number of the machine data
53000 - 53999 Axis-specific cycle machine data
54000 - 54999 General cycle setting data 2 Denomination of the machine data
Notes :
The 828D controller uses machine data which is divided into To locate the machine data screens first ensure that the rele-
data classes. vant access level is active (Module B021 Protection Levels)
Data classes can be used to create archives which contain then use the following key sequence:-
only specific data's of the controller, data according to it´s
classification. Upgrades etc. can therefore be carried out
while leaving any existing unrelated data of the controller
intact.
User (U) - 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. The machine data which are available for viewing is limited on
the activated display filters.
Data Classes for Machine and Setting Data
Note:-
Machine Data is often referred to as “MD”.
Setting Data is often referred to as “SD”.
Notes :
Editing Machine & Setting Data continued The correct machine data should first be located. This is
done by either using the page/cursor keys or the search
The Machine & Setting Data is separated into different groups. function.
The search function is activated with the “Search” soft key. If
the Machine Data number is known this can be typed into the
dialogue box. It is also possible to enter part or all of the MD
General MD and general Cycle MD.
name in text format.
Drive Parameter.
Display MD.
Notes :
User Views
Notes :
Module Description:
It may be a requirement for service personnel to remotely diagnose problems with the controller or
machine.
This is achieved by using the RCS Commander software package installed on a PG/PC.
When connected, a viewer function is available so that the user can see and change the controller
data.
RCS Commander is also used for carrying out other service and commissioning tasks. These tasks
are explained in the relevant modules.
This module shows the installation of the RCS Commander software and how to make an online
connection using both the available ethernet ports X127 and X130.
Module Objective:
Upon completion of this module you will be able to connect remotely to the system using the Re-
mote Diagnosis function and the RCS Commander software tool.
Content:
Sinumerik
Network Settings
Bookmarks
External Viewer
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B032
B032
Bookmarks
External
Viewer
RCS
Commander:
END
Notes :
Network Settings The settings can now be changed to suit the network that the
controller is to be connected to.. Use the cursor and select
Network Settings keys to change the selections
RCS Commander can be connected to the controller via Address Type:-DHCP-To obtain IP address automatically.
Ethernet port X127 (Front) or X130 (Rear). Connection to Manual-To enter a defined IP address.
X127 (DHCP server) is straight forward and is tested during
the software installation Module B002. When the settings have been chosen select the “OK” soft-
key” and perform power off/on of the controller.
Ethernet port X130 is configurable, the port can be assigned a
fixed IP address or be set to automatically acquire an IP ad-
dress.
Port X130 is for connecting to the factory network. When con-
figuring for connection to a factory network, certain information
from the factory network administrator is required. Any existing
X130 settings should be recorded before attempting any
changes.
Notes :
Notes :
To make the connection select the “Connect” icon on the RCS The RCS Commander program can be used for copying and
Commander toolbar. pasting files between the controller to the external computer.
Files resident on the controller can be opened directly for edit-
ing.
In many cases it is easy to create files offline and then copy
them to the controller using RCS.
Bookmarks
From the drop down menu select the connection to be used
then press the “Connect” button. Bookmarks are shortcuts directly to specific folders in the con-
troller. By default there are several bookmarks already set.
To add a personal bookmark the target folder has to be lo-
cated on the left hand side of the RCS Commander program.
Use the mouse “Right click” function on the folder and then
select “Add to bookmarks”
After a short delay the data folders of the controller will appear
in the bottom half of the RCS Commander program.
Notes :
Viewing Rights-PLC
Rights for remote access, Specified by PLC (Not settable on
screen)
Notes :
Connecting the External Viewer The following keys are used to navigate the controller from
the remote PG/PC:
To start this function select the following icon from the RCS
Commander tool bar, Alternatively select “Start” from the
Remote control” drop down menu.
Keys Description
F1 to F8 Horizontal soft-keys
Shift & F1 to Vertical soft-keys
F8
F9 Page Back/Up
F10 Menu Select
Shift & F9 Page right
F12 Help function
Escape Alarm Cancel
Select Space Bar
When the viewer attempts to connect, providing that the re- Programs, machine data etc can be directly changed from the
mote viewer has not been blocked, the screen of the control- remote computer, archives can also be created.
ler will be displayed. If acknowledgement is required, the con-
troller “OK” soft-key will require selecting within the time limit
specified on the RCS set-up screen.
B032: END
Notes :
Module Description:
When a controller with options is purchased a software licence key is issued. The licence 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 will be able to check the control for the correct licence and
activate options.
Content:
Sinumerik
Assigning Licences
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B044
B044
Assigning
Licences
Licensing of
Options:
END
Notes :
Notes :
The new folder appears . Select “OK” to save the licence key
file to this folder.
The licence key can be sent in PDF format, which includes a
report of the options assigned to that particular licence num-
ber, to an email address of your choice.
To check that the licence save was successful select the “Exp.
Licence requirement” soft-key again.
The file is automatically given a name by the system.
Notes :
Restoring the licence number:- To select an option use the cursor keys and highlight the de-
sired option, then press the “Select” key to activate or enter a
Select the “Read in licence key” soft-key. number depending on the type of option being activated.
A “Reset (po)” is required to complete the procedure.
Highlight the licence key file and press the “OK” soft-key.
The licence key should now appear in the licence key box. All the licensed options can be set automatically via the “Set
option acc. lic.” soft-key
Notes :
Step 1 of 5 - Login:
Sequence: Enter the licence number resp. dispatch note number.
Notes :
Step 2 of 5 - Identify Product: The licences are assigned to the specified hardware by clicking
Enter the hardware serial number and select the product. the “Assign“ button.
Notes :
You can check whether the Licence Key has been entered
successfully by pressing the “All options“ soft-key. The option
should now be available in the “Licensed“ column.
B044: END
Notes :
Module Description:
The 828D controller is equipped with a configurable ethernet interface (X130). This interface can
be used for service/commissioning work.
A soft-key can also be configured to facilitate the easy handling of data e.g. remote storage of part
programs.
This module shows how the ethernet connection is configured and the activation of a soft-key in
the program manager area.
Module Objective:
Upon completion of this module you will be able to configure ethernet connections on the control-
ler/external PC, create a shared folder on the PC and add a soft-key in the Program manager area.
Content:
Sinumerik
Network Settings
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B045
B045
Network
Settings
Creating a
Shared
Folder
Configuring a
Network Drive
Soft-key
Network
Configuration:
END
Notes :
Network Settings
Notes :
The settings can now be changed. Use the cursor and select
keys to change the selections
When the settings have been chosen select the “OK” soft-
key” and perform power off/on of the controller.
Notes :
Cursor to “Internet
Protocol (TCP/IP) and
select “Properties”
Notes :
Select “Permissions”
Notes :
Configuring a Network Drive Soft-key The new soft-key should now be available in the Program
area:
To give the operator access to the remote folder a soft-key is
added to the Program Manager screen. The configuration
screen is found by using the following soft-key sequence.
The USB port is configured as default, this should be left un- The new folder is also available in the “System data” area.
touched. The next available free area is position 2. Use the cursor This provides a convenient method of saving files such a s
and select keys to navigate the input fields. archives to a safe storage location.
B045: 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 EUNA database via the
Online Registration Website.
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.
The warranty period of the controller can only be activated through EUNA.
Module Objective:
Upon completion of this module the course participant will be able to do the following:
Content:
Sinumerik
Logbook information
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents. B007
B007
This data is then saved to a log file. The log file has to be Logbook
uploaded into the EUNA database via the Online Registration Information
Website.
The function is not only necessary for warranty issues but also
for service personnel (Records of new and previous service Importing/
visits) and also for quality control measures. Entering
Logbook
The warranty period of the controller can only be activated Data
through EUNA.
1st
Commissioning:
Start-up
Complete
2nd
Commissioning:
Machine
Installed
Recording a
Service Visit
Saving the
Logbook Data -
identSNAPSHOT
Uploading
to the Online
Registration
Website
Electronic Logbook:
END
Notes :
In the past, the validity of warranty claims was difficult to man- The OEM and Dealer information can be imported to the con-
age and was the cause of delayed service response times. troller in three ways:
System/hardware faults were logged in paper logbooks which
were then usually left on the machine and often became dam- Import the XML file via the “Import” soft-key.
aged or lost. (Preferred method)
The time and date of each entry is recorded; it is impor- Type the information directly on the controller.
tant that the time and date settings of the controller are (When the files are not available)
correct. Incorrect time and date settings can lead to early
expiry of the warranty.
The preferred method is to obtain the correct xml files from
It is necessary to make entries at certain stages during the life your Siemens contact partner. These are pre-populated files
of the machine: containing the relevant OEM/machine information etc. Using
this method guarantees the consistency between the data
- Manufacturer information at OEM stored in EUNA and the data stored on the machine.
- Dealer information at delivery and installation of machine
- End user information at delivery and installation of machine The following files can be imported:
- 1st Commissioning - End of start-up at Manufacturer
- 2nd Commissioning Machine installed - End of start-up at
end user File Function
- All service visits
oem.xml Manufacturer information
oemsubs.xml Manufacturer subsidiary information
Note: If the procedures are not followed the warranty will
not be valid. dealer.xml Dealer information
user.xml End user information
identSNAPSHOT
ma_types.xml List of available machine types
When the “save” procedure is carried out, an xml file is cre-
ated. The files are imported using the “Import” soft-key, failing this,
This is known as the “identSNAPSHOT” function and is a the copy and paste option can be used.
snapshot of the system including version data, cycle data, If the files are not available they can be created directly on the
hardware components etc controller or offline on a computer.
Each time an entry is made, the log file should saved and up-
loaded to the EUNA database via the Online Registration
Website.
The file name is made from a combination of the machine Machine Identity File (identity.xml)
name and system CF card serial number.
When the information has been imported the “identity.xml” file
is automatically created which contains all the information
from the imported xml files.
Notes :
Logbook entries
1st Commissioning
2nd Commissioning
Service visits
If the controller has existing machine identity data or a mistake is made when entering data manually, it is necessary to de-
lete the “identity.xml” file.
System CF card\individual\sinumerik\hmi\data\version\identity.xml
Should the machine name/number need to be deleted then this is done via General MD 17400[0]
Notes :
Data Import function (Preferred method) Locate the file(s) to be imported, e.g. via USB.
Select the files to be imported and press “OK”
The Electronic Logbook is located in the Diagnostics area of the In the following example two files, ma_types.xml and oem-
controller: subs.xml have been selected for importing to the controller:
At this point the screen will not have any information displayed
Enter the machine name/number e.g. VMC123.
This information is stored in General MD 17400[0]
Machine Type:
Notes :
The list will display the entries from the “ma_types.xml” file.
In this example the “Milling” option has been selected.
Address Selection:
The address of the OEM needs to be selected. It is possible The country selection needs to be made from the drop down
that the OEM has different manufacturing bases. list
The following example has two addresses listed
Notes :
Copy and Paste Option The controller needs to be switched off/on to activate the new
file.
If the “Import” soft-key is not available it is possible to copy the
files from CF/USB/networked PC in the “system data” area The result of the copy/paste of the „dealer.xml“ can now be
using the copy and paste functions. seen on the controller.
Locate the destination for the file (The files that were Imported
earlier will also be seen here) press the “Paste” soft-key:
Notes :
The default screen displays the manufacturer data. To return to the manufacturer details, select the “Reg. office of
manufact.” soft-key.
This the original manufacturer soft-key with different text. The
text of the soft-key changes depending on the current selected
screen.
Notes :
The templates can be used if the files cannot be obtained from Manually Entering Machine Identity Data
the Siemens partner. They should be copied and edited to
leave the original templates intact. If an xml file is not available the data can be typed directly into
Example template for dealer.xml. the controller.
Notes :
The information will appear on the main logbook page. Recording a Service Visit
Notes :
The details of the service visit are now shown on the Logbook The file is given a default name using details from the machine
page. 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-
book entries. It is this file which needs to be uploaded to the
database via the internet.
To save the data to a file first locate and select the “Save”
soft-key.
The file should be saved to the default “Version data” folder as In this example, the files are saved in the “version” folder.
a standard procedure to ensure that a copy is locally available .
The file is to be uploaded via an external PC, therefore it System CF card\user\sinumerik\hmi\data\version
should also be saved to an external USB/CF device.
Notes :
The file can be opened for viewing in the “System data” area:
Language selection.
Notes :
Notes :
The “Action Bar” of the assigned files list is used for various
functions.
service.euna.industry@siemens.com
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.
Content:
Sinumerik
Data Classes
Easy Archive
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B017
B017
Creating
Archive With
Shortcut Keys
System
Software
Backup and
Restore
System
CF Card
Replacement
Data Management:
END
Notes :
Notes :
User - The user data is user specific (Part programs, tool data, It is also possible to select the Data Class of certain Data
zero points etc.). An archive of the user type could be used to Blocks in the User PLC program. When a Data Block is first
transfer data to an identical machine created, the properties box is displayed.
cutting the same component or in the case of a software up- The Data Class can be changed via the drop down menu. If
date. the Data Block already exists, the properties can be viewed by
right clicking on the Data Block and selecting properties.
Data Classes for Machine Data
Selection of the
Data Class.
Notes :
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 :
Notes :
USER :This archive will save user specific data such as part
programs, tool and zero offsets.
Notes :
Restart the controller, press the “select” key within 3 seconds Example 2:-If a complete NCK, PLC, Drives & HMI archive is to
of the following screen appearing. be loaded, the “Factory settings” option would be chosen.
The basic “Start-up” menu will be displayed, to display the Cursor to the required option and press the “Input” key.
advanced “Start-up” menu select the keys indicated below in
the numerical order shown.
1 2 3
Notes :
Use the following key combination to reach the area for read- The reading in of the archive will begin, this is indicated by a
series of information boxes.
ing in archives:-
Notes :
Creation of backups during commissioning. The saved Manually reloading the saved data:
data can be manually reloaded from the Start-up menu. The saved data can also be manually loaded. This is done
If the function has never been carried out, the controller from the start-up menu. Message “4062 Backup data loaded”
will be loaded with standard data. will be displayed to warn the operator that the data was re-
loaded.
Data saved by the “Save data” function:-
All machine and setting data (Except for drive machine data) The start-up menu is selected during the start-up of the
Tool data controller:
Offsets
R parameters Reboot the controller, within 3 seconds of the following screen
Part Programs appearing, press the “select” key.
User Data
Notes :
The Start-up menu will appear, cursor to the “Reload saved Creating Archive with Shortcut keys
user data” option and press the “Input” key.
The screen of the 828D controller is integrated into the PPU
and cannot be changed. In the event of a screen failure it is
not possible to create an archive in the usual
manner prior to replacing the controller.
For this reason it is possible to create a complete archive by
simultaneously pressing three keys together.
The keys to be pressed are “CTRL” + “ALT” + “S”
This procedure will automatically create an archive to an exter-
nal USB or CF memory device.
+ +
Allow the procedure to continue, this could take about five min-
utes.
Example:
Notes :
When the prototype of a particular machine is complete, series Before commencing it is necessary to perform the “Save data”
production can begin. In order to do this a clone of the data of function described in Section 5.
the prototype machine is required.
Insert a FAT formatted CF card or USB stick of at least 1024MB
The 828D controller uses an internal system CF card. This into the front of the controller (X125-USB, X145-CF card).
card contains the system software from which the controller
operates. The card also contains other important data which is Restart the controller, within 3 seconds of the following screen
essential for the machine to function. appearing, press the “select” key.
Completed prototype
machine
Empty storage device Storage device containing Select the highlighted soft-keys in the numerical order indi-
(CF card/USB stick) system image (TGZ) cated (Not simultaneously):
1 2 3
Notes :
The advanced menu will be shown, select the option “Create Enter a suitable name for the file, the “tgz” extension must
software update/backup”. remain.
Press the input key to continue.
The file will now be created, as the process continues the file
size, indicated in the brackets, will increase.
Notes :
Notes :
The 828D controller uses the EUNA system for registering the
machine
The registration is very important with respect to the start of
the 2 year warranty
Period (2nd commissioning at End user).
The data backup is now written to the internal card. Allow the For this reason it is essential that the time and date be set
process to finish correctly.
Notes :
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. Insert the USB/CF device which contains the backup image
and select “Yes”.
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 :
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.
B017: END
Notes :
Notes :
Module Description:
The 828D PPU can be diagnosed using status LED’s. 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.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B010
B010
PPU Status
LED’s and
Interfaces
(Rear)
Digital Input/
Output
Terminal
Description
PPU Connections
and
Diagnostics:
END
Notes :
PPU Status LED’s and Interfaces (Front) PPU Status LED’s and Interfaces (Rear)
The interfaces are found on the front and the rear of the PPU. Interface locations:-
The front interfaces are found beneath a hinged cover to the
left of the screen. Rear view of PPU showing interfaces.
Fault
X100 Sync PN
X101 Fault PN
Sync
Rx/Tx X130
X102 Link
X140 X135
X122
Ethernet DHCP server port. X132
Default address-192.168.215.1
X127 Issues addresses up to X242
192.168.215.31. X252
RDY X143
LED status indicators, see table
NC X1
below. M T1 T2 T3
CF
X125 USB port for keyboard and
memory devices.
Interfaces for 828D S120 Book-sized Drive Modules:
X1 +24V DC supply
Compact Flash port for cus- X100 DriveCliq interface for line/motor/SM modules
X145 tomer data storage and service/ X101 DriveCliq interface for DMC/TM54/SM modules
commissioning tasks. X102 DriveCliq interface for NX10/TM54/SM modules
X130 Ethernet-Factory network
X135 USB interface
X140 RS232 interface
X143 Interface for two Hand-wheels
X122 Digital I/O for Sinamics
X132 Digital I/O for Sinamics
Red/ X242 Digital I/O for NC
LED Green Orange Red
Orange X252 Digital I/O for NC
NC Ready PN Profinet interface
PLC in stop NC in stop Power-up PN Profinet interface (Not on 828D Basic M/T)
RDY and PLC in
mode mode (Alternating)
run mode T0 Analogue output measuring socket
T1 Analogue output measuring socket
NC operation T2 Analogue output measuring socket
NC
(Flashes cyclic) M Electronic ground for analogue measuring sockets
Internal/External
CF card access NX10: Handling of more than 6 axes.
CF SM: Sensor Module for non-DriveCLiQ encoders/scales.
(Flashes ran-
domly) DMC: DriveCLiQ hub for additional SM modules.
TM54: Terminal Module for Safety Integrated signals.
Note: The CF card should not be removed while the CF LED
is flashing.
Notes :
Interfaces for 828D S120 Combi Drive System: Digital Input/Output Terminal Description
Notes :
Pin 11 MEXT3 Ground (M) Ground for pins 9, 10, 12, 13 Pin 12 –2B Hand-wheel 2 signal –B
Notes :
Module Description:
The 828D has interfaces for the connection of Digital I/O (Sinamics & NCK), Probes & Hand-
wheels. The hand-wheel connections are pre-determined (X143) while the digital I/O and probes
can be assigned to any suitable connection.
Connections used within the drive group components are known as BICOs (Binary Connectors)
Certain connections can be configured as an output or an input.
X122-Sinamics functionality
X132-Sinamics functionality
X242-NCK functionality
X252-NCK functionality
X143-Hand-wheel functionality
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 Assignment
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B030
B030
NCK Inputs
and
Outputs
Digital I/O,
hand-wheels and
probes:
END
Notes :
Interface locations:
Rear view of PPU showing interfaces.
X252
X143
Notes :
PPU
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 :
Assigning a BiCo to a function requires changing machine In the following example, probes 1 & 2 will be assigned to
data. BICO connectors X122.13 and X132.13 respectively.
The default setting for OFF3 can be checked as an example. Probe 1 via X122.13 is used as the work-piece probe.
The OFF3 signal is input on X122.2, the status of this signal Probe 2 via X132.13 is used as the tool probe.
is displayed via CU r0722.2.
In order for the signal to have any effect on the operation of Setting the functionality of the terminals
the drives It has to be referenced to each drive.
This is achieved through p0849 for each drive. X132.9, 10, 12 & 13 can be used as either inputs or outputs.
This is determined by the setting of CU parameter p728: CU,
set input or output.
Example: Assigning the OFF3 signal to X axis p0849
Parameter name
and signal. Drive Object. To change X132.13 to an input, Bit 15 has to be de-selected.
P849, OFF3 CU = 1
Notes :
All the axes that use the probe function will need to be set.
There are two parameters, one for each probe, each with 3
indexes (Indices). Repeat the procedure for p489[1] and p489[2]
p488 Measuring probe1 input terminal: Encoder 1..3
p489 Measuring probe2 input terminal: Encoder 1..3
Notes :
Notes :
The status of the probe inputs and any other input can be
checked via CU parameter r722: CU digital inputs status.
By pressing the red buttons the status of the probes inputs will
go high. (Bits 11 & 15)
Notes :
Select the check box for SINAMICS-internal line contactor. A summary of the line supply data is displayed, this can be
The data
saved to aneeds to ifbe
text file saved, select the “Yes” soft-key.
required.
The BICO connectors for line contactor operation are pre- The following dialogue box indicates the state of save proc-
assigned. ess, when it has cleared the process is complete.
X132.12 Output to line contactor coil.
X132.4 Input check back signal from line contactor.
Notes :
Interface X252 has NCK digital I/O signals. Press Cycle Start once.
There are four fixed digital inputs and four fixed outputs. The
addressing of the Inputs/outputs start at 9.
X252 Signal Function Variable The program will stop at the “M00” command, a message will
be displayed.
Output for analogue
Pin 1 AOUT
axis. +/- 10V
Ground for Optional stop active.
Pin 2 AGND
analogue output.
NCK Digital Input
Pin 3 NCK DI 9 DB2900.DBX1000.0
$A_IN[9]
NCK Digital Input
Pin 4 NCK DI 10 DB2900.DBX1000.1
$A_IN[10]
NCK Digital Input
Pin 5 NCK DI 11 DB2900.DBX1000.2
$A_IN[11]
NCK Digital Input
Pin 6 NCK DI 12 DB2900.DBX1000.3
$A_IN[12]
MEXT4
Pin 7 Ground for pins 3 to 6
Ground (M)
P24EXT3
Pin 8 +24V DC common
+24V DC (P)
NCK Digital Output
Pin 9 NCK DO 9 DB2900.DBX1004.0
$A_OUT[9]
NCK Digital Output
Pin 10 NCK DO 10 DB2900.DBX1004.1
$A_OUT[10]
MEXT3 Ground for pins 9, 10, The status of the PLC variable can now be checked.
Pin 11
Ground (M) 12, 13
Reserved: Analogue
Pin 12 NCK DO 11
spindle enable/direction
Reserved: Analogue
Pin 13 NCK DO 12
spindle enable/direction
Type in the variables to be checked.
MEXT3 Ground for pins 9, 10,
Pin 14
Ground (M) 12, 13
When the output is set the corresponding input is also set.
This is because, for the purpose of the next exercise, General
Machine Data 10361 has a value of 1020102.
Notes :
The NCK inputs can also be used in the part program. The
following program checks the status of NCK input 9 and dis- Edit the program so that NCK output 9 is set to 0:
plays a relevant message.
If NCK input 9 = 1
IF $A_IN[9] == 1 GOTOF LABEL1
jump forward to LABEL1
Message line showing that The Jump command is ignored and the message,
MSG (“NCK INPUT 9 IS LOW”) the input is low “NCK INPUT 9 IS LOW” is displayed.
To test the run/test the program select the Cycle Start button.
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.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B051
B051
General
Information
Drive Module
power
Supply
Supply and
Enabling
Examples
Notes :
The system assigns the object/component numbers on the Drive-CLiQ Bus in the order they are connected.
CU is always object number 1.
The servo drives are classed as drive objects.
Motors, encoders etc are classed as drive components.
Components Motor, encoder etc. are then assigned in reverse order.
828D CU
Drive Object 1
Single Motor Module Double Motor Module Double Motor Module SMC20
Drive Object 2 Drive Objects 3 & 4 Drive Objects 5 & 6 SMC- 7
ENC- 8
•X200 X201• •X200 X201• •X200 X201• •X500
Notes :
The NX10 can only be connected to X102. The connected drives/motors are numbered in the same way as the CU.
The DriveCLiQ line module is always
assigned Object number 2.
Equipment connected to X101 is assigned to the CU, the numbering follows on from the last Component connected to X100.
X202 X203
• •
828D CU
Drive Object 1
Motor 6 Motor 7
SMI- 7 SMI- 4
X100 X101 X102
ENC- 8 ENC- 5
• • •
MOT- 9 MOT- 6
DMC20 25 SMC20
SMC- 26
ENC- 27
•X500 X502• •X500
SLM/ALM Single Motor Module Double Motor Module Double Motor Module SMC20
Drive Object 2 Drive Object 3 Drive Objects 4 & 5 Drive Objects 6 & 7 SMC- 8
ENC- 9
•X200 X201• •X200 X201• •X200 X201• •X200 X201• •X500
Notes :
Book-sized
Compact Motor
Module
A Axis
Drive Object 7
Drive Component 50
•X200 X201•
X202
•
828D CU
Drive Object 1 Motor 5
SMI- 51
X100 X101 X102 ENC- 52
• • • MOT- 53
SLM/ALM Spindle Motor Integrated X Axis Motor Y Axis Motor Z Axis Motor
Drive Object 2 Module Sensor Module Module Module Module
Drive Object 3 (SMI) Drive Object 4 Drive Object 5 Drive Object 6
•X200 Drive Component 10 Drive Component 14 Drive Component 20 Drive Component 30 Drive Component 40
Notes :
Line and motor modules are responsible for supplying power The drive modules require two power supplies in order to op-
to the motors. erate.
The Sinumerik 828D operates with the Sinamics S120 Book-
size range of drive products. These are of a modular design A 3 phase AC supply (380V to 480V +10% (-15% < 1 min) to
and are for use with the Drive-CLiQ drive bus system. 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
Line modules require a 3 phase AC supply, this is rectified bar system on the front of the drive modules beneath a flip
into a DC supply which is then supplied to the motor modules down cover
via the DC link bus bars.
The +24V DC electronics supply is obtained externally from
Motor modules convert the DC link back into a controllable AC the user on connector X24. This is also distributed by a bus
supply which is used to drive the servo motors. bar system along the front of the drive modules.
By regulating the frequency and voltage of the AC supply to The electronic supply is used internally by the drive modules
the servo motors it is possible to precisely control the move- for powering of the electronic circuitry etc. Externally it is used
ment of motors. for supplying the Drive-CLiQ encoders and fault, ready and
enable signals.
Line and motor modules are available in different variants
depending on the machine requirements.
Each module requires a +24V DC control voltage, this is sup- X24– Electronic Supply 24V DC
plied by the user to the line module and then distributed to the
motor modules via a bus system.
“M” Terminal: Electronics ground
Example, Line module with two motor modules:-
+24V DC Bus-bar
0V DC Bus-bar
+ DC Link Bus-bar
- DC Link Bus-bar
LM MM1 MM2
Notes :
Smart Line Modules (SLM) Connector locations X21, X22 & X24
The 5 & 10Kw SLM’s are not used on the Drive-CLiQ network, X24:
24V DC Elec-
because of this there are slight differences with terminal func- tronics supply
tionality compared to Drive-CLiQ type modules.
SLM
X21: X22:
Various signals Various signals X22 Terminal description and functionality
X24:Electronics
supply
Electronics/DC link
bus bars (below flip Terminal Function Description
down cover)
1 +24V DC +24 V DC Supply for use with the functions
(Output) of X22.2 & 3 described below.
Notes :
2 Pre- Switches low when any of the following conditions These models are always required to be connected to the
warning arise:- Drive-CLiQ drive bus network.
(Output)
Over-temperature threshold reached. The functionality of certain terminals is therefore different from
I²t threshold reached. the non-Drive-CLiQ SLM modules.
Mains fault making regenerative feedback Regeneration can be deactivated by parameter P3533-Inhibit
impossible. If feedback is intentionally regenerative operation.
deactivated (X22.2 is high) this warning is
disabled. Terminal locations of an internally cooled 36Kw SLM:-
This signal is for use by the manufacturer to set a
user alarm and alert the operator to a problem.
Notes :
Connector locations X21, X24, X200, X201 & X202 LED Status Display
Notes :
Active Line Modules (ALM) Location of ALM connectors X21, X24, X200, X201 & X202
X24:Electroni Electronics/DC
cs supply. link bus bars
Terminal Function Description
(below flip
down cover) 1 + Temp Temperature sensor input from Active Interface
(Input) Module (Observe the polarity)
LED status
Indicators 2 - Temp Temperature sensor input from Active Interface
(Input) Module (Observe the polarity)
Notes :
Green/ Flashing Component recognition is active (p0124 = 1) Example:- A single axis MM showing connector locations etc.
Orange or 2 Hz
Red/
Orange
Electronics/DC
link bus bars
(below flip down
cover)
LED Status
Indicators
X11: Brake output
for MM of 45A and
above
X1: Output to
Protective Motor, including
earth the brake output
terminals for MM less than
Notes :
X203:
X202: Drive-CLiQ
Drive-CLiQ
X21:Motor 1 X22:Motor 2
X202:
Enables etc. Enables etc. X201: Drive-CLiQ
Drive-CLiQ
X201:
X200/X201/X202/ Electronics/DC
Drive-CLiQ
X203: link bus bars
(below flip down X200:
Drive-CLiQ
cover) Drive-CLiQ
connectors X200:
Drive-CLiQ
LED Status
Indicators X1 & X2 Output Single axis Double axis
to Motor, Module Module
including the
brake output for
MM less than
45A
Connector X21 & X22 (X22 only for double axis modules)
Protective
earth X11: Brake out-
connections put for MM of
45A and above
Notes :
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 allowed by the system.
X200 to X205:
Drive-CLiQ
connectors
X220: Interface
for TTL 5v DMS
encoder
LED Status
Indicators
Notes :
X21/X22 X12/X13
Enables and tem- Fan supply and monitoring
perature sensor. X224 +24V DC
auxiliary supply
Terminal Function Description
3 Enable Applying +24V DC enables the pulses. (Current 1 Ground Ground connection for fan monitoring circuit.
Pulses consumption:10mA)
(Input) 2 Fan Fan monitoring signal, input from fan.
This signal must be removed at least 10ms prior Monitoring.
to the (Input)
3-phase mains supply being removed.
Failure to do this can lead to damaged drive mod- 3 +24 V DC +24V DC supply to fan.
ules. This is especially important when the axes/ (Output) Maximum 2 A. (1 x 2 A or 2 x 1A)
spindles are regenerating. If the mains circuit is
opened in this state, regenerative currents remain 4 Ground Ground for fan supply.
within the drive system causing damage to the
modules.
Notes :
+ M
DriveCLiQ Interfaces:
Notes :
13 B Incremental Signal B
Interfaces X1 to X5
Minimum 10ms-
if supply disconnected
while drive is operational
Mains supply
X1 Terminal Description and Functionality. E Stop active
DB2700.DBX0.1
Terminal Function Description Input to ALM/SLM via line switch
Enable Pulses
ALM/SLM
U1 U Phase Line Phase U X21.3
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 Drive-CLiQ
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
enable
from 828D
X100 X132.10 to
828D
Early break X122.1
Drive-
contact X21 X132 (OFF1)
CLiQ
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
Mains
supply
Drive
enable
from 828D
X100 X132.10 to
828D
Early break X122.1
Drive- 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
Notes :
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 person-
nel and help speed up the fault finding process.
Module Objective:
Upon completion of his module you will be able to use the Axis & Drive diagnostic functions.
Content:
Sinumerik
Axis Diagnostics
Drive Diagnostics
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B053
B053
Axis
Diagnostics
Drive
Diagnostics
Notes :
Service Overview Screen The displayed axes can be changed to suit personal prefer-
ences.
To navigate to the relevant diagnostics page please use the
following key presses.
Notes :
Notes :
The CU is the only drive object displayed, to view the other The “Status indicator” information indicates that the OFF1
drive objects press the “Input” key. enable signal is not present.
The lower half of the screen offers further information.
Notes :
The “Help” key, found to the lower right of the vertical soft-
keys can be used to get more information about Warnings/
Faults.
Notes :
Press the “OK” soft-key to confirm the changes, wait for the
dialogue box to clear.
Notes :
Notes :
Useful information is displayed when the “Details” soft-key is The level of displayed information about the components can
selected. be controlled with the “Display options” function.
These are known as the ”Electronic Rating Plates”.
Comparison Levels:
Notes :
Comparison Levels:
Service case 1: If a new component is to be fitted to a sys- Parameter r2 can also be used to view the status of the drives.
tem to replace a faulty one it is not necessary to change the
comparison level. The system should automatically load the
correct firmware to the new component.
Diagnostics Parameters
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 with the physical I/O of the ma-
chine.
Each periphery component needs to be configured, this is achieved with machine data and dip-
switches.
Periphery Components:
Machine control panels- The 828D controller uses one of three machine control panel variants for
handling signals such as mode selection, axis selection, federates, NC start etc.
- The MCP483 is 483mm in length and is recommended for use with the horizontal variant of 828D.
- The MCP310 is 310mm in length and is recommended for use with the vertical variant of the 828D.
- The 3rd variant is the OEM version (supplied/manufactured by OEM).
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 a
Siemens machine control panel (MCP) and PP72/48 periphery I/O modules.
Content:
Sinumerik
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B008
B008
PP72/48 PN
Description
and Interface
Signals
Profinet
Configuration
- MCP &
PP72/48
Profinet
Connections and
Diagnostics:
END
Notes :
MCP483 PN
S1
MCP310 PN
Notes :
SINUMERIK 828D
JOG REP REF T1 T2 T3 X Y Z
7 th 8th
MDA 10 100 T7 T8 T9
Axis Axis
Profinet Connections and Diagnostics
MCS
Auto 1000 10000 T10 T11 T12
WCS
Page 5
Blank for Blank for Single Cycle Cycle Spindle Spindle Feed Feed Key
Reset T13 T14 T15 — Rapid + Switch
user user block Stop Start stop start Start Stop
Note:- Cycle stop, Feed stop & Spindle stop-signals are inverted i.e. Normally closed.
The two blanks can be removed to allow the user to add extra buttons/switches/lamps.
Notes :
B008
B008
MCP483 PN Rear Layout
B008
B008
X10
X53
X54 X60 X61
X31 X51
X52
X55
X20
H3
H2
X30 H1 X21
Page 6
X5
S2
Interface Description: X51 Digital inputs X60 Hand-wheel - Not used on 828D
S2 Addressing switch. X52 Digital inputs X61 Hand-wheel - Not used on 828D
X5 Key-switch interface X53 Digital outputs
X10 24V DC supply X54 Digital outputs
Profinet Connections and Diagnostics
Notes :
SINUMERIK 828D
MCP310 PN Front Layout
SINUMERIK 828D
Spindle Spindle
JOG REP REF VAR T1 T2 T3 100 %
Dec. Inc.
Blank for
spindle
Teach Spindle Spindle Spindle override/
MDA T13 1 T4 T5 T6
In right stop left E stop
Override
Page 7
Cycle Cycle WCS Feed Feed
1000 - Rapid +
Stop Start MCS Stop Start
Key Blank for Blank for Blank for Blank for Blank for Blank for
Switch user user user user user user
Note:- Cycle stop, Feed stop & Spindle stop-signals are inverted i.e. Normally closed.
The six blanks can be removed to allow the user to add extra buttons/switches/lamps.
Notes :
B008
B008
B008 Profinet Connections and Diagnostics
X10
X53
X54 X60 X61
X31 X51
X52
X55
X20
H3
H2
X30 H1
X21
X5
S2
Interface Description:- X51 Digital inputs X60 Hand-wheel - Not used on 828D
S2 Addressing switch X52 Digital inputs X61 Hand-wheel - Not used on 828D
X5 Key-switch interface X53 Digital outputs
X10 24V DC supply X54 Digital outputs
X20 Port 1 Profinet connection in. X55 Digital inputs
X21 Port 2 Profinet connection out.
X30 Feedrate override interface. LED Indicators:
X31 Spindle override interface H1 Power OK (Green)
H2 BUSSYNC
H3 BUSFAULT
Notes :
The following tables show the interface signals for an MCP483 PN with the recommended start address of 112.
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 R14
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 :
User I/O pin assignment PP72/48 PN modules are a compact component which con-
nect to the Profinet network (Ports PN1 or PN2 of the PPU).
The 9 inputs and 6 outputs available on plugs X51 to X55 are
designed for use with switches/buttons and indicator lamps There are two variants, one of which is all digital while the
which can be installed in the blanked holes of the MCP. second offers both digital and analogue functionality.
Below shows the I/O assignment of each individual plug.
A 24V DC supply is required.
The input terminals in the normally open state measure 5V DC In total 72 digital inputs and 48 digital outputs are available on
(Supplied by the MCP) each of the two variants.
The inputs work by sinking the 5V DC signals to 0V (M). The analogue module has an additional two analogue inputs
and two analogue outputs.
The outputs terminals are supplied with +24Vdc from the MCP.
A maximum of 3 PP72/48 PN modules with the PPU240 and
No external voltages should be applied to the input and output PPU241 controllers.
terminals. A maximum of 4 PP72/48 PN modules with the PPU260 and
PPU261 controllers.
A maximum of 5 PP72/48 PN modules with the PPU280 and
Input Assignment (X51, X52 & X55): PPU281 controllers.
I122.6
1
I122.7 X111
2
I123.0
3
M (0 volts)
4
X55
Q119.0 Q119.3
1 1
Q119.1 Q119.4
2 2
Q119.2 Q119.5
3 3
M (0 volts) M (0 volts) X2 X2
4 4
X53 X54 X333
Notes :
The following Tables show the pins and I/O addresses for con- Pin Signal Pin Signal Pin Signal
nectors X111, X222, X333 This is assuming the PP72/48 PN is
1 0V DC 19 I8.0 37 Q4.6
configured with a start address of 0 (Input bytes 0, 1, & 2 and
output bytes 0 & 1). 2 +24V DC O/P 20 I8.1 38 Q4.7
The first input byte of X222 has FAST gating hardware. 3 I6.0 21 I8.2 39 Q5.0
4 I6.1 22 I8.3 40 Q5.1
5 I6.2 23 I8.4 41 Q5.2
Pin assignment X111 6 I6.3 24 I8.5 42 Q5.3
7 I6.4 25 I8.6 43 Q5.4
Pin Signal Pin Signal Pin Signal
8 I6.5 26 I8.7 44 Q5.5
1 0V DC 19 I2.0 37 Q0.6 9 I6.6 27 Not used 45 Q5.6
2 +24VDC O/P 20 I2.1 38 Q0.7 10 I6.7 28 Not used 46 Q5.7
3 I0.0 21 I2.2 39 Q1.0 11 I7.0 29 Not used 47 +24V DC I/P
4 I0.1 22 I2.3 40 Q1.1 12 I7.1 30 Not used 48 +24V DC I/P
5 I0.2 23 I2.4 41 Q1.2 13 I7.2 31 Q4.0 49 +24V DC I/P
6 I0.3 24 I2.5 42 Q1.3 14 I7.3 32 Q4.1 50 +24V DC I/P
7 I0.4 25 I2.6 43 Q1.4 15 I7.4 33 Q4.2
8 I0.5 26 I2.7 44 Q1.5 16 I7.5 34 Q4.3
9 I0.6 27 Not used 45 Q1.6 17 I7.6 35 Q4.4
10 I0.7 28 Not used 46 Q1.7 18 I7.7 36 Q4.5
11 I1.0 29 Not used 47 +24V DC I/P
12 I1.1 30 Not used 48 +24V DC I/P
13 I1.2 31 Q0.0 49 +24V DC I/P
14 I1.3 32 Q0.1 50 +24V DC I/P
15 I1.4 33 Q0.2
16 I1.5 34 Q0.3
17 I1.6 35 Q0.4
18 I1.7 36 Q0.5
Pin assignment X222
Notes :
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
Content:
PLC Design
Sinumerik
Symbol Tables
Cross Referencing
Data Blocks
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B026
B026
General PLC
Interface
Description
Creating a PLC
Project
(PLC Part 1)
Uploading &
Downloading
PLC
Projects
Editing PLC
programs
(PLC Part 2)
Symbol
Tables
Cross
Referencing
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 precedent.
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 trans-
(Inputs) ferred to the Process Image Table.
The INT_100 interrupt block can be used to influence the
Interrupt INT_100 Process Image Table (Inputs).
Subroutine
Subroutine
Subroutine
End
of
Scan
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 Appendix C.
DB1000 User data (Area 1)
DB1100 User data (Area 2)
DB1200...DB1207 PLC functions and PI services
DB1400 Retentive data area
DB1600 PLC user alarms
DB1700 Program control (HMI to PLC) & SMS Messenger
DB1800 Mode signals (HMI to PLC), date/time (from PLC) & Maintenance Planner
DB1900 General status/selection signals to/from Operator Panel, RCS viewer inhibit
DB2500 Auxiliary functions M, T, S, D & H functions
DB2600 General signals to NCK
DB2700 General signals from NCK
DB2800 Signals to fast I/O
DB2900 Signals from fast I/O
DB3000 Operating mode signals (PLC to NCK)
DB3100 Operating mode signals (NCK to PLC)
DB3200 Signals to NCK channel, Signals to geometry axis
DB3300 Signals from NCK channel, Signals from geometry axis
DB3400 Signals for Asynchronous sub routines
DB3500 G Functions from NCK channel
DB3700...DB3707 M/S Functions from axis/spindle
DB3800...DB3807 Signals to axis/spindle/drive/PLC axis & technology functions
DB3900...DB3907 Signals from axis/spindle/drive/PLC axis & technology functions
DB4000...DB4300 Signals to/from tool management
DB4500 PLC machine data and PLC user alarm configuration
DB4600...DB4700 Synchronised actions
DB4900 Reading/writing PLC variables
DB5300 Tool management signals from NCK
DB5700...DB5707 Reading actual values/distance to go
DB9900...DB9902 Tool management-user interface
DB9903...DB9904 Maintenance planner user interface
DB9905 Easy Extend user interface
The Machine Control Panel is allocated to a certain Input/Output area.
Notes :
Toolbox Examples The PLC part of the commissioning procedure is in two parts.
Part one is intended to get the machine control panel and hand
The PLC program is created using the PLC828 Programming -wheels functioning using the MCP_483_M.ptp and Hand-
Tool software package which is part of the 828D toolbox. wheel.ptp toolbox examples.
Also included in part 1 is the Prog_control.ptp example.
The toolbox also contains examples of PLC projects
Procedure:
The following should be noted before using the examples
from the library: There are several MCP examples available:
The examples are found in the examples folder created when It is advisable that the project is saved under a different and
the toolbox “zip” file was extracted. appropriate name. This will keep the example intact so that it
can be used again in the future.
To save the project select “Save as” from the drop down menu.
Enter a suitable
name for the project.
Notes :
The right hand window of the PLC828 programming tool con- The other networks contain calls to subroutines, additional in-
tains the ladder logic of the selected program block. formation about the subroutines can be seen when the network
Network 1 has the comments “Important: see comment” comments are double-clicked.
The comments are revealed by double clicking on the com-
ment.
Double-click
Double-clicking the net work title text will reveal the comments
regarding the use of the example files.
Double-click
Double-click
Notes :
In the Hand-wheel.ptp
project, Right click on the
Spindle assignment Handwheel subroutine
and select “Copy”.
In order for the MCP to correctly process the spindle specific
signals it is necessary to declare the spindle axis number.
In this example the spindle is number 4
Notes :
The properties dialogue box of the Subroutine is opened auto- The Data Block (DB9051) is located in the Data Block folder,
matically. this is copied and pasted using the same method that was
The properties can be edited if required. used for the subroutines.
Double-click
Notes :
Notes :
Double click on the subroutine to add it to the network in the Uploading and Downloading PLC projects
target area.
The PLC project (Part 1) is now complete and can be
downloaded to the controller.
The machine control panel will be fully functional.
HMI functions such as Program Test (PRT), Mode selection
etc. will also be possible.
Notes :
Download button
Notes :
The option to download the project in stop or run mode is of- The subroutine will be assigned the next available number.
fered along with a warning about the dangers of downloaded in The number and name can be changed if required.
run mode. Comments and information about the author can also be
added.
If in doubt always use the option “Place the PLC in STOP
mode.”
Calling a subroutine
Notes :
Notes :
The toolbar contains shortcut keys which can also be used to The branch will now appear, operands can the be added in
add operands. the usual way.
Example: Click the contact button and select the To enter a network comment double click on the network title.
contact type from the list.
Notes :
The symbol table opens and displays the symbols for the 1st
PP72/48 module.
Notes :
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
With both symbolic information selections active:
finding process.
The symbols used should match those of the electrical dia-
grams.
Symbolic
Example: Modified PP_1 symbol table addressing
To see the effect of the symbol table, the options “Symbolic Symbolic
Addressing” and “Symbol Information Tables” have to be Information
selected in the “View” menu. Table
Cross Referencing.
Compile
button
Notes :
Double click to Double click to b Indicates that a bit of memory has been assigned.
open the block open the block
at the exact Double click to at the exact B Indicates that a byte of memory has been assigned.
location of the open the block location of the
element at network 1 element W Indicates that a word (16 bits) has been assigned.
Tabs for selecting Cross Reference, Byte Usage and Bit Us-
age formats.
Notes :
Data Blocks The online values of the Data Block can be viewed by select-
ing the Data Block Status button on the toolbar:
A Data Block is an area of memory used for handling data.
Certain Siemens functions rely on Data Blocks (Tool manage-
ment, Service Planner etc.)
These are present in the Library folder of the 828D Program-
ming Tool and have to be added to the project if required.
User Data Blocks are also possible and have to be created. Data Block Data Block
Current Status
The Data Block data types can be: values. Button
Boolean
Byte
Word
Double Word
Integer
Double Integer
Real
Write all
button.
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.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B019
B019
Or Functions
Compare
Functions
Move
Functions
Convert
Functions
Program
Control
Functions
Counter
Functions
Shift/Rotate
Functions
Floating Point
Number
Functions
Timer
Functions
Integer
Functions
Libraries
Interrupt
Functions
S7-200 PLC
Instructions
END
Invert
Functions
Notes :
General Information
Bit Logic Function
Address Formats:
Instruction Tree:-
The instructions are found in the menu tree to the left of the
Bit- This refers to a single element of logic e.g. I6.0, Q5.5,
main programming area.
M100.6, DB3804.DBX2.1.
The Bit part is the number after the decimal point. The value of
a bit is either 1 or 0.
In this example I4.0, I4.2, I4.5 & I4.7 are equal to 1. Another
term for being equal to 1 is that these bits are High. The instructions are divided into different sections, these are
The bits equal to 0 are termed as being Low. expanded by clicking on the “+” symbol.
Output Bytes (QB) and Marker Bytes (MB) can also be used in
the same way.
Notes :
Coils:
Set and Reset example:-
As the names suggests, “Coils” are switched on/off by
“Contacts”.
Typical coil operands are Outputs, Markers, Variables, Data
Blocks, Timer & Counters. It is also possible to have an input
as a coil but this can be deemed as bad
practice. I6.5= 0, however Q4.5 I6.6 = 1, this has the ef-
remains high because it is fect of resetting Q4.5 to 0.
a “Set” output.
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 :
Compare Functions
When I6.3 changes from 1 to 0, Q4.4 will become high for one Compare bytes for being equal
scan of the PLC cycle.
Notes :
Compare bytes for being greater than When I6.0 is true the integer value in MD0 will be converted
into a real number and the result placed into MD4.
It is also possible to extend the network via the “ENO” output
to other operands. The “ENO” output will be high if the convert
function was successful.
IB6 = 6 and IB7 = 7, IB6 is Truncate (Converts 32-bit real to 32 bit signed integer).
IB6 = 15 and IB7 = 14, IB6
less than IB7 so the status is greater than IB7 so the
is false. Q5.4 = 0. status is high. Q5.4 = 1.
The Truncate Function takes a 32 bit Real number and cov-
Compare bytes for being greater than erts it into a 32 bit Double Integer which is signed. In other
words only the whole number portion of the real number is
transferred. The fraction is discarded.
Example:-
When input I6.1 is true the value of –1.1 in MD0 was trans-
ferred to MD8 as a value of –1. Output Q4.5 was set high by
the ENO output.
IB6 = 15 and IB7 = 14, IB6 IB6 = 6 and IB7 = 7, IB6 is
is greater than IB7 so the less than IB7 so the status
status is low. Q5.5 = 0. is high.
Q5.5 = 1.
Notes :
Integer to Binary Coded Decimal. Below:-Network 19 count up counter C1. The count value
can be seen to be equal to six, this mean that the CU input
This function will convert a value from an integer to BCD . (I6.4) has detected a rising edge on 6 occasions since the
Permitted ranges: reset (I6.4) was triggered.
Network 20 is an example of how the counter can be used in
HEX BCD Decimal the PLC logic. In this case the preset value (PV) of 10 has
Minimum 0000 0000 0000 0000 0 0 not been reached so the status is low.
Counter functions
Count up counters
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 Below:-Network 19 count-up counter C1. The count value
count value will increment by one. can be seen to be equal to ten, this means that the CU input
The count can be reset at any time by setting the R input from (I6.4) has detected a rising edge on 10 occasions since the
low to high. reset (I6.4) was triggered.
When the counter is first selected in the user program it needs Network 20 is an example of how the counter (C1) can be
to be given a name (Available range C0 to C63). used in the PLC logic. In this case the preset value (PV) of
A preset value is entered in the PV input field as an integer, 10 has been reached so the status is high, this results in
when the count value is equal to or above this value the output Q4.7 being switched high.
counter will be true. The counter operand (e.g. C1) can then The C1 operand will remain high until the reset input R (I6.5)
be used elsewhere in the user PLC program. detects a rising edge. The count value stored in C1 will then
be set back to zero.
Below:-A counter selected in the user program but not yet
parameterised.
C1 count value = 10
A preset value is
entered here e.g 10
Notes :
Below:-The reset input has been switched from low to high Below:-Countdown counter C2 showing a count value of 4.
resulting in the count value being reset to zero and the C1 This means that the CD input has detected a rising edge from
operand becoming false. No further counting can take place I7.0 on 6 occasions since the preset value of 10 was entered.
until the reset signal is set to low.
Counter C2 with a
count value of 4.
Countdown counters are used to monitor the rising edge of a Counter C2 with a
signal, each time a rising edge is detected on the CD input
the count value will decrement by one.
When the count value reaches zero the counter operand be-
comes high.
Prior to using the countdown counter a value has to be en-
tered into the Preset Value PV input field.
This value has is then transferred into the counter when the
LD input (I7.1) changes from low to high.
The count value can be reloaded at any time by setting the
LD input from low to high.
When the counter is first selected in the user program it
needs to be given a unique name (Available range C0 to
C63).
Output Q5.6 set
high as a result of
countdown counter
Below:-Count down counter C2 with a PV of two, this PV C2 reaching zero.
value will be entered into the counter when the LD input I7.1
switches from low to high.
This count value will decrease by one on each positive edge
detection of the CD input I7.0.
Notes :
Below:-Countdown counter C2 showing a count value of 10 Below:- When the count value is less than the preset value
after the LD input detected a rising edge from input I7.1. This the C3 operand will be low. In this example the count value is
also results in the C2 operand becoming false as seen in net- 9 after the countdown input I7.4 was switched from low to
work 22. high.
The counter C3 has a count
C2 count value = 10 value of 9 which is less than
Notes :
Addition of real numbers The SUBTRACT function is parameterised in the same way as
the ADD function. When the function runs the IN2 value will be
Below:- The function requires parameterisation on first selec- subtracted from the IN1 value and the result placed in OUT.
tion.
Values to be added:
IN1 32 bit real number
IN2 32 bit real number added to IN1
Result:-
OUT 32 bit real number
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 :
Integer Functions
Division of real numbers Addition and Subtraction of integers.
Result:-
OUT 16 bit integer or 32 bit double integer.
Confirmation:-
Below:- Example of the divide function. MD100 ÷ MD104 = ENO Bit goes high if the operation was successful.
MD112 (16 ÷ 2 = 8) Output Q6.3 is high.
Below:-Examples of adding/subtracting Integers and double
integers.
Adding Integers
MD208 - MD212 =
MD240
(9000) - (3000) = (6000)
Notes :
Notes :
Examples:-
And Byte
Invert Functions
The invert function inverts the bit pattern of a byte, word or
double word. When viewed in the program status area this is
not very clear.
It is better to look in the chart status area. And Word
Invert Byte
And Double Word
Invert Word
This is better seen in the Chart Status area.
Notes :
The OR function compares two bytes, words or double words. The Exclusive OR function compares two bytes, words or dou-
If either one or both of the corresponding bits are high the ble words. If either one but not both of the corresponding bits
relevant output bit will be set. are high the relevant output bit will be set.
OR Byte
Exclusive OR Byte
OR Word
Exclusive OR Byte
OR Double Word
Exclusive OR Double Word
Notes :
Program Control
Jump Instruction & Labels
Move Double Word
The Swap function takes the lower byte data and places it in
the higher byte and vice versa. The swap is initialised via the
EN input. The swapping continues every PLC cycle as long as
the input is high. A positive edge instruction can be used to
control the swapping of data more effectively.
Notes :
Notes :
Shift Right:
The example below shows the result when viewed in ladder
status, a better idea of this is seen in Chart Status.
Shift Right:
The Results:
Shift/Rotate Functions
Shift Left: Timer are used to delay the effects of a signal when it
switches. There are a total of 128 timers available (T0 to
T127).
T0 to T15 have an input resolution of 100ms with a maximum
preset time (PT) value of 327.67 seconds.
T16 to T127 have an input resolution of 10ms with a maxi-
Notes :
On-Delay Timer Below:- The time value of T1 has gone beyond the PT value.
As a result the T1 operand in network 8 is high and has
When a timer is selected it needs to be given a name (T0 to switched output Q5.0 high.
T127) and a Preset Time value (PT).
Timer name - Txxx T1 value
has
surpassed
the PT
value of 50
Preset Time (PT)
T1 operand is now
high, Q5.0 is also
high as result
Below: On-Delay timer T1 has been a PT value of 50 this
equates to a delay of 5 seconds (50 x 100ms).When Input
I7.0 becomes high, T1 will start to count, when the PT value
is reached the T1 operand will switch high. As a result Q5.0
will be come high (Network 8) as long as I7.0 remains high T1 Below: Input I7.0 has gone low and the T1 time value is reset
will continue to count and the T1 operand will remain high. to zero. The T1 operand also goes low as a result.
When I7.0 becomes low, the count value of T1 will reset to
zero and the T1 operand will go low.
Notes :
The Input I7.1 is now low, T2 has stopped counting but retains The Off-Delay Timer T3 shown below monitors the IN input.
the count value. The T2 operand remains high. If I7.1 be- When this input is high, the T3 operand is also high as seen in
comes high again the time value in T2 will continue. 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
Timer retains the zero.
count value
The timer is reset using the Reset function which can be seen
in network 8 below. Timer operand T3 remains high
Timer reset by I7.2 The Timer has counted up to the PT value, as a result the
T3 operand has been reset to zero. The timer value is reset
to zero when the IN input goes from low to high.
Timer count value
reset to zero
Off-Delay Timer
T3 operand is now zero
The Off-Delay Timer T3 shown below monitors the IN input.
When this input is high, the T3 operand is also high as seen in
network 12. The Timer has counted up to the PT value, as a result the T3
When the timer detects a falling edge on the IN input the time operand has been reset to zero. The timer value is reset to
value in T3 will count up, when this value reaches the value of zero when the IN input goes from low to high.
PT (75 x 100ms = 7.5 seconds) the T3 operand will be set to
zero.
Notes :
Libraries
Interrupt Routines
Data Blocks
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.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B033
B033
Initialise ASUP
PI Services
Start ASUP (Program
Reset password Invocation
Save data Services)
Tool reloading
Read axis positions
Read and write NC variables Reading Axis
Exchange data between the NC and PLC Positions
Control an axis from the PLC
Reading and
Writing of
NC Data
Data Ex-
change
between NC &
PLC
PLC con-
trolled
axis
PLC
Functions:
END
Notes :
A PI Service is an NC task which can be initiated from the LIFTFAST: When the ASUP is requested, fast retraction of
user PLC program. Interface signals are used to select the the tool from the contour takes place prior to the ASUP run-
required service, initialising, starting and monitoring the status ning.
of the service are available at the interface.
BLSYNC: When the ASUP is requested, the current program
PI Services that can be used:- block is processed prior to the ASUP running.
ASUP - Asynchronous User Program
PI Services Start Bit Function
LOGOUT - Password Reset
_N_DASAVE - Saving of Data DB1200.DBX4000.0 Start PI Service
TMMVTL - Tool Reloading via the PLC PI Service: LOGOUT - Password Reset
PI Index (DB1200.DBB4001) Function
PI Service: ASUP - Asynchronous User Program
3 Password Reset
A PLC ASUP is a program which can be initialised and started
from the user PLC independently of the normal NC operations. PI Services Start Bit Function
Two ASUPS are available (PLCASUP1.SPF and DB1200.DBX4000.0 Start PI Service
PLCASUP2.SPF). These have to be created by the user and
stored in the “Manufacturer cycles” directory. There are no PI parameters required for LOGOUT.
The required ASUP is initialised by entering a value of 1 or 2
into the PI index PI Service: _N_DASAVE - Saving of Data
interface. PI Index (DB1200.DBB4001) Function
Each ASUP first requires initialising before it can be run, this is 4 Save data automatically
achieved by setting the “Start PI service” bit high when the
relevant “PI index value” is active. The ASUP remains initial- PI Services Start Bit Function
ised until the control is powered off/on:- DB1200.DBX4000.0 Start PI Service
PI Parameter Address (Word) Signal Permitted values 5 DB1200.DBW4012 Target Maga- 1 to 32000
(1 to enable) zine Number
Notes :
The following interface signals are reserved for use with the PI Services function.
4001 PI-Index
1: ASUP1, 2: ASUP2, Password Reset, Saving of Data, Tool Reloading via the PLC
4002
4003
4004 PI-Parameter 1
4006 PI-Parameter 2
4008 PI-Parameter 3
4010 PI-Parameter 4
4012 PI-Parameter 5
4014 PI-Parameter 6
4016 PI-Parameter 7
4018 PI-Parameter 8
4020 PI-Parameter 9
4022 PI-Parameter 10
0001 Asup 2
start
0002
0003
Notes :
Example: Initialise and start an ASUP A subroutine should be created in which to write the PLC
code to initialise and start the ASUP.
The ASUP has to be created either offline and loaded to the
controller or it can be created directly on the controller. To
create on the controller use the following soft-key sequence. Select PI Service no.
Path = NC data\Cycles\Manufacturer cycles. 1 (ASUP1) by putting
a value of 1 into
DB1200.DBB4001.
Notes :
The following example can be used to reset the active pass- Select PI Service
word. no. 4 by putting a
value of 4 into
DB1200.DBB4001.
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.
Moving the 1st axis actual position into MD100 using the
MOV_R instruction.
The value is read only when DB2600.DBX1.1 is high.
Notes :
Up to eight variables can be addressed at any one time, identified by substituting a number (0 to 7) in place of the 4th digit of the
DB number. Example
DB1200.DBB1000 - 1st variable
DB1201.DBB1000 - 2nd variable
DB1202.DBB1000 - 3rd variable etc.
DB1200-
PLC NCK [r/w]
1207
1006
1008 Writing data to NC variable
Notes :
2001
DB1200-
Line Index number of NC variable x +1 [r]
1207
Access result
3001 0: No error; 1:Illegal access to object; 5: Invalid address; 10: Object does not exist.
3002
3004 Reading data from NCK variable
The following tables show the interface signals required for each of the variables.
DB120x.DBB1000 1
DB120x.DBB1001 —
DB120x.DBW1004
DB120x.DBD1008 Write: Data to 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.DBB1000 3
DB120x.DBB1001 —
DB120x.DBW1002 Frame index * numMachAxes + AxisNumber
DB120x.DBW1004 —
DB120x.DBD1008 —
DB120x.DBD3004 Read: Data to NCK variable x (Real number)
DB120x.DBB1000 4
DB120x.DBB1001 —
DB120x.DBW1002 —
DB120x.DBW1004 —
DB120x.DBD1008 —
DB120x.DBW3004 Read: Data from NCK variable x (Word)
Notes :
DB120x.DBB1000 5 DB120x.DBB1000 9
DB120x.DBB1001 —
DB120x.DBB1001 —
DB120x.DBW1002 Location number
DB120x.DBW1002 R Number + 1
DB120x.DBW1004 Magazine number
DB120x.DBW1004 —
DB120x.DBD1008
DB120x.DBD1008 Write data to NCK variable x (Real number)
DB120x.DBW3004 Read: Data from NCK variable x (Word)
DB120x.DBD3004 Read: data from NCK variable x (Real number)
Example: Reading data from an R parameter
DB120x.DBD1008 For the example it is better to have a value other than zero in
DB120x.DBW3004 Read: Data from NCK variable x (Word)
the selected R parameter. To locate the R Parameter screen
use the following key selection:
Meaning of the results in location status DB120x.DBW3004.
1. Disabled
2. Unassigned
4. Reserved for tool in buffer
8. Reserved for tool to be loaded
16. Assigned to the left half location
32. Assigned to the right half location
64. Assigned to the upper half location
128. Assigned to the lower half location
Notes :
Value of 25 written
to
DB1200.DBD1008
Start signal.
When the start signal is set to high, the value in R10 will be
transferred to DB1200.DBD3004. The read/write signal has to
Below: Status of target variable prior to the start signal. be set to Write.
(1 = Write).
The value from R10 will now appear in DB1200.DBD3004. The value from DB1200.DBD1008 will now appear in R10.
This value remains there only as long as the start signal is This value remains there until the start signal is removed.
present.
Notes :
Data exchange between NC and PLC This can be checked in the Chart Status of the PLC828 pro-
gramming tool:
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.
Notes:
1. The data structure in the data area is defined by the
user.
2. Data reading by the NC can activate a pre-read stop
(internal STOPRE).
When the cycle start button is pressed the value be copied 3. A maximum of 3 sets of data can be written by the NC
from R10 to the destination variable. in the same
program block.
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.
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
Notes :
Command position
of the axis (“real”
value).
Notes :
PLC requirements:
Select positioning
by index table. Bit
1.7 = high.
Selecting the
index position
e.g. 5.
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:
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 ma-
chine.
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 Configuration
Alarm Log
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B031
B031
Alarm
Configura-
tion
Entering the
Alarm Text
User Help
Files
Alarm Log
PLC Alarms
and
Messages:
END
Notes :
10000 - 19999 Channel alarms The alarms/messages can be displayed in red or black. Red
is traditionally used to indicate a more serious alarm and
20000 - 29999 Axis/Spindle alarms black is used for a message type situation.
60000 - 64999 Cycles alarms Siemens The effect an alarm/message has on the machine is configur-
able via general machine data 14516. The same machine
65000 - 69999 Cycle alarms Customer data is used to determine how the alarm/message is acknowl-
edged.
100000 - 199999 HMI alarms
The alarm/message text can be input via the controller or
200000 - 299999 Sinamics alarms created offline.
300000 - 399999 General drive alarms
The extended alarm function allows the same alarm/message
number to be used for different situations by substituting part
400000 - 499999 PLC alarms Siemens
of the text for a numerical variable. The following shows infor-
700000 - 700247 PLC alarms/messages Customer mation required for setting and configuring alarms.
As soon as a fault occurs on the machine, an alarm together When alarms and messages are triggered they are separated
with the alarm number, alarm text and the acknowledgement/ and displayed on different screens. The time and date of the
clearance will be shown on the screen. alarm/message occurrence is given.
Select the following keys to locate the screen where the ac-
tive alarms and messages are displayed.
Notes :
Below is an example of two alarms in the Alarm list. The table below shows the alarm numbers and their associ-
ated interface signals and configuration machine data.
14516[xx] Effect/Acknowledgement
Bit 0 NC start inhibit
Bit 1 Read in disable
Bit 2 Feed disable
With values of less than 500 there is no rotation cycle. Values Bit 3 Emergency stop
of 500 to 10000 set the time that each alarm/message is dis-
played for. Bit 4 PLC stop
The units are milliseconds. Bit 5
The machine data is activated with an NC reset.
Bit 6 Acknowledged by DB1600.DBX3000.0
Bit 7 Acknowledged by Power off/on
Notes :
%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 sev-
eral 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.
Notes :
The text entered earlier can be seen within the file. When edit-
ing is important only to change the alarm number within the
<source> tag and the alarm description within the
<translation> tags. the rest of the file structure should be left
unchanged.
The file is automatically saved when the “Exit” soft-key is se-
lected.
The colour of the alarm text can be either black or red. This
is selected at the right of the text input field.
Notes :
Entering the Alarm Text continued When the search soft-key is selected further options are re-
vealed which can be used to locate alarms and text in the
The alarm text editing screen has search, copy, paste delete alarm list.
functionality. This is useful when editing exiting alarm texts.
Example 1. Example 2.
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 italicised text denotes folders that require creating. Separate folders are required for each language where the Help
file is to be utilised.
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.
Notes :
<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 :
User Help Files continued Creating the help files/directories on the controller
The folders can be created directly on the controller or by using
Testing the help file on the controller the RCS Commander software package.
To test the Help file the alarm specified in the Help file should
be activated. Creating the help file folders on the controller:-
Alarm 700001 is activated by DB1600.DBX0.1
Locate the directory where the folders are to be created.
With the alarm active locate the “Alarms/Messages” screen. System CF-Card\oem\sinumerik\hmi\hlp
Notes :
Highlight the new folder and select the “New” soft-key. As mentioned previously it is possible to create the directo-
ries/help files directly on the controller or offline using an AS-
CII editor (e.g. Notepad®). This is usually a more comfortable
method than stood at the controller. 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 RCS
Commander software.
“System CF card\oem\sinumerik
\hmi\hlp\eng\sinumerik_alarm_plc_pmc”
This shows the time when the alarm occurred and when it
was cleared.
The file will automatically open in readiness for the HTML code
to be entered,
The file is closed with the following soft-keys:-
Notes :
Alarm Log continued Time controlled: The log will be saved at the interval entered
in the Write interval area (max. 32000 seconds).
The “Display new” soft key is used to refresh the list and dis-
play any alarms that have recently occurred.
This option carries similar risk to the “At every event” option
and the same warning is displayed.
The “Settings” soft key is used to refresh the list and display
any alarms that have recently occurred.
There are a number of options which can be selected by us- The controller needs to be restarted to make the changes
ing the cursor and select keys and confirmed with the “OK” effective.
soft key:-
Use the “Cursor” and “Input” to locate the “alarm log” direc-
When this option is selected, a warning is displayed. By leav- tory.
ing this option permanently set, the life of the internal flash
card will be reduced.
Notes :
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 faulty inputs or outputs to be software rewired.
Module Objective:
Upon completion of this module you will be able to use the 828D PLC viewer to diagnose PLC re-
lated problems. You will be able to rewire inputs and outputs using the ladder editor
Content:
Sinumerik
PLC Diagnostics
Interrupt Routines
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B058
B058
Interrupt
Routines
PLC Onboard
Diagnostics:
END
Notes :
In this example I4.0, I4.2, I4.5 & I4.7 are equal to 1. Another
term for being equal to 1 is that these bits are High.
The bits equal to 0 are termed as being Low.
Output Bytes (QB) and Marker Bytes (MB) can also be used in By default the first page displayed is the “PLC-CPU” screen
the same way. contains information regarding the PLC project and cycle
time information.
Word- A Word is a collective of 16 bits of logic which encom-
passes two consecutive Bytes.
Operating Status
A Word can only be addressed as 0 or an even number (IW0,
IW2, IW4 etc) odd numbers are not allowed. Name: Taken from the
PLC828D project
As with the Byte format the numbering starts from the right. name. Last Changed:
Example IW4 Last time the project
was modified.
IB5 IB4
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 Version Information:
Supplied by the sys-
In this example I4.0, I4.1, I4.4, I4.5, I4.6, I5.1, I5.2, I5.5, I5.7. tem.
are equal to 1.
Output Words (QW) and Marker Words (MB) can also be used
in the same way. Cycle Time: The cycle
time of PLC-CPU
processor.
Double Word- A Double Word is a collective of 32 bits of logic
which encompasses two consecutive Words (Four consecutive Processing Time: The
Bytes). time taken to process
the PLC logic.
A Double Word can only be addressed as 0 or an even number
which is a multiple of four, (ID0, ID4, ID8, ID12 etc) odd num-
bers are not allowed. The processing time information display can be
reset by the “Reset pro. time” soft key
Example ID4
IB7 B6 B5 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
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
Output Double Words (QD) and Marker Double Words (MD) can
also be used in the same way.
Notes :
Operating Status: The “Delete all” soft key will delete all entries on the list.
The operating status can be in Run or Stop mode. The status
is indicated at the top of the screen. It is possible to change
the operating state via soft-keys.
After certain procedures the PLC may be left in STOP mode
and require manually starting. It my also be necessary to stop Individual entries can be edited/deleted by using the Insert,
and start the PLC to clear PLC related faults. Delete and Cursor keys found on the keyboard.
PLC Stop:
NC/PLC Status
The status of the operands/variables used within the PLC
program can be checked via the “PLC Status” soft key.
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
H = Hexadecimal
F = Floating point number (only for The marker M8.0 should now have changed to a value of 1.
Double Words)
Notes :
It is useful to have this function in the commissioning stages. The default screen shows all available variables. To find a
Sometimes after data loss, it may also be necessary to enter particular variable the “Filter/Search” function is available.
values into Data Blocks using this method. This depends upon
the machine manufacturer. Caution should be taken when at-
tempting to manually enter data as unwanted movements may
occur. Filter
It is not possible to force operands which are being addressed The Filter is available to narrow down the number of vari-
by the PLC program. ables on display. Cursor to the filter tab, the list is revealed
by selecting the “Insert” key.
The values stored in counters and timers can also be viewed.
This is best done in decimal format.
Insert Variable
Search
The “Insert Variable” soft-key opens a list system variables Ensure the “Search” tab is highlighted and type all or part of
which can be directly selected for monitoring. the variable name. The search is automatic and as soon as
the first letter is entered the search will begin.
When the desired variable is found and highlighted, select
the “OK” soft-key. The
variable will then appear in the NC/PLC Status List.
Notes :
Save mask: The list of operands that have been typed can be
saved to a file.
[U1,1]
Cursor to the preferred target area for the file:
Notes :
Load Mask: Previously saved files can be loaded using this The value entered in box will become the first entry at the top
function. of the list.
Each of the three columns can be changed this way .
Select the columns using the cursor keys.
Notes :
Symbol Info
The symbol information for a whole network can be viewed by
selecting the network followed by the “Symbol info” soft key
The text of the soft key will now display the selected subrou-
tine number e.g. SBR6 A table will appear containing the symbol information for that
particular network.
Notes :
Notes :
It is also possible to search in the current program block or all Refer to the previous
program blocks. pages for examples of
search options.
Symbol table
The “Go to” option is used for searching for a network within
the open program block.
The “Edit” softkey allows the table to be changed.
The “Find subroutine command” option is used for searching A combination of these soft-keys and the “Insert” key
for a specific instruction within the program. is used to edit the symbol table
Notes :
The changes now need to be loaded into the CPU:- The new entry should be visible when the symbol table is
viewed.
The ere are two types of symbol table available, the system
symbol tables are not available for editing. these are named
“SYS_SYM0”,” SYS_SYM1” etc.
The “USER_SYM0”,”SYS_SYM1” tables etc, are for the user
and can be created & edited.
After approximately 30 sec. the Operating Status of the PLC The “Delete” soft-key” is used to remove any unwanted sym-
should change to run. bol tables. The table is deleted immediately the soft-key is
pressed, no confirmation dialogue box is shown.
Notes :
On tables with a large number of entries it is possible to use If the search target appears in the cross reference list more
the search function. than once, use the “Continue search” option.
The cursor and select keys are used to populate the search When the correct place is located cancel the search function
dialogue box as described previously in the module. and open the program block via the “Open in window 1” or
“Open in window 2” soft-keys.
OR
OR
Cross Reference
The “Cross ref.” function allows the user to see what operands
are in use and in which blocks they are used.
Notes :
Notes :
While it is not possible to edit the PLC program on the controller, there is the possibility of influencing the PLC program by using
Interrupt Blocks 100 & 101 (INT_100 & INT_101).
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 precedent.
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 trans-
(Inputs) ferred to the Process Image Table.
Interrupt INT_100 The INT_100 interrupt block can be used to influence the
Process Image Table (Inputs).
Subroutine
Subroutine
Subroutine
Interrupt INT_101 The INT_101 interrupt block can be used to influence the
Process Image Table (Outputs).
Process Image Table At the end of the scan, the status of the outputs is trans-
(Outputs) ferred to the Process Image Table.
End of Scan
Notes :
It is possible that the user PLC program does not contain the
interrupt blocks.
The blocks can be added via the controller providing General
Machine Data 19730[0] bit 25 is selected. To check the ma-
chine data use the following key selection:
OR
The list shows that the blocks are not loaded. To load the To add interrupt INT_101 the same procedure is followed.
blocks select the “Add” soft-key.
Use the “Insert” key to reveal the list under the ‘Number of
interrupt program” heading.
Select the number “101” with the mouse and press the “OK”
soft-key.
Notes :
OR
The interrupt should now be shown in the “Program block” Networks are automatically re-numbered.
list.
To add logic to the block the “Line” in the network has to be
highlighted and the “Insert operation” soft-key selected.
The selected block will open in readiness for editing. The operation now appears in the network.
Notes :
The value is confirmed with the “Input” key. Loading the changes to the CPU:
To add the next operation the next part of the network should When loading in CPU is complete, the PLC must be re-
be selected with the cursor key and the “Insert Operation” soft- started.
key.
Example:
I7.0 fails to change state when the +24V signal is applied/
removed. I6.0 is an unused input, remove wire from I7.0 and
connect to I6.0. Use the interrupt INT_100 as shown so that
The available operations are limited to:- I7.0 is the same state as I6.0.
NOT
Positive Edge The position of interrupt INT100 in the PLC scan means that
Negative Edge the logic contained within takes precedence over the PII table.
Standard Coil
Set Coil
Reset Coil.
Interrupt Routine INT_101
This example is using a standard coil.
Editing of the INT101 interrupt routine is exactly the same as
for INT100.
When the editing is complete, select “Accept”. The position of interrupt INT101 in the PLC scan means that
the logic contained within takes precedent over the logic in the
standard program blocks and writes directly to the PIQ table.
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
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B068
B068
Preparing
the
Controller
NC Machine
Data
Configuring
the MCP and
Periphery
Devices
Axis Enables
Drives:
Firmware Update
& Configuration
Drive Optimization
Combi Drives:
Drive Configuration
(Start-up Tool)
Data Management
Combi Drives:
NC Axis Assign-
ment Commissioning
sequence:
END
Notes :
Certain software tools and a computer are required in order to carry out the commissioning.
The software tools are obtained fro the Toolbox DVD which is included in the scope of delivery.
Before commissioning a machine it is essential to check that the hardware has been installed to the required specification.
1. Tools/software installation
5. NC Axis assignment
8. Drive optimization
9. Data management
Notes :
1. Tools/software installation
The installation of the tools/software required to commission the Sinumerik 828D controller is described in Module B002.
The controller should be loaded with default data this will set default machine data with respect to the type of machine technol-
ogy (Milling/Turning)
In order to load the default data the Setup menu has to be selected during start-up.
Switch on the controller and wait until the screen below is displayed and then press the “Select” key within 3 seconds .
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 :
The advanced setup menu will be displayed. Cursor to the The alarm list shows the following three alarms, this is nor-
“Factory settings” option and press the “Input” key. mal at this point in the procedure.
Or
Notes :
The time and date should now be set, this is especially impor-
tant for the EUNA online registration process.
Standard data for a milling machine has been loaded and the
configuration is 3 axis and 1 spindle. This will be expanded
upon for our example.
The NC is only set for four axes/spindles (default data). To
To activate the extra axis ensure that the option is available .
activate an extra axis a value of 5 needs to be entered in Ma-
chine Data 20070[4]
To check/activate the licence use the following key sequence:
Notes :
Configuring the MCP and Periphery Devices The machine control panel subroutine needs to be called in
OB1:
3. PLC Part 1 -Configuring the MCP/Periphery Devices.
PP72/48
MCP
A series of information boxes will be displayed, allow the
process to complete.
Notes :
5. Drive Configuration
Notes :
When the encoder type has been chosen, the pulse count etc
needs to be entered.
Select the “Change” soft-key and then continue with the “Next”
soft-key until the following screen is displayed.
When the encoder details have been entered select the “OK”
soft-key.
Notes :
Continue selecting the “Next” soft-key until the “Ready” soft- Axis assignment missing.
key is displayed.
Assignment is carried with the following sequence:
Or Or
Use the mouse to select the correct axis for the spindle drive
(AX4:MSP1).
Notes :
A dialogue box warns of the necessity to set certain machine When all axes/drives have been assigned, the changes are
data after the assignment is complete. saved selecting “Yes” when the dialogue box below is dis-
The axis assignment procedure automatically sets certain played.
machine data using information taken from the motor elec-
tronic rating plate. Onto
Information such as ball screw pitches, feed rates etc. should
be entered manually.
Notes :
Servo 6
with
2nd
encoder
In certain situations it is not possible for the topology to as- The encoder has to be first deselected from Servo 6 to free it
sign components according to the machine configuration. up for assignment to the spindle (Servo 2) Select the
In this case the assignment has to be changed manually. “Change” soft-key.
The following example is necessary because the spindle Di-
rect Measuring System (DMS) is connected to another axis
(A axis).
The system needs to be configured so that it associates this
encoder with the spindle (physical location).
To continue select the “Drives” soft-key. Press the “Next” soft-key until the following screen is dis-
played, the page should show two encoders assigned to the
axis.
Or
Servo 6 is
selected
Notes :
Press the “Next” soft-key until the “Ready” soft-key appears. Paging to the bottom shows that only one encoder is as-
signed to this axis at the moment. Select the “Change” soft-
key.
Servo 2
When the “Ready” soft-key is selected the following dialogue with
box will be displayed. encoder.
Notes :
Narrows
down the
list of When the above information box has closed select the “Next”
encoders to soft-key.
choose
from
No 2nd
encoder
assigned The details of the encoder have to be manually entered, select
the “enter data” soft-key.
Use the mouse to select the second encoder check box and
to highlight the correct encoder from the list.
Two encoders are available, one is already assigned to the
motor so the spare one should be highlighted and confirmed
with the “Input” key followed by the sequence of soft-key
presses.
Notes :
6. NC Axis Assignment
Notes :
The assigned axes can now be seen below in the drive set-up
screen.
Notes :
NC Machine Data
The following machine data are for the simulators only. Careful consideration should be given the values entered on an actual
machine.
AXIS MD X Y Z Spindle A
30110 2 3 4 1 5
30220 2 3 4 1 5
30130 1 1 1 1 1
30240[0] 1 1 1 1 4
30240[1] 0 0 0 1 0
31020[0] 2048 2048 2048 2048 512
31020[1] 1024
34200 1 1 1 1 0
CHANNEL MD
20700 =0 NC start possible without referencing (not recommended on actual machines).
Notes :
Below is a method used to enable the X axis via inputs Drive Optimisation
straight to the Interface signals.
9. Drive optimisation
Data Management
The 1st axis is X, this is the 1st NC axis, the other axes follow
in the same pattern.
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 impor-
tant 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.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B084
B084
Referencing
Absolute
Encoders
Machine
Data Infor-
mation
Automatic
Referencing
Encoder
Adjustment:
END
Notes :
General Information
Notes :
Below: The symbol to the left of the axis name indicates that
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 :
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
Check that machine data 34200 ECN_REFP_MODE is set
the case of an integrated motor encoder. Also checking with
to 0 This enables the control to take over the value in ma-
the supplier of the encoder might help determine the correct
chine data 34100 $MA_REFP_SET_POS.
type.
Check that machine data 34210 ENC_REFP_STATE is set
Another method is to check the machine data.
to 1. This is to enable encoder calibration to take place.
Machine data 30240[0] & [1] should be checked depending
upon the active measuring
circuit.
Notes :
Confirmation that the correct mode is selected can be seen at Machine Data Information
the top of the screen.
A list and brief description of the most common machine
data.
Notes :
Usually the position display shows zero after an axis has been
referenced. This can be changed by machine data
34100 $MA_REFP_SET_POS (Default value 0.0 mm)
The value entered in here will be displayed on the screen as
soon as referencing is complete. This is used when the refer- To initiate the automatic cycle the necessary interface bit has
ence position is not the mechanical zero of the machine. The to be set. This is
machine data does not result in the axis physically moving. variable DB3200.DBX1.0 which is channel related.
B084: END
Notes :
Module Description:
This module explains the step by step procedure to optimise the current, speed and position con-
troller loops within the Sinumerik 828D/ Sinamics S120.
The procedure uses the on-board functionality of the Sinumerik Operate system.
Module Objective:
To ensure the necessary level of compatibility and consistency between machines configured with
the Sinumerik 828D controller. A defined Optimisation procedure should be adhered to and this
procedure is defined in this module.
Caution: These procedures result in axis movement. All necessary safety precautions must be
taken into account. Make sure that that you read through and understand the entire procedure be-
fore beginning.
Content:
Sinumerik
Introduction
Axis Jerk
Acceleration
Circularity Test
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B101
B101
Auto Servo
Tuning
Axis Jerk
Acceleration
Circularity
Test
Additional
Spindle
Optimisation
Servo
Optimisation:
END
Notes :
Activating Machine Data changes Using the Automatic Servo Tuning feature we can optimize the
current, speed and position controller loops, including velocity
Throughout this procedure, certain machine data changes need feed forward.
to be activated. To the right of each parameter value there is an
indication of how the particular change takes effect. The follow-
Aim: to tune a single axis or spindle using HMI Operate
ing is a list of these indications and their meaning.
- Performing frequency response measurements
po The relevant machine data requires an “NCK Reset” to
take effect - Calculation of speed control loop
re The relevant machine data requires activation of the - Setting current setpoint filters
“Reset” key to take effect
cf The relevant machine data requires activation of the - Calculation of position control loop
“Set MD active” softkey to take effect.
- Checking the actual response of the proposed control loops
im The relevant machine data is immediately active.
- Feed forward control : equivalent speed control time
Saving Drive settings
- Interpolation paths
Every time the S120 drive is powered on or a “Drive Reset” is
performed, the S120 drive data is loaded to the relevant drive
Before auto servo tuning: MD32640 Dynamic stiffness control
from a stored file. Therefore when drive machine data are
should be set = 1, this enables position control in a faster cycle
altered, the drive data must be saved so that the change is
time.
retained after the next power off/on or “Drive Reset”.
NOTE: An “NCK Reset” does not affect the drive data. When using dynamic stiffness control, MD32110
ENC_FEEDBACK_POL must be = 1. If the feedback polarity
In order to save drive data: needs to be inverted it must be done in the Sinamics drive with
In the “Drive MD” area, press the “Save/Reset” then the p410.
“Save” then the “Drive System” softkeys. Messages at the A second measuring circuit should be enabled if available.
bottom left of the screen indicate the status of the save proc-
ess. When the save process is complete, the message “All If Auto Tuning a main spindle it is possible that the PLC servo
drive objects backed up” appears. enable signal is missing. The OEM should provide a method of
switching this PLC interface signal on for servo tuning. E.g spe-
cial key combination or forcing of special marker in PLC status.
Controller Block Diagram
828D/S120 controller structure: The 828D CNC and S120 Checking the Machine Data:
drive controller structure contains three cascaded closed loop
controllers (current, speed and position). Each controller must
be optimized in succession starting with the innermost current
controller, then the speed controller and finally the position
controller. The machine dynamic limits for velocity, accelera-
tion and jerk are set in the interpolator. The speed control loop
is always closed via the motor encoder while the position con-
trol loop can be closed via the motor encoder or direct meas-
uring system.
Notes :
Notes :
Select the “Tune” soft-key, the tuning strategy now needs to Disturbance optimal aggressive
be decided.
The speed controller gain and position controller gain (Kv fac-
tor) will be optimised with maximum values and minimum ro-
bustness.
Application:
High speed cutting with maximum suppression of any distur-
The Axis, Speed and Position strategies should be set as seen bance forces such as: friction, teeth of drive belt, heavy cutting
below (Strategies 102, 303 & 203). forces e.g. machining titanium.
Recommended for high speed cutting with linear motors.
Precondition:
Machine must be of a rigid construction, moved masses do not
change significantly.
Application:
Many types of applications.
Precondition:
No high expectations of machine structure,
recommended for general purpose use.
Damping optimal
Notes :
Kv reduction factor:
The important settings are: Tuning Aggressiveness and Mini- Default = 0.8
mum integral time Tn Min = 0.1
Max = 1.0
Tuning Aggressiveness:
Default = 0.6
Min = 0 [most robust]
Max = 1 [most aggressive]
This parameter prevents AST from setting the speed loop inte-
grator time too low.
When AST would otherwise have selected a value lower than
this parameter, the actual value used is limited to the value set
by the Minimum integral time Tn.
Default = 5.0 Ms
Min = 0.5 ms
Max = 100 ms
Notes :
Check that the axis to be tuned is in a safe position, if it is not When the tuning is complete the following screen will be dis-
“Jog” axis to the middle of its travel. Press “OK” to accept. played allowing the new and original values to reviewed.
This example is of the Position Controller.
After pressing “OK” the dialogue box shown next will appear, Other values can also be viewed
requesting the user to press cycle start on the machine control
panel.
Notes :
Interpolating Axes:
Now the axis selection can be made for the tuning of the inter-
polation paths. Select the “Interp. path” soft-key.
Notes :
The interpolation path strategy can now be decided, the default Axis Jerk
is “1103 Reduce stand alone optimal regulators with partial
matching” Jerk limited acceleration can now be optimized using the HMI
Advanced Start-up tool.
Jerk is used to smooth the acceleration response by applying a
time for the change in acceleration.
Jerk is defined in units/sec3, i.e. acceleration ([units/sec2 / time
[sec]). The time it takes for the acceleration change to take
place, [sec] = acceleration [units/s 2] / jerk [units/s3].
Axes do not have to have the same Jerk value.
The test part program should traverse the axis a sufficient dis-
tance that allows the programmed velocity to be reached, e.g.
50 mm.
A dwell time should be used after the velocity is reached and
after the setpoint position is reached, e.g. 0.5 second.
The initial programmed velocity can be approximately ½ of the
maximum axis velocity and the response should be checked at
all of the feedrate override increments as well as the maximum
speed.
Machine Data:
MD 32200 POSCTRL_GAIN = 0
MD 36012 STOP_LIMIT_FACTOR = 100
MD 36400 CONTOUR_TOL = 20
Notes :
Notes :
The trace is now initialised and will be started when the trigger
is set via the part program.
Notes :
The following NC program can be used in Automatic or MDA It is necessary to view the part of the trace where the axis ar-
mode. This may be different depending on the configuration rives at the set position. In order to see this in detail it is neces-
of the actual machine. sary to scale the trace:
The program contains commands for activating/deactivating
the trace trigger::
FFWON
SOFT The following example shows the scaling set up to view the axis
$AN_SLTRACE=0; Reset start servo trace trigger positioning at -110mm.
LAB: The values entered will give a 100 micron window around the
G01 Y210 F10000 target position of -110mm.
G04 F0.5 Individual machines/axes may require different scaling.
$AN_SLTRACE=1; Start servo trace trigger The X minimum/X maximum values can also be adjusted if re-
Y260 quired.
G04 F0.5
GOTOB LAB
M30
The axis will move and the selected signals will be monitored
for 5 seconds, the results will then be displayed:
The set position (Yellow) and the actual position (Green) do not
match, this is because the position controller is not active.
Notes :
Optimising the Jerk setting: This diagram shows how the jerk is increased until there is an
overshoot in the response of the mechanics.
It is necessary to set the Jerk so that there is no overshoot of
the actual position. This caused by a jerk value that is too Remove the overshoot by decreasing the MAX_AX_JERK.
high.
Having a Jerk value that is too low can also be detrimental to
the machine as this effects the time it takes to position an
axis.
MD 32200 POSCTRL_GAIN = 0
MD 32610 VELO_FFW_WEIGHT = 1.0
MD 32620 FFW_MODE = 3
MD 32810 EQUIV_SPEEDCTRL_TIME = As optimised
With the Jerk too low the positioning contour will be rounded.
Restart the trace and then run the part program:
Notes :
SOFT
$AN_SLTRACE=0; Reset start servo trace trigger
LAB:
G0 X10
$AN_SLTRACE=1; Start servo trace trigger
X310
GOTOB LAB
M30
Notes :
The three traces will be displayed together, select the “Fit all”
soft-key.
Velocity:
Utilisation:
Notes :
Cursor positioned at the top of The “built-in” circularity test of HMI Operate is used to
Trace selection the trace shows that the check the interpolation of axes that will work together. The
maximum current reached was tool measures a circle with reference to the motor or direct
10.53A measuring system. Machine mechanical alignment is not
considered in the result. This gives the commissioning engi-
neer the ability to clearly separate controller Optimisation
issues from mechanical issues.
A circle test part program and the circularity test start up tool
Summary: can be used to measure and evaluate these results. The
“worst case” test circle radius and path feedrate must result in
The maximum velocity of 36 m/min is reached with a utilization a realistic radial acceleration that the machine is capable of.
of 58.52%. Machine builders typically have specifications for test
circle radius and feedrate.
The “Utilization (m_set/m_set_limit)” signal selection displays
the utilized percentage of the active current limit. Standard machine builder circle tests typically use a radius of
100 mm or 150 mm at feedrates determined by the machine
The active current limit is: builder. The machine builder defines the acceptable result
P0640 = [RMS amps]. specifications.
P0640 is limited to whichever is the lower of P0338 Motor High speed cutting requirements are usually more stringent
Limit Current/ Mot I Max [RMS amps] or r0209 Power Unit and test circles for high speed cutting machines might be in
Maximum Current/ PU I Max [RMS amps] the range of 10 to 25 mm radius at feedrates of 5 m/min to 10
m/min. For high speed cutting machines, the results are nor-
In this example P0640 was 18A, therefore utilization is: mally acceptable when the p/p deviation </= 0.010 mm, and
18A x 58.52/100 = 10.53A. the actual size is equal to the programmed radius at the worst
case path feedrate.
Note:
Example of an X-Y circle part program –
This test was done on a milling machine Y axis with a dividing Position, feedrate and active plane must be adapted to
head on the table. the machine!
The 58% utilisation allows for additional weight to be added
without causing problems. FFWON
Utilisation should be kept to 85% maximum. SOFT
The acceleration can be changed to affect the utilisation. G90 G01 F3000 X150 Y50 Z-100
LAB:
G91 G64 G02 X0 Y0 I10
GOTOB LAB
M30
Notes :
Select “Optim./test”.
Notes :
As a general rule, with feed forward optimised, the actual radius The circle is now just 0.00021 mm oversize.
will be too large.
This can be corrected using a time constant
(MD32410 AX_JERK_TIME)
If necessary enable the time constant in all axes.
The circle below shows the results after feed forward has been
optimized however the mean radius is 0.0019mm too large.
Notes :
Data Description X Y
32400 AX_JERK_ENABLE 1 1
32402 AX_JERK_MODE 2 2
32410 AX_JERK_TIME 0.015 0.012
Data Description X Y
32400 AX_JERK_ENABLE 1 1
32402 AX_JERK_MODE 2 2
32410 AX_JERK_TIME 0.012 0.0125
Notes :
Check Preset MD as below also any relevant parameter for spindle/axis interpolation.
Example is for 8000 rpm Spindle Motor with no mechanical gear ranges.
The following parameters can be pre-set to the suggested values in the charts below. The values will vary depending upon the
application.
Machine Machine Data Name Value Explanation
Data
MD 30300 IS_ROT_AX 1 Rotary axis/spindle
MD 30310 ROT_IS_MODULO 1 Modulo conversion for rotary axis/spindle
MD 30320 DISPLAY_IS_MODULO 1 Modulo 360 degree display for rotary axis/spindle
MD 32000 MAX_AX_VELO[0] 8000 Max axis velocity
MD 32010 JOG_VELO_RAPID 60 Traverse rate in rapid jog
MD 32020 JOG_VELO 10 Traverse rate in jog
MD 32040 JOG_REV_VELO_RAPID 60 Rotary traverse rate in rapid jog
MD 32050 JOG_REV_VELO 10 Rotary traverse rate in jog
MD 32200 POSCTRL_GAIN[0] x As optimized
MD 32200 POSCTRL_GAIN[1] x As optimized
MD 32620 FFW_MODE 3 3 for Velocity Feed Forward
MD 32640 STIFFNESS_CONTROL_ENABLE 1 Dynamic Stiffness Control
MD 32810 EQUIV_SPEEDCTRL_TIME[0] x As optimized
MD 32810 EQUIV_SPEEDCTRL_TIME[1] x As optimized
MD 34000 REFP_CAM_IS_ACTIVE 0 If no bero switch
MD 34020 REFP_VELO_SEARCH_CAM 30 Reference point approach velocity
MD 34040 REFP_VELO_SEARCH_MARKER[0] 30 Creep velocity
MD 34040 REFP_VELO_SEARCH_MARKER[1] 30
MD 34060 REFP_MAX_MARKER_DIST[0] 370 Maximum distance to reference mark
MD 34060 REFP_MAX_MARKER_DIST[1] 370
MD 33000 FIPO_TYPE 3 Type of interpolator
MD 35000 SPIND_ASSIGN_TO_MACHAX 1 Assignment of spindle to machine axis
MD 35100 SPIN_VELO_LIMIT 8000 Maximum spindle speed
MD 35110 GEAR_STEP_MAX_VELO[0] 8000 Maximum spindle speed for gear change
MD 35110 GEAR_STEP_MAX_VELO[1] 8000
MD 35130 GEAR_STEP_MAX_VELO_LIMIT[0] 8000 Maximum spindle speed for gear stage
MD 35130 GEAR_STEP_MAX_VELO_LIMIT[1] 8000
MD 35200 GEAR_STEP_SPEEDCTRL_ACCEL[0] X Acceleration in speed control mode ;to be optimized
MD 35200 GEAR_STEP_SPEEDCTRL_ACCEL[1] X
MD 35210 GEAR_STEP_POSCTRL_ACCEL[0] X Acceleration in position control mode ;to be optimized
MD 35210 GEAR_STEP_POSCTRL_ACCEL[1] X
MD 35500 SPIND_ON_SPEED_AT_IPO_START 2 Feedrate enable for spindle in the set range
MD 35550 DRILL_VELO_LIMIT[0] 4000 Maximum spindle speed for tapping
MD 35550 DRILL_VELO_LIMIT[1] 4000
MD 36000 STOP_LIMIT_COARSE 0.4 In position course limit
MD 36010 STOP_LIMIT_FINE 0.1 In position fine limit
MD 36030 STANDSTILL_POS_TOL 5 Standstill tolerance
MD 36040 STANDSTILL_DELAY_TIME 1 Delay for standstill monitoring
MD 36050 CLAMP_POS_TOL 1 Clamping tolerance
MD 36060 STANDSTILL_VELO_TOL 2 Tolerance for “Axis/spindle” stopped
MD 36200 AX_VELO_LIMIT[0] 8800 Threshold for velocity monitoring
MD 36200 AX_VELO_LIMIT[1] 8800
MD 36300 ENC_FREQ_LIMIT[0] 1000000 Encoder limit frequency
MD 36300 ENC_FREQ_LIMIT[1] 1000000
MD 36400 CONTOUR_TOL 30 Tolerance band for contour monitoring
P 1433 SPEED_CONTROLLER_REFERENCE x As optimised
_MODEL_NATURAL_FREQUENCY
Notes :
A check should now be made of the speed control accel- Acceleration/deceleration with the original motor data equates to
eration. the S1 curve.
Required Variables:
Notes :
S8000 M03
G04 F5
M30
Notes :
The power taken/available to accelerate the motor can be Acceleration/deceleration can now be modified by using the
viewed on trace 2: motor data sheet, up to the maximum values, however this
depends upon the application.
Trace selection:
Active power Enter the values to suit the application. In this case short accel-
eration/deceleration time was the requirement.
The maximum values from the motor data sheet are entered
into the relevant Drive Data:
Trace selection:
Torque set-point
Trace selection:
Actual speed
Notes :
Notes :
Acceleration = 88%
B101: 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
Example: Loading/unloading
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B102
B102
Fundamen-
tals
PLC - NCK
user inter-
face
Machine data
for the tool
management
PLC Program
Blocks
Example:
Loading/
unloading
Example:
Change
manual tools
Application
example for
turning
machine
Application
example for
milling
machine
Tool
Management:
END
Notes :
Notes :
Fundamentals
Note
Scope of delivery
Tool management is included in the scope of delivery for all controls (M/T version).
The function "Spare tools for tool management" (duplo tools) is an option.
See also
Additional references:
● SINUMERIK 828D Parameter Manual
● A comprehensive description of the tool and magazine parameters and the internal data
structure is to be found in:
→ Description of Functions Tool Management of the SINUMERIK 840D sl
As far as the range of functions is concerned, the NCK part of this documentation is also
valid for the SINUMERIK 828D.
The description of the PLC functions and the communication between NC and PLC in this
documentation is not valid for the SINUMERIK 828D.
● The settings of the tool management user interface are described in:
→ Commissioning Manual Base Software and Operating Software (IM9)
Function structure
The software components of the control have the following tasks in the tool management:
● HMI:
– Tool data display, input/output
– Magazine data display, input/output
– Load/Unload relocation dialog
● NCK:
The tool management administrates the magazine locations. These locations might be
empty, loaded with tools or assigned to oversized tools in adjacent locations. Empty
locations can be loaded with other tools. The tool management provides the machine
manufacturer with optimized management of tools and magazine locations. Magazine
management provides extended functions such as load, unload or position tools. It also
includes searches for tools, magazine locations and search strategies for replacement
tools.
For the tool monitoring functions, while the active monitoring is running, tools are disabled
and no longer used. To continue machining, an equivalent tool (duplo tool) that is not
disabled is used, if available.
● PLC:
– Execute tool change
– Move tools in the magazine
– Gripper control
– Magazine control if applicable
– Safety interlocks
– Providing the structure of tool movements in transfer step tables
– Acknowledgment of the tool movements with acknowledgment step tables
PLC-Firmware
Functions of the PLC firmware:
● Assignment of tool management jobs to the PLC user program
● Communication of PLC user program acknowledgments to the tool management
● Transfer feedback signals for each acknowledgment (acknowledgment incorrect with
error number of acknowledgment OK) to PLC user program.
● In addition: Register order status
Note
Default settings for tool magazines
The number of magazines, which the NCK can manage, is permanently set by the system:
• PPU24x.2: Number of magazines = 3
• PPU26x.2: Number of magazines = 3
• PPU28x.2: Number of magazines = 4
Since at least one buffer and one loading point must be available, the PPU24x.2/PPU26x.2
can manage one real magazine and the PPU28x.2 can manage two real magazines.
When the control powers up, depending on the technology, the following tool magazines are
pre-selected and created:
• Milling: one chain magazine with 20 locations, double gripper and a tool carrier
• Turning: one revolver with 8 locations, a tool carrier
Magazines
Information is provided by the system for all locations in the magazine, describing the
content and status of the locations.
The position of a tool is described by an identifier for the magazine and an identifier for the
location. Magazines have an identifier and a number, magazine locations only a number. In
a real magazine (chain, turret, etc.), the position of the tool is identified by the magazine
number assigned during start-up and the location within the magazine.
Example:
The T number of the tool in magazine location 7 in magazine 1: $TC_MPP6[1,7]
Tool list
The tool list contains all the tools known to the NC. These are the tools in the magazine and
unloaded tools whose data is to be retained. The tool management works with loaded tools
from the tool list.
Magazine list
The magazine list is a location-oriented map of the tool magazine, gripper and spindle. The
tool management only works with the tools from the magazine list. Additional tools without a
magazine assignment can also be selected for tool changes. The tool must be inserted in the
machine manually and removed again manually after machining (manual tool).
Loading magazine
The loading magazine is the 1st internal magazine and is assigned magazine number 9999.
The loading magazine has loading points for loading and unloading tools.
For the allocation of locations, one is fixed, all other locations can be assigned freely.
Location 1 in the loading magazine is used for the fixed assignment. Location 1 is reserved
for loading/unloading to all spindles/tool holders.
All positioning and relocation jobs to any locations (not loading points) are still handled via
location 1. The stated jobs, which refer to a particular loading point, are output at the
interface of this loading point. The loading points are assigned to magazines during start-up
($TC_MDP1). A loading point is an open access point to the magazine, where a tool is
manually loaded and unloaded from the magazine.
Buffer
Buffers are located in the 2nd internal magazine. The buffer includes the spindle, tool holder,
gripper, loader and transfer location. The buffers are managed under magazine number
9998. Each buffer element is assigned a unique location. Any location numbers may be
assigned. It is recommended that all spindles or tool holders be numbered in ascending
order, starting at number 1. The assignment to real magazines or of spindles/tool holders to
other buffers is made during start-up ($TC_MDP2, $TC_MLSR).
Chain magazine
The setting in MD22550: $MC_TOOL_CHANGE_MODE may only have the value 1 for these
magazine types.
Chain magazines do not as a rule have any additional buffer available for transportation
between magazine and spindle. These additional buffers can contain tools temporarily.
Description of the buffers and loading points:
Circular magazine
The setting of MD22550: $MC_TOOL_CHANGE_MODE normally has the value 0.
Circular magazines do not have any additional buffer with which tools can be transported
from the magazine to the spindle. The tools on circular magazines are not physically
transported into the spindle, but are moved into a defined position through rotation of the
turret so that machining can take place with one particular tool. The tool is only transported
to the spindle or tool holder in the software. Transporting the tool to the buffer 9998/1
(spindle) serves to inform the tool management that the turret holding the requested tool has
been turned to the machining position.
The programming command T = identifier initiates the tool change. T = location can be
programmed as an alternative. If T = location, no tool need actually be stored in the location.
Description of the buffers and loading points:
If the value 1 is also set for the revolver in MD22550: $MC_TOOL_CHANGE_MODE, the
statement made for the chain magazines also applies here.
See also
You can find additional information in the "Machine data for the tool management (Page 27)"
section.
Manual tools
Bit 1 of MD22562: $MC_TOOL_CHANGE_ERROR_MODE decides whether additional tools
without magazine allocation can be selected during tool change. The automatically selected
tool must be inserted in the machine manually and removed again manually after machining.
Note
The responsibility is on the user to comply with the safety regulations via the PLC program.
An alarm (17212, 17214 or 17216) is always output to indicate that a tool change involving a
manual tool has been executed. The alarm is reset by the tool change acknowledgment of
the PLC user program.
Overview
The tool management receives tasks for preparing and carrying out a tool change (T
command, M06), a tool movement (MVTOOL) or magazine positioning (POSM) from the part
program or from the HMI. From these tasks the TM defines the location change needed for
the tool and assigns this to the PLC.
Program components and interfaces:
V\VWHP
1&.
7RROPDQDJHPHQW
1&.3/&LQWHUIDFH
3/&
3/&)LUPZDUH
8VHULQWHUIDFH
8VHU 2UGHU $FNQRZOHGJPHQW )HHGEDFNVLJQDO 2UGHUVWDWXV
'%[['%[[ '%[['%[[ '%[['%[[ '%[['%[[
'%;'%% '%;'%; '%%'%% '%%
3/&XVHUSURJUDP
&RQWURORIPDFKLQHIXQFWLRQVDFNQRZOHGJLQJWUDQVIHUVWHSV
The user interface provides separate data blocks for loading, unloading, relocating and
magazine positioning on the one hand and tool change on the other hand.
Rule
The distribution of jobs to the interfaces takes place according to the following rule:
If the job contains a loading point (9999/x), that interface will be used.
Otherwise, the interface of the first loading point (9999/1) will be used.
All acknowledgments for a job must take place in the interface of the same loading point.
Jobs
Signal description:
● Job:
The interface contains a job. Job processing has not yet been completed with an end
acknowledgment. This signal is reset after transmission of the end acknowledgment to
the tool management.
● Loading:
The "target location" parameter's magazine location should be loaded with a tool via the
"source location" parameter's loading station.
● Unloading:
The tool in the "source location" parameter's magazine location should be unloaded to
the "target location" parameter's unloading station.
● Relocating:
The tool in the "source location" parameter's magazine location should be relocated to
the "target location" parameter's magazine location.
● Positioning:
The "source location" parameter's magazine location should be positioned at the "target
location" parameter's change/loading/unloading station. The tool remains in its magazine
location.
● NC program positions magazine:
The positioning job comes from the part program.
● Loading/unloading without moving magazine:
HMI sets/deletes this signal when requested by the operator. If the bit is active, there
must be no traversing motion of the magazine, only a mechanical unlocking/locking of the
location. The load/unload command must be acknowledged after the action. For a
position and relocate request, this signal is not valid for a traversing motion.
● Source location:
Magazine and location number of a tool that traverses or should be positioned at a
change or loading station.
● Target location:
Magazine and location number to where a tool is moving or to where a magazine location
should be positioned.
Acknowledgments
Signal description:
● Total acknowledgment:
At a 0/1 edge the end acknowledgment, with status 99, is sent to the current job (job
complete, all target positions have been reached). As long as the signal is present, no
changes may be made to the data of this interface!
This signal is reset by the PLC firmware after the acknowledgment has been transferred
to the tool management.
● Acknowledgment step 1…30:
At a 0/1 edge, the appropriate acknowledgment step from the acknowledgment step table
is sent to the tool management. As long as the signal is present, no changes may be
made to the data of this interface and the variable transfer-step table!
This signal is reset by the PLC firmware after the acknowledgment has been transferred
to the tool management.
● Resetting the acknowledgment error:
Resetting the message "Acknowledgment error" /DB41xx.DBX100.1) and the diagnostic
information in the feedback interface.
Feedback reports
Signal description:
● Acknowledgment OK (DB41xx.DBX100.0):
The acknowledgment of the PLC user program (area DB40xx.DBB0 to DBB3) was
transferred without error to the tool management. This signal is reset after one PLC cycle.
● Acknowledgment error (DB41xx.DBX100.1):
Negative feedback of acknowledgment status. There is an error in the acknowledgment
of the PLC user program (area DB40xx.DBB0 to DBB3). The cause of the error is
displayed in "Error status."
The "acknowledgment error" bit is only set if the acknowledgment from the PLC firmware
is accepted as error free and the tool management detects and signals an error in the
acknowledged tool transfer (for example, when the target location for tool transfer is
occupied).
Errors that are detected directly by the tool management in the NC before an
acknowledgment is sent by the PLC user program, do not result in the setting of bit 100.1.
If an error is present that prevents transfer of the acknowledgment to the tool
management (error status 1 to 7), the error is only output on the interface of the tool
management and not by the NC (no NC alarm!).
If necessary, signal such errors with a user PLC alarm in the PLC user program.
This signal remains pending statically until the error has been acknowledged (set the bit
"Reset acknowledgment error" DB40xx.DBX9.0) by the user. The interface in
DB40xx.DBB0 to DBB3 is disabled if bit "acknowledgment error" is pending. Incoming
acknowledgment bits are not evaluated by the PLC firmware and are cleared when bit
"Reset acknowledgment error" is set.
Error status:
If there is an error, the error status (DB41xx.DBB104) contains a diagnostic number unequal
to zero.
Status Meaning
0 No error
1 Multiple acknowledgment signals at the same time
2 Acknowledgment without job
3 Invalid transfer step number
4 There is no job for a position specification
5 The status does not permit a location change (acknowledgment status 0 is
used)
7 An impermissible acknowledgment status has been used
Other values: The number corresponds to the error message of the tool management in the
NCK caused by this transfer
Job status
Tool change
Interface description
Per tool holder/spindle there is one interface for:
● Jobs for preparing and executing the tool change.
Message to the PLC user program: Job active; job specification and job description.
The jobs appear in the toolholder interface (of the spindle) where a tool is to be
exchanged.
● Acknowledgments of the PLC user program
All acknowledgments for a job must take place in the interface of the same tool holder (of
the same spindle). Acknowledgment errors should also be reset in this interface.
● Feedback from the tool management to the PLC user program
Message to the PLC user program: Acknowledgment status, error status, map of the
acknowledgment bits.
● Job status
Selected data from the last intermediate or end acknowledgment is saved. This data is
needed by the PLC firmware for the next acknowledgment to the tool management and is
readable for diagnostic purposes. This data can be used by the user program to restart
after an abort (e.g. reset during a tool change).
Jobs
Signal description:
● Job:
The interface contains a job. Job processing has not yet been completed with an end
acknowledgment. This signal is reset after transmission of the end acknowledgment to
the tool management.
● Fixed-location coded: The new tool is fixed-location-coded.
● Execute tool change:
The new tool is to be loaded into the tool holder / the spindle. The old tool is to be brought
back to a magazine location. This job always requires an end acknowledgment.
● Prepare a tool change:
Initialize new tools. If necessary, position magazine location for old tool at the changing
point. This job requires an individual end acknowledgment. If there is a parallel job
"Execute change," end acknowledgment for the preparation is not necessary.
● T0: T0 has been programmed (empty tool holder / spindle).
● No old tool:
Tool change into the previously empty tool holder / spindle.
● Load manual tool:
A manual tool is to be loaded. The HMI displays the tool which is to be loaded.
● Unload manual tool:
The tool is to be changed via manual operation.
● Tool remains in spindle:
The bit is set at a change from tool holder → spindle to tool holder → spindle. Triggers can
be, for example, reset start mode or block search.
Acknowledgments
Signal description:
● Total acknowledgment:
At a 0/1 edge the end acknowledgment, with status 99, is sent to the current job (job
complete, all target positions have been reached). As long as the signal is present, no
changes may be made to the data of this interface!
This signal is reset by the PLC firmware after the acknowledgment has been transferred
to the tool management.
● Acknowledgment step 1…30:
At a 0/1 edge, the appropriate acknowledgment step from the acknowledgment step table
is sent to the tool management. As long as the signal is present, no changes may be
made to the data of this interface and the variable transfer-step table!
This signal is reset by the PLC firmware after the acknowledgment has been transferred
to the tool management.
● Resetting the acknowledgment error:
Resetting the message Acknowledgment error (DB43xx.DBX100.1) and the diagnostic
information in the feedback interface.
Feedback reports
Signal description:
Status Meaning
0 No error
1 Multiple acknowledgment signals at the same time
2 Acknowledgment without job
3 Invalid transfer step number
4 There is no job for a position specification
5 The status does not permit a location change (acknowledgment status 0 is
used)
7 An impermissible acknowledgment status has been used
Other values: The number corresponds to the error message of the tool management in the
NCK caused by this transfer.
Job status
The data blocks DB40xx, 41xx, 42xx and 43xx are system blocks and are created
automatically by the control.
The data blocks DB9900, DB9901 and DB9902 are made available by the Programming
Tool under Libraries / 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.
Transfer-step tables
The individual tool movements are defined as transfer steps – tool from magazine location
x/y to magazine location m/n. Acknowledgment steps can be defined with these transfer
steps. DB9900 contains permanently configured transfer steps (constant transfer-step table).
DB 9901 can be changed by the PLC user program; for example, for acknowledging
intermediate steps like magazine locations for tool change preparation (variable transfer-step
table).
See also
PLC Program Blocks (Page 33)
MD20270: $MC_CUTTING_EDGE_DEFAULT
If no cutting edge is programmed after a tool change, the cutting edge number set in
$MC_CUTTING_EDGE_DEFAULT is used.
MD20270: $MC_CUTTING_EDGE_DEFAULT
Basic setting of tool cutting edge without programming (DWORD)
>0 Number of the cutting edge that is selected with M206 Cutting edge selection is also
active if followed by D programming.
=1 Default setting
=0 No cutting edge is initially active after a tool change. Any tool offset active before tool
change is deselected (corresponds to D0!). Cutting edge selection only active with D
programming.
= -1 Tool edge number of old tool also applies to new tool.
= -2 Tool edge offset of old tool remains active until D is programmed.
The setting in MD20270 affects the block preparation of the NC. To prevent preprocessing
stop from occurring when tool change command is called until it is acknowledged again,
perform NC functions without tool offset in the tool change subprogram, for example,
traversing axes or output of auxiliary functions.
Example:
Requirement: MD20270: $MC_CUTTING_EDGE_DEFAULT= 0 or = -2
After the tool change command M206 the axes can continue travel without having to wait for
the tool change acknowledgment and execute traversing blocks without tool compensation.
Travel only stops in a block with compensation selected (D no.) until end of tool change is
signaled by the PLC.
Sequence in the part program:
MD20310: $MC_TOOL_MANAGEMENT_MASK
Settings:
MD20310: $MC_TOOL_MANAGEMENT_MASK
Activating the tool management functions
T and M version:
Bit 0 =1 Tool management active:
The functions of tool management are enabled for the current channel.
Bit 1 =1 Monitoring functions of tool management active:
The functions for monitoring tools (tool life and workpiece count) are enabled.
Bit 2 =1 OEM functions active
Bit 3 =1 Adjacent location consideration active
Bit 14 =1 Tool and offset selection according to the settings in:
MD20110 $MC_RESET_MODE_MASK
MD20112 $MC_START_MODE_MASK
Bit 23 =1 With offset selection no synchronization with main run.
Bit 24 =1 Using an asynchronous transfer with acknowledgment status 201, you can move
a tool to a location reserved for another tool with "reserved for tool from buffer".
This location reservation is then removed before the movement is executed
("Reserved for new tool to be loaded" (bit value="H8") remains effective).
Additionally only for T version:
Bit 16 =1 T location number is active.
If a locked tool is at the programmed location, the location of a replacement tool (if available)
is output as job from the tool management when the option "Spare tools for tool
management" option is set.
SD52270: $MCS_TM_FUNCTION_MASK
Tool management function mask
Bit 0: Creating tool at the magazine location is not permitted.
Tools can only be created outside of the magazine.
Bit 1: Load/unload lock, if the machine is not in the reset state.
Tools can only be loaded/unloaded when the relevant channel is in the reset state.
Bit 2: Load/unload lock for EMERGENCY STOP.
Tools can only be loaded/unloaded when EMERGENCY STOP is not active.
Bit 3: Tool in/out of spindle load/unload locked.
Tools cannot be loaded to or unloaded from the spindle.
Bit 4: Loading is performed directly into the spindle.
Tools are only loaded directly into the spindle.
Bit 5: Reserved
Bit 6: Reserved
Bit 7: Create tool using the T number.
The T number of the tool must be entered when creating a tool.
Bit 8: Hide tool relocation.
The "Relocate tool" function is hidden in the user interface.
Bit 9: Hide magazine positioning.
The "Position magazine" function is hidden in the user interface.
Bit 10: Reactivate tool with magazine positioning.
Before Reactivate, the tool is positioned at the loading point.
Bit 11: Reactivate tool in all monitoring types.
When reactivating a tool, all the monitoring types for this tool enabled in the NC are
reactivated. I.e. also the monitoring types that are not set for the relevant tool, but are
only in the background.
Bit 12: Hide reactivating tool.
The "Reactivate tool" function is hidden in the user interface.
SD54215: $SNS_TM_FUNCTION_MASK_SET
Tool management function mask
Bit 0: Diameter display for rotating tools.
For rotating tools, the diameter is displayed and not the radius.
Bit 1: M4 is the default direction of rotation for all turning tools.
When creating turning tools, the direction of rotation is pre-assigned with M4.
Bit 2: Create tool without name suggestion.
Bit 3: Input lock, tool name and tool type for loaded tools.
For loaded tools, the tool name and the tool type can no longer be changed.
Bit 4: Input lock for loaded tools if the channel is not in the reset state.
Bit 5: Calculate by adding tool wear entries.
Wear data is entered in addition to the already existing wear value.
Bit 6: Numerical input of the tool identification.
Only numbers are permitted for the input of the tool identification.
Bit 7: Hide tool monitoring parameters.
The tool monitoring parameters are hidden in the user interface.
Bit 8: Diameter display for face axis → Geometry.
The geometry value of the face axis is displayed as diameter value.
Bit 9: Diameter display for face axis → Wear.
The wear value of the face axis is displayed as diameter value.
Bit 10: Enable tool load/relocate to buffer storage locations.
The magazine number can be entered into the "Load" dialog. It is therefore possible to
access the buffer storage via magazine number 9998.
Note
The offset selection corresponding to MD20270: $MC_CUTTING_EDGE_DEFAULT acts in
the same way as for the T command.
TCA and D must not be programmed in the same block.
MD10888 $MN_EXTERN_DIGITS_TOOL_NO = 0
MD10889 $MN_EXTERN_DIGITS_OFFSET_NO = 2
MD10890 $MN_EXTERN_TOOLPROG_MODE = 4
Programming T101 and T0101 leads to the same result: T1 H01
See also
Examples:
● Configuration of a chain magazine with a dual gripper (Page 65)
● Configuration of a revolver magazine (Page 54)
The program is also to be found on the Toolbox CD.
References
Further information:
● SINUMERIK 828D List Manual: Machine data and interface signals
● SINUMERIK 802D sl/828D/840D sl: Function Manual: ISO dialects
– The description "Substitution by a replacement cycle for a tool selection block" is valid
for the ISO mode (G291).
– The description "Tool change and tool offsets" is valid when programming the tool
offset.
Acknowledgment process
Types of acknowledgment
Effect of acknowledgments
Effect of acknowledgments on the job and the part program:
● Intermediate and end acknowledgment take place synchronously with the job.
– The part program must wait.
– No new job can come yet.
● Message of an asynchronous transfer:
– The part program continues to run.
– The message is completely independent of any job.
Acknowledgment states
Acknowledgment Meaning
Synchronous end 1 Job finished at the specified position:
acknowledgment The tools are in the positions specified. The part program can be
continued.
3 Job canceled:
The job is canceled, previously acknowledged tool position
changes will be kept. The cancel command itself does not
trigger any position acknowledgments 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. Same meaning as status 1.
7 Repeat "prepare tool change" job:
The tool change was informed of a new tool position in advance.
The "prepare tool change" job is to be recalculated with this
position. This is permissible only for preparation commands
which have not yet been acknowledged.
99 Total acknowledgment: Job complete, all positions reached.
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 105 Intermediate position for tool:
intermediate The tools are moved from the source position specified in the
acknowledgment 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 (Page 27).
204 Communicate magazine position:
The magazine location is in the change/load/unload point of the
specified target location.
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
2UGHU
7RWDODFNQRZOHGJPHQW
$FNQRZOHGJPHQW2.
Signal description:
① The PLC user program recognizes from the 0/1 edge of the signal DB43xx.DBX0.0 (job) that a
new job has been assigned by the tool management.
② The PLC user program sets the acknowledgment signal in DB42xx.DBX0.0 (total
acknowledgment). With activation of the 0/1 edge, the PLC firmware starts transferring the
acknowledgment to the tool management.
③ After successful transmission of the acknowledgment to the tool management, the PLC
firmware sets a PLC cycle to 1 for the signal "acknowledgment OK" and at the same time the
job signal and the acknowledgment bit are reset to 0.
Typical sequence of any job with total acknowledgment and end acknowledgment
2UGHU
,QWHUPHGLDWHDFNQRZOHGJPHQW
(QGDFNQRZOHGJPHQW
$FNQRZOHGJPHQW2.
Signal description:
① The PLC user program recognizes from the 0/1 edge of the signal DB43xx.DBX0.0 (job) that a
new job has been assigned by the tool management.
② The PLC user program acknowledges the transfer steps, configured in DB9900, DB9901 and
DB9902, with acknowledgment status 105. The tool management updates the tool positions
using the transfer steps of the acknowledgments.
③ The execution of the job is acknowledged by the PLC user program with acknowledgment
status 1. After successful transmission of the acknowledgment to the tool management, the
PLC firmware sets a PLC cycle to 1 for the signal "acknowledgment OK" and at the same time
the job signal and the acknowledgment bit are reset to 0.
Sequence of the tool management with block splitting (machine data setting milling)
Txx M6 ;
Program L6 is called with M6 (basic setting)
2UGHU
([HFXWHWRROFKDQJH
3UHSDUHDWRROFKDQJH
,QWHUPHGLDWHDFNQRZOHGJPHQW
(QGDFNQRZOHGJPHQW
$FNQRZOHGJPHQW2.
Signal description:
① The PLC user program receives a new job. The job "prepare tool change" and the job "execute
tool change" are issued one after the other. Txx and M206 have been programmed in separate
NC blocks. Only the job "prepare tool change" is present in the interface in DB43xx. The job
"execute tool change" is output only after the end acknowledgment for the job for tool
preparation.
② Bit DB43xx.DBX0.0 (job) is reset with acknowledgment of the "prepare tool change" job. If the
change command (M206) has already run through the NC main run, the new job is immediately
output at the interface.
③ The "execute tool change" job is acknowledged as a normal job. The end acknowledgment OK
is returned and the bit for the job is simultaneously reset.
The description of the job ("execute tool change" and "prepare tool change") is not reset. Byte
1 of DB43xx is not overwritten until the next job.
Note
MD20270, MD20310:
The response of the interface in DB43xx.DBB1 and of NC block processing is affected by the
setting in MD20270: $MC_CUTTING_EDGE_DEFAULT and MD20310:
$MC_TOOL_MANAGEMENT_MASK bit 5, 6, 7, and 8.
This sequence described here corresponds to the presetting of the machine data.
Sequence of the tool management without block splitting (machine data setting milling)
Txx Myy ;
Myy is the setting from MD22560: $MC_TOOL_CHANGE_M_CODE
This type of programming is not recommended!
2UGHU
([HFXWHWRROFKDQJH
3UHSDUHDWRROFKDQJH
,QWHUPHGLDWHDFNQRZOHGJPHQW
(QGDFNQRZOHGJPHQW
$FNQRZOHGJPHQW2.
Signal description:
① The PLC user program receives a new job. The job "prepare tool change" and the job "execute
tool change" are issued simultaneously. Txx and M206 have been programmed in one NC
block.
② Several intermediate steps are acknowledged. The state of the job remains unchanged. The
positions of the tools are updated using the transfer steps of the acknowledgments from the
tool management.
③ The end acknowledgment OK is returned and the bit for the job is simultaneously reset.
The description of the job ("execute tool change" and "prepare tool change") is not reset. Byte
1 of DB43xx is not overwritten until the next job.
Note
MD20310: $MC_TOOL_MANAGEMENT_MASK
The response of the interface in DB43xx.DBB1 is affected by the setting in MD20310 bit 10.
This sequence described here corresponds to the presetting of the machine data.
This symbolic notation form can only be used for synchronous intermediate and end
acknowledgments, since asynchronous messages do not have a job as a reference.
Transfer of to Comment
step
Magazine Location Magazine Location
1 0 1 0 1 Prepare Tool: The magazine is
positioned at the changing point of the
new tool.
2 0 1 9998 2 Tool change: Tool from magazine to
gripper 1
3 9998 1 9998 3 Tool change: Tool from spindle to
gripper 2
4 9998 2 9998 1 Tool change: Tool from gripper 1 to
spindle
5 9998 3 0 2 Tool change: Tool from gripper 2 to
magazine
Transfer of to Comment
step
Magazine Location Magazine Location
101 1 0 9998 1 "Prepare tool change": The magazine
is positioned at the changing point.
The source position must be entered
by the PLC user program.
102 1 0 9998 2 "Prepare tool change": Tool from
magazine to buffer. The source
position must be entered by the PLC
user program.
See also
In the PLC project on the Toolbox CD you can find examples of transfer steps and their
acknowledgments, for a turning machine with a circular magazine and a milling machine with
a chain magazine and dual gripper:
● Application example for milling machine (Page 65)
● Application example for turning machine (Page 54)
These blocks are function examples for the acknowledgment of different tool management
jobs.
Acknowledging jobs
Many tool movements or tool management jobs can be directly acknowledged using total
acknowledgment at bit 0.0 of the interface, without previous intermediate acknowledgment.
For example:
Overview
It is possible to read up to eight NC variables in one job using the existing NC services
interface (DB1200).
Legend:
n > 0: Location type for virtual location
n = 0: "match all" (buffer)
n = 9999: undefined (no virtual location)
Legend:
n=1 locked
n=2 free (<> occupied)
n=4 reserved for tool in buffer
n=8 reserved for tool to be loaded
n = 16 occupied in left half location
n = 32 occupied in right half location
Values in DB120x.DBB3001
0 No error
3 Illegal access to object
5 Invalid address
10 Object does not exist
PI service: TMMVTL
Function
With PI service TMMVTL, it is possible to initiate a job to relocate a tool from the PLC. After
an error-free "PI Start," the tool management performs an empty location search in the target
magazine for the tool on the defined source location. Subsequently the PLC receives a job
for relocating the tool (user interface DB41xx.DBB0).
Parameter assignment
Starting program instance services in the NCK area:
The tool can be specified either via a T number or by means of the location and magazine
numbers. The value -1 is entered at unused specification points.
With the parameter, target location number =-1, a search is made in the complete magazine
for an empty location for the tool according to the search strategy that has been selected. If a
target location is specified, then a check is made as to whether the location with the
specified target location number is free and suitable for the particular tool.
For a target magazine number = -1, a search is made in a buffer for the tool corresponding
to the assignment obtained from $TC_MDP2.
Application
Examples:
● When using buffers to return the tool (for example Toolboy and/or shifter), an explicit
empty location search in the magazine may be needed during the asynchronous return
transport. In this case the PLC does not have to note the original location, the PI service
searches for a suitable location.
● A tool is to be moved from a background magazine to the front magazine.
Example: Loading/unloading
Programming
For loading, tools are placed directly in the magazine or the spindle; for unloading, they are
removed directly from the magazine. Normally, a single acknowledgment from the operator
or the PLC user program (tool holder is closed again) is sufficient as a message that the
process is complete. There is no need to configure a transfer step. The total
acknowledgment can be set in DB40xx.DBX0.0.
Acknowledgment to tool management:
Acknowledgment Acknowledgment bit Transfer step new Transfer step old Status
step tool tool
xxx DB4000.DBX0.0 -- -- (99)
Loading procedures using handling systems or transporting the tool from the spindle into the
magazine can be performed using further asynchronous messages.
Different loading sequences are described below:
Programming
In MD22562: $MC_TOOL_CHANGE_ERROR_MODE Bit 1=1, additional tools without
magazine allocation have been selected by the NC part program. The selected tool must be
inserted in the machine manually and removed again manually after machining ("manual
tools").
The operator must ensure that the data block for the tool on the spindle is in the NCK, or that
he/she puts the appropriate tool onto the spindle for the data block stored in the NCK.
Note
The responsibility is on the user to comply with the safety regulations via the PLC user
program.
The PLC user program is informed with DB43xx.DBX1.5 and DBX1.6 whether a manual tool
is involved in a tool change job. With alarm 17212: "Channel %1, Manual tool %2, Duplo No.
%3, Load to toolholder %4" or Alarm 17214. "Remove manual tool from spindle/tool holder,"
the operator is requested to execute the tool change.
The alarms are reset after a tool change by the acknowledgment from the PLC.
Starting position 1
The manual tool in the spindle should be exchanged for another manual tool
Job from tool management to the PLC user program (tool change):
DB4300.DBX0.0, DBX1.2, DBX1.5 and DBX1.6 ("Prepare tool change")
Acknowledgment Acknowledgment bit Transfer step for Transfer step for Status
step the new tool the old tool
xxx DB4200.DBXx.x 0 0 1
Acknowledgment Acknowledgment bit Transfer step for Transfer step for Status
step the new tool the old tool
xxx DB4200.DBXx.x 0 6 105
After intermediate acknowledgment of the empty spindle and insertion of the new tool in the
spindle, the tool change is terminated with a total acknowledgment:
Acknowledgment Acknowledgment bit Transfer step for Transfer step for Status
step the new tool the old tool
DB4200.DBX0.0 (99)
Starting position 2
A manual tool is in the spindle and is to be replaced by a tool from the magazine
Job from tool management to the PLC user program (tool change):
DB4300.DBX0.0, DBX1.2 and DBX1.6 ("Prepare tool change")
Acknowledgm Acknowledgment bit Transfer step for the Transfer step for the Status
ent step new tool old tool
xxx DB4200.DBXx.x 0 0 1
Acknowledgm Acknowledgment bit Transfer step for the Transfer step for the Status
ent step new tool old tool
xxx DB4200.DBXx.x 0 6 105
The spindle is now empty, the old tool is outside the magazine.
Next step: Synchronous acknowledgment, new tool to gripper 1
Acknowledg Acknowledgment bit Transfer step for the Transfer step for the Status
ment step new tool old tool
xxx DB4200.DBXx.x 3 0 105
Acknowledg Acknowledgment bit Transfer step for the Transfer step for the Status
ment step new tool old tool
xxx DB4200.DBXx.x 4 0 105
Acknowledg Acknowledgment bit Transfer step for the Transfer step for the Status
ment step new tool old tool
xxx DB4200.DBXx.x 0 0 1
The step New tool from gripper 1 to spindle can be omitted and replaced by a total
acknowledgment. This also informs the tool management that all tools are in their target
positions.
Acknowledg Acknowledgment bit Transfer step for the Transfer step for the Status
ment step new tool old tool
DB4200.DBX0.0 (99)
Example file
You can find the program for configuring the magazine in the Toolbox.
The program can be read into the control and should be adjusted for the specific machine
concerned.
Configuration
0DJD]LQH UHYROYHU
7RROKROGHU
6SLQGOH &KDQJLQJSRLQW
/RDGDQGXQORDG
See also
You will find a precise description of the parameters used in the Tool Management Function
Manual of SINUMERIK 840D sl.
Example MAG_CONF_MPF
1. Plant configuration:
– 1 revolver magazine with 8 locations (can be set up in N40)
– 1 loading point
– 3 buffer locations (can be set up in N50, assignments from N540)
2. Part program:
;MAG_CONF_MPF
N10 def int NUM_MAG,MAG_TYPE, LOCATIONS,
PLACE, NUM_BUFFER, NUM_LOAD, PLACE_SEARCH
;
N20 NUM_MAG = 1 ;Number of the magazine
N30 MAG_TYPE = 3 ;Magazine type (1: chain,
3: revolver, 5: box magazine)
N40 LOCATIONS = 8 ;Number of magazine locations
N50 NUM_BUFFER = 1 ;Number of buffers (spindle,
gripper)
N60 NUM_LOAD = 1 ; Number of loading points
N70 PLACE_SEARCH = 257 ; Type of search strategy
;= 257 Bit13=0 no exchange of the old tool on the location of the new tool
;Setting for pickup magazine
;=12289 Bit13=1 exchange old tool on the location of the new tool
;Setting for chain magazine
N80;
N90;
;Check parameters
N100 STOPRE
N110 if ((NUM_MAG==0)or(LOCATIONS==0))
N120 Err1:STOPRE
N130 MSG("Wrong Parameter --> Cancel")
N140 G04 F4
N150 STOPRE
N160 M0
N170 GOTOB Err1
N180 endif
N190; Magazine configuration
N200;
N210;
N540 $TC_MAP2[9998]="BUFFER"<<NUM_MAG
N550 $TC_MAP3[9998]=17 ; Magazine status
N560 $TC_MAP6[9998]=1 ; Number of lines
N570 $TC_MAP7[9998]=NUM_BUFFER ; Number of locations
;
; Locations in the buffer
;Spindle
N580 $TC_MPP1[9998,1]=2 ; Location type (here spindle)
N590 $TC_MPP2[9998,1]=0 ; Location type (here always 0)
N600 $TC_MPP3[9998,1]=0 ; Consider adjacent location Off
N610 $TC_MPP4[9998,1]=2 ; Location status
N620 $TC_MPP5[9998,1]=1 ; Location type index
;
N630; Gripper
N640 FOR PLACE=2 to NUM_BUFFER
N650 STOPRE
N660 $TC_MPP1[9998,PLACE]=3 ;(here gripper)
N670 $TC_MPP2[9998,PLACE]=0 ;(here always 0)
N680 $TC_MPP3[9998,PLACE]=0 ; Consider adjacent location Off
N690 $TC_MPP4[9998,PLACE]=2 ; Location status
N700 $TC_MPP5[9998,PLACE]=PLACE ; Location type index
N710 endfor
N720 STOPRE
;
;
N730; Definition of loading magazine (always number 9999)
;
N740 $TC_MAP1[9999]=9 ; Magazine type 9: Loading magazine
N750 $TC_MAP2[9999]="LOADING
MAGAZINE"<<NUM_MAG
N760 $TC_MAP3[9999]=17 ; Magazine status
N770 $TC_MAP4[9999]=-1
N780 $TC_MAP5[9999]=-1
N790 $TC_MAP6[9999]=1 ; Number of lines
N800 $TC_MAP7[9999]=NUM_LOAD ; Number of locations
N810 STOPRE;
;
N820; Loading magazine locations
;
N830 for PLACE=1 to NUM_LOAD
N840 STOPRE
N850 $TC_MPP1[9999,PLACE]=7 ; Location type Loading point
N860 $TC_MPP2[9999,PLACE]=0 ; Location type (here always 0)
N870 $TC_MPP3[9999,PLACE]=0 ; Consider adjacent location Off
Acknowledgment steps
Generally, the mechanical sequences on a turning machine are simpler than those for a
milling machine. In the configuration described in the previous chapter without additional
buffer, tool changes can be acknowledged after the mechanical movements without transfer
steps. The PLC user program must detect incoming jobs in the job interfaces and execute
the mechanical movements.
Total acknowledgment to tool management:
Acknowledgment Acknowledgment bit Transfer step new Transfer step old Status
step tool tool
-- DB4000.DBX0.0 -- -- (99)
-- DB4200.DBX0.0 -- -- (99)
An asynchronous message can be used for magazine movements without a job from the tool
management.
Acknowledgment to tool management:
Acknowledgment Acknowledgment bit Transfer step new Transfer step old Status
step tool tool
xxx DB4000.DBXx.x 101 0 204
Transfer variables
With MD10717: $MN_T_NO_FCT_CYCLE_NAME (name of cycle to be executed instead of
the T function, e.g. "TCHANGE"), you can set that a cycle is run when the T command is
called. The cycle is run through at every T call, irrespective of whether a new tool or the
already active tool is called. The position of the revolver can be set on the programmed tool
in this cycle (POSM). This is necessary when the revolver has been positioned manually
after a tool selection and the tool has not been deselected. In this case, the NC does not
issue a new job for tool change at the interface.
Sample program
Prerequisite is that the tool management has been informed of each magazine movement.
The example has been created for machine data with the turning technology default setting.
The "Spare tools for tool management" option is not active.
Transfer variables of the T replacement cycle:
Tag Description
$SC_T T number of the tool (numerical)
$SC_T_Prog Bool variable that shows whether a T word is available in $C_T.
Tag Description
$C_TS Identifier for tool (string)
$C_TS_Prog Bool variable that shows whether an identifier is available in $C_TS.
$C_TE Address extension of the T word
$C_D Programmed D number
$C_D_Prog Bool variable that shows whether an offset number is available in $C_D.
$C_DL Programmed additive/setup offset
$C_DL_Prog Bool variable that shows whether an offset number is available in $C_DL.
In the following example, a job for positioning the magazine with POSM is output at the
interface. During the magazine positioning, the block processing of the NC must be
controlled by the PLC user program. In most cases, it is useful to set the load or feed disable
during this time. As soon as the position setpoint specified in the job is reached
(asynchronous message of the magazine position), the job is terminated with total
acknowledgment.
IF $C_TS_PROG==1 ; T is an identifier
_TNO_NEW=GETT($C_TS,1) ; Querying of T number
IF _TNO_NEW>0 ; Does the T number exist?
_TL_NEW=$A_MYMLN[_TNO_NEW] ; Querying of location number
ENDIF
IF _TL_NEW>0 ; Is the tool in the magazine?
POSM(_TL_NEW) ; Position magazine
ENDIF
T=$C_TS ; T programming without address extension
ENDIF
M17
See also
The function is available irrespective of tool management and is described in full in: Function
Manual, Basic Functions, "Mode Group, Channel, Program Operation, Reset Behavior (K1)."
Magazine configuration
In the magazine configuration the magazine is assigned twice as many locations as actually
exist, e.g. in the case of revolver with 12 locations, 24 locations are set up. Location 1-12 for
the main spindle, location 13-24 for the counterspindle.
The user program positions the magazine in such a way that, for example, the same position
is approached for location 1 and location 13. So each real magazine location corresponds to
a virtual magazine location for the main spindle and a virtual magazine location for the
counterspindle.
Procedure
Read the T number of a tool in gripper 1 and 2:
1. In the PLC user program, enter the parameters in DB1200.
2. In DB1200.DBX0.0, set the start for reading the location states.
Once the order has been successfully executed, the results are entered starting from
DB1200.DBB3000:
Procedure
A tool is to be moved from a buffer (for example, of a gripper) into the magazine. The empty
location search for the tool from gripper 1 (magazine 9998, location 2) is executed with PI
Service TMMVTL and an order to relocate the tool is generated.
In the PLC user program, enter the parameters in DB1200, and in DB1200.DBX4000.0, set
the start to read the PI service.
DB410x.DBX0.0 delivers an order to relocate the tool from the buffer. The target location in
magazine 1 is in DB4100.DBW12. With it, the PLC user program can execute the necessary
sequence.
NOTICE
The acknowledgment to repeat the order "Prepare tool change" may only be issued
before the end acknowledgment of the "Prepare tool change" order!
Acknowledgment Acknowledgment bit Transfer step new Transfer step old Status
step tool tool
xxx DB4000.DBXx.x 0 0 7
Example file
You can find the program for configuring the magazine in the Toolbox.
The program can be read into the control and should be adjusted for the specific machine
concerned.
Configuration
0DJD]LQH
*ULSSHU
6SLQGOH
&KDQJLQJSRLQW
*ULSSHU
0DJD]LQHORDGLQJSRLQW
/RDGDQGXQORDG
PDJD]LQH
See also
Further information:
● The configuration of a disk-type magazine with fixed-location coding is performed as for
the configuration of a revolver magazine: Example: Turning machine with revolver
magazine (MAGKONF_MPF) (Page 54)
● You will find a precise description of the parameters used in the Tool Management
Function Manual of SINUMERIK 840D sl.
Example MAG_CONF_MPF
1. Plant configuration:
– 1 chain magazine with 8 locations (can be set up in N40)
– 1 loading point
– 3 buffer locations (can be set up in N50, assignments from N540)
2. Part program:
;MAG_CONF_MPF
N10 def int NUM_MAG,MAG_TYPE, LOCATIONS,
PLACE, NUM_BUFFER, NUM_LOAD, PLACE_SEARCH
;
N20 NUM_MAG = 1 ;Number of the magazine
N30 MAG_TYPE = 1 ;Magazine type (1: chain,
3: revolver, 5: box magazine)
N40 LOCATIONS = 8 ;Number of magazine locations
N50 NUM_BUFFER = 3 ;Number of buffers (spindle,
gripper)
N720 STOPRE
;
;
N730; Definition of loading magazine (always number 9999)
;
N740 $TC_MAP1[9999]=9 ; Magazine type 9: Loading magazine
N750 $TC_MAP2[9999]="LOADING
MAGAZINE"<<NUM_MAG
N760 $TC_MAP3[9999]=17 ; Magazine status
N770 $TC_MAP4[9999]=-1
N780 $TC_MAP5[9999]=-1
N790 $TC_MAP6[9999]=1 ; Number of lines
N800 $TC_MAP7[9999]=NUM_LOAD ; Number of locations
N810 STOPRE;
;
N820; Loading magazine locations
;
N830 for PLACE=1 to NUM_LOAD
N840 STOPRE
N850 $TC_MPP1[9999,PLACE]=7 ; Location type Loading point
N860 $TC_MPP2[9999,PLACE]=0 ; Location type (here always 0)
N870 $TC_MPP3[9999,PLACE]=0 ; Consider adjacent location Off
N880 $TC_MPP4[9999,PLACE]=2 ; Location status
N890 $TC_MPP5[9999,PLACE]=PLACE ; Location type index
N900 endfor
N910 STOPRE
;
;
N920; Offsets (clearances) ; Clearances to magazine
;
; Buffer
N930 for PLACE=1 to NUM_BUFFER
N940 $TC_MDP2[1,PLACE]=0
N950 endfor
N960 STOPRE
;
;Loading points
N970 for PLACE=1 to NUM_LOAD
N980 stopre
N990 $TC_MDP1[1,PLACE]=0
N1000 endfor
You will find the expression 1:1 change in the program sequence. This means that the tool
change will be carried out in a single cycle. The tool from the spindle (old tool) will be set
down at the magazine location of the new tool. No additional magazine positioning is
required. In this case, the target location of the old tool in the tool management job is the
same as the source location of the new tool (DB43xx.DBW6 and DBW8 are equal to DBW18
and DBW20).
A 1:1 change is not possible for:
● Tools with different location types
● Different tool sizes
● Fixed-location tools
By programming T0 in the NC program, a tool change is initiated without a new tool. Only the
spindle tool is transported to the magazine (empty the spindle).
① ... ⑭ refer to the steps in the flow chart below.
You can see the different acknowledgment options from the steps. Job-related
acknowledgments and asynchronous messages are used.
Please take the transfer steps used from the table in Chapter Example: Acknowledgment
steps (milling machine) (Page 79)
-RESUHSDUHWRRO
FKDQJH
1R
FKDQJHUHTXHVWHG" 0DJD]LQHSRVLWLRQLQJ
/RFDWLRQIURPWKHROGWRROWR
WKHFKDQJLQJSRLQW
<HV
-RESUHSDUHWRROFKDQJH
0DJD]LQHSRVLWLRQLQJ DFNQRZOHGJH
/RFDWLRQIURPWKHQHZWRROWR
WKHFKDQJLQJSRLQW
2OGWRROIURPVSLQGOHWR
-RESHUIRUPWRRO JULSSHU
FKDQJH
2OGWRROIURPJULSSHUWR
PDJD]LQH
1R
FKDQJHUHTXHVWHG"
<HV <HV
7"
2OGWRROIURPWKHVSLQGOHWR
JULSSHUDQGQHZWRROIURPWKH 1R
PDJD]LQHWRJULSSHU
0DJD]LQHSRVLWLRQLQJ
/RFDWLRQIURPWKHQHZWRROWR
WKHFKDQJLQJSRLQW
2OGWRROIURPJULSSHUWR
PDJD]LQHDQGQHZWRROIURP
JULSSHUWRVSLQGOH
1HZWRROIURPPDJD]LQHWR
JULSSHU
(QGDFNQRZOHGJPHQW
1HZWRROIURPJULSSHUWR
VSLQGOH
1: 1 change: The old tool is deposited in the location of the new tool.
Figure 1-8 Flow Diagram
Acknowledg Acknowledgment bit Transfer step new Transfer step old Status
ment step tool tool
4 DB4200.DBX0.4 101 0 204
Acknowledgment to TM:
Step 3: Positioning the magazine; location from the old tool to the changing point.
← Previous step: Step 1
Same as Step 2, however, the magazine target location is obtained from DB4300.DBW20
(location number for old tool - target).
Acknowledgment to TM:
Acknowledg Acknowledgment bit Transfer step new Transfer step old Status
ment step tool tool
4 DB4200.DBX0.4 101 0 204
Acknowledg Acknowledgment bit Transfer step new Transfer step old Status
ment step tool tool
1 DB4200.DBX0.1 0 0 1
Step 6: Old tool from the spindle to gripper 2 and new tool from the magazine to gripper 1
← Previous step: Step 5
The PLC program controls the machine functions with which the gripper movements, tool
clamping, etc. are performed. As soon as the mechanical movements are completed and
acknowledged in the PLC user program, the tool movements are acknowledged to the tool
management.
Acknowledgment to TM:
Acknowledg Acknowledgment bit Transfer step new Transfer step old Status
ment step tool tool
5 DB4200.DBX0.5 1 2 105
Step 7: Old tool from gripper 2 to magazine and new tool from gripper 1 to spindle
← Previous step: Step 6
The PLC program controls the machine functions for the gripper movements, tool clamping,
etc. As soon as the mechanical movements are completed and acknowledged in the PLC
user program, the tool movements are acknowledged to the tool management.
Acknowledgment to tool management:
Acknowledgm Acknowledgment bit Transfer step new Transfer step old Status
ent step tool tool
7 DB4200.DBX0.7 3 4 105
Acknowledgm Acknowledgment bit Transfer step new Transfer step old Status
ent step tool tool
1 DB4200.DBX0.1 0 0 1
Acknowledgm Acknowledgment bit Transfer step new Transfer step old Status
ent step tool tool
8 DB4200.DBX1.0 0 2 105
Acknowledgm Acknowledgment bit Transfer step new Transfer step old Status
ent step tool tool
9 DB4200.DBX1.1 0 4 105
Step 11: T0 ?
← Previous step: Step 10
Request: Is T0 set in the tool change job?
DB43xx.DBX1.3
If only the tool holder should be emptied, the tool change can be completed:
Step 12: Magazine position location from new tool to changing point
← Previous step: Step 11
Sequence as in Step 2
Acknowledgment to tool management:
Acknowledg Acknowledgment bit Transfer step new Transfer step old Status
ment step tool tool
4 DB4200.DBX0.4 101 0 204
Acknowledgm Acknowledgment bit Transfer step new Transfer step old Status
ent step tool tool
10 DB4200.DBX1.2 1 0 105
Acknowledgm Acknowledgment bit Transfer step new Transfer step old Status
ent step tool tool
11 DB4200.DBX1.3 3 0 105
Note: The step numbers ① ... ⑭ refer to the flow chart in Chapter Flow chart: Tool change
(Page 70)
Sample program
M17
;----------------------------------------------------------------
; END
;----------------------------------------------------------------
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.
Tailstock
Parts catcher
Barfeed
Coolant filter
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.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B009
B009
Easy extend is a system which gives the seller of the Easy Extend:
START
machine a mechanism to enable the hardware options Tag
which are offered by the machine tool builder, without Descriptions:
the necessity for service intervention. Dialogue
Screens
A machine option could typically be a: General
Information
and Concept
Tailstock
Easy Extend:
Parts catcher END
Barfeed
Coolant filter
Creating
XML scripts
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 :
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 :
The xml files use tags, which are required for code execution.
Each tag performs a specific function.
Example:
<name of tag> “open tag”
Enter script in here Editing agm files using RCS Commander
</name of tag> “close tag with / slash”
It is often more convenient to create and edit files remotely.
Short Version <name of tag...Enter script in here…/> Editing the XML files offline and transferring them to the con-
troller is possible using RCS commander.
The agm tag is the root element of the agm.xml.
All other tags are written inside this tag. Start RCS commander:
Notes :
The following example shows how to configure Easy Extend The individual xml files for each device should be placed in the
Device 1 using the agm.xml file and a separate file for the de- same directory as the agm.xml file.
vice itself.
Example: Password_test.xml (Blue text for information only;
Rather than have one file containing the code for many green text to be typed into the “password_test.xml”) :
devices, it makes sense to have one file for each device.
These separate files can then be called from within the <DEVICE> Open the DEVICE tag
agm.xml file. <list_id> 1 </list_id> Device number e.g. 1
<name> "Password Test" </name> Device name
The device is assigned the name off “Test Password” and will <password refvar = "plc/db9030.dbd4" />
be enabled via the PLC with a user defined password.
password_refvar tag:
Example of an agm.xml file with “include src” command (Blue The password entered on the Easy Extend screen
text for information only; orange text to be typed into the will be stored here i.e. DB9030.DBD4
“agm.xml”):
</DEVICE> Close the DEVICE tag
<!Example agm.xml for Password test>
<!Data block 9030 is required in the user PLC program/> Power the controller off/on to activate the xml files
<AGM>
</AGM>
Notes :
The Data Block will now appear in the Data Block folder of the
project. Other Data Blocks may also be present.
Notes :
The user DB will require certain information to be entered depending on the number of devices in use.
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 The device will now be enabled, this is indicated by a green
via the following soft-key selection. tick in the “Function” column.
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>
text - The text to be displayed in the message box. Using the characters “%n” results in a new line.
retvalue - Defines the variable where the return value is copied. (Return values– OK = 1, CANCEL = 0.)
Notes :
When the “Activate” soft-key is pressed a message box will appear containing the specified text. To activate the device select the
“OK” soft-key. The device will then be activated in the usual way.
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>
<"PLC/Q4.7" == 1 The condition of Q4.7 is
</condition> checked for a value of 1
<THEN>
<op> "$actionresult" = 1 </op> If the above condition is true, a value of 1 is
</THEN> written to the system variable $actionresult
<ELSE>
<op> "$actionresult" = 0 </op>
If the condition is false, a value of 0 is written
</ELSE>
</IF> to system variable $actionresult
</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 :
One custom screen can be defined for each device, this is done using the form tag. The custom screen can include texts and
bitmaps. Input fields can be linked to machine variables allowing the operator to set machine parameters.
The “Addition. parameter” soft-key is reserved for the instructions contained in the Form tag.
LET
INIT
PAINT
TIMER
CLOSE
CAPTION
SOFTKEY_OK
SOFTKEY_CANCEL
The following example shows how a bitmap is selected and positioned on the screen:
The bitmap has to be placed in the same folder as the agm.xml file.
<DEVICE>
<list_id>1</list_id>
<password refvar="plc/db9030.dbd4"></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> "Picture Test" </name>
<password refvar="plc/db9030.dbd4"></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 = "190" ypos = "120" name = "tiger.bmp" height="180" width="180"/>
</paint>
</FORM>
</DEVICE>
Notes :
Example:
The “Undo” and “Repetition” soft-keys are available to switch
each single entry between its new and original value. <DEVICE>
<list_id>1</list_id>
<name> "Archives" </name>
<password refvar="plc/db9030.dbd4"></password>
<START_UP>
</START_UP>
</DEVICE>
The “Last configuration” soft-key is available to restore all the
entries to their original values.
Notes :
The archive is created with the following soft-keys In the event that the previously created archive needs to be
restored, the “Restore” soft-key can be selected and the dia-
logue box acknowledged.
When the archive has been created the following dialogue box
will be displayed, the device will be activated when the „OK“
soft-key is selected.
Notes :
<refvar="plc/db9030.dbd4"></password>
<SET_ACTIVE>DEVICE>
<list_id>1</list_id>
<name> "switch drive active" </name> Drive parameter “P971Save drive object parameters” is set to
<password 1 to save the drive Parameters. When the data has been
<data name = "drive/dc/p105[DO5]">1</data> saved the parameter automatically reverts to a value of 0.
<data name = "$MC_AXCONF_MACHAX_USED[4]">5</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_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"/> The deactivated axis does not The deactivated axis does not
</SET_INACTIVE> appear on the machine page: appear on the machine page:
Notes :
Addressing of Variables
$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 :
x = variable numeric identifier, b = Bit number. The drive path starts with the component identifier.
CU for the Control Unit.
DC for a drive component.
Inputs Outputs Markers Data Blocks The object number should be placed in square brackets.
The drive object number differs from the actual drive number
Mx.b MBx Mx.b DBx.DBx.b because the CU, ALM DriveCliq Hubs etc are all assigned an
object number.
IBx QBx MBx DBx.DBBx
Representation Example: Parameter 970 for drive object 2 =
IWx QWx MWx DBx.DBWx
p0970[do2]
IDx QDx MDx DBx.DBDx
The drive index number can also be read from a local vari-
able:-
<data name = “plc/mb200”> 1 </data> Writing a value of 1 This would be written as p0970[do$drive]
to MB200
Indirect Addressing:-
<let name=“driveIndex”>0</let> Declaring a temporary
NC Variables variable called “driveindex” and setting the value to 0.
Notes :
“ " (Quotation)
, ' (Apostrophe)
Operators
Operator Significance
= Assignment
== Equal to
II Logical OR operation
— 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 $ sym-
DATA bol should be used immediately in front of the variable name.
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 Device
DRIVE_VERSION
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 Individual)
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 :
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 variable
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 DB9030.DBWx.
When only devices 1 to 16 are in use, no index is required:
<option_md name=“PLC/DB9030.DBW0”/>
When more than 16 devices are in use, the index must be specified:
<option_md name=“PLC/DB9030.DBW0” index=“0”/>
<option_md name=“PLC/DB9030.DBW2” index=“1”/>
<option_md name=“PLC/DB9030.DBW4” index=“2”/>
<option_md name=“PLC/DB9030.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 (DB9030).
PASSWORD Attribute:
refvar - name of the reference variable.
Example: Declaring DB9030.DBD4 as the target for the entered password-
<password refvar=“plc/db9030.dbd4”/>
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 text is
POWER_OFF 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 condi-
tion 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.
Providing that this is the case, again write a value of 15 into QB11. When the condition is false, stop the
DO_WHILE 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 vari-
ables 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 control 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 lefthand corner
ypos – Y position of the upper lefthand 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 lefthand corner
ypos – Y position of the upper lefthand 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 :
Syntax:
<box xpos="X position" ypos = "Y position" width=“X extension“ height=“Y extension“ color=“color code“ />
BOX Attribute:
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
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>
B009: END
Module Description:
Easy Screen 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 Easy Screens.
Content:
Sinumerik
General Information
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B011
B011
Basic
Configuration
Information
Creating
Easy Screen
User Files
Language
Dependant
Texts
Parameters
and
Variable
Descriptions
Easy Screen:
END
Notes :
The Easy Screen function is configured using ASCII files. Configuration files are used to create the screens.
These files contain the descriptions of the user interface. These configuration files are automatically interpreted by the
controller.
As standard, up to 5 screens can be configured. The files are not available as standard and have to be cre-
Further screens are available via a licensed option (Not 828D ated by the user using an ASCII editor (e.g. Notepad® or
Basic) directly on the controller).
Sinumerik Operate Runtime OA Easy Screen, order No:
6FC5800-0AP64-0YB0. The “easyscreen.ini“ file is a master file which is required to
specify which other files are to be used to create a user
In order to create images for the screens, a graphic pro- screen.
gramme is required. Paint Shop Pro® and Paint® are pro- These files contain the information which determine what is
grammes which are compatible with the 828D controller. displayed on a particular screen.
The screen is split into different areas:
Easy Screen can be used for the following functions:
1. Display of dialogs and provision of:
Soft-keys
Variables, (tables This function will be available with a
later level of implementation.)
Text and help text
Graphic displays and help displays
2. Calling up dialogs by means of:
The (entry) soft-keys
PLC selection
3. Dynamic re-structuring of dialogs:
Changing or deleting soft-keys
Defining and designing variable fields
Showing, replacing and deleting (language-dependent/ 1 Main dialog area
independent) display texts 2 Title bar containing screen name (Left) and
Showing, replacing and deleting display texts “Long text” description of the selected
variable (Right)
(Language dependent/individual)
3 Variable input/output field
4. Initiating actions when:
4 Variable name “Short text”
Showing dialogs 5 Graphics related text
Entering values (variables) 6 Unit text
Pressing soft-keys
Operating areas overview
Closing dialogues
5.. Exchange of data between dialogs. Operating area Permissible position for start softkeys
6. Variables
Reading (NC, PLC, user variables)
Machine JOG HSK6
Commissioning HSK7
Notes :
Parameter Area
Diagnosis Area
Start-up Area
[STARTFILES] This file sets up the links to the files which are to be used to
StartFile01 = area := AreaMachine, dialog := SlMachine, create the user screens, it also determine which operating
screen := SlMaJogScreen, startfile := ma_jog.com areas these files are available in. The file has to be located in
any of the following paths/directories:-
StartFile02 = area := AreaMachine, dialog := SlMachine, “System CF card\oem\sinumerik\hmi\cfg”
screen := SlMaAutoScreen, startfile := ma_auto.com “System CF card\user\sinumerik\hmi\cfg”
StartFile03 = area := AreaMachine, dialog := SlMachine, Use the cursor keys to locate and open this directory.
screen := SlMaMdaScreen, startfile := ma_mda.com
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 Easy Screen 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 Easy Screen 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 RCS
Commander software.
Notes :
“System CF card\oem\sinumerik\hmi\proj”
“System CF card\user\sinumerik\hmi\proj” The 7th horizontal soft-key contains the text specified in the
“param.com” file: HS7=("Easy %nScreen").
Below: The param.com file located in the proj directory.
Notes :
The various parameters are separated by the “Forward slash” Dialogue Elements refer to long and short texts, graphics texts,
character (/). unit texts and I/O fields. Additional soft-keys can also be added.
//M(Identifier/header/Graphic/Dimension/Variable/Graphic The dialogue elements are added below the mask header.
position/Attributes)
In the following example (Shown in red text) the a soft-key with
Parameter descriptions: the label “Variable Test” is added. When the soft-key is pressed
the screen will display a list of four variables. The four variables
are defined under a new mask (Mask2-Workpiece Dimensions)
Parameter Description
Identifier Label of dialogue/mask. //S(START)
CM1: The column distribution is of the ling with Def Var1=(R2///"Length of component","R0 X Length"///"$R[0]")
the most columns applies to all lines. Def Var2=(R2///"Width of component","R1 Y Width"///"$R[1]")
Def Var3=(R3///"Height of component","R2 Z Height"///"$R[2]")
CB: (Change Block) Response when the dialogue Def Var4=(I///"Main spindle speed","R3 Spindle speed"///"$R[3]")
is opened. The CB attribute can also be used on
individual variables, in this case the individual VS8=("EXIT")
setting has priority over the CB setting in the
Mask Header. PRESS(VS8)
EXIT
CB0: All change blocks associated with the dia- END_PRESS
logue are processed when it is opened.
//END
CB1: Change blocks are only processed if the
relevant value changes. The parameters of the variables defined in mask2 are separated
by the forward slash character (/).
Notes :
PRESS(HS1)
LM("mask2")
END_PRESS
Values entered in the input field will be transferred to relevant Def Var4=(I///"Main spindle speed","R3 Spindle speed"///"$R[3]")
variable. R parameter 3 as an integer, sets the spindle speed:
Notes :
VS8=("EXIT") Determines the text for vertical soft-key 8 as Language Dependant Texts
“EXIT”:
It is possible to configure the Easy Screen configuration files
so that that the easy Screen language matches that of the
system.
Checking the entered values In order to do this it is necessary to create one text file for
each required language.
Values can be entered directly on the custom screen. These The text that is to be displayed is contained within the text
values are transferred directly to the variables. files.
They can be checked by viewing the variables on the standard The Easy Screen configuration files use identifiers to ensure
screen by pressing the “User variable” soft-key. that the correct text is displayed.
“System CF card\oem\sinumerik\hmi\lng”
“System CF card\user\sinumerik\hmi\lng”
“System CF card\addon\sinumerik\hmi\lng”
Part of the file name can be assigned by the user but must
also contain the correct 3 letter language coding. This is so
that the system can display the contents of the correct file.
Filename Examples:
Language
coding
Notes :
[STARTFILES]
[LANGUAGEFILES]
LngFile01 = almc.txt
LngFile02 = alsc.txt
LngFile03 = aluc.txt
LngFile04 = easyscr.txt
The identifier is used in place of the text in the param.com file. [SYSTEM]
The identifier has to be prefixed by the $ symbol. System = 0
The text associated with the identifier will be displayed.
Setting the controller language:
Example param.com file for language dependent text.
The controller language is selected via the “Start-up” menu.
//S(START)
HS7=($85100)
PRESS(HS7)
LM("mask1")
END_PRESS
//END
//M(mask1/$85101/"tiger.bmp"///110,25)
HS1=("Variable %nTest")
PRESS(HS1)
LM("mask2")
END_PRESS When using the examples shown earlier it can be seen that the
text displays change with the selected language.
//END
//M(mask2/"Workpiece Dimensions"/)
Or
Def Var1=(R2///$85102, $85103///"$R[0]")
VS8=("EXIT")
English long and short texts:
PRESS(VS8)
EXIT
END_PRESS
German long and short texts:
//END
Notes :
DEF Var1=(1/2/3/4/5/6/7/8/9/10) The texts types are separated by commas and need enclosing
in speech marks:- /”Long”, “Short”, “Graphics”, “Unit”/
1. Variable type
2. Limit values, toggle field or table identifier 5. Attributes-
3. Default The following properties can be influenced by the attributes
4. Texts Input mode
5. Attributes Access level
6. Help display Alignment of short text
7. System or user variable
Font size
8. Position of short text
9. Position of I/O field (Left, top, width, height) Handling limit values
10. Colours Response when screen is opened (Change block)
Detailed description: The attributes are separated by commas, and are not valid for
toggle fields.
1. Variable type
R[x] Real number, “x” indicates the number of decimal Input mode:-
places displayed Attribute Effect
I Integer. wr0 I/O field invisible, short text visible.
S[x] String,”x” indicates the string length. wr1 Read only, no inputting of data, short text visible.
C Character (Individual character) (Default setting)
B Boolean number wr2 Read & write possible, long and short text visible.
V Variant type wr3 As with wr1 but with I/O field visible, long and short
text visible.
2a. Limit values- wr4 All elements invisible.
A minimum and a maximum value can be specified. The values wr5 As wr2 except entries are immediately active.
are separated by a comma, the minimum value is specified first. with wr2 the entry becomes active exiting the field
Values can be in I, C and R decimal formats or as characters in or pressing enter/input/return.
the format “A” , “F”
The limit value also works in conjunction with the limit attrib- Access level:-
ute, see the attribute property for more information. Attribute Level Password/Key position
ac7 7 Not released
2b. Toggle field- ac6 6 SUNRISE
Creates a list of predefined entries in the I/O field. The list is ac5 5 EVENING
initiated by the “*” character. ac4 4 CUSTOMER
The entries can be assigned a value. ac3 3 Key switch pos 3
The Limit value is interpreted as a list for the Toggle field. ac2 2 Key switch pos 2
If only a “*” is used, a variable Toggle field is generated. ac1 1 Key switch pos 1
ac0 0 Key switch pos 0
2c. Table Identifiers-
Identifiers can be assigned to tables containing NCK/PLC val- Alignment of short text:-
ues of the same type. The “%” character is used to differentiate Attribute Effect
an identifier from a toggle field or limit value. al0 Left justified (Default)
A comma is required after the identifier, the file name containing al1 Right justified
the table information is then typed. al2 Centred
3. Default setting-
The value in the assigned variable can take on various states.
This depends on whether a default value, system or user vari-
able (Or both) has been assigned to the variable field (I/O or
toggle field)
Toggling is not possible until a valid value is assigned to the
variable.
Notes :
Notes :
Three values can be entered to define the position from the left,
the position from the top and the width of the short text.
Each entry has to be separated by a comma.
The following example would position the text “Short text” 200
pixels from the left and 100 pixels from the top with a width of
250 pixels:
The I/O field can be positioned and sized using parameter No.9.
The measurements are in pixels and relate to the top left
corner of the main dialogue body.
Four values can be entered to define the position from the left,
the position from the top and the width and height of the I/O field.
Each entry has to be separated by a comma.
The following example would position the I/O field for the
defined variable, 600 pixels from the left and 100 pixels from the
top with a width of 100 pixels and a height of 150 pixels:
10. Colours
Index Colour
1 Black
2 Red/brown
3 Dark green
4 Light grey
5 Dark grey
6 Blue
7 Red
8 Brown
9 Yellow
10 White
B011: 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 re-
quirements 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
Confirming/Resetting/Saving Tasks
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B020
B020
Setting up
the Mainte-
nance Tasks
XML Data
Files
PLC Interface
Signals
Confirming/
Resetting/
Saving Tasks
Service
Planner:
END
Notes :
Enabling the Service Planner Below: Data Blocks DB9903 & DB9904 are present in
the Data Block folder of the PLC Project.
In order for the Service planner to function the PLC user pro-
ject must contain DB9903 and DB9904. These are created
with the PLC828 programming tool and then downloaded to
the controller.
To create the Data Blocks first open up the correct project and
open the Data Block folder.
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 :
When a task is created the interval details are stored in an xml The data entered on the screen is stored in the data blocks
file, the task names are stored in a language dependent ts file. created earlier. This can be seen in the PLC diagnosis area:-
These files can be viewed and edited on the controller or off-
line.
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
Only qualified personnel should reset the task after the main-
tenance action has been completed. Simply resetting the task
without completing the task could result in damage to the
machinery. The ‘Reset all” soft-key will reset the remaining times
for all the 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
screen, a red clock symbol should have appeared in the
“Status” column and the remaining time column will be zero. This will reset the interval time back to the original and the
interface bit will remain high for one PLC cycle. This can be
used by the user PLC to acknowledge user alarms etc.
It is possible to reset a maintenance task at ant time prior to
the interval time expiring.
Exporting tasks:
The “Exporting tasks” soft-key is used to save the tasks.
The red clock symbol Enter a suitable name for the file and then select the “OK” soft
-key.
will be replaced with a green tick
This will reset the remaining time back to the original and the
interface bit will remain high for one PLC cycle. This can be
used by the user PLC to acknowledge user alarms etc.
It is possible to reset a maintenance task at any time prior to
the interval time expiring.
Notes :
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.
B020: END
Notes :
Module Description:
It is possible to send SMS messages from the controller to report certain events that occur on the
machine.
It is also possible to send and receive an SMS message to the controller which can be used to
influence the machine by means of changing PLC variables.
Module Objective:
Upon completion of this module you will be able to set up the modem and controller so that the
SMS messaging function can be used.
Content:
Sinumerik
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B018
B0018
Configuring
the Modem
Testing the
Modem
Setting PLC
variables via
SMS
Easy
Messenger:
END
Notes :
A SIM card is required which has to be fitted inside the Mo- The modem setup screens are reached through the following
dem. To dismantle the modem two clips have to be released. key combination:-
When the “Easy Msg active” soft key is selected the control
will start to communicate with the modem.
The SIM card slot can be seen below, once inserted the mo-
dem can be clipped back together.
LED information:-
S (Status)
The status of the connection will be displayed.
Q (Quality
C (Connection)
Notes :
Notes :
The user must now be activated, select the “User active” soft-
key and then the “OK” soft-key.
Notes :
The controller sends out confirmation that the task was suc-
cessful.
A record of these texts can be found in the alarm log page.
In the text editing area of the SMS device the ID of a user has
to be input followed by the value to be sent to the variable.
Now send the message. Providing that the user exists and is
active the SMS protocol screen of the controller will display
the received message, a few moments later the controller will
send a message to the sender to inform them that the task
was successful..
B018: END
Notes :
Module Description:
Module Objective:
Upon completion of this module you will be able to retrofit an axis to a running system.
Content:
Sinumerik
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B016
B016
This requirement usually arises after the machine has left the
factory.
Additional Axis
Installation:
END
Notes :
Any additional axes may need to be licensed to check whether To replicate a standard 3 axes + spindle milling machine, the
the licence already exists go to the licence screen: drive configuration has been changed so that the only the
double axis modules are used.
The single axis module that was previously used for the spin-
dle will now become the additional axis.
The 3 axis + spindle DriveCLiQ configuration can be seen
below:
It may be necessary to obtain a new licence if the current one
does not allow further axis expansion.
The new axis can also be named accordingly. When the new hardware is connected and powered reapplied,
the system will detect the new hardware and issue an alarm.
Notes :
Notes :
A message box confirms that the transfer of the new hardware The axis will automatically be selected for the “Actual value”.
was successful:
Or
B016: 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 inter-
face 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.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
B029
B029
Analogue Spindle:
END
Notes :
Analogue Servo Control via X252 Machine Data for Analogue axis.
Interfaces: Rear view of PPU showing X252 interface. X252 pins 1 & 2 are reserved for the analogue output
Signal which is used for controlling an analogue servo drive.
(Nominal +/- 10V, can be changed via machine data.)
The functionality of the analogue signal can be influenced by
Axis MD 30134 $MA_IS_UNIPOLAR_OUTPUT.
The resolution of the analogue output signal is 14bit.
Sinamics digital outputs DO14 & DO15 (X132 pins 12 & 13)
are used for enabling and direction signals.
MD30100 $MA_CTRLOUT_SEGMENT_NR:
Activates the axis as an analogue axis when set to 0
X132
MD30134 Signal Function
MD32260 $MA_RATED_VELO :
Sets the maximum speed of the axis in rpm. A this speed the
voltage determined by MD32250 will be present on X252 pins
1 & 2.
Notes :
MD36710 $MA_DRIFT_LIMIT[0] :
Limit for automatic drift compensation, if active.
MD36720 $MA_DRIFT_VALUE[0] :
A basic drift value can be entered as an additional speed set-
point. Works with or without the presence of an actual value
encoder.
Example:
Machine
X Y Z SP
Data
30100 5 5 5 0
30110 1 2 3 1
30120 1 1 1 1
30130 1 1 1 1
30134 0 0 0 0, 1 or 2
30200 1 1 1 1
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 :
Notes :
Module Description:
Technological advances have resulted in the reduction in size of electronic equipment. The result
being that the equipment is more prone to heat, dust and moisture damage.
By calculating the power loss of the components and therefore ensuring the correct cooling
requirements of a particular cabinet, it is possible to reduce the failure rate of these and other compo-
nents.
It is also essential that the cabinets are designed to prevent/minimise the ingress of contaminants.
Module Objective:
Upon completion of this module you will know the design criteria of electrical cabinets.
Content:
Sinumerik
Choosing a Cabinet
Arrhenius’ Law
Cabinet Cooling
Equipment Mounting
Cabinet Sealing
Miscellaneous
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents. B006
B006
The following list shows the Seven Deadly Sins which Choosing a
must be avoided. Cabinet
Electrical Cabinet
Design:
END
Notes :
Most of the heat within an electrical control cabinet is produced The ideal ambient temperature for the cabinet is 35°C.
by the drive The cooling unit should be set to achieve this temperature.
components. If the temperature is allowed to get too high the lifetime of the
components will be reduced.
Sinamics drives are available in internally or externally cooled If the temperature is set too low there is a risk of condensation
variants. forming on the electronic components which can also be
The internally cooled drive types dissipate heat within the detrimental to the equipment.
cabinet and will usually require a cooling unit to remove this
heat.
The externally cooled drive types dissipate heat to the outside
of the cabinet and may not require cooling units.
2m x 3m = 6m² (Front)
2m x 1m = 2m² (left side)
2m x 1m = 2m² (Right side)
3m x 1m = 3m² (Top)
Total = 13m²
Example 2:-
Internally cooled 36Kw Active Line Module-Power loss = 630W
Internally cooled 18A Single Motor Module-Power loss = 165 W
Internally cooled 30A Single Motor Module-Power loss = 630 W
Notes :
The following graph demonstrates Arrhenius Law and shows the effects that increased temperature has on the lifetime of elec-
tronic components.
It can be seen that an increase in temperature by 10 will result a 50% increase in the failure rate (50% reduction in life time).
Expected
Life Defect
Time Rate
120% — 9.00
— 8.00
100%
— 7.00
80% — 6.00
— 5.00
60%
— 4.00
40% — 3.00
— 2.00
20%
— 1.00
0% — 0.00
Temperature Change
Notes :
≥ 200mm
Ducting
Roof mounted
cooling units
Outlet
m
≥ 200mm 0m
20
≥
Drive
t
t
le
le
In
In
Potential
equipment
obstruction
Electrical cabinet Electrical cabinet
Temperature
Measuring point
Notes :
Outlet Cooling
unit
Inlet
Outlet
≥ 200mm Cooling
unit Air short circuit due
Drive to lack of ducting
equipment
Baffle
Temp.
Meas. Drive
point Inlet equipment
Notes :
< 200mm
Drive Drive
equipment equipment
≥ 200mm
Drive
equipment
Baffle
Temp.
Meas.
point
Notes :
Outlet
via filter
Drive
equipment
Temperature
Measuring points
Inlet via
Fan &
filter unit
Notes :
Equipment Mounting
Example:- Externally cooled
The correct mounting of equipment is important with respect drive module heat-sinks
to the cooling process and for Electromagnetic compatibility protruding from the rear of a
measures. cabinet with a cut-out ready to
accept another module.
Air flow to drive units:-
Cable
ducting Example:- Externally cooled
drive modules with heat-sink
≥ 80mm cover and fan/filter.
The fan takes air in at the
bottom and the cover creates
a chimney effect to give a
good cooling effect.
Drive
equipment
≥ 80mm
Cable
ducting
Notes :
Cable screen
Example: A bare metal backplane ready for the drive modules ground point
to be mounted, note the earth bonding cables, one for each
drive module.
Reactor
Line Module
Notes :
A typical cabinet layout demonstrating the close proximity of the filter, reactor and line module in order to reduce the interference
effects of the high frequency drive current.
The use of shielded cables is also necessary to further eliminate this Interference.
Shielding plates offer the best method for grounding the shields.
The power cables and the signal cables should also be run separately from each other throughout the machine and not just in
the electrical cabinet.
It is not permissible to connect any other equipment between the line module and the filter and reactor.
Remaining
Equipment
Filter
Shielded DriveCliq
Cables
Protection
Notes :
Shielding
Notes :
Cabling Sins A cabinet that isn’t sealed correctly can lead to a multiple of
problems. Poor Sealing can be caused by cable entries, poorly
fitting doors, etc.
Encoder and power cables in close proximity:
A poorly sealed cabinet can:-
Top
Encoder and motor cables in close proximity.
Bottom
Notes :
Coil Suppression
AC Suppressor
B006: END
Notes :
Module Description:
Module Objective:
Upon completion of this module you will understand the Sinumerik 828D hardware differences be-
tween Version 2.7 and 4.4
Contents:
Sinumerik
SINUMERIK 828D Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
Appendix A
Notes
Appendix A: Description
Appendix A:
START
This module shows hardware differences of the Sinumerik
828D.
PPU
Differences
Appendix A:
END
Notes :
Sinamics Drive Controller Types: PPU260/280 Vertical variant 10.4” TFT Colour Screen.
The IDC type drive controller has been superseded by the SOC2
drive controller.
This has made it necessary to change the design of the 828D.
The IDC controller is for use only with software version 2.x
The SOC2 controller is for use only with software version 4.x
Version Information:
Technology:
Notes :
Fault
X100 Sync PN
X101 Fault PN
Sync
Rx/Tx X130
X102 Link
X140 X135
X122
X132
X242
X252
X143
X1
M T1 T2 T3
Notes :
The interfaces for the digital I/O functionality has changed. The
v4.x interfaces now have 14 terminals compared with the v2.x
which have 12 pins.
An extra interface (X252) for digital NC I/O is present on V4.x
hardware.
Appendix A: END
Notes :
Module Description:
The Technology settings for Milling and Turning are located in Machine Data. This module shows the differ-
ent areas.
Module Objective:
Upon completion of this module you will know the 840D sl Sinumerik Operate Technology machine data and
be able to carry out adjustments if required.
Content:
Sinumerik
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
Appendix B
Appendix B
Channel
Machine
Data
Axis Ma-
chine Data
General Setting
Data
Channel Setting
Data
Technology
Settings:
END
Notizen
Appendix B
MD Identifier Description Old MD/GUD
Technology Settings
51010 $MNS_DISP_RES_INCH Display resolution in inch 9011
51011 $MNS_DISP_RES_INCH_FEED_P_REV Display resolution in inch feedrate/rev
51012 $MNS_DISP_RES_INCH_FEED_P_TIME Display resolution in inch feedrate/min
51013 $MNS_DISP_RES_INCH_FEED_P_TOOTH Display resolution in inch feedrate/tooth
51014 $MNS_DISP_RES_INCH_CUT_RATE Display resolution constant cutting speed ft/min
51020 $MNS_DISP_RES_ANGLE Display resolution of angle
Page 4
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
Technology Settings
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
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.
51032 $MNS_STAT_DISPLAY_BASE Number basis for display of articulated joint STAT 9042
00: no display
02: binary value display
10: decimal value display
16: hexadecimal value display
Page 5
51033 $MNS_TU_DISPLAY_BASE Number basis for display of rotary axis position TU 9243
00: no display
02: binary value display
10: decimal value display
16: hexadecimal value display
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.
DB19.DBX13.0 = 0 block is accepted.
DB19.DBX13.0 = 1 block is not accepted.
Bit 2: Block selection only explicitly
Bits 16-31 are reserved for OEM.
51035 $MNS_WRITE_FRAMES_FINE_LIMIT Input limit for all work offsets fine
51036 $MNS_ENABLE_COORDINATE_REL Display REL coordinate system
0 = no relative coordinate system selectable
Appendix B
1 = REL coordinate system can be selected as an alternative of the WCS/SZS coordinate
system
Appendix B
Appendix B
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
Technology Settings
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 6
51053 $MNS_ACCESS_WRITE_BASEFRAME Write basic work offset (basic frame) protection level
Technology Settings
MD Identifier Description Old MD/GUD
51056 $MNS_ACCESS_WRITE_PARTFRAME Write table reference protection level 9184
51057 $MNS_ACCESS_WRITE_SETFRAME Write basic reference protection level
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
Appendix B
51073 $MNS_ACCESS_SET_SOFTKEY_ACCESS Protection level of ”Adapt softkeys”
51198 $MNS_ACCESS_READ_TM_ALL_PARAM Protection level TM details - read all parameters
Appendix B
51199 $MNS_ACCESS_WRITE_TM_GRIND Protection level of tool management for writing grinding data
Appendix B
General Machine Data
Appendix B
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
Technology Settings
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 8
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-
formed. incremental wear limitation can be combined, i.e. the wear can be changed up
to the absolute limit, see MD 51212.
SINUMERIK 828D
Technology Settings
MD Identifier Description Old MD/GUD
51215 $MNS_ACCESS_WRITE_TM_ALL_PARAM Protection level TM details - write all parameters
51600 $MNS_MEA_CAL_WP_NUM The workpiece probe calibration data refer to the workpiece coordinate system (WCS)!
Appendix B
In the data fields, the workpiece probe calibration data of the technologies Milling and
Turning are stored!
Appendix B
51601 $MNS_MEA_CAL_EDGE_NUM The gauging block is exclusively used to calibrate the workpiece probe of the Turning
technology!
51602 $MNS_MEA_CAL_TP_NUM The geometry data and calibration data of the tool probe refer to the machine coordinate
system (MCS)!
Appendix B
General Machine Data
Appendix B
MD Identifier Description Old MD/GUD
51603 $MNS_MEA_CAL_TPW_NUM The geometry data and calibration data of the tool probe refer to the workpiece coordinate sys-
tem (WCS)!
Technology Settings
This deviation depends on the position control features of the axis. The maximum deviation ex-
pected on the concrete axis must be entered in this parameter. When the tolerance is exceeded,
alarm 61442 "Toolholder not in parallel with the geometry axes" is displayed.
51740 $MNS_MEA_FUNCTION_MASK Function mask for measuring cycles
Bit 0: Workpiece measurement, calibration status monitoring, measuring in automatic
Bit 1: Workpiece measurement, lenght reference of probe in infeed axis, for milling
Bit 2: Workpiece measurement, support of orientable toolholders
Bit 3: Workpiece measurement, correction angle for mono probe
Bit 16: Tool measurement, support of orientable toolholders
51750 $MNS_J_MEA_M_DIST This parameter defines the measuring path in front of and behind the measuring setpoint. 9752
Page 10
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
51753 $MNS_J_MEA_M_DIST_TOOL_RADIUS Measuring path for tool radius measuring. 9755
51757 $MNS_J_MEA_COLL_MONIT_FEED Feedrate in the working plane with active collision detection. 9757
51758 $MNS_J_MEA_COLL_MONIT_POS_FEED Feedrate of the infeed axis with active collision detection, for "Measure in JOG". 9758
51770 $MNS_J_MEA_CAL_RING_DIAM Calibration ring diameter, for probe sphere calibration in the plane, for "Measure in JOG"
51772 $MNS_J_MEA_CAL_HEIGHT_FEEDAX Calibration height in the infeed axis for probe length calibration, for "Measure in JOG"
The calibration height must be entered with reference to the the workpiece coordinate system
(WCS)!
51780 $MNS_J_MEA_T_PROBE_DIAM_RAD Effective grinding wheel diameter of the tool probe for radius measurement on milling tools, for 9766
"Measure in JOG"
51784 $MNS_J_MEA_T_PROBE_APPR_AX_DIR Effective grinding wheel diameter of the tool probe for length measurement on milling tools, for 9768
SINUMERIK 828D
"Measure in JOG"
51786 $MNS_J_MEA_T_PROBE_MEASURE_DIST Measuring path for tool probe calibration and tool measuring with stationary spindle, in front of 9772
and behind the expected switching position.
SINUMERIK 828D
Channel Machine Data
Technology Settings
MD Identifier Description Old MD/GUD
52000 $MCS_DISP_COORDINATE_SYSTEM With this MD you adapt the operator panel of the coordinate system to the machine's coordinate 9650
system. Depending on the selected position, all help screens, the sequence graphic, the simula-
tion and the input fields with the circular direction specified will change automatically.
Also note MD 52210 $MCS_FUNCTION_MASK_DISP, bit 1.
52005 $MCS_DISP_PLANE_MILL Plane selection Milling 9660
0: plane selection on the operator panel
17: always G17
18: always G18
19: always G19
52006 $MCS_DISP_PLANE_TURN Plane selection Turning
0: plane selection on the operator panel
17: always G17
18: always G18
19: always G19
52010 $MCS_DISP_NUM_AXIS_BIG_FONT Number of actual values with large font
Page 11
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.
52200 $MCS_TECHNOLOGY Technology 9020
0: no specific configuration
1: turning
2: milling
Also note MD 52201 $MCS_TECHNOLOGY_EXTENSION.
52201 $MCS_TECHNOLOGY_EXTENSION Extended technology
0: no specific configuration
1: turning
2: milling
Appendix B
Also note MD 52200 $MCS_TECHNOLOGY.
Example:
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
52206 $MCS_AXIS_USAGE Meaning of the axes in the channel
0 = no special meaning 9705, 9708,
1 = tool spindle (driven tool) 9802, 9803,
2 = auxiliary spindle (driven tool) 9804, 9805,
3 = main spindle (turning) 9806, 9807,
4 = C axis of the main spindle (turning) 9808.
5 = counter spindle (turning)
6 = C axis of the counter spindle (turning)
Technology Settings
7 = linear axis of the counter spindle (turning)
8 = tailstock (turning)
9 = steady rest (turning)
10 = B axis (turning)
52207 $MCS_AXIS_USAGE_ATTRIB Axis attributes
Bit 0: Rotates around the 1st geometry axis (applies to rotary axes) 9653, 9720,
Bit 1: Rotates around the 2nd geometry axis (applies to rotary axes) 9703, 9704,
Bit 2: Rotates around the 3rd geometry axis (applies to rotary axes) 9706, 9707,
Bit 3: Displayed positive direction of rotation is counterclockwise (applies to rotary axes) 9822, 9823,
Bit 4: Displayed direction of rotation for M3 is counterclockwise (applies to spindles) 9824, 9825.
Page 12
Technology Settings
MD Identifier Description Old MD/GUD
Appendix B
Appendix B
Appendix B
Channel Machine Data
Appendix B
MD Identifier Description Old MD/GUD
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
Technology Settings
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]: Counter spindle
52251 $MCS_M_CODE_CHUCK_CLOSE_OPEN_ M code for Open chuck with rotating spindle.
ROT Example: "M34" or "M1=34"
Elements:
[0]: Main spindle
[1]: Counter spindle
Page 14
Technology Settings
MD Identifier Description Old MD/GUD
loading position.
Bit 11: Reactivate tool in all monitoring modes. When reactivating a tool, all monitoring modes
enabled in the NC are reactivated for this tool, even the monitoring modes, which have not
been set for the relevant tool, but are available in the background only.
Bit 12: Fade out Reactivate tool. The function 'Reactivate tool' is faded out on the user interface.
Appendix B
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.
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
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 9750, 9751
Bit 0: Workpiece measurement, CNC probe input _CHBIT[0]
Technology Settings
Bit 1: Workpiece measurement, measurement in third geometry axis (Y), for turning _CHBIT[19]
Bit 16: Tool measurement, CNC probe input _CHBIT[1]
52750 $MCS_J_MEA_FIXPOINT Z value for measuring against fixed point 9748
52751 $MCS_J_MEA_MAGN_GLAS_POS Zoom position for tool measurement 9820, 9821
[0] = Position in 1st axis
[1] = Position in 2nd axis
52800 $MCS_ISO_M_ENABLE_POLAR_COORD Polar coordinates
0: OFF
Page 16
1: ON
52802 $MCS_ISO_ENABLE_INTERRUPTS Interrupt process
0: OFF
1: ON
52804 $MCS_ISO_ENABLE_DRYRUN Machining skipped during tapping G74/G84 at DRY RUN
0: OFF
1: ON
52806 $MCS_ISO_SCALING_SYSTEM Basic system
0: not defined
1: METRIC
2: INCH
52808 $MCS_ISO_SIMULTAN_AXES_START Simultaneous approach to the boring position on all programmed axes
0: OFF
1: ON
52810 $MCS_ISO_T_DEEPHOLE_DRILL_MODE Select the type of deep hole drilling
0: deep hole drilling with chip breaking
1: deep hole drilling with stock removal
SINUMERIK 828D
SINUMERIK 828D
Technology Settings
Axis Machine Data
Appendix B
Bit 8: Diameter display for transverse axis - Geometry. The geometry value of the transverse axis
is displayed as diameter value.
Bit 9: Diameter display for transverse axis - Wear. The wear value of the transverse axis is dis-
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
54600 $SNS_MEA_WP_BALL_DIAM Effective sphere diameter of the probe sphere for the workpiece probe. _WP[x,0]
The value of this parameter is created by the operation "Calibrate workpiece probe"!
54601 $SNS_MEA_WP_TRIG_MINUS_DIR_AX1 Trigger point of the 1st measuring axis (abscissa) in negative traversing direction (X at G17) of the _WP[x,1]
workpiece probe.
The term "negative traversing direction" refers to the currently active workpiece zero point refer-
ence!
The value of this parameter is created by the operation "Calibrate workpiece probe"!
Technology Settings
54602 $SNS_MEA_WP_TRIG_PLUS_DIR_AX1 Trigger point of the 1st measuring axis (abscissa) in positive traversing direction (X at G17) of the _WP[x,2]
workpiece probe.
The term "positive traversing direction" refers to the currently active workpiece zero point refer-
ence!
The value of this parameter is created by the operation "Calibrate workpiece probe"!
54603 $SNS_MEA_WP_TRIG_MINUS_DIR_AX2 Trigger point of the 2nd measuring axis (ordinate) in negative traversing direction (Y at G17) of the _WP[x,3]
workpiece probe.
The term "negative traversing direction" refers to the currently active workpiece zero point refer-
ence!
Page 18
The value of this parameter is created by the operation "Calibrate workpiece probe"!
54604 $SNS_MEA_WP_TRIG_PLUS_DIR_AX2 Trigger point of the 2nd measuring axis (ordinate) in positive traversing direction (Y at G17) of the _WP[x,4]
workpiece probe.
The term "positive traversing direction" refers to the currently active workpiece zero point refer-
ence!
The value of this parameter is created by the operation "Calibrate workpiece probe"!
54605 $SNS_MEA_WP_TRIG_MINUS_DIR_AX3 Trigger point of the 3rd measuring axis (applicate) in negative traversing direction (Z at G17) of the _WP[x,5]
workpiece probe.
The term "negative traversing direction" refers to the currently active workpiece zero point refer-
ence!
The value of this parameter is created by the operation "Calibrate workpiece probe"!
54606 $SNS_MEA_WP_TRIG_PLUS_DIR_AX3 Trigger point of the 3rd measuring axis (applicate) in positive traversing direction (Z at G17) of the _WP[x,6]
workpiece probe.
The term "positive traversing direction" refers to the currently active workpiece zero point refer-
ence!
The value of this parameter is created by the operation "Calibrate workpiece probe"!
SINUMERIK 828D
SINUMERIK 828D
General Setting Data
Technology Settings
MD Identifier Description Old MD/GUD
54607 $SNS_MEA_WP_POS_DEV_AX1 The position deviation in the 1st measuring axis represents a geometrical offset of the centre _WP[x,7]
point of the probe sphere related to the electrical centre point of the probe in this axis!
The value of this parameter is created by the operation "Calibrate workpiece probe"!
54608 $SNS_MEA_WP_POS_DEV_AX2 The position deviation in the 2nd measuring axis represents a geometrical offset of the centre _WP[x,8]
point of the probe sphere related to the electrical centre point of the probe in this axis!
The value of this parameter is created by the operation "Calibrate workpiece probe"!
54609 $SNS_MEA_WP_STATUS_RT Calibration status of the axis positions reserved for internal use! _WP[x,9]
The value of this parameter is created by the operation "Calibrate workpiece probe"!
54610 $SNS_MEA_WP_STATUS_GEN Calibration status in general reserved for internal use! _WP[x,10]
Page 19
The value of this parameter is created by the operation "Calibrate workpiece probe"!
54615 $SNS_MEA_CAL_EDGE_BASE_AX1 Calibration groove base of the 1st measuring axis (abscissa, Z at G18) _KB[x,2]
This parameter is a geometrical component of the calibration groove and must be supplied by the
user!
54617 $SNS_MEA_CAL_EDGE_PLUS_DIR_AX1 Calibration groove edge in positive direction of the 1st measuring axis (abscissa, Z at G18) _KB[x,3]
This parameter is a geometrical component of the calibration groove and must be supplied by the
user!
54618 $SNS_MEA_CAL_EDGE_MINUS_DIR_AX1 Calibration groove edge in negative direction of the 1st measuring axis (abscissa, Z at G18) _KB[x,4]
This parameter is a geometrical component of the calibration groove and must be supplied by the
Appendix B
user!
Appendix B
Appendix B
General Setting Data
Appendix B
MD Identifier Description Old MD/GUD
54619 $SNS_MEA_CAL_EDGE_BASE_AX2 Calibration groove base of the 2nd measuring axis (ordinate, X at G18) _KB[x,6]
This parameter is a geometrical component of the calibration groove and must be supplied by
the user!
54620 $SNS_MEA_CAL_EDGE_UPPER_AX2 Calibration groove upper edge of the 2nd measuring axis (ordinate, X at G18) _KB[x,5]
This parameter is a geometrical component of the calibration groove and must be supplied by
the user!
54621 $SNS_MEA_CAL_EDGE_PLUS_DIR_AX2 Calibration groove edge in positive direction of the 2nd measuring axis (ordinate, X at G18) _KB[x,0]
Technology Settings
This parameter is a geometrical component of the calibration groove and must be supplied by
the user!
54622 $SNS_MEA_CAL_EDGE_MINUS_DIR_AX2 Calibration groove edge in negative direction of the 2nd measuring axis (ordinate, X at G18) _KB[x,1]
This parameter is a geometrical component of the calibration groove and must be supplied by
the user!
54625 $SNS_MEA_TP_TRIG_MINUS_DIR_AX1 Trigger point of the 1st measuring axis in negative direction (abscissa, X at G17, Z at G18) _TP[x,0]
The trigger point refers to the machine coordinate system (MCS).
Prior to calibration the approximate trigger point must be entered in the machine coordinate sys-
tem!
Page 20
The exact value of this parameter is created by the operation "Calibrate tool probe"!
54626 $SNS_MEA_TP_TRIG_PLUS_DIR_AX1 Trigger point of the 1st measuring axis in positive direction (abscissa, X at G17, Z at G18) _TP[x,1]
The trigger point refers to the machine coordinate system (MCS).
Prior to calibration the approximate trigger point must be entered in the machine coordinate sys-
tem!
The exact value of this parameter is created by the operation "Calibrate tool probe"!
54627 $SNS_MEA_TP_TRIG_MINUS_DIR_AX2 Trigger point of the 2nd measuring axis in negative direction (ordinate, Y at G17, X at G18) _TP[x,2]
The trigger point refers to the machine coordinate system (MCS).
Prior to calibration the approximate trigger point must be entered in the machine coordinate sys-
tem!
The exact value of this parameter is created by the operation "Calibrate tool probe"!
54628 $SNS_MEA_TP_TRIG_PLUS_DIR_AX2 Trigger point of the 2nd measuring axis in positive direction (ordinate, Y at G17, X at G18) _TP[x,3]
The trigger point refers to the machine coordinate system (MCS).
Prior to calibration the approximate trigger point must be entered in the machine coordinate sys-
tem!
The exact value of this parameter is created by the operation "Calibrate tool probe"!
54629 $SNS_MEA_TP_TRIG_MINUS_DIR_AX3 Trigger point of the 3rd measuring axis in negative direction (applicate, Z at G17, Y at G18) _TP[x,4]
The trigger point refers to the machine coordinate system (MCS).
SINUMERIK 828D
Prior to calibration the approximate trigger point must be entered in the machine coordinate sys-
tem!
The exact value of this parameter is created by the operation "Calibrate tool probe"!
SINUMERIK 828D
General Setting Data
Technology Settings
MD Identifier Description Old MD/GUD
54630 $SNS_MEA_TP_TRIG_PLUS_DIR_AX3 Trigger point of the 3rd measuring axis in positive direction (applicate, Z at G17, Y at G18) _TP[x,5]
The trigger point refers to the machine coordinate system (MCS).
Prior to calibration the approximate trigger point must be entered in the machine coordinate sys-
tem!
The exact value of this parameter is created by the operation "Calibrate tool probe"!
54631 $SNS_MEA_TP_EDGE_DISK_SIZE Effective edge length or grinding wheel diameter of the tool probe. _TP[x,6]
Milling tools are normally measured with wheel-shaped probes while turning tools are measured 9765
with square probes.
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 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)!
Meaning of the parameter components
Decimal position:
Page 21
Appendix B
This parameter does not apply to turning tool measuring!
54635 $SNS_MEA_TP_STATUS_GEN Calibration status general, reserved for intermal use!
Appendix B
The value ot this parameter is assigned when the “Calibrate tool probe“ procedure is executed!
54636 $SNS_MEA_TP_FEED Measuring feed for tool probe calibration in WMCS
This measuring feed is used for all subsequent tool measuring programs in conjunction with the
probe filed!
Appendix B
General Setting Data
Appendix B
MD Identifier Description Old MD/GUD
54640 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX1 Trigger point of the 1st measuring axis in negative direction (abscissa, X at G17, Z at G18) _TPW[x,0]
The trigger point refers to the workpiece coordinate system (WCS).
Prior to calibration the approximate trigger point must be entered in the workpiece coordinate sys-
tem!
The exact value of this parameter is created by the operation "Calibrate tool probe"!
54641 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX1 Trigger point of the 1st measuring axis in positive direction (abscissa, X at G17, Z at G18) _TPW[x,1]
The trigger point refers to the workpiece coordinate system (WCS).
Technology Settings
Prior to calibration the approximate trigger point must be entered in the workpiece coordinate sys-
tem!
The exact value of this parameter is created by the operation "Calibrate tool probe"!
54642 $SNS_MEA_TPW_TRIG_MINUS_DIR_AX2 Trigger point of the 2nd measuring axis in negative direction (ordinate, Y at G17, X at G18) _TPW[x,2]
The trigger point refers to the workpiece coordinate system (WCS).
Prior to calibration the approximate trigger point must be entered in the workpiece coordinate sys-
tem!
The exact value of this parameter is created by the operation "Calibrate tool probe"!
54643 $SNS_MEA_TPW_TRIG_PLUS_DIR_AX2 Trigger point of the 2nd measuring axis in positive direction (ordinate, Y at G17, X at G18) _TPW[x,3]
Page 22
Technology Settings
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)!
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
Page 23
Appendix B
=0: Toolsetter no.=n+1, with reference to the main spindle
CNC measurement input corresponds to the value of $MCS_MEA_FUNCTION_MASK, bit16
=10: Toolsetter no.=n+1, with reference to the counterspindle
Appendix B
Appendix B
MD Identifier Description Old MD/GUD
54670 $SNS_MEA_CM_MAX_PERI_SPEED Max. permissible peripheral speed of the tool to be measured when the spindle rotates. _CM[0]
Monitoring parameter for tool measuring with rotating spindle only effective with 9759
SD54749 $SNS_MEA_FUNCTION_MASK_TOOL, Bit 10 = 0!
54671 $SNS_MEA_CM_MAX_REVOLUTIONS Max. permissible tool speed for tool measuring with rotating spindle. _CM[1]
The speed is automatically reduced when this value is exceeded. 9760
Monitoring parameter for tool measuring with rotating spindle only effective with
Technology Settings
SD54749 $SNS_MEA_FUNCTION_MASK_TOOL, Bit 10 = 0!
54672 $SNS_MEA_CM_MAX_FEEDRATE Max. permissible feed for contact of the tool to be measured with the probe when the spindle ro- _CM[4]
tates. 9771
Monitoring parameter for tool measuring with rotating spindle only effective with
SD54749 $SNS_MEA_FUNCTION_MASK_TOOL, Bit 10 = 0!
54673 $SNS_MEA_CM_MIN_FEEDRATE Min. feed for first contact of the tool to be measured with the probe when the spindle rotates. _CM[4]
Too small feeds for large tool radii are thus avoided! 9761
Monitoring parameter for tool measuring with rotating spindle only effective with
SD54749 $SNS_MEA_FUNCTION_MASK_TOOL, Bit 10 = 0!
Page 24
54674 $SNS_MEA_CM_SPIND_ROT_DIR Direction of spindle rotation for tool measuring with rotating spindle (default: 4 = M4) _CM[5]
Notice: If the spindle is already rotating when the measuring cycle is called, the direction of rota-
tion is maintained independently of $SNS_MEA_CM_SPIND_ROT_DIR!
Monitoring parameter for tool measuring with rotating spindle only effective with
SD54749 $SNS_MEA_FUNCTION_MASK_TOOL, Bit 10 = 0!
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).
Monitoring parameter for tool measuring with rotating spindle only effective with
SD54749 $SNS_MEA_FUNCTION_MASK_TOOL, Bit 10 = 0!
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
SINUMERIK 828D
Technology Settings
MD Identifier Description Old MD/GUD
54677 $SNS_MEA_CM_MEASURING_ACCURACY Required measuring accuracy for tool measuring _CM[3]
The value of this parameter always refers to the last contact of the tool with the probe! 9762
Monitoring parameter for tool measuring with rotating spindle only effective with
SD54749 $SNS_MEA_FUNCTION_MASK_TOOL, Bit 10 = 0!
54689 $SNS_MEA_T_PROBE_MANUFACTURER Tool probe type (manufacturer) _TP_CF
These indications are required for tool measuring with rotating spindle. 9774
=0: No indication
=1: TT130 (Heidenhain)
=2: TS27R (Renishaw)
54691 $SNS_MEA_T_PROBE_OFFSET Measurement result offset for tool measuring with rotating spindle. _MT_COMP
54695 $SNS_MEA_RESULT_OFFSET_TAB_RAD1 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_RAD1[0] ... this element always has value ZERO
$SNS_MEA_RESULT_OFFSET_TAB_RAD1[1] ... 1st tool radius
$SNS_MEA_RESULT_OFFSET_TAB_RAD1[2] ... 2nd tool radius
$SNS_MEA_RESULT_OFFSET_TAB_RAD1[3] ... 3rd tool radius
$SNS_MEA_RESULT_OFFSET_TAB_RAD1[4] ... 4th tool radius
54696 $SNS_MEA_RESULT_OFFSET_TAB_RAD2 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_RAD2[0] ... 1st peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD2[1] ... offset value for radius regarding 1st ra-
dius and 1st peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD2[2] ... offset value for radius regarding 2nd ra-
dius and 1st peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD2[3] ... offset value for radius regarding 3rd ra-
dius and 1st peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD2[4] ... offset value for radius regarding 4th ra-
dius and 1st peripheral speed
Appendix B
Appendix B
Appendix B
General Setting Data
Appendix B
MD Identifier Description Old MD/GUD
54697 $SNS_MEA_RESULT_OFFSET_TAB_RAD3 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_RAD3[0] ... 2nd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD3[1] ... offset value for radius regarding 1st radius
and 2nd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD3[2] ... offset value for radius regarding 2nd radius
and 2nd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD3[3] ... offset value for radius regarding 3rd radius
and 2nd peripheral speed
Technology Settings
$SNS_MEA_RESULT_OFFSET_TAB_RAD3[4] ... offset value for radius regarding 4th radius
and 2nd peripheral speed
54698 $SNS_MEA_RESULT_OFFSET_TAB_RAD4 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_RAD4[0] ... 3rd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD4[1] ... offset value for radius regarding 1st radius
and 3rd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD4[2] ... offset value for radius regarding 2nd radius
and 3rd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD4[3] ... offset value for radius regarding 3rd radius
Page 26
54699 $SNS_MEA_RESULT_OFFSET_TAB_RAD5 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_RAD5[0] ... 4th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD5[1] ... offset value for radius regarding 1st radius
and 4th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD5[2] ... offset value for radius regarding 2nd radius
and 4th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD5[3] ... offset value for radius regarding 3rd radius
and 4th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD5[4] ... offset value for radius regarding 4th radius
and 4th peripheral speed
SINUMERIK 828D
SINUMERIK 828D
General Setting Data
Technology Settings
MD Identifier Description Old MD/GUD
54700 $SNS_MEA_RESULT_OFFSET_TAB_RAD6 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_RAD6[0] ... 5th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD6[1] ... offset value for radius regarding 1st radius
and 5th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD6[2] ... offset value for radius regarding 2nd radius
and 5th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD6[3] ... offset value for radius regarding 3rd radius
and 5th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_RAD6[4] ... offset value for radius regarding 4th radius
and 5th peripheral speed
54705 $SNS_MEA_RESULT_OFFSET_TAB_LEN1 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_LEN1[0] ... this element always has value ZERO
$SNS_MEA_RESULT_OFFSET_TAB_LEN1[1] ... 1st tool radius
$SNS_MEA_RESULT_OFFSET_TAB_LEN1[2] ... 2nd tool radius
$SNS_MEA_RESULT_OFFSET_TAB_LEN1[3] ... 3rd tool radius
$SNS_MEA_RESULT_OFFSET_TAB_LEN1[4] ... 4th tool radius
54706 $SNS_MEA_RESULT_OFFSET_TAB_LEN2 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
Page 27
54707 $SNS_MEA_RESULT_OFFSET_TAB_LEN3 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_LEN3[0] ... 2nd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN3[1] ... offset value for radius regarding 1st radius
and 2nd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN3[2] ... offset value for radius regarding 2nd radius
and 2nd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN3[3] ... offset value for radius regarding 3rd radius
Appendix B
and 2nd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN3[4] ... offset value for radius regarding 4th radius
and 2nd peripheral speed
Appendix B
Appendix B
General Setting Data
Appendix B
MD Identifier Description Old MD/GUD
54708 $SNS_MEA_RESULT_OFFSET_TAB_LEN4 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_LEN4[0] ... 3rd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN4[1] ... offset value for radius regarding 1st radius
and 3rd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN4[2] ... offset value for radius regarding 2nd radius
and 3rd peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN4[3] ... offset value for radius regarding 3rd radius
and 3rd peripheral speed
Technology Settings
$SNS_MEA_RESULT_OFFSET_TAB_LEN4[4] ... offset value for radius regarding 4th radius
and 3rd peripheral speed
54709 $SNS_MEA_RESULT_OFFSET_TAB_LEN5 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_LEN5[0] ... 4th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN5[1] ... offset value for radius regarding 1st radius
and 4th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN5[2] ... offset value for radius regarding 2nd radius
and 4th peripheral speed
Page 28
54710 $SNS_MEA_RESULT_OFFSET_TAB_LEN6 Parameter for user-defined measurement result offset for tool measuring with rotating spindle,
$SNS_MEA_RESULT_OFFSET_TAB_LEN6[0] ... 5th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN6[1] ... offset value for radius regarding 1st radius
and 5th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN6[2] ... offset value for radius regarding 2nd radius
and 5th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN6[3] ... offset value for radius regarding 3rd radius
and 5th peripheral speed
$SNS_MEA_RESULT_OFFSET_TAB_LEN6[4] ... offset value for radius regarding 4th radius
and 5th peripheral speed
SINUMERIK 828D
SINUMERIK 828D
General Setting Data
Technology Settings
MD Identifier Description Old MD/GUD
54740 $SNS_MEA_FUNCTION_MASK Function mask for measuring cycles
Bit 0: Workpiece measurement, repeat measurement if _TDIF and _TSA are exceeded _CBIT[0]
Bit 1: Workpiece measurement, repeat measurement with alarm output and cycles stop at M0 _CBIT[1]
Bit 2: Workpiece measurement, exceeding _TUL, _TLL, _TDIF, cycles stop at M0 _CBIT[2]
Bit 3: Workpiece measurement, accept calibrated probe radius in the tool data _CBIT[15]
Bit 16: Tool measurement, repeat measurement if _TDIF and _TSA are exceeded _CBIT[0]
Bit 17: Tool measurement, repeat measurement with alarm output and cycles stop at M0 _CBIT[1]
Bit 18: Tool measurement, exceeding _TDIF, cycles stop at M0 _CBIT[2]
Bit 19: Tool meas. milling machine, spindle speed reduction during last touching _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
Page 29
Appendix B
Bit 22: Select Calibrate to unknown or known center point
Bit 24: Select Calibrate with or without positional deviation
Appendix B
Appendix B
General Setting Data
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 fileld, 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 12: Select Number of measurements
Technology Settings
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, Measure in JOG, workpiece measurement 9747
Bit 2: Activate calibration for electronic workpiece probe
Bit 3: Select probe calibration data fileld, enable
Bit 5: Select WO as measuring basis
Bit 6: Select WO compensation in basic reference, enable
Page 30
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,
CYCLE79, CYCLE899, LONGHOLE, SLOT1, SLOT2, POCKET3, POCKET4
55216 $SCS_FUNCTION_MASK_DRILL_SET Function mask Drilling
Bit 0: Reverse the direction of spindle rotation during tapping
Bit 1: Consider rotation of the tool plane (CYCLE86)
Bit 2: Consider swiveled table kinematics (CYCLE86)
Bit 3: Monitoring spindle MD 31050/31060 (CYCLE84)
Bit 4: Monitoring spindle MD 31050/31060 (CYCLE840)
Bit 5: Calculation of the break point at G33 (CYCLE840)
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)
55220 $SCS_FUNCTION_MASK_MILL_TOL_SET Function mask High Speed Settings CYCLE832
Bit 0: Unhide technology fields CYCLE832
Bit 1: Orientation tolerance (OTOL) as a tolerance factor, enter it directly
Appendix B
Appendix B
Appendix B
Channel Setting Data
Appendix B
MD Identifier Description Old MD/GUD
55221 $SCS_FUNCTION_MASK_SWIVEL_SET Function mask Swivel CYCLE800
Bit 0: Display 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: Allow selection "Deselection" of the swivel data block
Bit 3: Show active swivel plane under Swivel in JOG
Bit 4: Optimized positioning in basic position (pole position) of the kinematics
Technology Settings
The settings of the Swivel function mask affect all swivel data records.
55230 $SCS_CIRCLE_RAPID_FEED Rapid traverse feedrate in mm/min for positioning on circle path between circumferential grooves 9724
and contour elements
55231 $SCS_MAX_INP_RANGE_GAMMA Maximum input area alignment angle gamma 9863
55232 $SCS_SUB_SPINDLE_REL_POS Z retraction position for the counter spindle 9851
55260 $SCS_MAJOG_SAFETY_CLEARANCE Safety clearence for machine JOG
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]
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.
SINUMERIK 828D
SINUMERIK 828D
Channel Setting Data
Technology Settings
MD Identifier Description Old MD/GUD
55481 $SCS_DRILL_TAPPING_SET_GG12 Settings for tapping G group 12 cycle CYCLE84 and CYCLE840: 9855[0]
G group 12: Block change behavior at exact stop (G60) 9856[1]
0 = Exact stop behavior, 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 behavior, same as before the cycle call
1 = SOFT
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]
Page 33
Appendix B
Appendix B
Appendix B
Channel Setting Data
Appendix B
MD Identifier Description Old MD/GUD
55500 $SCS_TURN_FIN_FEED_PERCENT When selecting Complete machining (roughing and finishing), the percentage of the entered 9630
feedrate F as specified in this setting data is used for finishing.
55505 $SCS_TURN_ROUGH_O_RELEASE_DIST This setting data defines the distance by which the tool is returned from the contour during stock 9648
removal of an outer corner. This does not apply to stock removal of a contour.
-1: The distance is specified internally.
55506 $SCS_TURN_ROUGH_I_RELEASE_DIST This setting data defines the distance by which the tool is returned from the contour during stock 9649
Technology Settings
removal of an inner corner. This does not apply to stock removal of a contour.
-1: The distance is specified internally.
55510 $SCS_TURN_GROOVE_DWELL_TIME If a tool clearance time occurs in a cycle, e.g. deep hole drilling, grooving, the value of this setting 9621
data is used
- Negative value in spindle revolutions
- Positive value in seconds
55540 $SCS_TURN_PART_OFF_CTRL_DIST Path for cut-off check 9859
55541 $SCS_TURN_PART_OFF_CTRL_FEED Feedrate for cut-off check 9860
Page 34
55550 $SCS_TURN_FIXED_STOP_DIST In this setting data you specify the distance to the programmed target position, after which the 9852
counter spindle travels with a special feedrate during travel to fixed stop (see setting data 55551
$SCS_TURN_FIXED_STOP_FEED).
55551 $SCS_TURN_FIXED_STOP_FEED In this setting data you specify the feedrate with which the counter spindle travels to a fixed stop. 9853
In setting data 55550 $SCS_TURN_FIXED_STOP_DIST you specify the distance after which the
tool travels in this feedrate.
55552 $SCS_TURN_FIXED_STOP_FORCE In this setting data you specify at which percentage of the driving force the counter spindle is to 9854
stop during travel to fixed stop.
55553 $SCS_TURN_FIXED_STOP_RETRACTION Retraction path prior to chucking after travel to fixed stop 9857
55580 $SCS_TURN_CONT_RELEASE_ANGLE This setting data defines the angle by which the tool is retracted from the contour during contour
turning roughing.
55581 $SCS_TURN_CONT_RELEASE_DIST This setting data defines the value by which the tool is retracted in both axes during contour turn- 9550
ing roughing. This applies to cutting, plunge-cutting and plunge turning.
SINUMERIK 828D
55582 $SCS_TURN_CONT_TRACE_ANGLE This setting data specifies the angle between the cutting edge and the contour, at which the con- 9553
tour is rounded in order to remove residual material.
SINUMERIK 828D
Channel Setting Data
Technology Settings
MD Identifier Description Old MD/GUD
55583 $SCS_TURN_CONT_VARIABLE_DEPTH Percentage for variable cutting depth during contour turning 9556
55584 $SCS_TURN_CONT_BLANK_OFFSET This setting data specifies the distance to the blank, after which contour turning is switched from 9552
G0 to G1 in order to adjust any possible blank allowances. This applies to cutting, plunge cutting
and plunge turning.
55585 $SCS_TURN_CONT_INTERRUPT_TIME Feed interrupt time during contour turning, contour grooving and plunge turning 9557
- Negative value in spindle revolutions
- Positive value in seconds
This setting data is effective only if setting data 55586 is 55586
$SCS_TURN_CONT_INTER_RETRACTION = 0.
55586 $SCS_TURN_CONT_INTER_RETRACTION Retraction path feed interrupt during contour turning, contour grooving and plunge turning: 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 This MD defines the limit value for stock removal of residual material in the direction of the 1st 9554
axis.
Page 35
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.
55588 $SCS_TURN_CONT_MIN_REST_MAT_AX2 This MD defines the limit value for stock removal of residual material in the direction of the 2nd 9555
axis.
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 Retraction due to tool bending during plunge turning. In this setting data you specify the lateral 9560
distance to the last cut, by which each next cut will be shortened.
55596 $SCS_TURN_CONT_TURN_RETRACTION Retraction depth prior to plunge turning 9561
Appendix B
Appendix B
Appendix B
Channel Setting Data
Appendix B
MD Identifier Description Old MD/GUD
Technology Settings
55618 $SCS_MEA_SIM_ENABLE Selection of measuring cycle response in a simulated environment
= 0: Measuring cycles are not executed (measuring cycle is skipped internally)
= 1: Measuring cycles are executed; real axes are required!
During calibration no values are entered in the probe data fields,
no measurement result is displayed,
the measuring cycle is not logged,
the travel is performed without collision detection.
55619 $SCS_MEA_SIM_MEASURE_DIFF With this parameter simulated measurement errors can be specified on the measuring points. _MC_SIMDIFF
Page 36
Provided that SD55618 $SCS_MEA_SIM_ENABLE=1 is used and that the measuring cycles are
executed in a simulated environment of HMI Advanced or ShopMill / ShopTurn, a measurement
difference can be entered in this parameter. The value of the measurement difference must be
smaller than the measuring path in parameter _FA!
Otherwise cycle alarm 61301 "Probe does not switch" is output during active simulation.
55622 $SCS_MEA_EMPIRIC_VALUE_NUM Number of empirical values _EVMVNUM[0]
55623 $SCS_MEA_EMPIRIC_VALUE In its default setting the empirical value memory consists of 20 memory elements. _EV[n]
Using parameter $SCS_MEA_EMPIRIC_VALUE_NUM the number of memory elements can be
defined! Currently, however, these 20 memory elements can-not be changed!
In the empirical value memory, empirical values can be stored which are cleared with the currently
calculated difference between the setpoint and the actual value.
Using parameter _EVNUM the empirical value element to be cleared is addressed!
Technology Settings
MD Identifier Description Old MD/GUD
55625 $SCS_MEA_AVERAGE_VALUE In its default setting the mean value memory consists of 20 memory elements. _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 calebrating a tool probe with stationary spindle in AUTO and JOG 9773
55630 $SCS_MEA_FEED_MEASURE Measure measuring feed of workpiece in Automatic and JOG 9756
55632 $SCS_MEA_FEED_RAPID IN_PERCENT Traverse velocities for positioning in the measuring cycle between the measuring positions, with _SPEED[0]
rapid traverse velocity in per cent, with collision detection not active
Note:
If necessary, adapt the value of the rapid traverse velocity in per cent to the probe type used and to
the machine characteristics! This means that the maximum deflection of the actual probe type must
be considered!!
Page 37
Explanations:
In the measuring cycles any intermediate positions are calculated prior to the actual set of meas-
urements. These positions can be approached
- with collision detection (SD55740 $SCS_MEA_FUNCTION_MASK Bit0/Bit16=1) or
- without collision detection (SD55740 $SCS_MEA_FUNCTION_MASK Bit0/Bit16=0).
Depending on this setting different velocities are used for the approach:
- with collision detection (SD55740 $SCS_MEA_FUNCTION_MASK Bit0/Bit16=1):
With SD55634 $SCS_MEA_FEED_PLAN_VALUE the traversing feed is performed in the plane
and with SD55636 $SCS_MEA_FEED_FEEDAX_VALUE during traversing in the feed axis
(applicate).
If the probe switches when these intermediate positions are approached, the movement is stopped
and the alarm "Probe collision" is output.
- without collision detection (SD55740 $SCS_MEA_FUNCTION_MASK Bit0/Bit16=0):
The intermediate positions are approached with the maximum axis velocity (rapid traverse) in per-
cent as specified in SD55632 $SCS_MEA_FEED_RAPID_IN_PERCENT.
With SD55632 $SCS_MEA_FEED_RAPID_IN_PERCENT=0 and SD55632
$SCS_MEA_FEED_RAPID_IN_PERCENT=100 the maximum axis velocity is effective.
Appendix B
55634 $SCS_MEA_FEED_PLANE_VALUE Traverse velocity for intermediate positioning in the plane _SPEED[1]
Appendix B
Appendix B
Channel Setting Data
Appendix B
MD Identifier Description Old MD/GUD
55636 $SCS_MEA_FEED_FEEDAX_VALUE Traverse velocities for intermediate positioning in the measuring cycle in the infeed axis, with and _SPEED[2]
without collision detection.
Note:
If necessary, adapt the value of the velocity in the infeed axis to the probe type used and to the
machine characteristics! This means that the maximum deflection of the actual probe type must be
considered!!
Technology Settings
Explanations:
In the measuring cycles any intermediate positions are calculated prior to the actual set of meas-
urements. These positions can be approached
- with collision detection (SD55740 $SCS_MEA_FUNCTION_MASK Bit0/Bit16=1) or
- without collision detection (SD55740 $SCS_MEA_FUNCTION_MASK Bit0/Bit16=0).
Depending on this setting different velocities are used for the approach:
- with collision detection (SD55740 $SCS_MEA_FUNCTION_MASK Bit0/Bit16=1):
With SD55636 $SCS_MEA_FEED_FEEDAX_VALUE the traversing feed is performed in the infeed
axis (applicate).
Page 38
If the probe switches when these intermediate positions are approached, the movement is stopped
and the alarm "Probe collision" is output.
- without collision detection (SD55740 $SCS_MEA_FUNCTION_MASK Bit0/Bit16=0):
The intermediate positions are approached with the maximum axis velocity (rapid traverse) in per-
cent as specified in SD55632 $SCS_MEA_FEED_RAPID_IN_PERCENT.
With SD55632 $SCS_MEA_FEED_RAPID_IN_PERCENT=0 and SD55632
$SCS_MEA_FEED_RAPID_IN_PERCENT=100 the maximum axis velocity is effective.
55638 $SCS_MEA_FEED_FAST_MEASURE Rapid measuring feed _SPEED[3]
Note:
If necessary, adjust the value of the velocity to the probe type used and to the machine characteris-
tics!
This means that the maximum deflection of the actual probe type must be considered!!
The use of "Rapid measuring feed" depends of SD55740 $SCS_MEA_FUNCTION_MASK Bit4!
Technology Settings
MD Identifier Description Old MD/GUD
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)
55808 $SCS_ISO_T_RETRACTION_FACTOR Factor (1-200%) for retraction speed at tapping G84/G88
Appendix B
55810 $SCS_ISO_T_DWELL_TIME_UNIT Dwell time evaluation for deep hole drilling G83/G87
0: Seconds
Appendix B
1: Revolutions
Appendix B: END
Appendix B Technology Settings
Appendix B Page 40 SINUMERIK 828D
B034
Appendix C PLC Interface Structure
Module Description:
Information to and from the different system areas of the controller is handled by interfaces. This
module shows how the different areas communicate .
Module Objective:
Upon completion of this module you will be know the Sinumerik 828D PLC interface structure and
use it to help write the PLC program and diagnose PLC faults.
Content:
Sinumerik
Interface Description
SINUMERIK 828D V4.4 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
Appendix C
Appendix C
Operand
Description
and Range 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
AUX
Functions
DB9900
User
Interface
DB2600
DB2700
NCK
Signals
PLC Interface
Structure:
END
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)
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 :
Interface Description
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
+ - Rapid traverse KT5 (X52.2) KT4 (X52.1) KT3 (X51.3) KT2 (X51.2) KT1(X51.1)
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
0000
User Data
up to
User Data
Notes :
0000
User Data
up to
0007
User Data
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.
0002
0003
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
1008 Data to be written to NCK
2001
2002
Notes :
3002
PI Services
4001 PI-Index
1: ASUP1, 2: ASUP2, Password Reset, Saving of Data, Tool Reloading via the PLC
4002
4003
4004 PI-Parameter 1
4006 PI-Parameter 2
4008 PI-Parameter 3
4010 PI-Parameter 4
4012 PI-Parameter 5
4014 PI-Parameter 6
4016 PI-Parameter 7
4018 PI-Parameter 8
4020 PI-Parameter 9
4022 PI-Parameter 10
PI Services:- Result
DB1200 NCK PLC [r]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
5000 Fault Finished
5001
5002
Notes :
User area
0000
User area
0001
User area
0002
User area
0004
etc
User area
0126
User area
0127
User Alarms
DB1600 Activating alarms (Alarm number range 700000 to 700247) PLC HMI [r/w]
etc
etc
Notes :
2000 Acknowledge Acknowledge PLC Stop Em. Stop Feed disable Read-in NC start
with power ON with DB1600. disable disable
DBX3000.0
3000 Acknowl-
edge
SMS Messenger
DB1700 Interface SMS messenger PLC [r]
3001
3002
3003
0003
Notes :
1001
1002
1003
Maintenance Planner
DB1800 PLC HMI Deactivate Maintenance Task [r/w]
Notes :
Maintenance Planner-continued
DB1800 PLC HMI Maintenance task acknowledgement [r/w]
0002
0003
0006
0007
Notes :
5002
5003 PLC Hardkeys (Range of values 1….255, 0 is start position
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
Notes :
0000 up to
0003
0004 M fcts.5 M fcts.4 change M fcts.3 change M fcts.2 change M fcts.1 change
change
0005
0007
0008 T fcts.1
change
0009
0011
0013 up to
0019
etc
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
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
4000 S function 1 (REAL)
4016
4020
Transferred D functions
5004
Notes :
Transferred H functions
0002
0003
(*1) Used in conjunction with Data blocks DB5700 to 5707.
DB2700 NCK PLC [r]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0000 Emergency
Stop active
0004
0005
0006
Notes :
NCK Signals-continued
DB2700 NCK PLC [r]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0007
0008
0009
0010
0011
0012 Change counter for motions of hand-wheel 1
0014
0015 Change counter, inch metric unit system.
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
commands ated M01 sim. contour contour hand wheel 2 1
0014 h/wheel ON
0016 Program
branches
(GOTOS)
control
0017
0018
0019
Notes :
1002
1003
Geometry axis 2 (Axis 2 in WCS)
1004 Traversing keys
+ - Rapid trav- Traversing key Feedrate stop 2 1
erse override lock
Geometry axis 2 (Axis 2 in WCS)
1005 Machine function (*2)
Continuous Inc var INC10000 INC1000 INC100 INC10 INC1
travel
1006
1007
Geometry axis 3 (Axis 3 in WCS)
1008 Traversing keys
+ - Rapid trav- Traversing key Feedrate stop 2 1
erse override lock
Geometry axis 3 (Axis 3 in WCS)
1009 Machine function (*2)
Continuous Inc var INC10000 INC1000 INC100 INC10 INC1
travel
1010
1011
(*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 HANDWH_VDI_REPRESENTATION (0=bit coded, 1=binary coded).
4004 Start after Boot Operator panel Part program Part program
search run reset end start from
reset
4007
4008 Active Transformation Number
4008-4011 Reserved
Notes :
0001 Asup 2
start
0002
0003
ASUP result
etc
0064 Active G function of group 64 (8 bit Integer)
Notes :
Signals to axis/spindle
Override active Measuring Measuring Follow up mode Axis/spindle dis- Sensor for fixed Acknowledge
system 2 system 1 able stop fixed stop
0001 reached
Traversing keys Rapid traverse Traverse key lock Feedrate stop/ Activate Hand-wheel
0004 override spindle stop
Plus Minus 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]
DB3807
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Clear S value Spindle:-No Spindle resynchro- Spindle resynchro- Gear changed Actual gear stage
speed moni- nise 2 nise 1
2000 toring for gear C B A
change.
Spindle override
2003
H G F E D C B A
Notes :
Automatic gear Constant cutting Direction of rota- Hand-wheel Traversing Path Path
selection speed tion-same as M4 override dimension Condition: condition:
3002 on Inch Shortest path Incremental
(DC) (IC)
G function: G function:
Indexing position Absolute posi- Absolute nega-
3003 tive direction tive direction
(ACP) (ACN)
3004
3005
Position (Real number, with indexing axis, Double word)
3006
3007
3008
3009 Feedrate (Real number)
If = 0 value is taken from machine data POS_AX_VELO
3010
3011
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
4002
4003
Notes :
5001
5002
Stop HIAxMove Stopp corr Stop DEPBCS Stop DEPMCS Resume HIAx- Resume corr Resume Resume
5003 Move DEPBCS DEPMCS
5004
Disable auto- Start gantry
5005 matic synchro- synchronisation
nisation
5006 Positioning the Automatic gear Specified direc- Specified direc- Spindle
spindle stage change tion of rotation tion of rotation STOP
(Spindle) CCW CW
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
3002
3003 Error number
Variable signal- nact = nset nact < nx nact < nmin Md < Mdx Ramp up Temperature pre-warning
4002 ling function 1 completed
Heat Sink Motor
Vdclink <
4003 Vdclinkx
Notes :
5001
ESR Acceleration Velocity warn- Superimposed
reaction initiated warning thresh- ing threshold motion
5002 old reached reached
Gantry axis Gantry leading Gantry group- Synchronisation Gantry warning Gantry shut-
5005
axis ing is synchro- ready threshold reached down limit
(Gantry) nising reached
5006
Synchronisa-
tion
5007 Override
Is factored in
Tool Management
0004 to
0016 Reserved
Notes :
0002 Reserved
0003 Reserved
0004 Reserved
0005 Reserved
Load unload
0014 without mov-
HMI to PLC ing magazine
Feedback signal
0101 Reserved
0102 Reserved
Job status
0121 Reserved
0122 Reserved
Notes :
0004 to
0024 Reserved
Notes :
Tool Manual tool Manual tool No old tool T0 Prepare Change tool Fixed location
0001 remains in spin- unload load change (Initiated by coded
dle M06)
0002 Reserved
0004 Reserved
0005 Reserved
0010 Reserved
0012 Reserved
0014 Reserved
0016 Reserved
0028 Reserved
0030 Reserved
Notes :
Feedback signal
DB4300- NCK PLC Signals from TM [r]
DB43xx
(*1)
0101 Reserved
0102 Reserved
Job status
0121 Reserved
0122 Reserved
Up to
0062 Int values (Word/2 bytes)
Notes :
Up to
1031 Hex value (Byte)
Up to
2028 Float value (Real/4 bytes)
Up to
3247 Alarm reaction/cancellation criterion-Alarm 700247
Synchronised actions
Signals to channel
Notes :
0001 Offset 1
0002 Offset 2
Up to Offset 4095
4095
1008
1012
Notes :
etc
0504 Transfer step 64
Source magazine no. (Integer)
Notes :
etc
Transfer step 164
0504 Source magazine no. (Integer)
Notes :
Acknowledgement step 1
0001 Transfer step for old tool. (Byte)
Acknowledgement step 1
0002 Acknowledgement status. (Byte)
Acknowledgement step 1
0003 Reserved
Acknowledgement step 2
0004 Transfer step for new tool. (Byte)
Acknowledgement step 2
0005 Transfer step for old tool. (Byte)
Acknowledgement step 2
0006 Acknowledgement status. (Byte)
Acknowledgement step 2
0007 Reserved
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
0006 Reserved 1
0014 Reserved 2
etc
0254 Reserved
Notes :
etc
0001
Error Activated
0002
1 1
0003 Device ID_1
etc
0250
Error Activated
0252
64 64
0254 Device ID_64
Appendix C: END
Notes :