En 840D SL Complete Step7 v45
En 840D SL Complete Step7 v45
En 840D SL Complete Step7 v45
Edition 2013.06
Training Manual
Valid for:
Start
A060
System
Overview
A002
A150 A026
Service &
Simatic Creating a PLC
Commissioning
Manager Program
Tools A151
Basic functions
of a PLC Pro-
gram
A058
PLC Onboard
Diagnostics
Appendix C A031
A037
PLC PLC Alarms
Alarm Structure
Interface and Messages
End
A060 System Overview
Sinumerik
Operate
Module Description:
Module Objective:
Upon completion of this module you will have a basic understanding of the 840D sl Sinumerik Op-
erate system and the components which make up the system.
Content:
Sinumerik
840D sl Sinumerik Operate V4.5 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
A060
A060
System Overview:
START
Sensor-
Modules
840D sl with
TCU
Terminal
Modules,
DRIVE CLIQ
Hub
840D sl with
PCU50.x
Operator
panels
840D sl with
PCU50.x and
TCU
Drive CLiQ
rules
System Over-
view S120 /
840D sl
System Overview:
END
S120
components
booksize
S120 Line
Modules DC
link compo-
nents
S120 Motor
Modules,
booksize
Notes
USB
USB X202 System network.
MCP
Network
hub/switch.
Hand-wheels
via MCP
Connection
kit
DriveCLiQ DMC20
DriveCLiQ DriveCLiQ
DriveCLiQ
Hub
X122
X126 Profibus:
PLC periphery X132
DMS
X120
Scales/encoders
X130 via SMx & DMC
X126 modules.
NCU NX LM MM MM
Filter
Sinamics S120
Booksize
X127
Service
Supply Network
Reactor
Notes
USB
USB
X501
USB
USB X500 System network.
Network
hub/switch.
Hand-wheels
via MCP
Connection
kit
X122
X126 Profibus:
PLC periphery X132
DMS
X120
Scales/encoders
X130 via SMx & DMC
X126 modules.
NCU NX LM MM MM
Filter
Sinamics S120
Booksize
X127
Service
Network
Reactor
Notes
DVI
Factory
OP0xx & PCU50.x Network
USB
USB X501
USB X500 USB X202
USB USB
MCP
Network
hub/switch.
Connection
kit
Handheld
Terminal
Digital I/O:
Sinamics & NC
X120 & X132
X122 DMC20
X126 Profibus: DriveCLiQ
PLC periphery X132 Hub.
X120
X130
X126
NCU NX LM MM
Filter
Sinamics S120 DMS
Booksize Scales/encoders
via SMx & DMC
X127 modules.
Service
Network
Reactor
Notes
NCU 710.3
NCU 720.3
NCU 730.3
NX 10.3
NX 15.3
Notes
NCU
SINAMICS S120 Line
NX Motor Module
Notes
Notes
X150 PROFINET
X126 PROFIBUS DP
X136 PROFIBUS
DP 2
SINAMICS
integrated
SOC 2
PROFINET
Notes
T0 Measuring socket 1 Resolution: 8 bit, max. output range of the test signal: 0 ... 5 V
T2 Measuring socket 3
The measuring sockets are only suited for banana plugs with a diameter of 2 mm.
Notes
NOTICE
If all the LEDs are flashing, the PLC must be reset via the mode selector (move switch to
position "3" to reboot).
Notes
NX10.3/NX15.3
Notes
RESET button
The RESET button is on the front of the module under the cover.
NOTICE
When the pushbutton is actuated, the locally connected drive systems are brought to a
standstill with no feedback to the control. In other words, the drive and controller run
asynchronously once the drive has successfully booted up.
Notes
X105
15
X100
14
DRIVE-CLiQ topology
NX components can be connected to the Control Unit via DRIVE-CLiQ. The following rules apply
for the wiring:
Only one star topology is permitted between the NX and the Control Unit. This means that
only one NX can be operated per DRIVE-CLiQ port on a Control Unit.
DRIVE-CLiQ ports not assigned to NX can be wired to other DRIVE-CLiQ components.
Once an NX has been connected and configured, you cannot simply insert it into a different
DRIVE-CLiQ port, as the addresses of the integrated drives are set permanently from the
point of view of the PLC.
Notes
Electronic options
Sensor Modules: SMC10 (Resolver)
SMC20 (Encoder)
SMC30 (TTL/HTL)
Terminal Modules: TM15, TM31, TM41
SMC10/20/30 Cabinet-mounted sensor modules are used when a motor with a DRIVE-
CLiQ interface is not available and when external encoders are required in
addition to the motor encoder.
SME20/25 Measuring systems outside the cabinet can be connected directly to the
Sensor Module External.
Notes
Notes
Line reactors
Low-frequency/switching frequency filters
Line filters to EN 61800-3, category C3
Notes
X22 terminals
Notes
Notes
Properties of Infeed
• Supply voltage 3AC 380-480V, 50/60Hz
• IP20 protection
• cooling: Internal and external air cooling
• Ambient temperature: 0-40 °C without derating, to 55°C with derating
• Height: 380mm
• Depth: 270mm
Smart line modules Supply power (kW) / width (mm)
• 5/50 -> without Drive-CLiQ ports
• 10/50 -> without Drive-CLiQ ports
• 16/100
• 36/150
• 50/200
Active line modules Supply power (kW) / width (mm)
• 16/100
• 36/150
• 55/200
• 80/300
• 120/300
Active Mode DC link voltage is controlled with respect to a settable reference value.
The Line Module acts as a Step-up converter with regulated DC link voltage and
sinusoidal supply voltage.
Smart mode The DC link voltage is not regulated, but results from the rectified supply voltage
Notes
Braking
Braking Module Module und
and braking Bremswiderstände
resitors
Two braking resitors are available: stehen zur Verfügung:
Zwei Bremswiderstände
Booksize:
Booksize: 0,3 kW braking
0,3 kW continous Dauerbremsleistung
power
(25 kW peak power)
(25 kW Spitzenleistung)
1,5 kW continous
1,5 braking power
kW Dauerbremsleistung
(100 kW peak power)
(100 kW Spitzenleistung)
Capacitor Module
Capacitor modules
Dient zur Erhöhung der Zwischenkreiskapazität um
Is used for increasing the DC link capacity in order
to dealkurzzeitige Netzausfälle
with short power failures zu überbrücken.
Notes
Notes
Notes
SMC10/20
1 DRIVE-CLiQ interface
Notes
Red Continuous light At least one fault is present in this component. Remedy and
Note: acknowledge fault
The LED is activated regardless of whether the
corresponding messages have been reconfigured.
Green/Red Flashing Firmware is being downloaded. —
0.5 Hz
Flashing Firmware download is complete. Wait for POWER ON Carry out a POWER
2 Hz ON
Green/orange Flashing light Component recognition via LED is activated (p0144). —
or Note:
Red/orange Both options depend on the LED status when component
recognition is activated via p0144 = 1.
Red Continuous light At least one fault is present in this component. Remedy and
Note: acknowledge fault
The LED is activated regardless of whether the
corresponding messages have been reconfigured
Green/Red Flashing Firmware is being downloaded. —
0.5 Hz
Flashing Firmware download is complete. Wait for POWER ON Carry out a POWER
2 Hz ON
Green/orange Flashing light Component recognition via LED is activated (p0144). —
or Note:
Red/orange Both options depend on the LED status when component
recognition is activated via p0144 = 1.
Notes
The SME provides the encoder power supply. The power supply for the SME is provided from the connected DRIVE-CLiQ
cable.
SME 20
Incremental direct encoder systems with SIN/COS (1 Vpp) and reference signal can be
connected.
KTY/PTC temperature sensors can be used for evaluation of the motor temperature.
The Sensor Module is only suitable for motors without absolute track signals (C/D track):
– Induction motors (e.g. 1PH)
– Synchronous motors with pole position identification (e.g. 1FN, 1FW, 1FE)
SME 25
Direct encoder systems with EnDat 2.1 or SSI with SIN/COS (1 Vpp) incremental signals
can be connected, however without reference signal.
Notes
X500 DRIVE-CLiQ-interface
Die SME 120/125 are always used when the temperature signals of the motors do not have protective separation or where this
separation is not possible for certain reasons.SME120/SME 125 is mainly used in linear motor applications.
SME 120
A Hall sensor box can be connected to determine the commutation position of a linear motor.
Incremental direct encoder systems with SIN/COS (1 Vpp) and reference signal can be connected.
SME 125
Direct encoder systems with EnDat 2.1 or SSI with SIN/COS (1 Vpp) incremental signals can be connected, however without
reference signal.
Notes
TM 15
The number of available digital inputs and outputs within a drive system can be
expanded with the TM15 Terminal Module. The TM15 Terminal Module communicates
with a Control Unit via DRIVE-CLiQ.
X500/501 2 DRIVE-CLiQ-sockets
Notes
TM 31
With the TM31 Terminal Module, the number of available digital inputs and outputs and
the number of analog inputs and outputs within a drive system can be expanded.
The TM31 Terminal Module also features relay outputs with changeover
contact and a temperature sensor input.
Notes
Z-Pulse LED for signaling zero mark detection for encoder interface
Notes
Red Continuous light At least one fault is present in this component. Remedy and
Note: acknowledge fault
The LED is activated regardless of whether the
corresponding messages have been reconfigured.
Green/Red Flashing Firmware is being downloaded. —
0.5 Hz
Flashing Firmware download is complete. Wait for POWER ON Carry out a POWER
2 Hz ON
Green/orange Flashing light Component recognition via LED is activated (p0154). —
or Note:
Red/orange Both options depend on the LED status when component
recognition is activated via p0154 = 1.
Red Continuous light At least one fault is present in this component. Remedy and
Note: acknowledge fault
The LED is activated regardless of whether the
corresponding messages have been reconfigured
Green/Red Flashing Firmware is being downloaded. —
0.5 Hz
Flashing Firmware download is complete. Wait for POWER ON Carry out a POWER
2 Hz ON
Green/orange Flashing light Component recognition via LED is activated (p0154). —
or Note:
Red/orange Both options depend on the LED status when component
recognition is activated via p0154 = 1.
Z pulses — Off Zero marker found; wait for zero marker output; OR —
component switched off.
Red Continuous light Zero mark not enabled or zero mark search. —
Notes
Notes
Operator panels
Rugged
Front-mounted IP65 with
membrane keyboard
High MTBF of backlighting
Temperature up to 55°
Modular
Can be combined with PCU
or
TCU, keyboard and machine
control panel
SINUMERIK
integrated keyswitch
Enabling button
Emergency STOP
Ergonomic
Notes
PCU 50.5
Fan ON/OFF DC 24V 2x Ethernet 2 x PCI
Interface:
2 Ethernet 10/100/1000 MBit/s,
4 external USB ports (USB 2.0 Typ A)
DVI-I-Interface (VGA-Monitors via optional adapter)
12 MBit/s PROFIBUS-DP / MPI
SINUMERIK Operator panel front
Expansion slots:
PCI-Slot (Slot 1 / Slot 2)
CompactFlash Card
Notes
No ring wiring
No Double wiring
• Motorgeber
Adherence to these rules
anallows automatic topology
zugehörigem MoModetection.
• For a motor module, the associated motor encoder must also
• Möglichst viele NCU-Ports nutzen
be connected.
• Use as many of the DRIVE-CLiQ connection points on the
NCU as possible as this allows better capacity utilization.
Notes
Supplementary conditions
General rules DQ-cycle No. Remark
Only SERVO control
No TMs permitted
No add-ons in addition to linear / rotary safety
125µs 14 axes
Double Motor Modules AC/AC have not been considered
Max. number of DQ count as two components The current hardware configuration determines
nodes / port / DRIVE-CLiQ HUB is not the components to be considered (also
counted*) deactivated DOs / Sensor Modules must be
62,5µs 5
considered in the quantity framework)
NC SI is provided for all axes
Max. number of DQ Double Motor Modules and Tdp >= 2ms / TncSI >= 12 ms
nodes along the -/- 8 DRIVE CLiQ HUB count as The sampling times are set via p112 = 3 (4 kHz)
resp. p112 = 4 (8 kHz)
longest path two components *)
*) 840D sl Basic /
NCU710.3 + S120 125µs The SINAMICS S120 Combi counts as 5/6 DRIVE-CLiQ components
Combi, max
Notes
IP-Adressen NCU
X120
IP-Adresse Netzteilnehmer Bemerkung
192.168.214.1 NCU on X120 Default
For additional NCUs with a
fixed IP address on the system
192.168.214.2 – 9 network Unassigned
For additional TCUs,
subsequently for
192.168.214.10 – 240 additional MCPs, MPPs DHCP-Clients
Fixed IP address of the PCU
192.168.214.241 on Eth 2 Default
For additional PCUs with a
192.168.214.242 – 249 fixed IP address Unassigned
For PGs with a fixed IP-
192.168.214.250 – 254 address (service connection) Unassigned
X127
IP-Adresse Netzteilnehmer Bemerkung
192.168.215.1 NCU on X127 Default
For programming devices
192.168.215.2 – 9 with a fixed IP address Unassigned
192.168.215.10 – 30 E.g., for programming device DHCP-Clients
A060: END
Module Description:
In order to integrate the Sinumerik 840D sl CNC to a machine tool, various software tools are re-
quired. The tools which enable the machine tool builder to create the PLC program for the machine,
configure the drives etc. Some of the software tools are also used for service tasks.
Software to be installed:
PLC Toolbox DVD (PLC basic program, Sinumerik Add-on for STEP7, NC Var selector, PLC
symbols generator)
Start-up Tool - From the Sinucom commissioning/service DVD. (Configuration of Tool Manage-
ment, configuration of drives and running service commands)
RCS Commander - System card back-up, Remote control (Viewer)
Module Objective:
Upon completion of this module the course participant will be able to do the following:
Content:
Sinumerik
Network Settings
840D sl SINUMERIK Operate V4.5 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
A002
A002
Service and
Commissioning
Tools:
START Online
Connection:
SIMATIC Manager
PLC Toolbox
Installation
Service and
Commissioning
Tools:
END
Start-up (IBN)
Tool
Installation
RCS
Commander
Installation
Network Settings
Online
Connection:
RCS Commander
Online
Connection:
Start-up (IBN) Tool
Notes
Toolbox content:
PLC Basic Program for 840D sl
Sinumerik Add-on for STEP7
NCVar Selector
PLC Symbols Generator
Installation Process:
Installation is started with the “setup.exe” file.
The toolbox components will now be installed, starting with A dialogue box will confirm that the installation was success-
the PLC Basic Program. ful:
Notes
Installation:
Notes
RCS Commander allows a remote operation between the To install the RCS Commander software, locate the
828D controller and a computer running windows. “Setup.exe” file in the root of the RCS Commander DVD. Start
the installation by double clicking the file.
Data such as part programs can be transferred between the
remote computer and the controller.
Note:
The RCS commander software is not part of the toolbox.
Select “Control
Panel” from the
Start Menu of the Select “Change
PC. adapter settings”
Notes
Make a note of the name of the network adapter associated Select the “Internet Protocol Version 4 (TCP/IPv4)” option,
with the Local Area Connection. followed by the “Properties” button:
In the example below the network adapter is of the type:
Intel® 82579LM Gigabit Network.
Select the “Obtain an IP address automatically” option. Connect a suitable Ethernet cable between the PC and X127
of the controller. In some situations this may need to be a
cross-over cable.
The connection status can be checked via the “Details” option
of the Local Area Connection.
Notes
Online Connection-RCS Commander Set the privilege level to “Run this program as an administrator“
Notes
When the program is opened for the first time after the
installation it is necessary to assign a password for encryption
purposes.
It is necessary to login with a password depending on the ac- The access level determines which data can be accessed via
cess level required: RCS Commander.
The “Manufacturer” login grants the most access, the “User”
login is the most restrictive.
Select the login and enter the password.
Passwords:
Manufacturer-SUNRISE
Service-EVENING
User-CUSTOMER
Notes
Notes
Select the “Engineering Tools (Recommended)” option. Connection/cabling information is provided, a crossover or
This is specifically for connecting via X127 straight cable can be used depending upon the network
adapter of the PG/PC.
Notes
In the “Control Panel” area, select and open the “Set PG/PC
Interface” program.
Select the
network adapter
which is in use.
Connect an ethernet cable between the computer and port
X127 of the controller. Run the Start-up tool via the “Start-Up
Tool” shortcut.
Notes
The software will boot to the following screen: Online Connection: SIMATIC Manager
A SIMATIC Manager shortcut icon is placed on the
PC desktop during the installation process.
F10
Set the privilege level to “Run the program as administrator“ Setting the PG/PC Interface:
The setting for the connection can now be changed. Open the
“Options” menu and select “Set PG/PC Interface.
Notes
Checking the online connection: The accessible nodes in this case are:
Ensure that a suitable Ethernet cable is connected between Numerical Control Unit (ncu1)
the PC and X127 of the controller. Thin Client Unit (TCU1)
Machine Control Panel (mcp-ie192)
To check the connection select “Accessible nodes” on the tool
bar.
A002: END
Notes
Module Description:
The SIMATIC Manager is the main tool in STEP 7. This module provides an overview of the basic
functions of the SIMATIC Manager. The SIMATIC Manager is used to create STEP 7 programs
and for the diagnostics of the PLC (programmable logic controller) when an error occurs.
Module Objective:
At the end of this module, you will be acquainted with the basic functions of the SIMATIC Manager.
You can create a project and will get to know the various programming languages. You will also
learn about the diagnostic options of the SIMATIC Manager.
Content:
Sinumerik
SIMATIC Manager
Creating a project
Hardware configuration
Blocks in STEP 7
Program window
Generating reference data
Controlling/monitoring variables
840D sl SINUMERIK Operate V4.5 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
A150
A150
SIMATIC Manager:
START
SIMATIC
Manager
Creating a
project
Hardware
configura-
tion
Blocks in
STEP 7
LAD/STL/FBD
programming
languages
Reference
data
Controlling/
monitoring
variables
CPU
diagnostics
SIMATIC Manager:
END
Notes
SIMATIC Manager The SIMATIC Manager opens with the STEP 7 wizard for new
projects.
STEP 7 is the basic programming and configuration software
for SIMATIC. It comprises a number of applications with which
partial solutions can be implemented easily, for example:
Starting STEP 7
After starting Windows, an icon for the
SIMATIC Manager is displayed on the The wizard for the creation of a new project can be switched
Windows user interface. This is the entry off for SINUMERIK projects because SINUMERIK controllers
into the STEP 7 software. are not supported.
Creating a project Enter the name of the project at Name: and confirm with OK
A new project is created via the menu item File > New.
Note: The SIMATIC Manager permits names that have more
than eight characters. However, the name of the project
directory is shortened to eight characters. For this reason,
project names must differ within the first eight characters. No
distinction is made between upper and lower case.
Notes
Hardware configuration
With the hardware configuration, you specify the CPU and all
the modules contained in your controller with the aid of a
module catalog. You can start the hardware configuration by
double-clicking:
For additional hardware, you require GSD files from the manu-
facturer or corresponding XML files with the appropriate infor-
mation for integration in the hardware. GSD files and XML files
are already stored in the toolbox for Siemens hardware. The
installation is described in “Installation of GSD files”.
Notes
The I/O must now be selected. When creating the NCU, you
are first prompted whether a PROFIBUS connection is
available. Confirm this with Yes. The address to be set must
be taken from the hardware plan or, if it is not already
assigned, use the standard address.
Notes
In this example memory byte 1 has been entered as clock The retentivity for the bit memory, counters and timers can
memory. The individual bits of memory byte 1 are clocked as also be set as a further property of the NCU.
follows by the NCU:
The value 16 is the default setting for the memory bytes and
8 for the counters. There is no default setting for the timers.
Notes
For additional hardware, you require GSD files from the manu- This is taken over by doubling-clicking the selected module (or
facturer or corresponding XML files with the appropriate infor- by selecting it and dragging it to the PROFIBUS(1) DP master
mation for integration in the hardware. system). The PROFIBUS address set on the module still has
to be entered.
Setting on the PROFIBUS module via DIP switch (here, for The connected I/O modules can now be entered as of slot 1.
example, 99). To do this, the corresponding folder is opened below the
PROFIBUS node and the connected module installed by
double-clicking it.
Notes
The complete hardware configuration then looks like this: The address ranges must then be set for the individual I/O
modules. This is performed by double-clicking the module to
open the I/O module properties, selecting the Addresses tab
and entering the address used.
Notes
The hardware configuration can now be checked for If the consistency check is performed without error, the
consistency. hardware configuration can be compiled and saved.
Blocks in STEP 7 There are various types of blocks that you can use within an
S7 user program:
The STEP 7 programming software allows the user program Organization blocks (OB)
to be structured, i.e. to be divided into individual, self-
contained program sections. This provides the following Organization blocks form the interface between the operating
advantages: system and the user program. They are called by the
operating system and control the cyclic and interrupt-driven
Comprehensive programs can be programmed program execution, the startup behavior of the automation
straightforwardly system and the handling of faults. You can program the
Individual program sections can be standardized organization blocks and thus determine the behavior of the
The program organization is simplified CPU.
Changes to the program can be made more easily
The program test is simplified because it can be
performed section-by-section
The commissioning is easier
Block types
Notes
Operating system User program Refer to the documentation of the deployed S7 CPU to see
which interrupt and fault OBs can be used. If an online
Activation connection is established to the NCU, this can also be taken
from the object properties of the CPU.
OB100
Main program
Cyclic
OB1
Interrupt
<Interrupt> Interruption service
routine
OB10 - OB64
Notes
Notes
A function block is a block "with memory". It has an assigned A function is a block "without memory". Temporary variables
data block as memory (instance data block). The parameters of the FC are saved to the local data stack. This data is lost
that are transferred to the FB and the static variables are when the processing of the FC is completed. Functions can be
saved to the instance DB. The temporary variables are saved used to save the data of global data blocks.
to the local data stack.
Since an FC does not have any assigned memory, you must
Data that is saved to the instance DB is not lost when the always specify actual parameters for an FC. You cannot
processing of the FB is completed. Data that is saved to the assign any initial values to the local data of an FC.
local data stack is lost when the processing of the FB is
completed. Actual parameters
Open the Blocks folder and then the “Insert” menu item. A
selection of blocks appears when the cursor is placed on “S7
Block”. Select the function block.
Notes
Notes
Input parameter IN - FC FB
Notes
Notes
Coils
Simple coil
Ladder logic LAD
Counters
Notes
The program is structured through single networks in the LAD The networks are mandatory when programming in LAD and
program editor. A title can be entered for each network. A FBD. Whereas with STL, the entire program can be written in
comment to describe the function can also be entered for each one network, which however adversely affects the readability
network. and the documentation. In addition, these networks can no
longer be translated from STL to LAD or FBD.
Notes
Function block diagram (FBD) In the function block diagram programming language (FBD),
you program the control tasks by connecting boxes. FBD
Below is the same view as for LAD and STL in the function provides function boxes for linking signal states, simple boxes
block diagram representation. for the processing of logic operations of signal states, simple
boxes for linking the logic operations and complex boxes for
non-binary functions.
AND function
Simple boxes
Assignment
Count up
Notes
Symbol table
The symbol file is opened in the S7 program by double- You can also assign a symbol for an operand directly in the
clicking. All the used operands can be entered with a symbol program editor. To do this, the cursor is placed on the operand
and a comment. A data type must be set for each symbol. and a window opened by right-clicking.
Reference data
Notes
Program structure
Call hierarchy of the blocks within a user program and
overview of the used blocks and the dependencies.
· updated or
· regenerated.
Notes
After the reference data has been generated, it can be dis- “Display S7 reference data” is opened and you are prompted
played via “Reference Data > Display”. as to which data should be displayed.
Monitoring/controlling variables
If the CPU can be reached online and you have loaded the
hardware configuration to the CPU, then you can address the
inputs and outputs of the configured I/O modules directly, i.e.
without having to change the application.
Notes
A name is assigned to the new variable table. In addition, a Double-clicking the VAT symbol opens the variable table and
comment as well as a version and an author can be entered. the variables to be controlled or monitored can be entered
now.
Notes
A connection must be established to the configured controller in order to display the status values (actual values of the vari-
ables). When the connection is established, the actual status value can be displayed with the symbol. A value can be en-
tered in the “Control value” column which overwrites the status value when the symbol is clicked. Note that all inputs are re-
read in every cycle and set to the input value and all outputs that are used in the PLC assume the value of the PLC again.
Danger
Changing the variable values during operation can cause severe damage or injury due to malfunctions or
! program errors!
Make sure that no dangerous states can occur before you execute the "Control" function!
Notes
CPU diagnostics
The various options are displayed here. One of the most If an error occurs, the cause of the error is displayed in the
important is the „Diagnostics“. The status of the CPU is dis- Details.
played.
Notes
There is also an overview of the CPU memory. Another important diagnostic item is the display of the cycle
time. A monitoring time of max. 150 ms is preset in the
machine data. If the cycle time of the PLC is greater, an
interrupt is issued.
The PLC can be stopped and started during the display of the
operating state.
A150: END
Notes
Module Description:
The Step 7 PLC Programming package is used to create the machine interface program for the
840D sl Sinumerik Operate.
In order to use the Step 7 package to its upmost, it is necessary to know the structure of the Sinu-
merik controller and the structure of its interface; this knowledge is required in order to produce a
machine tool oriented PLC program which adheres to the relevant safety regulations of the desti-
nation country.
Module Objective:
Upon completion of this module you will know how to use the Step 7 Programming tool to:
Content:
Sinumerik
Reserved Functions
Reserved Data
840D sl SINUMERIK Operate V4.5 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
A026
A026
Create
PLC Program:
START
Step 7-300
PLC
840D sl
Sinumerik
Operate PLC
Integrating
the Basic
PLC
Basic PLC
Framework
Reserved
Functions and
Function
Blocks
Reserved
Data Blocks
Example:
Base
Program
Create
PLC Program:
END
Notes
CALL FBxxx,DBxxx
PII (Periphery Image Inputs) FBxxx DBxxx - Instance
....
Ladder diagram .... ....
.... Statement List ....
.... .... ....
Ladder diagram ....
.... ....
BE (Program end Cyclic) BE (Program end)
Notes
FC 2 Cyclic DB11 NC
to/from
FC2 PLC User / TO Interface
OB 1 (Program entry Cyclic)
Sinumerik System NCK Internal
Sinumerik 840D FROM Interface
CALL FC2
PLC Basic
......
Program
User Program, here: INTERFACE DB19 HMI
Control
...... TO Interface
BE (Program end)
CALL FBxxx,DBxxx FROM Interface
......
Ladder diagram FBxxx
.... DB21 Channel
Or Statement List
.... TO Interface
Statement List Ladder diagram
.... FROM Interface
......
BE (Program end)
BE (Program end Cyclic) DB31 Axis
DBxxx Instance TO Interface
....
.... FROM Interface
PIO (Program Image outputs) ....
....
PIO (Periphery Image Outputs) DB71,72,73
Tool Management
PLC TO Interface
Operating system
FROM Interface NCK Cyclic
to/from
PLC User IF
PII (Periphery Image Inputs)
PII (Program Image Inputs)
Notes
In order to create the User PLC program, firstly the PLC Basic
Program has to be installed and implemented.
The Basic Program takes the form of a Step 7 Library which
Installation of Basic program
has to be integrated into the User Project. and additional support tools.
:Sinumerik Addons
Toolbox Installation: : NC Var Selector
: Symbol generator
Toolbox installation
CD
Hardware configuration
tool:
Open to select the PLC
hardware.
Hardware
Configuratio
Sinumerik
“Addons”
Sinumerik Library:
open and copy to
project.
Notes
OB1 + OB100
With
Basic Program
Calls
Basic Program
(as Library)
copy to User
program.
The Basic PLC program can be seen by opening OB1 and/or OB100 in the Step 7 editor.
In OB1, the basic program is executed through the call to FC2, and in OB100 with the call to FB1.
Notes
Number Function
FB 15 Basic program
FB 1, FC 2, FC 3, FC 5 Basic program
1)
The actual upper limit of the block number (FB/FC) depends on the PLC/CPU on which the selected NCU is located.
Notes
15 Basic program
16 PI Service definition
17 Version identifier
BP
31 ... 61 AXIS 1 ... m Interfaces for axes/spindles
or free for user assignment
The actual upper limit of the block number (DB) depends on the PLC/CPU on which the selected NCU is located.
The data blocks of channels, axes/spindles and tool management functions that are not activated may be as-
signed as desired by the user.
Notes
Notes
Periphery connected to Profinet Change- Name - to Profinet(1) - this step is not necessary but
is logical, as the original name is „Ethernet“ and could cause
confusion later with diagnostics.
Select - New - to Create new active Network
Notes
Notes
Notes
In the Object properties dialog box, the device number In addition the Device name has to be changed to reflect
matching the device number set physically on the module the Device number.
(PP72/48 Dip switch S1) should be selected. The Device number has to be therefore appended to the
The default Dip switch settings for the PP72/48 are set for Device name.
Device number 9, therefore the number 9 has to be defined
in the Object properties. In the case of the PP72/48 as default pp72x48pn9 will be
the resulting Device name, which has to be unique on the
bus.
Notes
Notes
Configure the Profibus network - no changes required Select the newly entered Bus and confirm with ok
Notes
Notes
Notes
Notes
After a successful compilation, the Step7 Program Objects You can now search for the Library which was installed from
are available to the user. the Toolbox, and open it in the Step 7 editor.
The Library, as it appears in the Step 7 editor. The Library and the user program open in the Step 7 editor.
Notes
Program blocks in the PLC Basic Program. Source code in the PLC Basic Program.
Copying of the Program Blocks from Library to User program. Always overwrite OB1 when copying from the Library,
otherwise the Basic PLC will not be called with FC2.
Notes
Copying of the Source Blocks from Library to User program Copying of the Symbol Table from Library to User program.
OB1:
Notes
CALL FB 1 , DB 7 (
MCPNum := 1,
MCP1In := P#I 0.0,
MCP1Out := P#Q 0.0,
MCP1StatSend := P#Q 8.0,
MCP1StatRec := P#Q 12.0,
MCP1BusAdr := 192,
MCPBusType := B#16#55,
NCKomm := TRUE);
END_ORGANIZATION_BLOCK
Traversing keys
In addition the MCP (Machine Control Panel) has to be trans-
fered Overrides
FC26 HT6
NCK Requirement:
The following group signals are transferred: None
Mode Groups
PLC Requirement:
Axis selections
Parameterisation of the corresponding Step 7 Function.
WCS/MCS switchover commands
Notes
With the following logic in OB1, the download to the PLC All Blocks can now be downloaded, System data should
can take place. also be loaded.
CALL FC 24 (
BAGNo := B#16#1,
ChanNo := B#16#1,
SpindleIFNo := B#16#4,
FeedHold := M 100.0,
SpindleHold := M 100.1,
SpindleDir := M 100.2);
A026: END
Notes
Module Description:
Basic functions of a PLC program with machine control panel and two axes and a spindle.
Module Objective:
At the end of this module, a basic program is created with which a machine, with a framework of
two axes and a spindle, can be operated.
Content:
Sinumerik
840D sl SINUMERIK Operate V4.5 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
A151
A151
PLC functions:
START
PLC startup
parameterization
Machine
control panel
Spindle
block
Axis block
Loading of the
blocks
Error
messages
Source
PLC functions:
END
Notes
PLC startup parameterization The PLC interface consists of a series of STEP 7 data blocks.
The number and length of the data blocks is specified by the
system during startup.
In a PLC program, OB100 is always run first during the startup
of the controller. Signals and calls of other blocks that only The machine tool manufacturer can influence these and other
have to be run once can be performed in this block (see A026 processes by using the parameterization options of the PLC
Creation of a PLC program). basic program in OB100.
ORGANIZATION_BLOCK OB 100
In addition to the configuration of the interface, various other TITLE =
functions are executed: { S7_language := '9(1) English (United States)
13.10.2010 16:56:20' }
VERSION : 1.0
Definition of the number of MCPs
VAR_TEMP
Definition of the address area of the MCPs OB100_EV_CLASS : BYTE ;
OB100_STRTUP : BYTE ;
OB100_PRIORITY : BYTE ;
Definition of the MCP type OB100_OB_NUMBR : BYTE ;
OB100_RESERVED_1 : BYTE ;
OB100_RESERVED_2 : BYTE ;
Configuration of the handheld unit OB100_STOP : WORD ;
OB100_RESERVED_3 : WORD ;
OB100_RESERVED_4 : WORD ;
PLC communication with NCK option OB100_DATE_TIME : DATE_AND_TIME ;
END_VAR
Interrupt configuration BEGIN
NETWORK
TITLE =
CALL FB 1 , DB 7 (
MCPNum := 1,
Example of OB100 MCP1In := P#E 0.0,
MCP1Out := P#A 0.0,
MCP1StatSend := P#A 8.0,
MCP1StatRec := P#A 12.0,
MCP1BusAdr := 192,
MCPBusType := B#16#55,
NCKomm := TRUE);
END_ORGANIZATION_BLOCK
Notes
A complete description of FB1 is contained in the DOConCD or refer to the help of STEP 7.
Notes
OB1 is then run cyclically. The user program is integrated in OB1 is opened by double-clicking it in the Blocks folder. The
this organization block. connected machine control panel should now be called and
OB1 has the lowest processing priority and can be interrupted parameterized here as first user program component.
by all interrupt and fault events. The priority cannot be
changed.
Three functions are available in the PLC toolbox to integrate With FC MCP_IFM2 (M variant, slimline machine control
the Siemens machine control panel. panel, e.g. MCP 310), the following are transferred from the
machine control panel (MCP) to the appropriate signals of
FC19 Milling variant the NCK/PLC interface:
FC24 slimline machine control panel
FC25 Turning variant Operating modes
Axis selections
One of these functions is called depending on the machine WCS/MCS switchover
control panel. Traversing keys
Overrides or override simulation
The slimline machine control panel is connected and FC24 is
called. Feedrate override:
Notes
Parameterization of FC24 The following is an extract from the elementary data types.
With this parameterization, the signals are transferred to the Hexadeci W#16#0 to W#16#FFF
first mode group, the first channel and to all axes. In addition, mal
the spindle override is transferred in the fourth axis/spindle number
interface. The feed hold signal is transferred to bit memory
100.0 and as spindle hold signal to bit memory 100.1. BCD C#0 to C#999
The spindle direction signal is transferred to bit memory
M100.2.
Notes
Formal parameters for the FC24 function: Signal For Type Range of Remark
ma values
t
Signal For Type Range of Remark
ma values FeedHol Q BOOL 0,1 Feed hold from MCP,
t d modal
BAGNo I BYTE B#16#00- Mode group no. in Spindle Q BOOL 0,1 Spindle hold from MCP,
B#16#0A which the operating Hold modal
und mode signals are
B#16#10– transferred. Spindle Q BOOL 0,1 Spindle direction of
B#16#1A BAGNo =B#16#10 Dir rotation
means access to the 0: Corresponds to +
second machine control (CCW)
panel 1: Corresponds to -
(CW)
ChanNo I BYTE B#16#00 - Channel no. for the
B#16#0A channel signals
Notes
First a new FB is generated. For example, the Blocks folder is right-clicked to open a new window via “Insert New Object” ->
“Function Block”. FB152 is selected as the name of the new FB and FB_spindle entered at Symbolic Name.
Notes
The new block has now been created below Blocks and is Network 1 is created in the block for the controller enable.
opened by double-clicking. Input I16.2 is connected here to the data block of the spindle
with address DB34.DBX2.1. Bit memory M0.1 is connected to
the pulse enable in the second network and a measuring
system selected in the third network. In this case, the first
measuring system.
The input and the bit memory as well as the data block have
been declared previously in the symbol table.
Notes
The new block can only be called in OB1. The block is as- Axis block
signed to a free DB.
Next a general block should be created for the axes which can
If the data block does not exist, you are prompted as to be called separately for all axes. This has the advantage that
whether you want to generate it. Click “Yes” to generate the only one block exists for all axes and that changes only have
data block. to be made at one place. The minimum signal requirement is
the same as for the spindle.
As for the spindle, the block is first created and then opened
by double-clicking it.
Notes
The interface of the block is declared first. Two inputs are A network title can be entered for the individual networks. A
required here for the measuring systems and one input each comment can also be entered for the networks. The
for the controller enable and the pulse enable. comment is also selected here in the display.
Notes
If the interface of the block has been changed, the data block
must be recreated and loaded so that interface parameters
can be regenerated.
Notes
Loading of the blocks If you want to power up the controller the first time, then the
following sequence of operations must be performed for a
When all blocks have been created and called in OB1, they memory reset of the NCK and PLC:
can be loaded to the CPU and tested.
Before the blocks and the hardware configuration are 1. Turn the startup switches on the front of the NCU to the
reloaded, the PLC should be switched to a defined state. This following switch positions:
is performed through a memory reset of the PLC. The – NCK startup switch: Switch position "1"
following steps are required for this: – PLC startup switch: Switch position "3"
7-segment display 3. Turn the PLC mode selector switch to switch position
"2" and then back to switch position "3".
Reset button Effect:
NCK startup switch – "STOP" LED flashes first at approx. 2 Hz and is then
lit up steadily
– "RUN" LED is lit up
Diagnostics PLC mode selector
button DIAG switch
(no function)
4. When the "STOP" LED is lit up steadily, turn the PLC A block must not be selected.
mode selector switch back to "0".
Effect: The icon to load the block is then clicked.
– "STOP" LED is extinguished
5. Turn the NCK mode selector switch back to switch The following prompt appears:
position "0".
Notes
This prompt is confirmed with “OK”. When loading new When all blocks have been loaded you are prompted as to
blocks to a running system, it is important to follow the cor- whether the system data should also be loaded. The system
rect sequence as otherwise the system may crash. data contains the hardware configuration. This prompt should
A new window is opened showing the block loading pro- be confirmed with “Yes”.
gress.
This is followed by another prompt concerning the system Finally a prompt concerning a restart appears which should
data which should also be confirmed with “Yes”. also be confirmed with “Yes”.
Notes
Error messages error messages are displayed on the HMI until they have been
acknowledged by the user even when the signals are no
FC10 must be called in the user program (e.g. in OB1) in longer present.
order to display error messages from the PLC. The "ToUserIF" parameter can be used to transfer the group
signals for feed, read-in and NC start disable as well as feed
stop on the available axis, spindle and channel interfaces. The
group signals are transferred directly from the status
information of DB 2 to the user interface irrespective of the
acknowledgement of an alarm.
For this purpose, FB151 should be expanded with an output The output can now be programmed.
signal. First of all, the output is entered in the interface of the
block.
Notes
FB151 is now shown in red in OB1 because of the change to The new output can now be written directly on a message.
the interface and has to be called again. The message DB is DB2 and the general PLC messages
start at DB2.DBB180 (see Appendix C).
Source
Notes
A #enable_PM1;
VAR_INPUT = DBX 1.5;
axis_DB : BLOCK_DB ; //axis data block NETWORK
enable_CE : BOOL ; //controller enable TITLE =position measuring system 2
enable_pulse : BOOL ; //pulse enable
enable_PM1 : BOOL ; //position measuring system 1 A #enable_PM2;
enable_PM2 : BOOL ; //position measuring system 2 = DBX 1.6;
END_VAR NETWORK
VAR_OUTPUT TITLE =position controller active
pos_controller_active : BOOL ; //position controller
active A DBX 61.5;
END_VAR = #pos_controller_active;
BEGIN END_FUNCTION_BLOCK
NETWORK
TITLE =open axis DB
OPN #axis_DB;
NETWORK
TITLE =controller enable
A #enable_CE;
= DBX 2.1;
This source can then be exported and imported into another The file can then be saved, for example, in an “External
project. To do this, the source must be selected in the sources STEP 7” folder.
Sources folder and then “Export Source” can be selected in
the “Edit” menu.
Notes
External sources are imported via the menu item “Insert -> A window is opened in which the external source can be se-
External Source”. lected.
The new source is inserted in the “Sources” folder in the The source still has to be compiled so that the blocks can be
opened project. used.
To do this, the source is selected, right-clicked to open the
context menu and the command “Compile” selected.
The blocks are compiled and are then in the “block container”.
Notes
A151: END
Notes
Module Description:
The 840D sl SINUMERIK controller has onboard PLC diagnostic capabilities to aid users with the
fault finding procedure.
It is possible to monitor the status of external inputs and outputs and also internal system signals.
It is also possible to trace the status of variables over defined time periods using the NC/PLC
Trace function
Module Objective:
Upon completion of this module you will be able to:
Content:
Sinumerik
System Variables
840D sl SINUMERIK Operate V4.5 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
A058
A058
PLC Onboard
Diagnostics:
START
User PLC
Variables
System
Variables
Onboard
Diagnostics:
Detailed
Description
NC/PLC Trace
Function
PLC Onboard
Diagnostics:
END
Notes
Address Formats
The format that a variable (Operand) is entered on the diagnostics screen will be dependent on the type of data being diagnosed.
The format can be in single bit, byte, word & double word format.
Bit- This refers to a single element of logic e.g. I4.0, Q5.5, M100.6, DB31.DBX2.1. The Bit part is the number after the decimal
point. The value of a bit is either 1 or 0.
IB4
Bit no 7 6 5 4 3 2 1 0
Value 1 0 1 0 0 1 0 1
In this example I4.1, 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 the same way.
A Word can only be addressed as 0 or an even number (IW0, IW2, IW4 etc) odd numbers are not allowed.
As with the Byte format the numbering starts from the right.
Example IW4
IB4 IB5
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
In this example I4.0, I4.1, I4.4, I4.5, I4.6, I5.0, 5.2, I5.5, I5.7 are equal to 1.Output Words (QW) and Marker Words (MB) can also
be used in the same way.
Double Word– A Double Word is a collection of 32 bits of logic which encompasses two consecutive Words (Four consecutive
Bytes).
A Double Word can only be addressed as 0 or as a number which is a multiple of four, (ID0, ID4, ID8, ID12 etc) odd numbers
are not allowed.
Example ID4
IB4 IB5 IB6 IB7
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 Words (QD) and Marker Words (MD) can also be used in the same way.
Notes
To locate the PLC Diagnostics screen use the following soft- The status of the PLC variable to be checked should typed into
key sequence: the “Variable” column (Bit, byte, word, double word).
Format
F Floating point number (for double words) Data Blocks DBx.DBXx.x, DBx.DBBx, DBx.DBWx,
DBx.DBDx
A ASCII characters
Timers can only be viewed in the “Decimal” format.
The variable will be displayed in the selected format: Counters can be viewed “Decimal”, Binary” and Hexadecimal”
format.
The following table shows the PLC variables that can be moni-
tored: Entries can be edited by using the Insert, and Cursor keys
found on the NC keyboard.
Notes
Notes
The chosen variable will appear on the screen. Onboard Diagnostics: Detailed Description
Operand +/-:
Display Comments:
[U1= Channel No. , 1 = Axis No.]
Further information about the variable can be displayed by
selecting the “Display Comments” and “Details” soft-key.
Change:
Notes
The “Delete all” soft-key will delete all entries in the list.
Note:
It is useful to have this function in the commissioning stages.
After data loss, it may also be necessary to enter values into
Data Blocks using this method. This depends upon the ma-
chine manufacturer.
Caution should be taken when attempting to manually enter
data as unwanted movements may occur.
It is not possible to force operands which are being addressed
by the PLC program.
Further functions The file can be saved locally or externally to a USB device or
networked PC. It is always useful to have the file stored
Further functions are available when the “Menu extension/ locally.
page right” soft-key is pressed: Choose a suitable destination e.g. User\Variable masks.
Save screen:
Notes
Load mask:
The variable will now appear on the status screen. NC/PLC Trace Function
Load symbols:
Note: Symbols files are created with the Step7 software pack-
age. They then have to be converted into files with the “.snh”
extension, in readiness for loading via the “Load symbols” soft-
key.
Notes
Colour of Show/hide
trace. trace
Style of
trace line
After the set time has elapsed, the trace will be automatically
displayed.
The example shows that the input I16.0 switched from 0 to 1
on three occasions during the 10 second period
Notes
Module Description:
The 840D sl SINUMERIK system offers various possibilities for diagnosis, one of which is displaying
alarms and messages.
Alarms and messages are generated to indicate the machine status and faults in the control unit,
drive system or machine. They are used to assist the user with identifying the cause of machine stop-
pages.
Module Objective:
Upon completion of this module you will understand the alarm and message structure of the 840D sl
system.
Content:
Sinumerik
Alarm Acknowledgement
Alarm Log
840D sl SINUMERIK Operate V4.5 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
A037
A037
NCK Alarms
and Messages:
Structure
Alarm Display
Description
Alarm
Acknowledgement
Alarm Log
Suppress
Alarm
Function
Notes
The NCK alarm structure is divided into three areas. Each area 103000 - 103999 Machine
has been assigned a separate range of alarm/message 104000 - 104999 Parameter
numbers.
105000 - 105999 Programming
Message/Alarm 106000 - 106999 Reserved
Function range
Nr.
107000 - 107999 OEM
NCK-Alarms/Messages
108000 - 108999 HiGraph
000000 - 009999 General alarms
109000 - 109999 Distributed systems (M to N)
010000 - 019999 Channel alarms
110000 - 110999 Cycles
020000 - 029999 Axis/spindle alarms
111000 - 111999 ShopMill, ShopTurn
060000 - 064999 Cycle alarms SIEMENS
113000 - 113999 Expanding User Interface (Easy screen)
065000 - 069999 Cycle alarms user
114000 - 114999 HT6
070000 - 079999 Compile cycles Manufacturer and OEM
119000 - 119999 OEM
HMI-alarms/messages
120000 - 129999 HMI advanced messages
100000 - 100999 Basic system
130000 - 139999 OEM
101000 - 101999 Diagnosis
142000 - 142099 RCS Host/Viewer
149000 - 149999 ePS
Message/Alarm Nr. Function range 231000 - 231999 Drive CLiQ component encoder 1
232000 - 232999 Drive CLiQ component encoder 2
SINAMICS-Alarms
233000 - 233999 Drive CLiQ component encoder 3
201000 - 203999 Control unit (CU)
234000 - 234999 Reserved
204000 - 204999 Reserved
235000 - 235999 Terminal Module 31 (TM31)
205000 - 205999 Power Unit
236000 - 236999 Reserved
206000 - 206999 Infeed
240000 - 240999 Controller extension (NX32)
207000 - 207999 Drive
241000 - 248999 Reserved
208000 - 208999 Option board
249000 - 249999 Sinamics GM7SM7GL
209000 - 209999 Reserved
250000 - 250999 Communication board (Comm Board)
213000 - 213002 Licence
250500 - 259999 Reserved
230000 - 230999 Drive CLiQ component power unit
Notes
Notes
The information will be displayed in a pop-up box. Help Screen Function Description:
Alarm Acknowledgement
Acknowledgement types:
Acknowledgement is via the NC keyboard “Alarm can-
cel” button.
The required acknowledgement is indicated to the right of the
This should not reset the machining program.
alarm number on the alarm display line.
Notes
Alarm Log
This shows the time when the alarm occurred and when it
was cleared.
The “Display new” soft key is used to refresh the list and
display any alarms that have recently occurred.
Number of entries:
This sets the maximum number of alarms displayed on the
alarm log page.
Notes
This will cause less wear and tear of the CF card but still car-
ries similar risk of damage to the CF card.
Notes
A037: 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
840D sl SINUMERIK Operate V4.5 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
A031
A031
PLC Alarms
and
Messages:
START
General
Information
Alarm
Configuration
User Help
Files
PLC Alarms
and
Messages:
END
Notes
The PLC alarms/messages are sub-divided into the following Messages/alarms within these ranges are activated via the
ranges: user PLC. Each message/alarm has an interface bit within
DB2 to facilitate the activation of each individual alarm.
Message/Alarm No. Function The reaction of the machine to alarms within the
500000/600000 range is predefined by the system.
400000 - 499999 *
2)
PLC-messages in general Alarms within the 700000 range do not have any effect on the
machine unless they are configured to do so via the user PLC
program.
1)
500000 - 599999 * PLC-messages for channel
*2)
1)
600000 - 609999 * PLC-messages for axis and spindle Messages/alarms within these ranges are system generated
and cannot be configured by the user.
1)
700000 - 709999 * PLC-messages for user
2)
810000 - 810009 * PLC system messages
As soon as a fault occurs on the machine, the corresponding Alarms/messages appear at the top of the screen
alarm will be displayed in the message line at the top of the
screen.
The alarm number, acknowledgement method and a short text
description will be displayed.
Alarm/message details.
Notes
Alarm/ The alarms and messages are categorised and accessed via
message different soft-keys
Alarm
number clearance
The “Alarm list” screen displays serious alarms
The alarms displayed at the top of the screen can be made to Alarm Configuration
cycle in turn after a set time.
This is controlled by Display Machine Data 9056. The alarm/messages list can be entered directly on the con-
troller:
Notes
NCU: Location of the alarm text file. PCU: Location of the alarm text file.
Notes
The entries made previously on the controller can be seen in User PLC Requirements
the file.
PLC Interface signals (DB2)
Exception:
Setting FB1 parameter - ExtendALMsg:= True
With this setting the alarm reaction can be configured using
DB5
To make the alarm system operational it is necessary to call Channel Alarms 510000 to 511315:
and parameterize FC10 in the user PLC program.
The following table is a sample of DB2. This shows the inter-
Calling FC10 face signals for alarms 510000 to 511315. These are alarms
for channel 1. (See Module Appendix C for additional channel
signals)
See below for description The red text denotes that the alarm is classed as an Error
Message. Alarms in the blue text classifies them as Operator
Messages.
Declaring the alarm clear signal. Error messages, when activated, will appear on the “Alarm
(e.g. I3.7 (MCP reset button) list” screen and require an acknowledgement to clear.
(FC10 “Quit” function e.g. I3.7)
FC10 parameter : ToUserIF:=TRUE Operator Messages will appear on the “Messages” screen
Error messages/alarms in the 500000 and 600000 ranges and remain displayed until the interface bit is set to 0.
(Set via DB2) will be displayed. The controller will automati- The effect of a message on the system is also shown for each
cally issue feed-hold, read-in disables etc. byte. This is only if FC10 parameter ToUserIF:= True.
Notes
Axis and Spindle Alarms 600000 - 609999 User PLC Alarms 700000 - 709999
Alarms in the 600000 - 699999 range are used for creating a Alarms in the 700000 - 709999 range are free for configuring
feed/spindle stop. in the user PLC program.
Two bytes are reserved for each axis/spindle. The first of The effect the alarm has on the system is entirely the respon-
which is defined as error messages (EM) while the second sibility of the machine manufacturer.
byte is defined as operator messages (OM). The alarms are separated into error messages (EM), and
operator messages (OM)
DB2 interface signals for alarms 600100 to 600415: DB2 interface signals for alarms 700000 to 700063:
DB2 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DB2 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Byte Byte
144 600107 600106 600105 600104 600103 600102 600101 600100 180 700007 700006 700005 700004 700003 700002 700001 700000
Feed stop/spindle stop for axis/spindle 1
181 700015 700014 700013 700012 700011 700010 700009 700008
145 600115 600114 600113 600112 600111 600110 600109 600108
146 600207 600206 600205 600204 600203 600202 600201 600200 182 700023 700022 700021 700020 700019 700018 700017 700016
Feed stop/spindle stop for axis/spindle 2 183 700031 700030 700029 700028 700027 700026 700025 700024
149 600315 600314 600313 600312 600311 600310 600309 600308 186 700055 700054 700053 700052 700051 700050 700049 700048
Notes
Alarm Activation When the interface signals are high, the alarms/message will
be displayed on the relevant screen.
The interface signals have to be set in the user PLC.
The following example shows how alarms 700000 (EM) and
700032 (OM) can be activated.
Notes
A I 88.4
= DB2.DBX0.0 Error Message
A I 88.5
= DB2.DBX1.0 Operator Message Interface signal to
ToUserIF := True NCK
Group Signal
Transfer
Feed Hold
ToUserIF := False
No Signal Transfer CALL FC10
CALL FC10 ToUserIF := True
ToUserIF := False Quit : = I 3.7
Quit : = I 3.7
Notes
Without Alarm no
display
CALL FC10
ToUserIF := True
Quit : = I 3.7
A I 88.4
= DB2.DBX0.0 Feed hold effect
without alarm
A I 88.5 Interface signal to
= DB2.DBX1.0 Feed hold effect NCK
ToUserIF := True
without alarm
Group Signal
Transfer
Feed Hold
ToUserIF := False
No Signal Transfer Controlled directly from
CALL FC10 customer PLC when
ToUserIF := False ToUserIF:= False
Quit : = I 3.7
With alarm no
display
CALL FC10
ToUserIF := True
Quit : = I 3.7
A I 88.6
= DB2.DBX310.0 Error Message
A I 88.7
= DB2.DBX311.0 Operator Message Interface signal to
ToUserIF := True NCK
Group Signal
Transfer
Feed Hold
ToUserIF := False
No Signal Transfer Controlled directly from
CALL FC10 customer PLC when
ToUserIF := False ToUserIF:= False
Quit : = I 3.7
Notes
The user messages can be parameterized in the sec- The alarms / messages also get the 16-bit integer addi-
ond decade of the message number in the numerical tional value (%Z parameter in the alarm text) in addi-
range 0 to 9. The display value of the second decade tion to the alarm number for the user area 0. The user
must be written by the user in the DB5 in the array vari- must write the 16-bit integer values in the DB 2 in the
able UserDek2No. A number can be defined for each Array variable ZInfo0 parallel to setting an alarm bit. An
user area, see DB 5 in the basic program. integer value is available for each bit in the user area 0.
L6
T ALMSG_DB.ZInfo0[8]
Notes
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
A separate file needs to be created and stored in each of the language folders.
TAG Description
html Root element-Main tag for the help file, contains all other tags, first to be opened and
last to be closed.
head Contains document information, opened immediately after the HTML tag, closed
directly before the BODY tag is opened.
body The main body of the HTML document, determines what will be displayed on the
screen. Opened immediately after the closing the HEAD tag. Closed immediately
before the HTML tag.
table Creates a table for the help file information.
tr Table row, creates a row within the table.
td Table data cell. Used within the tr tag, contains the text that is to be displayed on the
help screen. The tag is used with the width attribute to determine the width of the cell
and the valign attribute to align the text within a cell.
p Used to begin a new paragraph.
b Text will be written in bold type.
i Text will be written in italic type.
br Starts a new line.
Notes
<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="700000">700000</a></b></td>
<td width="85%"><b>Hydraulic 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>
When an alarm is selected and the help key is pressed the system uses the anchor to locate and display the correct table contents
for the selected alarm.
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 not be changed. This determines the content type and text format.
Notes
Creating the help files/directories on the controller NCU “hlp” folder location:
PCU “hlp” folder location: Select the “Directory” soft-key, this is usually already selected
by default.
Notes
The file will automatically open in readiness for the HTML code NCU:
to be entered. System CF card\user\sinumerik
\hmi\hlp\eng\sinumerik_alarm_plc_pmc
The file is closed with the “exit” soft-key: “System CF card\oem\sinumerik
\hmi\hlp\eng\sinumerik_alarm_plc_pmc
PCU50:
F:\HMI\hmisl\user\sinumerik\hmi\hlp\eng\
sinumerik_alarm_plc_pmc
Creating the help files/directories on an external PC F:\HMI\hmisl\oem\sinumerik\hmi\hlp\eng\
sinumerik_alarm_plc_pmc
It is also possible to create the directories/help files offline using
an ASCII 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 using the USB /CF Interfaces or with the
RCS Commander software.
Notes
Testing the help file on the controller If several alarms exist, cursor to the correct one.
To test the Help file the alarm specified in the Help file should
be activated.
Alarm 700000 is activated by DB2.DBX180.0
Or
The HELP function is activated by the “HELP” key.
A031: END
Notes
A031: END
PLC Interface:
START
DB21-30
NC
Channels
Machine
Control
Panel
DB31-61
Axis/Spindle
DB2
PLC
Messages
DB71-74
Tool
Management
DB10
NCK
Interface
DB77
MCP
Signals
DB11
Mode
Group
PLC Interface:
END
DB18
SI
Signals
DB19
Sinumerik
HMI
Interface
DB20
PLC
Machine
Data
840D sl SINUMERIK Operate V4.5 Page 1 This document was produced for training purposes.
Siemens assumes no responsibility for its contents.
Appendix C
Appendix C PLC Interface Structure
Interface Description
IB n + 1 Machine function
REPOS REF Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC
IB n + 2 Key- Key- Spindle start *Spindle stop Feed *Feed NC Start *NC Stop
switch switch posi- start stop
position 0 tion 2
IB n + 3 Reset Key- Single block Feedrate override
switch posi-
tion 1
E D C B A
Notes
1000 INC 100 INC 10 INC 1 INC JOG TEACH IN MDA AUTO
QB n + 2 Direction key Axis selection Single block Spindle start *Spindle stop
minus
R13 X 4th axis 7th axis
R1 R4 R7 R10
QB n + 3 Axis selection Direction key
plus
Z 5th axis Travel com- R11 9th axis 8th axis 6th axis R15
R3 R5 mand R9 R8 R6
MCS/WCS
R12
QB n + 4 Unassigned customer keys Y
T1 T2 T3 T4 T5 T6 T7 T8
Notes
Notes
QB n + 3 unassigned
unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned
Notes
IB n + 1 Reserved
IB n + 2
T9 T7 T6 T5 T4 T3 T2 T1
IB n + 3
T16 T15 T14 T13 T12 T11 T10 T9
IB n + 4
T24 T23 T22 T21
Notes
QB n + 2
L8 L7 L6 L5 L4 L3 L2 L1
QB n + 3
L16 L15 L14 L13 L12 L11 L10 L9
Digital display of handheld unit
QB ...
Notes
IB n + 7 Feedrate override
E D C B A
Notes
Notes
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 2
Notes
Notes
Notes
Notes
Notes
108 (EM) 570007 570006 570005 570004 570003 570002 570001 570000
Feed disable (alarm no.: 570000-570015)
109 (OM) 570015 570014 570013 570012 570011 570010 570009 570008
110 (EM) Feed and read-in disable byte 1 (alarm no.: 570100-570107)
111 (EM) Feed and read-in disable byte 2 (alarm no.: 570108-570115)
112 (OM) Feed and read-in disable byte 3 (alarm no.: 570116-570123)
113 (OM) Feed and read-in disable byte 4 (alarm no.: 570124-570131)
Notes
126 (EM) 580007 580006 580005 580004 580003 580002 580001 580000
Feed disable (alarm no.: 580000-580015)
127 (OM) 580015 580014 580013 580012 580011 580010 580009 580008
128 (EM) Feed and read-in disable byte 1 (alarm no.: 580100-580107)
129 (EM) Feed and read-in disable byte 2 (alarm no.: 580108-580115)
130 (OM) Feed and read-in disable byte 3 (alarm no.: 580116-580123)
131 (OM) Feed and read-in disable byte 4 (alarm no.: 580124-580131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
axis/spindle
144 (EM) 600107 600106 600105 600104 600103 600102 600101 600100
145 (OM) 600115 600114 600113 600112 600111 600110 600109 600108
146 (EM) Feed stop/spindle stop for axis/spindle 2 byte 1 (alarm no.: 600200-600207)
147 (OM) Feed stop/spindle stop for axis/spindle 2 byte 2 (alarm no.: 600208-600215)
148 (EM) Feed stop/spindle stop for axis/spindle 3 byte 1 (alarm no.: 600300-600307)
149 (OM) Feed stop/spindle stop for axis/spindle 3 byte 2 (alarm no.: 600308-600315)
150 (EM) Feed stop/spindle stop for axis/spindle 4 byte 1 (alarm no.: 600400-600407)
151 (OM) Feed stop/spindle stop for axis/spindle 4 byte 2 (alarm no.: 600408-600415)
152 (EM) Feed stop/spindle stop for axis/spindle 5 byte 1 (alarm no.: 600500-600507)
153 (OM) Feed stop/spindle stop for axis/spindle 5 byte 2 (alarm no.: 600508-600515)
154 (EM) Feed stop/spindle stop for axis/spindle 6 byte 1 (alarm no.: 600600-600607)
155 (OM) Feed stop/spindle stop for axis/spindle 6 byte 2 (alarm no.: 600608-600615)
156 (EM) Feed stop/spindle stop for axis/spindle 7 byte 1 (alarm no.: 600700-600707)
157 (OM) Feed stop/spindle stop for axis/spindle 7 byte 2 (alarm no.: 600708-600715)
158 (EM) Feed stop/spindle stop for axis/spindle 8 byte 1 (alarm no.: 600800-600807)
159 (OM) Feed stop/spindle stop for axis/spindle 8 (alarm no.: 600808-600815)
160 (EM) Feed stop/spindle stop for axis/spindle 9 byte 1 (alarm no.: 600900-600907)
161 (OM) Feed stop/spindle stop for axis/spindle 9 byte 2 (alarm no.: 600908-600915)
162 (EM) Feed stop/spindle stop for axis/spindle 10 byte 1 (alarm no.: 601000-601007)
163 (OM) Feed stop/spindle stop for axis/spindle 10 byte 2 (alarm no.: 601008-601015)
164 (EM) Feed stop/spindle stop for axis/spindle 11 byte 1 (alarm no.: 601100-601107)
165 (OM) Feed stop/spindle stop for axis/spindle 11 byte 2 (alarm no.: 601108-601115)
166 (EM) Feed stop/spindle stop for axis/spindle 12 byte 1 (alarm no.: 601200-601207)
167 (OM) Feed stop/spindle stop for axis/spindle 12 byte 2 (alarm no.: 601208-601215)
168 (EM) Feed stop/spindle stop for axis/spindle 13 byte 1 (alarm no.: 601300-601307)
169 (OM) Feed stop/spindle stop for axis/spindle 13 byte 2 (alarm no.: 601308-601315)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
axis/spindle
170 (EM) Feed stop/spindle stop for axis/spindle 14 byte 1 (alarm no.: 601400-601407)
171 (OM) Feed stop/spindle stop for axis/spindle 14 byte 2 (alarm no.: 601408-601415)
172 (EM) Feed stop/spindle stop for axis/spindle 15 byte 1 (alarm no.: 601500-601507)
173 (OM) Feed stop/spindle stop for axis/spindle 15 byte 2 (alarm no.: 601508-601515)
174 (EM) Feed stop/spindle stop for axis/spindle 16 byte 1 (alarm no.: 601600-601607)
175 (OM) Feed stop/spindle stop for axis/spindle 16 byte 2 (alarm no.: 601608-601615)
176 (EM) Feed stop/spindle stop for axis/spindle 17 byte 1 (alarm no.: 601700-601707)
177 (OM) Feed stop/spindle stop for axis/spindle 17 byte 2 (alarm no.: 601708-601715)
178 (EM) Feed stop/spindle stop for axis/spindle 18 byte 1 (alarm no.: 601800-601807)
179 (OM) Feed stop/spindle stop for axis/spindle 18 byte 2 (alarm no.: 601808-601815)
Notes
181 (EM) 700015 700014 700013 700012 700011 700010 700009 700008
260 – 263 (EM) User area 10: bytes 1 - 4 (alarm no.: 701000-701031)
264 – 267 (OM) User area 10: bytes 5 - 8 (alarm no.: 701032-701063)
268 – 271 (EM) User area 11: bytes 1 - 4 (alarm no.: 701100-701131)
272 – 275 (OM) User area 11: bytes 5 - 8 (alarm no.: 701132-701163)
276 – 279 (EM) User area 12: bytes 1 - 4 (alarm no.: 701200-701231)
Notes
284– 287 (EM) User area 13: bytes 1 - 4 (alarm no.: 701300-701331)
288 – 291 (OM) User area 13: bytes 5 - 8 (alarm no.: 701332-701363)
292– 295 (EM) User area 14: bytes 1 - 4 (alarm no.: 701400-701431)
296 – 299 (OM) User area 14: bytes 5 - 8 (alarm no.: 701432-701463)
300– 303 (EM) User area 15: bytes 1 - 4 (alarm no.: 701500-701531)
304 – 307 (OM) User area 15: bytes 5 - 8 (alarm no.: 701532-701563)
308– 311 (EM) User area 16: bytes 1 - 4 (alarm no.: 701600-701631)
312 – 315 (OM) User area 16: bytes 5 - 8 (alarm no.: 701632-701663)
316– 319 (EM) User area 17: bytes 1 - 4 (alarm no.: 701700-701731)
320 – 323 (OM) User area 17: bytes 5 - 8 (alarm no.: 701732-701763)
324 – 327 (EM) User area 18: bytes 1 - 4 (alarm no.: 701800-701831)
328 – 331 (OM) User area 18: bytes 5 - 8 (alarm no.: 701832-701863)
332 – 335 (EM) User area 19: bytes 1 - 4 (alarm no.: 701900-701931)
336 – 339 (OM) User area 19: bytes 5 - 8 (alarm no.: 701932-701963)
340 – 343 (EM) User area 20: bytes 1 - 4 (alarm no.: 702000-702031)
344 – 347 (OM) User area 20: bytes 5 - 8 (alarm no.: 702032-702063)
348 – 351 (EM) User area 21: bytes 1 - 4 (alarm no.: 702100-702131)
352 – 355 (OM) User area 21: bytes 5 - 8 (alarm no.: 702132-702163)
356 – 359 (EM) User area 22: bytes 1 - 4 (alarm no.: 702200-702231)
360 – 363 (OM) User area 22: bytes 5 - 8 (alarm no.: 702232-702263)
364 – 367 (EM) User area 23: bytes 1 - 4 (alarm no.: 702300-702331)
368 – 371 (OM) User area 23: bytes 5 - 8 (alarm no.: 702332-702363)
372 – 375 (EM) User area 24: bytes 1 - 4 (alarm no.: 702400-702431)
376 – 379 (OM) User area 24: bytes 5 - 8 (alarm no.: 702432-702463)
380 – 383 (EM) User area 25: bytes 1 - 4 (alarm no.: 702500-702531)
384 – 387 (OM) User area 25: bytes 5 - 8 (alarm no.: 702532-702563)
388 – 389 (EM) User area 26: bytes 1 - 4 (alarm no.: 702600-702631)
390 – 391 (OM) User area 26: bytes 5 - 8 (alarm no.: 702632-702663)
392 – 395 (EM) User area 27: bytes 1 - 4 (alarm no.: 702700-702731)
396 – 403 (OM) User area 27: bytes 5 - 8 (alarm no.: 702732-702763)
404 – 407 (EM) User area 28: bytes 1 - 4 (alarm no.: 702800-702831)
408 – 411 (OM) User area 28: bytes 5 - 8 (alarm no.: 702832-702863)
Notes
420 – 423 (EM) User area 30: bytes 1 - 4 (alarm no.: 703000-703031)
424 – 427 (OM) User area 30: bytes 5 - 8 (alarm no.: 703032-703063)
428 – 431 (EM) User area 31: bytes 1 - 4 (alarm no.: 703100-703131)
432 – 435 (OM) User area 31: bytes 5 - 8 (alarm no.: 703132-703163)
Notes
0
Feed disable (without alarm no.)
1
2 Feed and read-in disable byte 1 (without alarm no.)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 1
310 (EM) 510007 510006 510005 510004 510003 510002 510001 510000
311 (OM) 510015 510014 510013 510012 510011 510010 510009 510008
312 (EM) Feed and read-in disable byte 1 (alarm no.: 510100-510107)
313 (EM) Feed and read-in disable byte 2 (alarm no.: 510108-510115)
314 (OM) Feed and read-in disable byte 3 (alarm no.: 510116-510123)
315 (OM) Feed and read-in disable byte 4 (alarm no.: 510124-510131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 2
328 (EM) 520007 520006 520005 520004 520003 520002 520001 520000
329 (OM) 520015 520014 520013 520012 520011 520010 520009 520008
330 (EM) Feed and read-in disable byte 1 (alarm no.: 520100-520107)
331 (EM) Feed and read-in disable byte 2 (alarm no.: 520108-520115)
332 (OM) Feed and read-in disable byte 3 (alarm no.: 520116-520123)
333 (OM) Feed and read-in disable byte 4 (alarm no.: 520124-520131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 3
346 (EM) 530007 530006 530005 530004 530003 530002 530001 530000
Feed disable (alarm no.: 530000-530015)
347 (OM) 530015 530014 530013 530012 530011 530010 530009 530008
348 (EM) Feed and read-in disable byte 1 (alarm no.: 530100-530107)
349 (EM) Feed and read-in disable byte 2 (alarm no.: 530108-530115)
350 (OM) Feed and read-in disable byte 3 (alarm no.: 530116-530123)
351 (OM) Feed and read-in disable byte 4 (alarm no.: 530124-530131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 4
364 (EM) 540007 540006 540005 540004 540003 540002 540001 540000
365 (OM) 540015 540014 540013 540012 540011 540010 540009 540008
366 (EM) Feed and read-in disable byte 1 (alarm no.: 540100-540107)
367 (EM) Feed and read-in disable byte 2 (alarm no.: 540108-540115)
368 (OM) Feed and read-in disable byte 3 (alarm no.: 540116-540123)
369 (OM) Feed and read-in disable byte 4 (alarm no.: 540124-540131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 5
382 (EM) 550007 550006 550005 550004 550003 550002 550001 550000
383 (OM) 550015 550014 550013 550012 550011 550010 550009 550008
384 (EM) Feed and read-in disable byte 1 (alarm no.: 550100-550107)
385 (EM) Feed and read-in disable byte 2 (alarm no.: 550108-550115)
386 (OM) Feed and read-in disable byte 3 (alarm no.: 550116-550123)
387 (OM) Feed and read-in disable byte 4 (alarm no.: 550124-550131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 6
400 (EM) 560007 560006 560005 560004 560003 560002 560001 560000
401 (OM) 560015 560014 560013 560012 560011 560010 560009 560008
402 (EM) Feed and read-in disable byte 1 (alarm no.: 560100-560107)
403 (EM) Feed and read-in disable byte 2 (alarm no.: 560108-560115)
404 (OM) Feed and read-in disable byte 3 (alarm no.: 560116-560123)
405 (OM) Feed and read-in disable byte 4 (alarm no.: 560124-560131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 7
418 (EM) 570007 570006 570005 570004 570003 570002 570001 570000
Feed disable (alarm no.: 570000-570015)
419 (OM) 570015 570014 570013 570012 570011 570010 570009 570008
420 (EM) Feed and read-in disable byte 1 (alarm no.: 570100-570107)
421 (EM) Feed and read-in disable byte 2 (alarm no.: 570108-570115)
422 (OM) Feed and read-in disable byte 3 (alarm no.: 570116-570123)
423 (OM) Feed and read-in disable byte 4 (alarm no.: 570124-570131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 8
436 (EM) 580007 580006 580005 580004 580003 580002 580001 580000
Feed disable (alarm no.: 580000-580015)
437 (OM) 580015 580014 580013 580012 580011 580010 580009 580008
438 (EM) Feed and read-in disable byte 1 (alarm no.: 580100-580107)
439 (EM) Feed and read-in disable byte 2 (alarm no.: 580108-580115)
440 (OM) Feed and read-in disable byte 3 (alarm no.: 580116-580123)
441 (OM) Feed and read-in disable byte 4 (alarm no.: 580124-580131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 9
454 (EM) 590007 590006 590005 590004 590003 590002 590001 590000
455 (OM) 590015 590014 590013 590012 590011 590010 590009 590008
456 (EM) Feed and read-in disable byte 1 (alarm no.: 590100-590107)
457 (EM) Feed and read-in disable byte 2 (alarm no.: 590108-590115)
458 (OM) Feed and read-in disable byte 3 (alarm no.: 590116-590123)
459 (OM) Feed and read-in disable byte 4 (alarm no.: 590124-590131)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
Channel 10
472 (EM) 500007 500006 500005 500004 500003 500002 500001 500000
Feed disable (alarm no.: 500000-500015)
473 (OM) 500015 500014 500013 500012 500011 500010 500009 500008
474 (EM) Feed and read-in disable byte 1 (alarm no.: 500100-500107)
475 (EM) Feed and read-in disable byte 2 (alarm no.: 500108-500115)
476 (OM) Feed and read-in disable byte 3 (alarm no.: 500116-500123)
477 (OM) Feed and read-in disable byte 4 (alarm no.: 500124-500131)
Notes
490 (EM) 600107 600106 600105 600104 600103 600102 600101 600100
491 (OM) 600115 600114 600113 600112 600111 600110 600109 600108
492 (EM) Feed stop/spindle stop for axis/spindle 2 (alarm no.: 600200-600207)
493 (OM) Feed stop/spindle stop for axis/spindle 2 (alarm no.: 600208-600215)
494 (EM) Feed stop/spindle stop for axis/spindle 3 (alarm no.: 600300-600307)
495 (OM) Feed stop/spindle stop for axis/spindle 3 (alarm no.: 600308-600315)
496 (EM) Feed stop/spindle stop for axis/spindle 4 (alarm no.: 600400-600407)
497 (OM) Feed stop/spindle stop for axis/spindle 4 (alarm no.: 600408-600415)
498 (EM) Feed stop/spindle stop for axis/spindle 5 (alarm no.: 600500-600507)
499 (OM) Feed stop/spindle stop for axis/spindle 5 (alarm no.: 600508-600515)
500 (EM) Feed stop/spindle stop for axis/spindle 6 (alarm no.: 600600-600607)
501 (OM) Feed stop/spindle stop for axis/spindle 6 (alarm no.: 600608-600615)
502 (EM) Feed stop/spindle stop for axis/spindle 7 (alarm no.: 600700-600707)
503 (OM) Feed stop/spindle stop for axis/spindle 7(alarm no.: 600708-600715)
504 (EM) Feed stop/spindle stop for axis/spindle 8 (alarm no.: 600800-600807)
505 (OM) Feed stop/spindle stop for axis/spindle 8 (alarm no.: 600808-600815)
506 (EM) Feed stop/spindle stop for axis/spindle 9 (alarm no.: 600900-600907)
507 (OM) Feed stop/spindle stop for axis/spindle 9 (alarm no.: 600908-600915)
508 (EM) Feed stop/spindle stop for axis/spindle 10 (alarm no.: 601000-601007)
509 (OM) Feed stop/spindle stop for axis/spindle 10 (alarm no.: 601008-601015)
510 (EM) Feed stop/spindle stop for axis/spindle 11 (alarm no.: 601100-601107)
511 (OM) Feed stop/spindle stop for axis/spindle 11 (alarm no.: 601108-601115)
512 (EM) Feed stop/spindle stop for axis/spindle 12 (alarm no.: 601200-601207)
513 (OM) Feed stop/spindle stop for axis/spindle 12 (alarm no.: 601208-601215)
514 (EM) Feed stop/spindle stop for axis/spindle 13 (alarm no.: 601300-601307)
515 (OM) Feed stop/spindle stop for axis/spindle 13 (alarm no.: 601308-601315)
516 (EM) Feed stop/spindle stop for axis/spindle 14 (alarm no.: 601400-601407)
517 (OM) Feed stop/spindle stop for axis/spindle 14 (alarm no.: 601408-601415)
518 (EM) Feed stop/spindle stop for axis/spindle 15 (alarm no.: 601500-601507)
Notes
520 (EM) Feed stop/spindle stop for axis/spindle 16 (alarm no.: 601600-601607)
521 (OM) Feed stop/spindle stop for axis/spindle 16 (alarm no.: 601608-601615)
522 (EM) Feed stop/spindle stop for axis/spindle 17 (alarm no.: 601700-601707)
523 (OM) Feed stop/spindle stop for axis/spindle 17 (alarm no.: 601708-601715)
524 (EM) Feed stop/spindle stop for axis/spindle 18 (alarm no.: 601800-601807)
525 (OM) Feed stop/spindle stop for axis/spindle 18 (alarm no.: 601808-601815)
526 (EM) Feed stop/spindle stop for axis/spindle 19 (alarm no.: 601900-601907)
527 (OM) Feed stop/spindle stop for axis/spindle 19 (alarm no.: 601908-601915)
528 (EM) Feed stop/spindle stop for axis/spindle 20 (alarm no.: 602000-602007)
529 (OM) Feed stop/spindle stop for axis/spindle 20 (alarm no.: 602008-602015)
530 (EM) Feed stop/spindle stop for axis/spindle 21 (alarm no.: 602100-602107)
531 (OM) Feed stop/spindle stop for axis/spindle 21 (alarm no.: 602108-602115)
532 (EM) Feed stop/spindle stop for axis/spindle 22 (alarm no.: 602200-602207)
533 (OM) Feed stop/spindle stop for axis/spindle 22 (alarm no.: 602208-602215)
534 (EM) Feed stop/spindle stop for axis/spindle 23 (alarm no.: 602300-602307)
535 (OM) Feed stop/spindle stop for axis/spindle 23 (alarm no.: 602308-602315)
536 (EM) Feed stop/spindle stop for axis/spindle 24 (alarm no.: 602400-602407)
537 (OM) Feed stop/spindle stop for axis/spindle 24 (alarm no.: 602408-602415)
538 (EM) Feed stop/spindle stop for axis/spindle 25 (alarm no.: 602500-602507)
539 (OM) Feed stop/spindle stop for axis/spindle 25 (alarm no.: 602508-602515)
540 (EM) Feed stop/spindle stop for axis/spindle 26 (alarm no.: 602600-602607)
541 (OM) Feed stop/spindle stop for axis/spindle 26 (alarm no.: 602608-602615)
542 (EM) Feed stop/spindle stop for axis/spindle 27 (alarm no.: 602700-602707)
543 (OM) Feed stop/spindle stop for axis/spindle 27 (alarm no.: 602708-602715)
544 (EM) Feed stop/spindle stop for axis/spindle 28 (alarm no.: 602800-602807)
545 (OM) Feed stop/spindle stop for axis/spindle 28 (alarm no.: 602808-602815)
546 (EM) Feed stop/spindle stop for axis/spindle 29 (alarm no.: 602900-602907)
547 (OM) Feed stop/spindle stop for axis/spindle 29 (alarm no.: 602908-602915)
548 (EM) Feed stop/spindle stop for axis/spindle 30 (alarm no.: 603000-603007)
549 (OM) Feed stop/spindle stop for axis/spindle 30 (alarm no.: 603008-603015)
550 (EM) Feed stop/spindle stop for axis/spindle 31 (alarm no.: 603100-603107)
551 (OM) Feed stop/spindle stop for axis/spindle 31 (alarm no.: 603108-603115)
Notes
Byte (Message Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
type)
182
User area 0: byte 0 (without alarm no)
183
184 - 308 User area 0: byte 1 -
User area 0: byte 63 (without alarm no)
Notes
555 (EM) 700015 700014 700013 700012 700011 700010 700009 700008
630 - 633 (OM) User area 9 bytes 5 - 8 (alarm no.: 700932 - 700963)
Notes
Notes
Notes
DBB2 - Unassigned
DBB3
DBB30 Upper limit of machine axis numbers for FC 19, FC 24 (1st MCP)
With 0, the max. number of machine axis numbers applies
DBB32 - Machine axis number table for FC 19, FC 24, FC 25, FC 26 (2nd MCP)
DBB53
DBB54 Upper limit of machine axis numbers for FC 19, FC 24 (2nd MCP)
With 0, the max. number of machine axis numbers applies
Notes
DBB61 -
DBB63
DBB64 Setpoint for the digital outputs of the NCK without hardware Setpoint for the digital on-board outputs of the NCK /Z2-A4/
/Z2-A4/
Output 8 Output 7 Output 6 Output 5 Output 4 Output 3 Output 2 Output 1
DBB65 - unassigned
DBB67
Notes
DBB86 Reserved
DBB88 Reserved
Notes
DBB91
PLC ePS
DBB92
GP PLC DP1 MPI/DP
Bus Bus
Slaves OK Slaves OK
DBB93 unassigned
DBB94 unassigned
DBB95 unassigned
DBB96 unassigned
Notes
DBB108 NC ready Drive ready Drives in HMI CPU HMI 2 CPU HMI2 CPU
/Z1-A2/ /Z1-A2/ Ready Ready
cyclic opera- ready
(HMI to (HMI to MPI)
tion OPI) /Z1-A2/ E_HMI2
/Z1-A2/ ready
/Z1-A2/
DBB109 NCK battery Air temp. Heat sink PC operat- NCK
alarm alarm temp. alarm ing system alarm present
/Z1-A2/ /Z1-A2/ NCU 573 /Z1-A2/
/Z1-A2/ fault
/HBI/
DBB110 Software cams minus /Z2-N3/
7 6 5 4 3 2 1 0
Notes
DBB118 ePS-Daten
ePS
PLC
DBB119 ePS-Daten
ePS
PLC
DBB120 ePS-Daten
ePS
PLC
DBB121 ePS-Daten
ePS
PLC
Notes
DBB123 Values from the PLC for the external digital NCK inputs
Input 16 Input 15 Input 14 Input 13 Input 12 Input 11 Input 10 Input 9
DBB125 Values from the PLC for the external digital NCK inputs
Input 24 Input 23 Input 22 Input 21 Input 20 Input 19 Input 18 Input 17
DBB127 Values from the PLC for the external digital NCK inputs
Input 32 Input 31 Input 30 Input 29 Input 28 Input 27 Input 26 Input 25
DBB129 Values from the PLC for the external digital NCK inputs
Input 40 Input 39 Input 38 Input 37 Input 36 Input 35 Input 34 Input 33
Notes
DBB131 Overwrite screenform for the external digital NCK outputs /Z2-A4/
DBB132 Value from the PLC for the external digital NCK outputs /Z2-A4/
DBB133 Default screenform for the external digital NCK outputs /Z2-A4/
DBB135 Overwrite screenform for the external digital NCK outputs /Z2-A4/
Output 24 Output 23 Output 22 Output 21 Output 20 Output 19 Output 18 Output 17
DBB136 Value from the PLC for the external digital NCK outputs /Z2-A4/
Output 24 Output 23 Output 22 Output 21 Output 20 Output 19 Output 18 Output 17
DBB137 Default screenform for the external digital NCK outputs /Z2-A4/
Output 24 Output 23 Output 22 Output 21 Output 20 Output 19 Output 18 Output 17
DBB139 Overwrite screenform for the external digital NCK outputs /Z2-A4/
Output 32 Output 31 Output 30 Output 29 Output 28 Output 27 Output 26 Output 25
DBB140 Value from the PLC for the external digital NCK outputs /Z2-A4/
Output 32 Output 31 Output 30 Output 29 Output 28 Output 27 Output 26 Output 25
DBB141 Default screenform for the external digital NCK outputs /Z2-A4/
Output 32 Output 31 Output 30 Output 29 Output 28 Output 27 Output 26 Output 25
DBB143 Overwrite screenform for the external digital NCK outputs /Z2-A4/
Output 40 Output 39 Output 38 Output 37 Output 36 Output 35 Output 34 Output 33
DBB144 Value from the PLC for the external digital NCK outputs /Z2-A4/
DBB145 Default screenform for the external digital NCK outputs /Z2-A4/
Notes
DBB164 unassigned
DBB165
Notes
Notes
DBB246 Reserved
Notes
DBB3 unassigned
DBB6 All channels NCK internal Mode Group Mode group Active operating mode
in reset state JOG active reseted ready /Z1-K1/
/Z1-K1/ /Z1-K1/ /Z1-K1/
JOG MDA AUTO
Notes
DBB23 unassigned
Notes
SPL_DATA.INSEP [1..32]
DBD38
SPL_DATA.INSEP [33..64]
DBD42
SPL_DATA.OUTSEP [1..32]
DBD46
SPL_DATA.OUTSEP [33..64]
DBD50
SPL_DATA.INSIP [33..64]
DBD58
SPL_DATA.OUTSIP [1..32]
DBD62
SPL_DATA.OUTSIP [33..64]
DBD66
SPL_DATA.MARKERSIP [1..32]
DBD70
SPL_DATA.MARKERSIP [33..64]
DBD74
Notes
SPL_DELTA.INSEP [33..64]
DBD82
SPL_DELTA.OUTSEP [1..32]
DBD86
SPL_DELTA.OUTSEP [33..64]
DBD90
SPL_DELTA.INSIP [1..32]
DBD94
SPL_DELTA.INSIP [33..64]
DBD98
SPL_DELTA.OUTSIP [1..32]
DBD102
SPL_DELTA.OUTSIP [33..64]
DBD106
SPL_DELTA.MARKERSIP [1..32]
DBD110
SPL_DELTA.MARKERSIP [33..64]
DBD114
CMDSI
DBD118
Systemfehler
DBD119 cross-checking
Error number
DBD120
0 = no error
1 - 320 = Signal number starting from SPL_DATA.INSEP [1]
Level indicator of cross-checking
DBD124
(diagnostics option: how many SPL signals currently differ in level)
Notes
SPL status
DBB136
DBB139
DBB141
DBB142 -
DBB 149
DBB150 -
DBB157
DBB158 -
DBB188
Notes
F_SENDDP (transmitter)
DBB193
DBW194 DIAG
DBW196 RETVAL14
DBW198 RETVAL15
DBB203
DBW204 DIAG
DBW206 RETVAL14
DBW208 RETVAL15
DBB213
DBW214 DIAG
DBW216 RETVAL14
DBW218 RETVAL15
Notes
F_RECVDP (receiver)
DBB222 REAC
DBB224 ACK_REI
DBB225 SEND-
ACK_REQ SUBS_ON ERROR
MODE
DBW226 DIAG
DBW228 RETVAL14
DBW230 RETVAL15
DBW234 REAC
DBB236 ACK_REI
DBB237 SEND-
ACK_REQ SUBS_ON ERROR
MODE
DBW238 DIAG
DBW240 RETVAL14
DBW242 RETVAL15
DBW246 REAC
DBB248 ACK_REI
DBW250 DIAG
DBW252 RETVAL14
DBW254 RETVAL15
Notes
Notes
DBB12
DBB13 part program Reserved Disable
Teach trans-
/Z1-A2/
fer
Select Load Unload IHsl/IM9
DBB14 0=act. FS RS-232 act. FS: Index of file to be transferred in the standard list.
1=pas. FS RS-232 pass. FS: Number of the control file for user file names.
DBB15 RS-232 act. FS: Index that specifies the axis, channel or tool no.
RS-232 pass. FS: Index of the file to be transferred in the user list
DBB16 1=pas FS Part program handling: Number of the control file for user file names.
/IHsl/IM9
DBB17 Part program handling: Index of the file to be transferred in the user list
/IHsl/IM9
DBB18
DBB19 Reserved (signal counter)
Notes
DBB20 MCS/WCS Simulation Language 2 Recall alarm Cancel alarm Cancel key Screen is dark
Change- active switched cleared cleared actuated /Z1-A2/
over /Z1-A2/ HMI-Emb. HMI-Adv HMI-Adv /Z1-A2/
/Z1-A2/ /Z1-A2/ /Z1-A2/
DBB21 Active HMI operating area
DBB23
Inactive bit Error, Not Mask exited Mask active Mask re- Mask request
possible to quested accepted
request
mask
DBB32 FunctionSelectionNo. from PLC
PLC HMI
PLC HMI
PLC HMI
HMI PLC
HMI PLC
HMI PLC
Notes
HMI PLC
DBB40 - Reserved
DBB47
PLC HMI
DBB110 M_TO_N_ALIVE
Sign of life from PLC to HMI through M to N block
Notes
DBB113 ParOpKeyAdr
Direct key index knocking interface
DBB114 ParTcuIndex
TCU index knocking interface
DBB115 ParHt2Index
Ht2 index login interface
Notes
DBB250 - Commands
DBB255 Optional package SINTDC on HMI-Advanced required
Notes
DBW
DBB
DBD
Notes
Notes
DBB12 Traversing keys Rapid trav- Traversing Feed stop /Z1 Activate handwheel
/Z2-H1/ erse over- key disable / -V1/ /Z2-H1/
ride /Z2-H1/ Z2-H1/
pus mnus 3 2 1
Notes
Notes
Notes
DBB44
HMI PLC
DBB50
HMI PLC
DBB56
HMI PLC
Notes
DBB67 F fct. 6 quick F fct. 5 quick F fct. 4 quick F fct. 3 quick F fct. 2 quick F fct. 1 quick
Notes
Notes
Notes
Notes
DBB207
Notes
... ...
Area 10 Area 9
Area 10 Area 9
Area 10 Area 9
Area 10 Area 9
Notes
Notes
DB21 -
Signals from NCK channel (NCKPLC)
DB30
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB308 Synchronized actions can be disabled /FBSY/
Nr. 8 Nr. 7 Nr. 6 Nr. 5 Nr. 4 Nr. 3 Nr. 2 Nr.1
Overstore Dry-run Associat- Stop delayed TOFF move- TOFF active Search active ASUP
active feedrate edM01 ment active /FB1/F2 stopped
/F1/A2 active active /FB3/F2/ /FB1/K1/
DBB319
No tool Stop-delay- Repos DE- Delay FTS Repos Path Repos Path Repos Path REPOS
change com- range not FERRA L Mode Ackn 2 Mode Ackn 1 Mode Ackn 0 MODE ED-
mand active activated Chan /FB1/K1/ /FB1/K1/ /FB1/K1/ GE ACKN
FB1/K1 /FB1/K1/
Notes
Notes
Notes
Notes
DBB364
CH_CYCLES_SIG_IN (Bit 8 - 15)
DBB365
CH_CYCLES_SIG_OUT (Bit 0 - 7)
DBB366
CH_CYCLES_SIG_OUT (Bit 8 - 15)
DBB367
CH_OEM_TECHNO_SIG_IN (DBB368 - DBB371)
DBB368
DBB369
DBB370
DBB371
DBB373
DBB374
DBB375
DBB376 ProgEventDisplay
DBB380
DBB381
DBB382
DBB383
Notes
DBB389
NCK PLC
DBB390
NCK PLC
DBB391
NCK PLC
Notes
Program test Velocity/ Activate fixed feed /FBMA/, /Z1-V1/ Enable Accept exter-
axis/ spindle spindle travel to fixed nal ZO
DBB3 release speed limita- stop /Z1-K2/
Axis and tion /Z1-F1/
/Z1-A3/
spindle
4 3 2 1
DBB7
REPOS
DBB10 DELAY
Notes
Start brake
test
DBB11
Delay refer- Modulo Limit 2nd software limit switch Hardware limit switch
DBB12 ence point Enabled /Z1-A3/ /Z1-A3/
Axis approach /Z1 plus minus plus minus
-R1/
Jogging to JOG fixed- JOG fixed- JOG fixed-
DBB13 position point point point
Axis approach 2 approach 1 approach 0
Activate Suppress
DBB14 program test program test
Axis
DBB15
Axis
Delete No n- Resynchronize spindle Gear has Actual gear stage /Z1-S1/
S value monitoring /Z1-S1/ changed over
DBB16
/Z1-S1/ when chang- 2 1 /Z1-S1/ C B A
Spindle ing gear
/Z1-S1/
Invert M3/M4 Resynchronize spindle at Feedrate
/Z1-S1/ pos. override f.
DBB17 /Z1-S1/ spindle valid
2 1 /Z1-S1/
Spindle
Spindle override
DBB19 /Z1-V1/
Spindle H G F E D C B A
Release
brake
DBB20
Antrieb
Pulse enable n controller Motor Selec- Motor selection /Z1-A2/ Drive parameter set selection
DBB21 /Z1-A2/ integrator tion done /Z1-A2/
Antrieb disable /Z1-A2/
B A C B A
/Z1-A2/
Notes
DBB25
Stop Resume
DBB27
Grinding HIAxMove Corr DEPBCS DEPMCS HIAxMove Corr DEPBCS DEPMCS
PLC checks AxStop, stop Stop at next Change re- Set reversal AX-RESUME AX- OscillAxExtR
DBB28 axis /Z2-P5/ reversal point versal point point /Z2-P2/ Reset eversal
Grinding /Z2-P5/ /Z2-P5/ /Z2-P5/ /Z2-P5/ /Z2-P2/
Pendeln
Reserved
DBB30
Technology
Notes
DBB34-
DBB55
DBB57
Reserved
DBB58
DBB59
Notes
DBB61 Current con- Speed con- Position con- Axis/spindle Follow-up Axis ready Axial alarm Travel re-
troller active troller active troller active stationary mode active quest
Axis and /Z1-A2/ /Z1-A2/ /Z1-A2/ (n < nmin) /Z1-A2/ /Z2-B3/ /Z1-F1/
Spindle /Z1-A2/
Axis con- Force fixed Fixed stop Activate Measure- Revolutio-nal Handwheel Software
tainer rota- stop limited / reached travel to fixed ment active feedrate overlay ac- cams active /
DBB62 tion active Z1-F1/ /Z1-F1/ stop /Z1-F1/ active tive Z1-N3/
/Z2-M5/
/Z2-B3/ /Z1-V1/ /Z2-H1/
Axis/ spindle Axis stop PLC- AXRESET
Stop
disable active active controlled DONE
DBB63 /Z2-P2/ axis /Z2-P2/
HIAxMove Corr DEPBCS DEPMCS
active active active active /Z2-P2/
DBB67
PLC axis/ Neutral axis/ Axis replace- New type NC axis/spindle in channel /Z2-K5/
spindle spindle ment possi- requested by
DBB68 /Z2-K5/ /Z2-K5/ ble PLC
/Z2-K5/ /Z2-K5/ D C B A
NCU number in NCU link network Control parameter block
DBB69 E D C B A C B A
Repos delay Repos shift Repos shift
DBB70 quit valid
REPOS
DBB72
DELAY
HMI PLC
DBB73
HMI PLC
Notes
Notes
OEM-Anwendung
Offset after Activate mir- Coupling Axis is slave
DBB97 turn-on point / roring active axis
Z3-TE6/ /Z3-TE6/
/Z3-TE6/ /Z3-TE6/
DBB98 Emergency Accel. warn- Speed warn- Overlaid Actual value Synchronism /Z2-S3/
retraction ing threshold ing threshold motion coupling
Synchronous coarse fine
active reached reached /Z2-S3/ /Z2-S3/
spindle
DBB99 Emergency Max. acce- Max. speed Synchro- Axis acce- Synchronis- Slave spindle Master spin-
retraction leration reached nization lerating moverride active dle active
Synchronous
enabled reached running back out /Z2-S3/ /Z2-S3/
spindle
Oscillation Oscillation Spark-out Error in oscil- Oscillation OscillAxEx-
DBB100
active motion active active lation cannot start / tReversal
Oscillation /Z2-P5/ /Z2-P5/ /Z2-P5/ /Z2-P5/ Z2-P5/ active
Gantry axis / Gantry lead- Gantry group- Gantry syn- Gantry warn- Gantry cut-off
Z2-G1/ ing axis ing is syn- chroni-zation ing limit ex- limit ex-
DBB101
/Z2-G1/ chronous run ready to ceeded /Z2- ceeded /Z2-
Gantry
/Z2-G1/ start G1/ G1/
/Z2-G1/
DBB102
Gantry
Syn-
chronism
DBB103
being
considered
Active infeed axis
DBB104 /Z2-P5/
Grinding Axis 8 Axis 7 Axis 6 Axis 5 Axis 4 Axis 3 Axis 2 Axis 1
Active infeed axis
DBB105 /Z2-P5/
Grinding
Axis 16 Axis 15 Axis 14 Axis 13 Axis 12 Axis 11 Axis 10 Axis 9
Active infeed axis
DBB106 /Z2-P5/
Grinding
Axis 24 Axis 23 Axis 22 Axis 21 Axis 20 Axis 19 Axis 18 Axis 17
Active infeed axis
DBB107 /Z2-P5/
Grinding Axis 31 Axis 30 Axis 29 Axis 28 Axis 27 Axis 26 Axis 25
Axis safely Communi- CRCerror Status pulses CRC or sign Safe opera-
DBB108 referenced cation failure deleted of life error tional stop /
Safety Integr. not acknow- safe speed
ledged active
DBB109 Actual position > cam position
Safety Integr. SN 4- SN 4+ SN 3- SN 3+ SN 2- SN 2+ SN 1- SN 1+
DBB110 n < nx Safe velocity active SG Safe zero
Safety Integr. speed active
B A
Notes
DBB116 Reserved
Safety Integr.
DBB126
Safety Integr
DBB127
Safety Integr
Program test
DBB128
Safety Integr Activate Suppress
DBB129
Safety Integr
DBB130
Safety Integr
DBB131
Safety Integr
Notes
DBB1
I16 I15 I14 I13 I12 I11 I10 I9
DBB2 Standard end-of-acknowledgement
I8 I7 I6 I5 I4 I3 I2 I1
DBB3
I 16 I 15 I 14 I 13 I 12 I 11 I 10 I9
DBB n + 0 Reserved Reserved Position- Order from NC- Positioning Relocate Unload Load
ing Program Magazine
Multitool
DBB n + 1 File in ex- Reserved Reserved Reserved Reserved Reserved Reserved Acknowle
tended area dgement
(DB1071) Status =
3
DBB n + 2
Assigned channel (8 bit INT)
DBB n + 3
Tool management no. (8 bit INT)
DBD n + 4
Unassigned parameter 1 (Dword)
DBD n + 8
Unassigned parameter 2 (Dword)
DBD n + 12
Unassigned parameter 3 (Dword)
DBW n + 16
Identification for loading/unloading station (Int), (fixed value 9999)
DBW n + 18
No. of loading station (INT)
DBW n + 20
Magazine no. (source) for unloading/reloading/positioning (INT)
DBW n + 22
Location no. (source) for unloading/reloading/positioning (INT)
Notes
DBW n + 24
Magazine no. (target) for loading/reloading/positioning (INT)
DBW n + 26
Location no. (target) for loading/reloading/positioning (INT)
Reserved Loading/
DBB n + 28
unloading
without
magazine
DBB n + 29
Reserved
Load interface 1 is responsible for spindle loading and reloading of tools, for relocating tools and for positioning at any location (e.g. buffer).
Notes
I8 I7 I6 I5 I4 I3 I2 I1
DBB1
I16 I15 I14 I13 I12 I11 I10 I9
DBB2 Standard end-of-acknowledgement
I8 I7 I6 I5 I4 I3 I2 I1
DBB3
I 16 I 15 I 14 I 13 I 12 I 11 I 10 I9
DBB n Spindle Replace man- Replace manual OldT in T0 Prepare chan- Perform Compul-
ual tool tool buffer no (n- ge change sory
Tool 42) (initiate: change
remains M06)
in spin-
dle
DBB n + 3
Tool management no. (8 bit INT)
DBD n + 4
Unassigned parameter 1 (D word)
DBD n + 8
Unassigned parameter 2 (D word)
DBD n + 12
Unassigned parameter 3 (D word)
Notes
DBW n + 42 If DBX (n+0.4) = 1, then buffer location of old tool is entered here.
Notes
DBB1
I16 I15 I14 I13 I12 I11 I10 I9
Standard end-of-acknowledgement
DBB2
I8 I7 I6 I5 I4 I3 I2 I1
DBB3
I 16 I 15 I 14 I 13 I 12 I 11 I 10 I9
DBB n
Reserved Replace Reserved Reserved T0 Reserved Perform change Obligatory
manual (initiation: change
tool T no.)
DBB n + 1 File in Reserved Reserved Reserved Reserved Reserved Reserved Acknowl-
extended area edgement
(DB1073) Status = 3
DBB n + 2 Assigned channel (8 bit INT)
DBW n + 16 Reserved
DBW n + 18 Reserved
Notes
Multitool distance
DBW n+4
Multitool number
DBW n+8
Toolholder
DBW n+12
Reserved
DBW n+14
Reserved
DBW n+16
Reserved
DBW n+18
Notes
Multitool distance
DBW n+4
Location type
DBW n+16
Tool status
DBW n+26
Tool holder
DBW n+30
Reserved
DBW n+36
Notes
Multitool distance
DBW n+4
Location type
DBW n+16
Tool status
DBW n+26
Tool holder
DBW n+30
Reserved
DBW n+36
Notes
Signals to/from the machine control panel and HHU (GD communication)
DB77 Signals to and from the machine control panel and HHU
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBB0- Input signals from MCP1 to PLC, MPI Bus (GD communication)
DBB7
DBB8 - Output signals from MCP1 to PLC, MPI Bus (GD communication)
DBB15
DBB24 - Input signals from MCP2 to PLC, MPI bus (GD communication)
DBB31
DBB32 - Output signals from MCP2 to PLC, MPI bus (GD communication)
DBB39
DBB48 - Input signals from HHU to PLC, MPI bus (GD communication)
DBB53
DBB60 - Output signals from PLC to HHU, MPI bus (GD communication)
DBB79
Appendix C: END
Notes