Professional Documents
Culture Documents
Signal 840c
Signal 840c
Software Version 1 to 6
Planning Guide 09.2001 Edition
Interface Description
Part 1: Signals
Manufacturer Documentation
SINUMERIK 840C
Software Version 1 to 6
Interface Description
Part 1: Signals
Planning Guide
Valid for:
09.2001 Edition
SINUMERIK® documentation
Printing history
Brief details of this edition and previous editions are listed below.
The status of each edition is shown by the code in the ”Remarks” column.
Status code in ”Remarks” column:
A . . . New documentation
B . . . Unrevised reprint with new Order No.
C . . . Revised edition with new status.
If factual changes have been made on the page since the last edition, this is
indicated by a new edition coding in the header on that page.
Trademarks
SIMATIC®, SIMATIC HMI®, SIMATIC NET®, SIROTEC®, SINUMERIK® and SIMODRIVE® are trade-
marks of Siemens AG. All other product and system names are registered trademarks of their
respective companies and must be treated accordingly.
The publication was produced on the Siemens 5800 Office System. We have checked that the contents of this publication agree with
the hardware and software described herein. The information given
The reproduction, transmission or use of this document or its in this publication is reviewed at regular intervals and any
contents is not permitted without express written authority. corrections that might be necessary are made in the subsequent
Offenders will be liable for damages. All rights, including created by printings. Suggestions for improvement are welcome at all times.
patent grant or registration of a utility model or design, are reserved,
Subject to change without prior notice.
© Siemens AG 1992-2001
All Rights Reserved
This manual is intended for manufacturers of machine tools with SINUMERIK 840C. It
describes the installation and cabling between control and machine as well as the signals
between PLC and machine.
The SINUMERIK documentation falls into four groups:
• General Documentation
• User Documentation
• Manufacturer Documentation
• Service Documentation
The Manufacturer Documentation for the SINUMERIK 840C control is divided into the
following parts:
• Instruction Manual
• Interface
Part 1: Signals
Part 2: Connection Conditions
• Planning Guide PLC 135 WB/WB 2/WD
• Function Macros
• Function Blocks
Package 0: Basic Functions
Package 1: Tool Management
Package 4/5: Computer Link
Package 7: Code Carrier
Package 8: PLC-controlled data input and output
Further SINUMERIK publications apply to all SINUMERIK controls (e.g. Universal Interface,
Measuring Cycles, CL 800 Cycle Language).
Consult your local Siemens office for further details.
Technical notes
• In the signal charts, the interface signals are represented by thick lines. Thin lines
represent signals symbolically or refer to internal messages.
• Signals designated with a * are so-called inverse signals, i.e. a 0 signal has an effect rather
than a 1 signal (e.g. *TEMPERATURE ERROR).
Where order numbers are given with a as placeholder, this indicates that there are several
versions available of one component.
Qualified personnel
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
WARNING
Qualified personnel as referred to in the safety guidelines (contained
in the documentation or on the product labels) are persons who have
the following qualifications:
• Are trained and authorized to energize, de-energize, clear, ground
and tag circuits and equipment in accordance with established
safety practices.
• Are trained in the proper care, use and repair of protective
equipment in accordance with established safety practices.
• Are trained in the use of electrostatic sensitive components and
modules.
• Operating personnel who have been trained to work with
automation equipment and are conversant with the contents of
the operating and/or programming instructions in as far as they
are connected with the actual operation of the plant.
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
WARNING
For the purpose of this document and the product labels, "Warning"
indicates that death, severe personal injury or substantial property
damage can result if proper precautions are not taken.
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
CAUTION
For the purpose of this document and the product labels, "Caution"
indicates that minor personal injury or property damage can result if
proper precautions are not taken.
CAUTION
This warning notice (without warning triangle) means that a material
damage can result if the appropriate precautions are not taken.
NOTICE
This warning notice means that an undesired event or an undesired
state can result if the appropriate notices are not observed.
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
”Note" contains important information
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
about the product, its operation or a part of the document
Proper usage
• The equipment/system or the system components may only be used for the applications
described in the catalog or the technical description, and only in combination with the
equipment, components and devices of other manufacturers as far as this is
recommended or permitted by Siemens.
• The product described has been developed, manufactured, tested and the documentation
compiled in keeping with the relevant safety standards. Consequently, if the described
handling instructions and safety guidelines described for planning, installation, proper
operation and maintenance are adhered to, the product, under normal conditions, will not
be a source of danger to property or life.
WARNING
Wherever a fault in automation equipment can result in severe
personal injury or substantial damage to property, i.e. wherever a
dangerous fault can occur, additional external measures must be
taken or equipment provided to ensure or force safe operating
conditions, even in the event of a fault (e.g. by means of independent
limit monitors, mechanical interlocks, etc.).
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Even when a high degree of safety has been included in the design of
aaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaa
Further notes
If measurement or testing work is to be carried out on an active item of equipment, the rules
and regulations contained in the "VBG 4.0 Accident prevention regulations" of the German
employers liability assurance association (Berufsgenossenschaften) must be observed.
Particular attention is drawn to paragraph 8 "Permissible exceptions when working on live
parts". Only suitable electrical tools should be used.
WARNING
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
Assigned Areas 2
15 Data Blocks Installed for Users (DB 66 ... DB 71) .............. 15–1
1 General Overview
The following subsections are designed to provide an insight into the SINUMERIK 840C control
structure.
They describe:
The NCK area performs parts of the classic NC tasks, i.e. the workpiece program execution by
means of block processing and interpolation, and axis and spindle actuation via the position
controllers.
The PLC area represents the machine's interface control and controls machine-specific
function procedures for the auxiliary axes, tool magazines and monitoring devices.
The display and operating functions as well as the master control of the MMC operating modes
are implemented in the MMC area (see diagram).
drive
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
a a
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
a a
aa
a
Floppy-disk
link
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
data
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
1 General Overview
Display
1.1 Control structure
Machine
Services
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
Computer
Magazine
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
for
Diagnostics
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
a a
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
a a
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
a a
aa
a
User program
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
a a
aa
a
machine control
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
Data
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
Applications
Basic system
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
memory
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
a a
aa
a
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
PLC
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
ming/
Operator panel
blocks
system
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
function
interface
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
Standard
Program-
operating
Operation
Simulation
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
Parameters
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa a aaaa aa
PLC-machine
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
a a
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aaaa
aa
aa
aaaaaa
aa
aa
aa
a a
aa
a
MMC-PLC interface
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
aa
a a
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
aa
a a
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
aa
a a
aa
a
control
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaa aaaa a aaaaa aa
input/output
machine
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaa aaa aaaa a aaaaa a
aa
a
Tool
ment
RS232C (V.24)
Input/output
a
aaaaaa
aaaa
aa aaaa
aaaa
aaaa
aaaa
aa
aaaaaa
aaaa
aa
aaaa
aaaa
aaaaaa
aaaa
aa aaaa
aaaa
aaaa
aaaaa a
aaaa
aaaa
aaaa
aaaa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aaaa
aaaa
aa
aa
aa
aaaa
aa
aaaa
aa
aa
aaaaaa
aa
aa
aa
aa a
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaa aaaa a aaaaa aa
Harddisk
manage-
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa aaaaaaaaaaaaaaaaaaaaaaaaa aaa aaaa a aaaaa aa
MMC UMS
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
aa
a a
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
a a
aa
aa
aa
a a
a a
aa
aa
aa
aa
a a
aa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa a
I
I
T
T
F
F
E
A
E
E
A
E
C
R
N
C
R
N
NCK
NCK
PLC PLC-
MMC MMC-
a a a a a a aa aaa
(streamer)
aaaaaa
aaaaaaaaaa
aaaa
aaaa
aaaa
aaaaaaa
aaaa
aaaaa
aaaa
aaaaaa
aaaaaaaaaa
aaaa
aaaa
aaaa
aaaaaaa
aaaa
aaaaa
aaaa
aaaaaa
aaaaaaaaaaaa
aaaaaaaaa
aaaa
aa
aaaa
aaaa
aaaaaa
aaaaaaa
a a
aaaaaaa
Centronics
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a aaa
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a a
aa
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a a
aa
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a a
aa
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a a
aa
aa
a
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a aa
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aa aaa aaaa
disk
Hard
Interface
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aa aaa aaaa
aaa
aa
Displays/texts/menus
to machine
sion box
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aa aaa
AT expan-
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aa aa
memory
Memory
(drives/motors)
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a aaa
a a
aaaaaa
NCK-UMS
Position control
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aa a aa aaaaaa
Communications
a
aaa aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aa
aa a a
aaaa aaaaaa aaaa
a
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a aa
a aaaaaa aaaaaa
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a aaaaaa
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a aaa
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aa
(V.24) PG
RS232C
a
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
a
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aa
NCK
• MAP 3.0
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aa
6FC5197- AA00
a a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa a
• SINEC H1
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa a
• Active V.24
aaa
a
a
a
a
aa
a
a
GA25.16
a
a
a
a
aa
a
a
a
a
a
a
a
SINUMERIK slimline operator panel (with inscriptions)
H:
D:
C:
12.93
a
aa
aa
a a
aaa
a
aa
aa
a a
aa
a
a
aa
aa
a a
aa
a
User keys
Reset key
aaa a aaa aa
aa
A
aaaaaa
aaaa
aaaaaa
aaaaaaaaaa
aaaa
aaaa
aaaa
aaaaaaa
aa
aa
aa
aa a
Feed control
a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
aa
a
aaa aa aa a aa aa a aa aa aa aaa a aaaaa aa
Operating modes
a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
aa
a
H
aaa aa aa a aa aa a aa aa aa aaa a aaaaa aa
B
E
aaa a
aaaaaa
I
6FC5197- AA00
Direction keys with rapid overlay+customer keys
E
a
aa
aa
aaaa
a
a
aa
aa
a a
aa
a
a
aa
aa
a a
aa
a
aaa aa
Machine control panel for SINUMERIK slimline operator panel
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aaa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa a
aa
a
D
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaa
aa
a a
aa
a
a
aa
aa
a a
aa
a
a
aa
aa
a a
aa
a
F
aaa aa
Direction keys for T version
aaa a
aaaaaa
1 General Overview
1–5
1.1.1 Components of SINUMERIK 840C
•
•
•
•
•
•
•
•
•
*
a
1–6
a
a
aaaaa
a aa
a
1.1.2
a
a a
a a
aa
a
a a a
aa
a
UMS
aa
a aa a
a
a a
a a
aa
a
a
a a
a a
aa
a
a
a a
a a
aa
a
a a aa
1 General Overview
a
a a
a a
aa
a
NCK structure
a a aa
MMC interface
a
a a
a a
aa
a
CP module NCK
a a aa
NCK area
a
a a
a a
aa
a
a a aa
stored workpiece-oriented.
a a aa
Central controller
a
a a
a a
aa
a
a a aa
a
a a
a a
aa
a
a
a a
a a
aa
a a a
a a aa aaaa
aa
a a aa a aaa
*
a
a a
a a
aa
a a aa
aaaaa
a
a a
a a
aa
a
a a
aaaaaa
a
aa
a aaaa
a
aa
a aaaa
aa aa
Line 1
aa
DMP modules
aaaaaa
a
aaaaaa
aaaa
aaaa
aaaa
aa
aaaaaa
aaaa
aa
aaaa
aaaa
aaaaaa
aaaaaaaaaaaa
aa
aaaaaaaa
aaaa
aa
aaaa
aaaa
aa
aa
aaaa
aa
aa
aa
aaaa
aaaaaaaa
aa
aaaaaaaa
aaaa
aa
aaaa
aaaa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
aaa a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aaa aa aa aaa aa aaa
Machine
The SINUMERIK 840C incorporates communication units from MMC and from NCK
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a aaaa
a a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aaa aa aa aaa aa aaa
the NC area. The part program memory in the NCK area is not battery backed. The part
a
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a
aaaa
programs can be stored in the data management part of the hard disk (MMC). The data is
a
a a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aa aaaa aaaaa aa aa aaa aa aa aaa aa aaa aaaa
Part programs for workpieces that are currently being machined are stored and managed in
aaaaaa
aaaa
aaaa
aaaa
aa
aaaaaa
aaaa
aa
aaaa
aaaa
aaaaaa
aaaa
aa aaaaaa
aa
aaaa
aa aa
aaaa
aa
aaaa
aaaa
aa
aa
aaaa
aa
aa
aa
aaaa
aaaa
aa aa
aa
aaaa
aa aa
aaaa
aa
aaaa
aaaa
aa
aaaaa
6FC5197- AA00
SINUMERIK 840C (PJ)
12.93
09.95 1 General Overview
1.1.2 NCK area
NCK structure
The NCK area is divided into channels, each channel acting like an independent NC control.
Each NCK channel has its own block processing and interpolator.
The NCK channels are grouped in operating mode groups. The axes and spindles of the
machine are assigned to operating mode groups via machine data. Each NCK channel of an
operating mode group can, however, only be controlled by one NCK channel at any one time.
Each axis has a position controller. A position control loop occurs when a drive is connected to
the NC via a measuring system. The same applies to spindles with encoders.
In its maximum configuration, SINUMERIK 840C contains 2 operating mode groups (as from
SW 4: 6) and 4 NC channels (as from SW 4: 6). It can have a maximum of 15 servo loops
(486 CPU) of which a maximum of 6 can be for spindles.
Up to 30 servo loops can be defined with software version 5 and higher (611D).
Example:
The 30 servo loops could be divided into:
• 30 axes or 24 axes plus 6 spindles
• No fictitious axes can be defined in addition to the 30 axes.
The limitation to max. 15 real axes or spindles (axes/spindles with servo loops) for analog
drives still applies.
The number of servo loops is limited to 9 when using the 386 CPU.
The PLC area contains the interface control. Machine-specific signals are evaluated or
switched here. Within the PLC, the basic signals are regrouped, arranged according to the
type of signal and denoted ”user interface”. A list of all user interface signals required for the
PLC user program appears in Section 2. A detailed description of these signals is to be found
in the following sections.
Data communication between the NCK and the PLC is via a communications RAM. In the case
of SINUMERIK 840C, with the exception of the basic signals, all signals are stored in data
blocks (DB).
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaa
MMC
Operator panel
Messages
Data transfer hard disk and RS232C (V.24)
a
a
a
a
a
a
a
aaaaa
a
a
a
a
a
a
aaaaa
NCK PLC
aaa
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Data NC-PLC Interface
Basic signals FY 0-24 Operating
manage-
System
ment Diagnostics DB 1...4
Interface NCK channel 1 to 4 (up to 6 DB 10-13
Traversing as from SW 4)
logic Modes, program modification, (15 as from SW4)
Ready signals, auxiliary functions User
Axis-specific 611D and GI signals DB 29 program
Decoded M signals DB 30
Spindle-specific signals DB 31
Position Axis-specific signals DB 32
control
PLC-NCK data transfer DB 36
Control of data transfer DB 37
Operator panel DB 40
Computer Command channel DB 41
link
NCK/PLC communication DB 48
PLC messages DB 58
PLC machine data (MD) DB 60
PLC MD words, function blocks DB 61
Master computer PLC MD words, users DB 62
PLC MD bits for basic program DB 63
PLC MD bits, function blocks DB 64
PLC MD bits, users DB 65
DB installed for users, words DB 68
DB installed for users, bits DB 71
Computer link DB 101, 102
Internal interface User interface
NCK PLC data transfer is executed by the PLC operating system (BESY).
aaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Please refer to the Installation Lists for the assignment of inputs and
aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
outputs via input and output modules, DMP modules and the machine
control panel, and the setting of addresses. A description of the
aa
a
a
a
a
a
a
a
a
a
aa
a
aaa
a
a
a
a
a
a
a
a
aaaa
a
hardware is contained in the Interface Description, Part 2.
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
Input/output overview:
Inputs
Bit No.
Byte No. 7 6 5 4 3 2 1 0
0
Physical interface with process image
(input modules, DMP modules, machine control panel)
127
128
Physical interface without process image
(input modules, DMP modules)
255
Outputs
Bit No.
Byte No. 7 6 5 4 3 2 1 0
0
Physical interface with process image
(output modules, DMP modules, machine control panel)
127
128
Physical interface without process image
(output modules, DMP modules)
255
The SINUMERIK 840C can control a variety of machines. Controlling the drives is among other
things one of the classic tasks of the NC which is carried out in the NCK area.
In addition to the machine signals which are required for controlling the drives, there are other
signals, different from machine to machine, which cannot be processed with the usual NC
functionality. The control is adapted to the signal range of the machine by equipping the PLC
area with I/O submodules for creating and switching machine-specific signals.
The PLC user program must establish the connection between the machine-specific signals
and the NC functions. This means that the PLC user program creates the signals required by
the NC from the machine-specific signals and vice versa i.e. it creates the signals required by
the machine from the control signals.
In addition, the PLC user program should use the special features of a machine which are not
included in the NC functions. The PLC user program must therefore implement these potential
machine functions, activate them when required and monitor them.
The PLC program consists of the PLC operating system (BESY) and the PLC user program.
The user program is created by the machine manufacturer.
The machine manufacturer can structure his PLC program according to these criteria by
calling up program blocks (PB) from the relevant organization blocks (OB).
Important:
The flag area FY 200 - 223 is also partly used by SIMATIC© function blocks.
Data formats:
All word-oriented interface signals are output and input as fixed-point numbers.
Specific reference is made to exceptions.
There are interrupts which are triggered by machine signals (hardware interrupts) and program
interrupts which are triggered by the PLC operating system due to edge changes of alarm
signals.
Hardware interrupts
Hardware interrupts can only be processed in a particular PLC operating mode, the special
mode. The PLC operating system makes an image of the signals which trigger interrupts in the
flag area and this image makes it possible to read off which signal has triggered the interrupt.
The user interface OB2 is then called up.
The signals which trigger hardware interrupts can be masked. It can be determined which
edge of a signal triggers the interrupt via machine data.
2 Assigned Areas
FY 0 Basic signals
.
24
25 e.g. auxiliary flags or for
. dynamic assignment by
. interface signals
. e.g. interface channel 1
. channel 2
. etc.
.
.
. Available to the user
.
.
.
.
.
199
200 Reserved for function
. blocks (see note)
224
. Saved area on changing plane
. and restarting
.
FY 255
Notes:
1. For the purposes of simple programming, the interface signals from data blocks can be
copied into the flag area FY 25 - FY 199 using function macros FB 70 and FB 71.
Function macros are function blocks that are programmed in assembler and integrated in
the PLC operating system.
2. The flag area FY 200/224 - 255 (depending on machine data) is saved by the system
program when the machining plane is changed and also in the event of a restart. The flag
area is uploaded at the end of the relevant program.
This flag area can also be utilized by the user for intermediate results.
The flag area FY 200 - FY 255 is partly used by function blocks (see FB Package
Description). If the user does not utilize these function blocks, these flags can be used in
the same way as the area FY 25 - FY 199.
Important:
The flag area FY 200 - 255 is also partly used by SIMATIC function blocks.
Data formats:
All word-oriented interface signals are output and input as fixed-point numbers. Specific
reference is made to exceptions.
1 * DIAG-DB Diagnostics DB OS
2 * STATUS-DB PLC status channel 1)/high-speed data channel 2) OS
3 * DATKAN-DB PLC data channel 1)/high-speed data channel 2) OS
4 * FM/BM-DB Error and operational messages OS
10 * NS KN 1 Interface NC channel 1 OS
11 * NS KN 2 Interface NC channel 2 OS
12 * NS KN 3 Interface NC channel 3 OS
13 * NS KN 4 Interface NC channel 4 OS
14 * NS KN 5 Interface NC channel 5 2) OS
15 * NS KN 6 Interface NC channel 6 2) OS
28 SI Interface signals for Safety Integrated 3) FB
29 NS ELG ELG signals and 611-D signals OS
30 * DEC MFU Decoded M functions (list) OS
31 * SPI SIG Interface for spindle-specific signals OS
32 * ACHS SIG Interface for axis-specific signals OS
33 Reserved
34 E-PU Input buffer, computer link CL
35 A-PU Output buffer, computer link CL
36 * DUE NC Interface for data transfer NC <-> PLC OS
37 * SER SCH. Control of data transfer OS
38 RK:ZW-DB Status DB computer link CL
39
40 * NS BEDT. Interface operator panel OS
41 * NS KK Interface command channel OS
48 * NS COM Interface communication NC/PLC interface OS
49
58 * MELD Interface for general messages OS
59 DB-ZENTRAL Softkey function calls (central DB in link RAM) OS
60 * MDG WO MD words operating system OS
61 * MDF WO MD words function blocks OS
62 * MDA WO MD words user OS
63 * MDG BI MD bits basic program OS
64 * MDF BI MD bits function blocks OS
65 * MDA BI MD bits user OS
66 IKO-DB Icon drive circuit in the MMC
67 INT-MSTT Internal machine control panel
68 * SEA WO SE user words OS
69
70
71 * SEA BI SE user bits OS
Abbreviations: Note:
OS PLC operating system The data blocks marked * are set up and initialized by the PLC
CL Computer link operating system at each restart following a reset. These blocks are
SE Setting data always reinitialized in the event of an automatic restart.
FB Description of
Functions
Safety Integrated
_______
1) Up to SW 2
2) As from SW 4
3) As from SW 5.4
Abbreviations: Note:
OS PLC operating system The data blocks marked * are set up and initialized by the PLC
0 FB package 0 operating system at each restart following a reset. These blocks
1 FB package 1 are always reinitialized in the event of an automatic restart.
6 FB package 6 _______
CL Computer link 1) The data blocks marked 1) are set up contiguously depending on the tool
UR User management configuration.
2) Up to SW 2
EM Error message
3) As from SW 4
OM Operational message
UI User interface
Abbreviations: Note:
OS PLC operating system The data blocks marked * are set up and initialized by the PLC
0 FB package 0 operating system at each restart following a reset. These blocks are
1 FB package 1 always reinitialized in the event of an automatic restart.
CL Computer link
The data blocks marked 1) are set up contiguously depending on
UR User
the tool management configuration.
a
a
a
aaaaaaaaaaaaaaaaaa a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
aa
aaaaaaaaaaa
a
a
a
a
aa
a
aaa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
aa
a
aaa
a
a
a
a
a
a
a
a
a
aaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
Abbreviations: Note:
OS PLC operating system The blocks marked * are function macros integrated in the PLC
0 FB package 0 operating system.
(See Function Macros Description)
_______
2) Up to SW 2
3) As from SW 3
Abbreviations: Note:
OS PLC operating system The blocks marked * are function macros integrated in the PLC
0 FB package 0 operating system. (See Function Macros Description)
1 FB package 1
4 FB package 4 of the
computer link
CL Computer link
121 Reserved 1
122 LEERPL2 Empty location search with preset 1
123 WZ-BS Prepare tool 1
124 UP: T=ID Subprogram TO-search T = Ident 1
125 UP: T=PL Subprogram TO-search T = Location 1
126 Reserved 1
128 TRANSFER Transfer TO data 1
129 Reserved 1
130 TOS-VER Subprogram 1
131 UP: MD-B Subprogram MD bits 1
132 UP: MD-W Subprogram MD words 1
133 RI-AUSW Direction selection 1
134 TODAT-W Subprogram 1
135 D-NR:WZW D-No. loading after TO change 1
136 WZDAT-LS Read TO data 1
137 Reserved 1
138 DYN-PUFF Management of I/O data buffer 1
139 DAT-VERT Processing of I/O data buffer 1
140 UP: FB139 FB 139 subprograms 1
141 UP: KC-0 FB 139 subprograms 1
142 UP: KC1-4 FB 139 subprograms 1
143 UP: KC5-7 FB 139 subprograms 1
144 UP:KC8+9 FB 139 subprograms 1
145 BEL-CDTR Load tool with code carrier 6
146 ENT-CDTR Unload tool with code carrier 6
147 CT-FORMAT Formatting 6
148 Reserved 6
149 Reserved 6
150 Reserved 1
151 Reserved 1
152 NP-SIF Subprogram 1
153 AD-AD Subprogram 1
154 RK: AW-SS User interface to CL (processing) 1
155 LOCHSTEG Tape input 1
156 STAZ/VWG Tool life monitoring / early warning limit 1
157 STUE/VWG Quantity monitoring / early warning limit 1
158 WZ-SPER Tool disable 1
159 BCD-DUAL BCD-DUAL conversion 1
160 1) Central call block 1
161 1) SR control 1
162 1) Reserve 1
163 1) Reserve 1
164 1) Transfer TO selection 1
165 1) Reserve 1
166 1) Signal: load spindle 1
167 1) Signal: unload spindle 1
168 1) Acknowledge spindle 1
169 1) Reserve 1
170 1) Buffer storage allocation 1
Abbreviations:
1 FB package 1
6 FB package 6
_______
1) The blocks are given in the operator interface example of tool management.
Abbreviations:
1 FB package 1
_______
1) The blocks are given in the operator interface example of tool management.
Abbreviations:
0 FB package 0
1 FB package 1
5 FB package 5
7 FB package 7
8 FB package 8
OS Operating system
CP Cycle package _______
CL Computer link 1) As from SW 2
55 Reserved
56 Reserved
57 Reserved
58 Reserved
59 Reserved
60 Reserved
67 Reserved
68 PRO-MESS Logging of measured data 8
69 TP-UEB Transfer part program 8
70 TP-BEARB Process part program 8
71 DRU-AUSG Printout 8
72 PRO-UP1 Subroutine 8
73 OEM-SEND Send data to MMC (reserved for OEM customers) 2)
74 OEM-EMPF Receive data from MMC (reserved for OEM customers) 2)
75 AX-G-FKT Decode axis-specific G functions 2)
76 Reserved 8
77 Reserved address computation flag area 8
78 Reserved 8
79 Reserved OS
80 Reserved OS
81 Ikonen Display of icons 1) 0
82 STERNDRE Star-delta changeover 2) 0
83 Reserved PG functions
84 Reserved PG functions
85 Reserved PG functions
86 Reserved PG functions
87 Reserved PG functions 0
88 Reserved PG functions 0
89 Reserved
90 Reserved
91 Reserved
92 Reserved
93 Reserved
94 Reserved
95 Reserved
96 Reserved
97 Reserved
98 Reserved
99 Reserved
Abbreviations:
OS PLC operating system
8 FB package 8
0 FB package 0
Important:
1. Make sure that there is no risk of confusion with SINUMERIK blocks. Users must not use
SINUMERIK standard block names or assign SINUMERIK library numbers to their user
blocks.
2. In the range FB 0...FB 199
FX 0...FX 99, SINUMERIK blocks have absolute priority.
If SINUMERIK blocks must be used at a later time with numbers that coincide with user
block numbers, the user block numbers must be renamed.
_______
1) As from SW 2
2) As from SW 3
3) SINUMERIK 840C, OEM-Doku, User's Guide
4) Planning Guide Function Macros
Bit No.
Byte No. 7 6 5 4 3 2 1 0
FY 0 Flashing
frequency
0.5 Hz One Zero
FY 2 Basic setting
OB 7 OB 6 OB 5 OB 4 OB 3 OB 2 OB 1
FY 3 Cold restart
OB 7 OB 6 OB 5 OB 4 OB 3 OB 2 OB 1 OB 20
FY 4 Parameter test
OB 7 OB 6 OB 5 OB 4 OB 3 OB 2 OB 1
Bit No.
Byte No. 7 6 5 4 3 2 1 0
FY 7
_______
1) Always ”1” with 840C
2) As from SW 3
Byte No. 7 6 5 4 3 2 1 0
FY 13 B y t e N o. ( n + 1 )
FY 14
B y t e N o. ( n + 2 )
FY 15
B y t e N o. ( n + 3 )
FY 17
B y t e N o. ( n + 1 )
FY 18 B y t e N o. ( n + 2 )
FY 19 B y t e N o. ( n + 3 )
Byte No. 7 6 5 4 3 2 1 0
FY 20
FY 21 2nd 1st
interface interface
CL CL
Signal to Signal
FY 22 CSB: data from CSB:
power
Drives
ready
NC CPU
ready
MMC CPU
saved (from ready
SW 6.3) failure (from (from SW 6) (from SW 6)
SW 6.3)
FY 23
Byte No. 7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8
Bit No.
DW
No. 7 6 5 4 3 2 1 0
Actual cycle time
Cycle times DW 0
(KF format in ms)
Minimum cycle time
DW 1
15 14 13 12 11 10 9 8
Bit No.
DW
No. 7 6 5 4 3 2 1 0
ID of I/O type DL 10
DR 10
DR 13
23 22 21 20 19 18 17 16
DR 15 23 22 21 20 19 18 17 16
15 14 13 12 11 10 9 8
Bit No.
DW
No. 7 6 5 4 3 2 1 0
Number of lost requests during LIM/SIM OB2
Semaphore DW 16
technique within Number of lost requests during LIM/SIM OB3
processing levels DW 17
Number of lost requests during LIM/SIM OB4
DW 18
Number of lost requests during LIM/SIM OB5
DW 19
Number of lost requests during LIM/SIM OB6
DW 20
Number of lost requests during LIM/SIM OB7
DW 21
Event counter Event counter processing time delay
DW 22 OB 2
processing time OB 3
delay DW 23
OB 4
DW 24
OB 5
DW 25
OB 6
DW 26
OB 7
DW 27
15 14 13 12 11 10 9 8
Bit No.
DW
No. 7 6 5 4 3 2 1 0
Fault message DW 30
Input byte .
.
1: Fault .
0: No fault DW 45
Fault message DW 46
Output byte .
.
1: Fault .
0: No fault DW 61
Display DW 70
status register .
.
DMP modules .
DW 159
7 6 5 4 3 2 1 0
Software releases
Bit No.
Byte No. 7 6 5 4 3 2 1 0
DW 169 Reserved
DW 176 Reserved
DW 177 Reserved
Note:
The order of the I/O modules does not solely depend on the slot position. The following
allocations always apply:
– The interface PLC/interface 135 WD is always the 3rd interface
– The INTEU 16 bit is always the 2nd interface
– The interface DMP can be set as the 1st or 2nd interface, depending on its slot number
counting from left to right.
– With the PLC 135 WD, a second interface DMP can be used in the 18 SEP subrack
(SEP=standard slot dimension).
_______
1) Module code (binary)
1010 01 xx Interface DMP
0110 11 xx INT EU/16B
0111 10 xx Interface PLC/135 WB2
1000 11 xx Interface 135 WD
xx =ˆ Hardware version
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL 0 Operating mode
With Read/
acknowl. write STROBE
DR 0 Error code of NC
DL 1 J o b N o. o f P L C
DL 2 Updating rate NC
DR 2 Function identifier
DL 7 Reserved
DR 7 Reserved
.. .. ..
. . .
DL 31 Reserved
DR 31 Reserved
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
No reduction
DR 0 Skip block Single block DEC single Dry run feed M01 active of channel
block rate path
velocity8)
Execution Block
Bl. search
Internal WAIT Progr. Program
DL 2 from exter- search with
with calcu-
lation as from
mark synchr. start/end step Break Clear
nal calculation last main
with block cycles off (PSTEP) 5) (BRK) 5) (CLR) 5)
search 8) 7)
block
DL 3 Spindle number 6)
C B A
DR 3
DR 4
DL 5 Operating modes 1)
JOG TEACH IN MDA AUT
DR 5 Functions
REPOS REF VAR 10 000 INC 1 000 INC 100 INC 10 INC 1 INC
_______
1) For SW 1: If this signal is selected in the 1st channel (master channel) of an operating mode group, it also
applies to all other channels in the group. The reset signal specific to the operating mode group can be
selected only in the master channel.
2) SW 2 (RESET): The effect of RESET is channel-specific. Single channels of a mode group can be set to the
reset state without influencing other channels.
3) As from SW 2
4) As from SW 2: Whether Cancel is to act on all channel-specific alarms or to the selected (current) channel
only can be set by MD 50008.0.
5) As from SW 3
6) As from SW 3, power indication becomes active in the operating mode basic displays for digital spindles.
7) SW 5 and higher
8) As from SW 5.6
7 6 5 4 3 2 1 0
DR 12
1 DB 10 6000
2 DB 11 6100
3 DB 12 6200
4 DB 13 6300
5 DB 14 6400 (as from SW 4)
6 DB 15 6500 (as from SW 4)
Notes:
• The bytes DL 6 ... DR 11 can also be analyzed for error and/or operational messages. The
setting is made using PLC MD 6032 - 6047.
• The NC start disable is not active in other mode groups. If, e.g. the channels 1 and 2 of
mode group 1 are disabled for NC Start, NC Start becomes active in the channels of mode
group 2.
2.5.1.2 Signals from NCK channel (DB 10...DB 13, as from SW 4 DB 15)
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DR 13 Transform- G36 2)
ation active
Block
DR 14 Execution Block search with Extended Progr. Program Break Clear
from ex- search with calculation overstoring start/end step
ternal calculation as from last active 3) cycles off 4) (PSTEP) 2) (BRK) 2) (CLR) 2)
main block
Internal
WAIT marker
Bl. search (channel
DL 15 Bl. search
with calc.
with calc. as
fr. last main
waits for
block w/o synchroni-
without error
error zation)
(as from
SW 6)
Protection
space NC alarm Mode
DL 16 NC START adaptation with NC START Channel in group NC alarm
disable not possible machining possible reset present
(as from stop ready
SW 6)
DR 16
_______
1) As from SW 2
2) As from SW 3
3) As from SW 4
4) As from SW 5
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
DL 18 Dynamic M signals
M7 M6 M5 M4 M3 M2 M1 M0
DR 18 Static M signals
M7 M6 M5 M4 M3 M2 M1 M0
DL 19 Dynamic M signals
M15 M14 M13 M12 M11 M10 M9 M8
DR 19 Static M signals
M15 M14 M13 M12 M11 M10 M9 M8
DL 20 Dynamic M signals
M23 M22 M21 M20 M19 M18 M17 M16
DR 20 Static M signals
M23 M22 M21 M20 M19 M18 M17 M16
DL 21 Dynamic M signals
M31 M30 M29 M28 M27 M26 M25 M24
DR 21 Static M signals
M31 M30 M29 M28 M27 M26 M25 M24
_______
1) As from SW 2
7 6 5 4 3 2 1 0
DL 22 Dynamic M signals
M39 M38 M37 M36 M35 M34 M33 M32
DR 22 Static M signals
M39 M38 M37 M36 M35 M34 M33 M32
DL 23 Dynamic M signals
M47 M46 M45 M44 M43 M42 M41 M40
DR 23 Static M signals
M47 M46 M45 M44 M43 M42 M41 M40
DL 24 Dynamic M signals
M55 M54 M53 M52 M51 M50 M49 M48
DR 24 Static M signals
M55 M54 M53 M52 M51 M50 M49 M48
DL 25 Dynamic M signals
M63 M62 M61 M60 M59 M58 M57 M56
DR 25 Static M signals
M63 M62 M61 M60 M59 M58 M57 M56
DL 26 Dynamic M signals
M71 M70 M69 M68 M67 M66 M65 M64
DR 26 Static M signals
M71 M70 M69 M68 M67 M66 M65 M64
DL 27 Dynamic M signals
M79 M78 M77 M76 M75 M74 M73 M72
DR 27 Static M signals
M79 M78 M77 M76 M75 M74 M73 M72
DL 28 Dynamic M signals
M87 M86 M85 M84 M83 M82 M81 M80
DR 28 Static M signals
M87 M86 M85 M84 M83 M82 M81 M80
DL 29 Dynamic M signals
M95 M94 M93 M92 M91 M90 M89 M88
DR 29 Static M signals
M95 M94 M93 M92 M91 M90 M89 M88
DL 30 Dynamic M signals
M99 M98 M97 M96
DR 30 Static M signals
M99 M98 M97 M96
Data
wort No. High-order byte (DL) Low-order byte (DR)
M word 1 (binary)
DW 32
Bit 15 Bit 0
M word 2 (binary)
DW 34
Bit 15 Bit 0
M word 3 (binary)
DW 36
Bit 15 Bit 0
_______
*) As from SW 4
Data
word High-order byte (DL) Low-order byte (DR)
No.
Extended F address
DW 47 101 100
Bit 15 Bit 0
1)
F word
DW 48 10n+7 10n+6 10n+5 10n+4
Bit 31 Bit 16
1)
F word
DW 49 10n+3 10n+2 10n+1 10n
Bit 15 Bit 0
DR 51
_______
1) Is dependent on input resolution (e. g. 10–3=ˆn=–3) and on G95 (n=–3) or G94 (n=–2). The speed is higher
than with G95 by a factor of 10.
2) As from SW 2
2)
1)
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
10.94
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
________
DL 55
DL 54
DL 53
DL 52
Byte No.
DR 55
DR 54
DR 53
DR 52
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a aaaaaaaaaaaaaaaaaaaaa
As from SW 4
aa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aa
7
15
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aa
101
103
105
107
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
5
aa aaaaaaaaaaaaaaaaaaaaa
13
aa
aa
a
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
4
12
aa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
6FC5197- AA00
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aa
Chann. 6 2) Chann. 5 2)
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Bit No.
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
3
11
aa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Command code
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aa
Channel 4
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Signals from program coordination 1)
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2
10
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Channel 3
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
100
102
104
106
aa
aa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
9
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aa
Channel 2
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaa
aa
aa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
8
aa
0
a
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
coord.
aa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
modific.
aa
Program
Channel 1
aa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2 Assigned Areas
2–25
2.5.1 Channel-specific signals
aa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2 Assigned Areas 10.94
2.5.1 Channel-specific signals
7 6 5 4 3 2 1 0
DL 56 Buffer
assigned
________
1) These signals are to be used only for program coordination.
2) These signals must not be overwritten in the program coordination function.
3) As from SW 4
7 6 5 4 3 2 1 0
DL 63 Suppress
T/H word Reserved
routing
DR 63 Coordi- Suppress
nation error routing H word T word
message message valid valid
DW 64 Bit 15 Source channel number (address extension, binary) Bit 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
Note:
In SW 3, the TEACH-IN axis markings are stored in DW 70-73, as from SW 4 in DW 80-83.
_______
1) As from SW 3
2) SW 3
3) As from SW 4
2.5.1.4
a
aaaa
aaaa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a aa aaa
6FC5197- AA00
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
For a further description, refer to the
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a a
aa
a a
aa
aa
a aaaaaaaaaaaaaaaaaaaaaaaaaaaa
a aa aaa
The Safety Integrated function is an option.
a
a a
aa
a a
aa
aa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaa
SINUMERIK Safety Integrated documentation.
a
a aa aaa aaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaa
aaaa
aa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Axis-specific Safety Integrated signals (DB28) (as from SW 5.4)
2 Assigned Areas
2–29
2.5.1 Channel-specific signals
2 Assigned Areas 10.94
2.5.1 Channel-specific signals
Byte No.
7 6 5 4 3 2 1 0
Acceleration
DL k limitation ESR Compensat. Wait for
synchronous monitoring controller pos.-related FA overlay Synchroniz-
active is active active switching 2) active ation busy Link active
Controlled Accel. warn Veloc. warn Synchron- Synchron-
DR k follow-up Maximum Maximum threshold threshold ous motion ous motion
motion FA acceleration velocity reached reached fine coarse
DL Synchroniz. ESR
position response is
k+1 reached triggered
DR Identifier ESR
following response is Request Request
k+1 axis progrmd. 2) LINK Off LINK On
7 6 5 4 3 2 1 0
DR Disable
ESR LINK–OFF
k+2 monitoring
DL
k+3
Compensate Acceleration Enable Compensat-
DR synchr. limit ESR ory Enable
motion SYNCHRON- response 2) controller following Interlock Interlock
k+3 difference * OUS ON axis overlay LINK–OFF LINK–ON
_______
1) As from SW 3
2) As from SW 4
* See DB 31, K+27, bit 7 for description of signal
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL Traverse
request
k+121 drive test 2)
ZK2 generator ZK2 ZK2 DC link
ZK2 DC link
DR speed <
minimum
emergency
retraction or
voltage <
emergency voltage <
warning
k+121 speed
generator axis DC link gener-
retraction
threshold threshold
(MD 1604)
(MD 1635) ator active (MD 1634)
Signals to axis
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
Ramp-
DL Reserve Reserve Reserve Reserve Set speed 2nd function
611D-XM1 611D-XM1 611D-XM1 611D-XM1 smoothing torque generator
k+122 1) 1) 1) 1) 1) limit 1) rapid stop 1)
DL Motion
enable drive
k+123 test 2)
_______
a
aa
a
aa
a
a
a
a
a
a
aa
aa
aa
a
a
a
a
a
aa
aa
a
a
a
a
a
a
a
a
a
aaaaaaaaaaa
a
a
a
a
a
a
aaaaaaa
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
1) SW 3, used by 611D
2) SW 3, used by SERVO
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL 0 Dynamic M signals
DR 0 Static M signals
DL 1 Dynamic M signals
DR 1 Static M signals
DL 63 Dynamic M signals
DR 63 Static M signals
The bit field is common to all channels. A maximum of 64 M functions per channel can be
decoded according to the list.
1 DB 80 6009.0
2 DB 81 .1 0 - 63 0-7
1 - 99 0 - 9999 (KY) (KY)
3 DB 82 .2
(KF) (KF) stat. bit
4 DB 83 .3
5 1) DB 84 .4
6 1) DB 85 .5 1st DW 0 DW 1 DL 2 DR 2
value
2nd DW 3 DW 4 DL 4 DR 5
value
.
.
.
.
.
.
_______
1) As from SW 4
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DR Resyn-
Set rotation Oscillation Basic Position chronize Acknowl- PLC spindle
k+2 cw speed speed spindle spindle edge M19 control
DL Spindle disable
k+3 n+7 n+6 n+5 n+4 n+3 n+2 n+1 n+0
DR Spindle disable
k+3 n+15 n+14 n+13 n+12 n+11 n+10 n+9 n+8
_______
1) SW 2 and higher
2) NC MD 540*.2 must be set for this function.
* Signal is active at 0
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
Accelera- Compensat- Following
DL tion limit ESR ory spindle
synchron- monitoring controller overlay Synchroni-
k+24 ous active is active active active zation busy Link active
Controlled
DR follow-up Accel. warn Veloc. warn Synchro- Synchro-
motion of Maximum Maximum threshold threshold nous motion nous motion
k+24 foll. spindle acceleration velocity reached reached fine coarse
Synchroniz-
DL ation ESR
position response is
k+25 reached triggered
DR Identifier ESR
following response is Request Request
k+25 spindle programd 2) LINK-OFF LINK-ON
DL Slave
operation C axis
k+49 active 3) active 2)
DR
k+49
GI = Gear interpolation
Signals to spindle
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DR Disable
ESR LINK–OFF
k+26 monitoring
DL
k+27
DR Compensate Acceler. limit Enable Compens. Enable foll.
synchroniz. SYNCHRO- ESR controller spindle Interlock Interlock
k+27 difference NOUS response 2) ON overlay LINK–OFF LINK–ON
_______
1) As from SW 3
2) As from SW 4
3) As from SW 4.4
Notes:
• A maximum of 15 servo loops is possible (axes and spindles). With Software Version 5
and higher, max. 30 servo loops are possible (axes and spindles) with digital drives.
• The message text address n is required for the error and operational messages. The
SPINDLE DISABLE signals can additionally be checked for error messages via PLC MD
6034. The results of this check can be set as operational messages via PLC MD 6042.
The function blocks required for the check/display are contained in FB package 0.
1 0 8000 6012.0
2 4 8020 .1
3 8 8040 .2
4 12 8060 .3
5 16 8080 .4
6 20 8100 .5
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL Travel
request
k+73 drive test
ZK2 generator ZK2 DC link
Reserved ZK2 emergen-
DR speed <
minimum cy retraction
voltage<
emergency
ZK2 DC link
voltage <
k+73 speed
generator axis
or DC link
genertr active
retraction
threshold
warning
threshold
(MD 1635) (MD 1634) (MD 1604)
_______
1) SW 3, used by 611D
2) SW 3, used by SERVO
3) Up to SW 2
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
Ramp-
DL Reserve Reserve Reserve Reserve Set speed function
611D-AM1 611D-AM1 611D-AM1 611D-AM1 smoothing 2nd torque generator
k+74 1) 1) 1) 1) 1) limit 1) rapid stop 1)
DR Motor Motor Motor Drive 611-D
Pulse Disable selection selection selection Parameter Parameter Parameter
k+74 enable 1) integrator 1) executed 1) bit 1 1) bit 0 1) set 2 1) set 1 1) set 0 1)
DL Motion
enable
k+75 drive test
_______
1) SW 3, used by 611D
2) SW 3, used by SERVO
3) GTS = Gear stages as from SW 3
4) As from SW 4
5) As from SW 4.4
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL X
DR
X+1
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
_______
1) As from SW 3, IKA = Interpolation and compensation with tables, TK = Temperature compensation (when
IKA used as compensation)
2) As from SW 2
3) As from SW 4
4) As from SW 4.4
5) As from SW 5.6
* Signal is active at 0
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
Notes:
• A maximum of 30 axis data blocks (real and fictitious) is possible (max. 15 servo loops for
axes and spindles together). Max. 30 servo loops are possible with software version 5 and
higher (611D). No fictitious axes can be defined in addition to the 30 "axes".
The limitation to max. 15 real axes or spindles (axes/spindles with servo loops) for analog
drives still applies.
• The message text address n is required for the error and operational messages.
The FEEDRATE DISABLE signals can additionally be checked for error messages via
PLC MD 6035. The results of this check can be set as operational messages via
PLC MD 6043. The function blocks required for the check/display are contained in
FB package 0.
_______
1) As from SW3, FA=fixed stop, FAF=travel against fixed stop
2) Up to SW 2
3) As from SW 4
15 14 13 12 11 10 9 8
No. Byte No. Bit No.
interface
byte 7 6 5 4 3 2 1 0
Error Data Data Data Data
1 DL 0 Value 1- Number Access dis- transfer transfer transfer transfer
Value 3 format abled ended assigned busy Fifo full requested
Error Data Data Data Data
2 DR 0 Value 1- Number Access dis- transfer transfer transfer transfer
Value 3 format abled ended assigned busy Fifo full requested
Error Data Data Data Data
3 DL 1 Value 1- Number Access dis- transfer transfer transfer transfer
Value 3 format abled ended assigned busy Fifo full requested
Error Data Data Data Data
4 DR 1 Value 1- Number Access dis- transfer transfer transfer transfer
Value 3 format abled ended assigned busy Fifo full requested
Error Data Data Data Data
5 DL 2 Value 1- Number Access dis- transfer transfer transfer transfer
Value 3 format abled ended assigned busy Fifo full requested
Notes:
1) If the PLC goes into the stop state because of a parameterization error, the number of the
interface byte is entered in the high-order byte of ACCU 2.
2) If several jobs are entered in the buffer for data transfer, a job with the number 65 will be
processed before the others.
3) Data transfer is effected by function macros FB 61 (read) and FB62 (write).
Interface signals
15 14 13 12 11 10 9 8
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
Start Start
DL 1 Abort 3)
output 2) input 1)
Error in data Data transfer
DR 1 transfer ended
DW 2 - D a t a t y p e f o r d a t a t r a n s f e r (see table Section 8.2)
DW 3
DW 4 I n i t i a l n u m b e r f o r d a t a t r a n s f e r (see table Section 8.2)
DR 6 Reserved
DW 8 D e v i c e t y p e (see table Section 8.2, states on which devices data can be input or output)
DW 9 Device No. 4)
DW 10 - Workpiece name ending with 0h (states which workpiece is being machined (corresponds to directory)
during data transfer with the hard disk).
DW 15
DW 16 - Reserved
DW 28
DL 29 States which data are being read into the NCK
Circular Tool Program Part
MSD/FDD buffer list data programs
DR 29 States which data are being read out of the NCK
Program Part
data programs
DL 30 States for which data read-in has been disabled (with DL 31)
Program Part
data programs
DR 30 States for which data read-out has been disabled (with DL 31)
Program Part
data programs
DL 31 Disables reading in of named data into the NCK (must be confirmed in DL 30)
Circular Tool Program Part
buffer list data programs
DR 31 Disables reading out of named data from NCK (must be confirmed in DR 30)
Program Part
data programs
_______
1) Data transfer MMC NCK (as from SW 3 1) RS232C (V.24) MMC, MMC NCK (as from SW 3)
2) Data transfer NCK MMC (as from SW 3 2) RS232C (V.24) MMC, NCK MMC (as from SW 3)
3) Reserved, not allowed for use in SW 1, 2 and 3
4) As from SW 3
The operator panel signals cannot be changed by the PLC user program, they are only
monitored.
The operator panel signals are transmitted in the NCK operating areas:
MACHINE, PARAMETERS, EDIT NC and NCK DIAGNOSIS only.
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DW 1
DW 2
1..n
a
a
a
a
a
a
a
a
_______
1) Mode group and change channel is a dual assignment key.
7 6 5 4 3 2 1 0
DL 7
7 6 5 4 3 2 1 0
DL 40
DR 40 Function
number
change
DL 41 Bit 15
Softkey function number
Bit 8
DR 41 Bit 7
Softkey function number
Bit 0
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL 43
DR 43
DW 44
Assigned by internal signals
DW 45
DW 46
DW 47
DW 48
DL 49 Acknowl. Strobe
function function n.
result valid valid
DR 49 Function number
DL 50 Function result
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL 51 Start
signal
from user
Own Acknowledgements
DR 51 insertion Insertion Insertion
active already act. Fault executed
DL 52
Job number (1 ... 11)
DR 52 (function code number)
DR 55 Unassigned
DL 56 Spezial
recall
_______
1) As from SW 4
2) Software component, relevant for the "alarm concept"
3) As from SW 4; 6 channels
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL 57
Data group base
DR 57
Data type base
DL 58
DB / DX number base (1 ... 255)
DR 58
Unassigned
DL 59
DL 60
Data group pointer
DR 60
Data type pointer
DL 61
DB / DX number pointer (1 ... 255)
DR 61
Unassigned
DL 62
DL 63
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DW 64
Reserved
DW 99
DL 104
DR 104 Menu
MMC 2) Status Set-up number
active Area 1) image menu change User menu
_______
1) 0 ... data area
1 ... machine area
2) As from SW 2
3) 1st machine control panel
7 6 5 4 3 2 1 0
DW 111 Reserved
:
DW 149
_______
1) 2nd machine control panel
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL 0 Reserved
DR 0 Request bits
UI 8 UI 7 UI 6 UI 5 UI 4 UI 3 UI 2 UI 1
DL 1 Reserved
DR 1 Error bits
UI 8 UI 7 UI 6 UI 5 UI 4 UI 3 UI 2 UI 1
DL 2 Reserved
DR 2 Reserved
DL 3 Reserved
DR 3 Reserved
DL 4 Reserved
DR 4 Reserved
DL 5 Reserved
DR 5 Reserved
Note:
The number of user interfaces (UI) is set in PLC MD 33.
7 6 5 4 3 2 1 0
DL
m (High)
Function number
DR
m (Low)
DL
m+1 (High)
Error number
DR
m+1 (Low)
DL DB = 0
m+2 DX = 1
DL DB = 0
m+4 DX = 1
DL
m+5 (High)
(SW 3 and
higher) Initial DW No. of target DB (IKA) 1)
(Low)
DR
m+5
DL
m+6
Reserved
DR
m+6
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL 2
DR 84) Enable
"Freeze
IKA"
DL k4)
_______
1) As from SW 3
2) IKA=Interpolation and compensation with tables
3) As from SW 4: The Trace functions are described in the Installation Instructions SINUMERIK 840C, Section
drive servo start-up applications
4) As from SW 6
7 6 5 4 3 2 1 0
DL 1 Screen
(SW 5 an
higher)
DR 1 Cam values Cam/axis NC modi- Warm
transferred assignm. fies cam restart
1) activated 1) param. 1) ended
DL 3
DR 3
DL
k+14)
DR Change Output Output IKA in
limitation limitation limitation IKA frozen intermediate Error signal
returned IKA is on IKA is off
k+14) output minimum maximum state
DL 754) Protection zone adaptation active
Pr. zone 16 Pr. zone 15 Pr. zone 14 Pr. zone 13 Pr. zone 12 Pr. zone 11 Pr. zone 10 Pr. zone 9
DR 754) Protection zone adaptation active
Pr. zone 8 Pr. zone 7 Pr. zone 6 Pr. zone 5 Pr. zone 4 Pr. zone 3 Pr. zone 2 Pr. zone 1
DL 774) Protection zone adaptation active
Pr. zone 32 Pr. zone 31 Pr. zone 30 Pr. zone 29 Pr. zone 28 Pr. zone 27 Pr. zone 26 Pr. zone 25
DR 774) Protection zone adaptation active
Pr. zone 24 Pr. zone 23 Pr. zone 22 Pr. zone 21 Pr. zone 20 Pr. zone 19 Pr. zone 18 Pr. zone 17
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
Display in message line Alarm with Acknowl.
DL 0 Acknowl. NC
emergency Error 1) Operational highest PLC error
stop*) messages messages1) Page priority 2) message
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
DL 1 Message
9007 9006 9005 9004 9003 9002 9001 9000
DR 1 Message
9015 9014 9013 9012 9011 9010 9009 9008
DL 2 Message
9023 9022 9021 9020 9019 9018 9017 9016
DR 2 Message
9031 9030 9029 9028 9027 9026 9025 9024
_______
*) Static signal
1) SW 1 and SW 2 only
2) As from SW 3
3) As from SW 3: Error message = alarm
Operational message = message
7 6 5 4 3 2 1 0
DL 3 Message
9039 9038 9037 9036 9035 9034 9033 9032
DR 3 Message
9047 9046 9045 9044 9043 9042 9041 9040
DL 4 Message
9055 9054 9053 9052 9051 9050 9049 9048
DR 4 Message
9063 9062 9061 9060 9059 9058 9057 9056
DL 5 Message
9071 9070 9069 9068 9067 9066 9065 9064
DR 5 Message
9079 9078 9077 9076 9075 9074 9073 9072
DL 6 Message
9087 9086 9085 9084 9083 9082 9081 9080
DR 6 Message
9095 9094 9093 9092 9091 9090 9089 9088
DL 7 Message
9103 9102 9101 9100 9099 9098 9097 9096
DR 7 Message
9111 9110 9109 9108 9107 9106 9105 9104
DL 8 Message
9119 9118 9117 9116 9115 9114 9113 9112
DR 8 Message
9127 9126 9125 9124 9123 9122 9121 9120
DL 9 Message
9135 9134 9133 9132 9131 9130 9129 9128
DR 9 Message
9143 9142 9141 9140 9139 9138 9137 9136
DL 10 Message
9151 9150 9149 9148 9147 9146 9145 9144
DR 10 Message
9159 9158 9157 9156 9155 9154 9153 9152
DL 11 Message
9167 9166 9165 9164 9163 9162 9161 9160
DR 11 Message
9175 9174 9173 9172 9171 9170 9169 9168
7 6 5 4 3 2 1 0
DL 12 Message
9183 9182 9181 9180 9179 9178 9177 9176
DR 12 Message
9191 9190 9189 9188 9187 9186 9185 9184
DL 13 Message
9199 9198 9197 9196 9195 9194 9193 9192
DR 13 Message
9207 9206 9205 9204 9203 9202 9201 9200
DL 14 Message
9215 9214 9213 9212 9211 9210 9209 9208
DR 14 Message
9223 9222 9221 9220 9219 9218 9217 9216
DL 15 Message
9231 9230 9229 9228 9227 9226 9225 9224
DR 15 Message
9239 9238 9237 9236 9235 9234 9233 9232
DL 16 Message
9247 9246 9245 9244 9243 9242 9241 9240
DR 16 Reserved
DL 17 Message
9257 9256 9255 9254 9253 9252 9251 9250
DR 17 Message
9265 9264 9263 9262 9261 9260 9259 9258
DL 18 Message
9273 9272 9271 9270 9269 9268 9267 9266
DR 18 Message
9281 9280 9279 9278 9277 9276 9275 9274
DL 19 Message
9289 9288 9287 9286 9285 9284 9283 9282
DR 19 Message
9297 9296 9295 9294 9293 9292 9291 9290
DL 20 Message
9305 9304 9303 9302 9301 9300 9299 9298
DR 20 Meldung
9313 9312 9311 9310 9309 9308 9307 9306
DL 21 Message
9321 9320 9319 9318 9317 9316 9315 9314
DR 21 Message
9329 9328 9327 9326 9325 9324 9323 9322
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL 22 Message
9337 9336 9335 9334 9333 9332 9331 9330
DR 22 Message
9345 9344 9343 9342 9341 9340 9339 9338
DL 23 Message
9353 9352 9351 9350 9349 9348 9347 9346
DR 23 Message
9361 9360 9359 9358 9357 9356 9355 9354
DL 24 Message
9369 9368 9367 9366 9365 9364 9363 9362
DR 24 Message
9377 9376 9375 9374 9373 9372 9371 9370
DL 25 Message
9385 9384 9383 9382 9381 9380 9379 9378
DR 25 Message
9393 9392 9391 9390 9389 9388 9387 9386
DL 26 Message
9401 9400 9399 9398 9397 9396 9395 9394
DR 26 Message
9409 9408 9407 9406 9405 9404 9403 9402
DL 27 Message
9417 9416 9415 9414 9413 9412 9411 9410
DR 27 Message
9425 9424 9423 9422 9421 9420 9419 9418
DL 28 Message
9433 9432 9431 9430 9429 9428 9427 9426
DR 28 Message
9441 9440 9439 9438 9437 9436 9435 9434
DL 29 Message
9449 9448 9447 9446 9445 9444 9443 9442
DR 29 Message
9457 9456 9455 9454 9453 9452 9451 9450
DL 30 Message
9465 9464 9463 9462 9461 9460 9459 9458
DR 30 Message
9473 9472 9471 9470 9469 9468 9467 9466
DL 31 Message
9481 9480 9479 9478 9477 9476 9475 9474
DR 31 Message
9489 9488 9487 9486 9485 9484 9483 9482
DL 32 Message
9497 9496 9495 9494 9493 9492 9491 9490
DR 32 Reserved
Note:
• PLC machine data are used to determine whether messages are to be treated as error or
operational messages.
• The function blocks for message interrogation and display are contained in FB package 0.
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL x
Error message
DR x
Valid only with error acknowledgement in DB 40 (DR 51, bit 1)
DL
x+1
Function number (1 ... 65535)
DR
x+1
DL
x+2
Number of parameters (max. 49)
DR
x+2
DL
x+3
Parameter 1
DR
x+3
DL
x+4
Parameter 2
DR
x+4
.
..
DL
x+y
Parameter n
DR
x+y
Note:
DB 59 is initialized by the operating system with a length of 128 DW. x=any DW, default in
DB 40, DR 53.
_______
1) As from SW 4
aaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaa
A description of the PLC machine data is to be found in the
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
Division of PLC MD
Section in
PLC MD DB Meaning Softkey Installations
Instructions
0
to DB60 MD for operating system System data 8.2
839
2000
to DB61 MD for function blocks FB data 8.3
2849
4000
to DB62 MD for user User data 8.4
4349
6000
to DB63 MD bits for operating system System bits 8.5
6599
7000
to DB64 MD bits for function blocks FB bits 8.6
7799
8000
to DB65 MD bits for user User bits 8.7
8199
aa
aa
aa
aa
aaaa
aa
aa
aa
a
aaaaaaaaaaa
Compact DMP,
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
IP 65, DMP I/O
aaaa
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
aaaaa
PLC MD 136
aaa
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
aa
a
aa
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaa
=0 = No. DB/DX
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
DB/DX configuring
Machine data configuring
(free)
PLC MD 34-135
Configuring module DB/DX
• Machine control panel • Machine control panel
• Handheld unit • Handheld unit
• 1 distributed interrupt byte
• Max. 4 distributed interrupt bytes
per interface (1 module per interface)
The distributed machine peripherals can either be addressed via machine data or via
configuring modules. Mixed configuring is not possible, i.e. once you have chosen a
configuring method, you must also configure the machine control panel and the handheld unit
in the same way.
Exception: The central interrupt byte of the IF-PLC/PLC 135 WD is always configured via
PLC MD 30.
a
a
a
aaaaaaaaaaaaaaaaa
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
aa
a
aaaaaaaa
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
aa
a
is not permissible.
aaa
a
a
a
a
a
a
a
a
a
aa
a
aaa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
Note:
Up to SW 2: 8 terminal blocks per line can be used. The machine control panel is
addressed as a terminal block. The initial address of the machine control panel
I/O image must be entered in PLC MD 128.
As from SW 3: A total of 15 DMP stations can be connected to the 135WB2/INTPLC or 135
WD modules. Handheld unit, machine control panel and IP65 module are
counted as DMP stations.
In each line, a maximum of 8 DMP stations is allowed for the INTDMP module.
The handheld unit and the distributed interrupt are to be connected in line 1.
or
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
10.94
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
PLC MD 134
PLC MD 131
PLC MD 130
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aaa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aaaa
aaa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
Interrupt routing
aaaaaaaaaaaaaaaaaaaaaaaa
E
E
E
aaaaaaaaaaaaaaaaaaaaaaaa X
A
A
A
X
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
X
X
X
87
aaaaaaaaaaaaaaaaaaaaaaaa
83
81
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
.
.
.
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
aaaaaaaaaaaaaaaaaaaaaaa
QB 82
QB 80
aa
aaa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aaa
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
6FC5197- AA00
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
86
82
80
86
82
80
aaaaaaaaaaaaaaaaaaaaaaaa
One interrupt byte is possible per interface (caution: not per line):
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
aaaaaaaaaaaaaaaaaaaaaaaa
8
7
6
5
4
3
2
1
.
.
.
aaaaaaaaaaaaaaaaaaaaaaaa
2nd line
aaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaa
a
Configuring the distributed machine peripherals via machine data
Module
a
aa
aa
aa
aa
aaa
aaa
a a
aa
aa
aa
aaaa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
a
byte
byte
aaaaaaaa aaaa aaa
terminal block" a maximum of 4 input modules and 4 output modules are possible.
a
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa a
aa
aa
aa
a a
aa
aa
aa
a aa
a
necessary requirement of DMP machine data configuring. In the example, "DMP compact
The initial address is defined in the machine data (e.g. PLC MD 34 = 80). Fixed slots are a
aa
aaa
aa
aa
aa
aaa a
aa
aa
aa
aaaaa
aaaaaaaa aaaa aaa
The input and output modules are word addressed. Machine data must be configured using
The analog DMP modules are treated like the digital modules. 4 modules can be inserted in
a
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
aa
a
aaaaaaa
aaaaaaaa
a aaaaaaaa
2 Assigned Areas
2–59
2.11 Configuring distributed machine peripherals (DMP)
2 Assigned Areas 12.93
2.11 Configuring distributed machine peripherals (DMP)
15 0
DB head
DWn Module status
Configuring block
a
a
a
a
aaaaaaaaaaaaaaaaaa a
aaa
a
a
a
a
n+1 Interface no.
a
a
a
for 1st terminal block
aaaa
a
a
a
a
a
a
a
n+2 MPC no.
a
a
a
a
aaa
a
a
a
a
a
a
a
n+3 Terminal block no.
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
n+4 Initial address I 1st module or
a
a
a
a
a
a
a
a
a
a
aaaaa
a
a
a
a
n+5 Initial address O conventional module
a
a
a
a
a
a
a
a
a
a
a
:
: :
: :
: :
: :
:
Initial address E 8th module
:
a
a
a
a
a
aaaaa
aaa
a
a
a
a
a
n+19 Initial address A
a
a
a
a
:
a
a
a
a
a
a
Configuring block
for next terminal
block
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaa
aa
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
aa
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
aaaaaa
a
a
a
a
Enable Enable
1st INT byte 2nd INT byte
Enable Enable
a
a
a
aaaa
a
aa
a
a
a
Module status: Identifier for each terminal block (data type KC)
UN = Module active (UNIT Not blocked)
UB = Module active (UNIT Blocked)
Interface no.: Number of INT-PLC/PLC 135 WD/INT-DMP interface module (data type KF)
1 = 1st INT-DMP
2 = 2nd INT-DMP (not with SW 1 and SW 2)
3 = INT-PLC/PLC 135 WD
Terminal block no.: No. of DMP terminal block in line (1 ... 15) (data type KF)
1 = Terminal block 1 (switch position E)
2 = Terminal block 2 (switch position D)
.
.
.
15 = Terminal block 15 (switch position 0)
Interrupt status: Identifier for each interrupt byte (data type KF)
IN = Interrupt active (Interrupt Not blocked)
IB = Interrupt blocked (Interrupt Blocked)
Notes:
• If PLC machine data 136 >< 0 is set, the value in this machine data states the DB or DX
module number in which the extended configuring data are stored.
MD 136 = 1 ... 255 DB no. 1 ... 255
MD 136 = 1000 ... 255 DX no. 0 ... 255
20 DWs are required for each module. Nine DWs are needed for interrupt routing.
• If the configuring DB is missing (in MD 136) or incorrect, i.e. has impermissible values or
data words are missing (incomplete block lengths), the PLC goes into the stop state with
error message 33 and additional error information.
DW n+6 free -1
: -1
DW n+19 free -1
DW n+5 free -1
DW n+7 free -1
: -1
DW n+19 free -1
: 0...254
• 8 output modules fill a whole output word, the high byte of the output word cannot be used
• Preset all unassigned inputs/outputs with -1.
I/O submodules are routed and entered in the address list by the PLC according to the
information in the configuration lists.
Any double addressing of I/O submodules in different interface modules is recognized by the
PLC and displayed as an error.
Double addressing within an INT-PLC/PLC 135 WD or within an INT-DMP is signalled as an
MD error by the interface.
• 16 I/Q
Initial address I: DW n+4
Initial address Q: DW n+5
• 32 I
Initial address I: 1st word DW n+4
Initial address I: 2nd word DW n+6
• IP 65
Initial address I: DW n+4
Initial address Q: DW n+5
Caution:
With handheld unit and machine control panel, in each case only the first byte is
configured, subsequent bytes are used consecutively. For the machine control panel, the
initial address of the I/O image must be entered in MD 128.
Interrupt routing
• The central interrupt byte of the IF-PLC/PLC 135 WD or decentralized peripheral bytes can
be used for the interrupt routing. Central interrupts and interrupt-generating DMPs must
not be used as the same time.
• A total of 4 interrupt bytes are possible.
• A maximum of 4 interrupt bytes can be used. This also applies to the central interrupt
byte, e.g.
INT-PLC, module 2, 2 interrupt byte address
INT-DMP, module 5, 1 interrupt byte address
Central interrupt byte, 1 interrupt byte address
• The interrupt-generating peripheral bytes can be distributed amongst the modules as
required.
• All interrupt bytes of an interface must be located on the same module.
• The initial address of a sequence of interrupt bytes must be a module initial address.
• If the central interrupt byte of the INT-PLC/PLC 135 WD is used, it is always the fourth
interrupt byte (must always be configured through MD 30).
• OB 2 must be enabled. PLC MD 6050.2 and the PLC CPU must operate in special mode.
PLC MD 6051.0 = 0.
• OB 2 is activated with every interrupt request. Flag bytes 8 to 11 also show the interrupt-
triggering bit.
• Flag bytes 8 to 11 must be reset by the user program in organization block 2.
Free configuration of the DMP using the DMP compact terminal block as an example
O X QB 0 1
I IB 5 IB 4 2
O X QB 20
I IB 7 IB 6 .
.
I IB 9 IB 8 .
O QB 4
X Gap
O QB 60
In contrast to machine data configuring, fixed slot and address configuring is not necessary
here. The modules are addressed by word. Gaps are permissible.
INT-PLC/PLC 135 WD
TB no. Switch position Input/output addresses
interface module
Machine control panel 1 E IB 64/ QB 64
DMP compact terminal block 2 D
1st module QB 0
2nd module IW 4
3rd module QB 20
4th module IW 6
5th module IW 8
6th module QB 4
7th module X Gap
8th module QB 60
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
DL 1
DR 1
DL 2
DR 2
DL 3
DR 3
_______
1) As from SW 2
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
Notes:
Icon 5
Icon 4
Icon 3
Icon 2
Icon 1
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
Axis running:
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
The icon 1
aa
a
Override = 0%:
aa
a aa
aa
aaaa
aaaa
aaaaaaa
a aaa aa aa a aaa
Program running:
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
Program interrupted:
a aaa aa aa a aaa aa aa
a
0%
Icon
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a aa
aaaaa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a
aaaaa aa aa a aa
aa
a
a
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
aaa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
panel
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a aaa aa aa a aa
Block search,
Axis in motion
aa
a
Override = 0%
aa
a aa
aa
aaaa
aaaa
aaaaaaa
a aaa aa aa a aaa
Program running
a aaa aa aa a aaa
Data input/output
program interrupt
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
override = 0%
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a aaa aa aa a aaa
6FC5197- AA00
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a aaa aa aa a aaa
a aaa aa aa a aaa
DB66
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a aaa aa aa a aaa
For the icons, three icon fields are available underneath the clock.
a aaa aa aa a aaa
a aaa aa aa a aa
Display
aa
a aa
aa
aaaa
aaaa
aaaa aa
aaa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a aaa aa aa a aaa
on start of data input/output
a
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
aa
a
a aaa aa aa a aaa
a aaa aa aa a aa
=0
=0
=0
=0
a aaa aa aa a aaa
a aaa aa aa a aaa
a aaa aa aa a aa
2–69
2.12.1 Icon selection in the MMC (DB 66)
aaaaaaaaaaaa a
2 Assigned Areas 09.95
2.12.2 Internal machine control panel (DB 67)
15 14 13 12 11 10 9 8
DL 0
DR 0
DL 1
DR 1 RESET
(from editor)
DL 2
DR 2
DL 3
DR 3
The internal machine control panel offers the possibility of simplifying safety-relevant operator
inputs in the NCK for any customer application. The ”direct change into the editor to the
position of the block pointer” function is set by the NC-RESET bit on selection of the editor.
This RESET can be effected by evaluating the bit and transferring it to the relevant channel
DB, thus obviating the need for additional operator inputs.
DW No.
PLC High byte (DL) Low byte (DR)
DW 0
.
..
DW 63
_______
1) As from SW 2
Byte No.
PLC High byte (DL) Low byte (DR)
DL 0
..
.
DR 15
DW No.
PLC High byte (DL) Low byte (DR)
DW Extended address
m+0
DW M address
m+1
DW Bit address, DW No. Bit address, bit No.
m+2
Notes:
• Address m is derived from the following number of the M function definition:
M function m
1 0
2 3
3 6
. .
. .
. .
64 189
• The table must be completed consecutively starting with the first entry. No gaps are
allowed between entries. If fewer than 64 M functions are defined, the remaining entries
must be preset to 0. All unavailable entries are at the end of the table.
• The decoding lists are channel-specific; decoding list DB 80 is intended for NC channel 1,
so that DB 83 accordingly belongs to NC channel 4.
• The decoding message according to list is activated as a channel-specific function by
means of MDs.
_______
1) As from SW 4: 6 channels; DB 80 ... DB 85
END OF SECTION
The system program provides a flashing frequency of 0.5 Hz in flag F 0.7. The pulse/no-pulse
ratio is 1:1.
ONE FY 0, bit 1
ZERO FY 0, bit 0
ACTUAL OB NO. FY 1
OB No. from which a branch was made into the user program (fixed-point number).
1 OB 1 Cyclic program
2 OB 2* Alarm-controlled program
3 OB 3 Alarm-controlled program
4 OB 4 Aperiodic program
5 OB 5* Time-controlled program
6 OB 6 Time-controlled program
7 OB 7 Time-controlled program
255 PLC operating system is active
_______
* These OBs are processed only in special mode (PLC MD 6051.0=0).
1 signal: A warm restart or cold restart has taken place. The processing plane of the
relevant OB is called up after DB 20 for the first time.
0 signal: After the last warm restart the relevant OB has been executed completely at least
once.
After a warm restart or cold restart of the PLC, the basic signals are set for the duration of the
first complete program execution of the relevant processing plane.
The PLC operating system sets the basic signals back to zero after the first complete
execution of the relevant processing plane.
Example of application:
Using this signal, program parts can be put into a defined initial state after Power On.
Depending on the initial settings, an initialization routine can be called up in every OB.
Notes:
• When the processing plane is interrupted by Power Off:
The basic setting signal of the processing plane which is interrupted by a mains failure
(e.g. by Power Off) is not set immediately after a warm restart. The basic setting signal for
this processing plane is set after completion of execution of the processing plane, so that
it is set for the duration of the next execution of the relevant OB.
The basic setting signal to an OB is therefore not set while the relevant processing plane
is active.
• Several processing planes active at Power Off:
If several processing planes are active simultaneously when program execution is
interrupted (at Power Off), their basic setting signals are set only after all the remaining
interrupted processing planes have been executed after warm restart. This is illustrated in
the example that follows.
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaa
OB 6
aaaaaaaa
POWER OFF
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaaaaaa
aaaaaaaa
OB 1
Time alarm Warm restart with GST = 1 for all
BE OB except OB 1, OB 6
JU PB X
JU PB X is executed
aaa
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aaaaa
a
a
a
a
aaa
a
a
a
a
a
a
a
PB X
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
BE
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
aaaaaaa a
GST OB 1=1
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aaaaaaa
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
GST OB 6=1
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
BE
The basic setting signals of the processing planes interrupted by Power Off (here OB 1
and OB 6) are set only after the completion of their remaining execution.
Setting the basic setting signals on warm restart - example : interrupted time alarm
Note on application:
Using this signal, program parts can be put into a defined initial state after a cold restart. After
a cold restart, data records usually also have to be normalized (in contrast to warm restart)
because the PLC is very often reset before a cold restart. The cold restart signals indicate a
preceding cold restart during initial state processing, i.e. they remain set until the relevant
processing time has been fully executed for the first time following a cold restart.
Note on OB 20
The OB 20 has its own cold restart signal. If the signal is zero, this means that the OB 20 was
called in the warm restart branch. If the OB 20 is interrupted in the warm restart branch with
F 3.0 = 0 (i.e. OB 20 undergoing warm restart), the initiated command sequence is not con-
tinued. Instead, the OB 20 is executed again from the beginning with a cold restart
(F 3.0 = 1).
2 tc
Note on application:
After a cold or warm restart and after the PG has transferred blocks during operation, the
parameterization of the function blocks may have been modified.
By means of the PARAMETER TEST signals for OB 1 to OB 7, the parameters can be chec-
ked to determine whether they have been modified. This restricted parameter test reduces the
processing time of a block during normal operation.
Example:
:
AN F 4.1
JC=FORT
:
Test routine
:
Note:
Monitoring is activated by the STEP 5 command AFF (enable addressing error detection). The
STEP 5 command AFS (inhibit addressing error detection) is the default and deactivates
monitoring.
When the addressing error detection has been enabled and a non-existent input/output is
addressed, the PLC branches to the STOP state with the error number 8AH.
As a block can lie above segment limits, not only the offset address but also the segment
number must be taken into account for absolute address computation.
INFO BIT FOR ALARM PACKAGE (FB PACKAGE 0), AS FROM SW3 FY 5, bit 5
Note:
If time or process-alarm controlled program execution is called again before it has been
completed, the PLC operating system sets the relevant PROCESSING DELAY bit (depending
on PLC MD 6048 ). These bits are deleted with a cold or warm restart.
The user can set bits within MD 6048 in accordance with the OB No. (except OB 1). If, for
example, bit 4 and bit 5 are set, the PLC operating system causes the control to assume stop
status in the event of a processing delay activated by OB 4 or OB 5. However, the relevant
bits in FB 6 are not set. A processing delay activated by the other OBs does not lead to the
stop condition, but causes the bit corresponding to the OB No. in FB 6 to be set.
1 signal: One or several bits in DB 1 "Lost requests during LIM/SIM OB 2 to OB 7" is/are
set.
0 signal: No bit in DB 1 "Lost requests during LIM/SIM OB 2 to OB 7" is set.
After processing the response program (OB 2), the signal change bits must be reset by the
user. If this is omitted, the PLC branches to the stop state with an error message (fine error
coding F9).
Note:
• Interrupts can be processed only in the special mode of the PLC.
• A maximum of 4 interrupt bytes are possible. Interrupt signals can either be interfaced via
the interface PLC/PLC 135 WD module (central interrupt byte) or via DMP modules
(distributed interrupt byte).
NEGATIVE EDGE FY 12 to FY 15
1 signal: A change in signal state from 1 to 0 has occurred at the relevant bit of the alarm
byte.
0 signal: No effect
POSITIVE EDGE FY 16 to FY 19
1 signal: A change in signal state from 0 to 1 has occurred at the relevant bit of the alarm
byte.
0 signal: No effect
Notes:
Using PLC MD 124-127 the user defines a maximum of 4 contiguous process alarm bytes
within the available inputs. The process alarm bytes may be in the range of central or
distributed I/Os. Machine control panel input bytes are not allowed.
The PLC operating system checks the alarm bytes for modifications. If a modification is
determined, the active program is interrupted either at the block or command limit, depending
on the setting of the PLC mode (PLC MD 6051), and the OB 3 is called (depending on special
mode/normal mode).
The user interface for alarm-controlled programs is OB 3.
The operating system stores 0 1 transitions of the alarm byte in FY 16 and the 1 0
transitions in FY 12 are present until the next alarm or cancelled by user. The user can branch
his program using the ”signals for alarm processing”.
If, for example, the inputs I 0.0 to I 0.7 are interrogated in the processing program, the
following instructions must be programmed, e.g. at the start of the alarm program (update I/O
scan and PII):
:L PY 0
:T IB 0
If outputs have to be switched off because of an alarm, these should suitably be output to the
process I/Os at the end of the OB 3:
:L QB 5
:T PY 5
Example
Program branching depending on the activating signal change, e.g. in IB 0.
:
A F12.0
JC PB 5
A F16.0
JC PB 6
:
3–8
3.5
3.4
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
Note:
Note:
Note:
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
active.
a
aa
aa
aa
aa
aa
aa a
aa
a a
aa
a a
a a
aa a
a a
a a
aa
a a
aa
a a
aa a
a a
aa
a a
a a
aa
aa
0 signal:
1 signal:
1 signal:
1 signal:
0 signal:
1 signal:
0 signal:
1 signal:
a
aa
aa
aa
aa
aaa
aa
a a
aa
aaaa
aa aa a
aa
a a
aaaaaa
aaaa
aa a
aa
a a
aaaa
aaaaaaa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
NC ALARM
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
No NC alarm
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
of all channels).
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
Individual signals
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
3.3 Signals for alarm-controlled machining
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
aa
a aa
a aa
a aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa a
aa
a a
aa
a a
a a
aa a
a a
a a
aa
a a
aa
a a
aa a
a a
aa
a a
a a
aa
aa
aa
aaa
aa
aa
aaa
aa
a aa
aaaaa
aa aa a
aa
a aa
a aaaa
aaaa
aa a
aa
a aa
a aa
aaaaaaa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
The MMC CPU cyclically contacts the PLC CPU.
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa a
aa
a a
aa
a a
a a
aa a
a a
a a
aa
a a
aa
a a
aa a
a a
aa
a a
a a
aa
aa
aa
aaa
aa
aaaa
aaa
a aa
aaaaa
aa aaaa
a
a aa
a aaaa
aaaa
aa aa
a
a aa
a aa
aaaa aa
aaa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
After synchronization with the NCK, the PLC is running cyclically. The ”MMC CPU ready”
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
signal is given by the NC to the PLC, as soon as the MMC NCK ready signal monitoring is
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
For further information, refer to the documentation SINUMERIK 840C, Interface Description
For further information, refer to the documentation SINUMERIK 840C, Interface Description
a
aa
aa
aa
aa
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
a a
aa
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
aa
a
FY 21, bits 6 and 7
aaaaaaa aa aa a aa a a aa aa aa a aa a aaa
6FC5197- AA00
aaaaaaa
aa aa aa a aa
aa a a aa aa aa
aa a aa a aaa
aa
aaaaaaa
a aaaaaaa a aaaaaaaa a aaaaaaa a
12.93 3 Description of Basic Signals FY 0...FY 24
3.5 Individual signals
After Power On, the voltage of the installed batteries is cyclically checked for compliance with
the permissible lower limit. This permits a battery failure (on the central service board) to be
identified in good time during extended periods of NC operation.
1 signal: Battery voltage is below limit value.
0 signal: Battery voltage is above lower limit value.
Note:
The battery should only be changed when the NC is switched on, to avoid data loss due to the
absence of memory back-up.
Note:
The work process is not interrupted. A relay contact opens on the central service board which
the NC user must use to take the necessary precautions to prevent damage to the hardware
(relay contact: X111 KL. 3/4).
Note:
Initiate orderly machine stoppage in the event of MMC-CPU failure.
3
tv1 tv1
tv2 tv2
Note:
• To permit output of the interface signal, the probe has to output the signal for at least one
PLC signal otherwise the ”probe selected” signal cannot be scanned by the user. The
probe signal has the effect ”Delete distance to go”
• By means of hardware jumpering on the CSM module, it can be established whether the
probe is treated as a normally-open or normally-closed contact.
• The probe must be activated for the NC by the CL 800 command @720 or G720=G722.
The cycle time (time that the PLC program takes for one run) is stored in these data words in
KF format in msec. These values are deleted each time the PLC is started up (cold or warm
restart). These values are invalidated with FB 12.
1 signal: The I/O group corresponding to the set bit is not ready, I/Os not ready.
0 signal: No I/O group malfunction.
Notes:
• One I/O group comprises 8 bytes of address space in the I/O area.
• An error is also identified if the I/O device has changed, that is to say if the I/O device
identified by the PLC does not correspond to the I/O device anticipated according to the
information in the machine data. This situation can occur, for instance, if modules are
rearranged.
7 6 5 4 3 2 1 0
DEZNAU
Wire break
Transmission error
Overtemperature
OUTDS
Configuration change input
Configuration change output
Module started
(as of SW 3.1 of Interface-DMP)
In addition, the following error messages are entered at addresses F0000 to F0003:
F0000: Error number
F0001: Identification of type of I/O (see DW 10 in DB 1)
F0002: Identifier input, output (I/O)
F0003: Byte number
NUMBER OF LOST
REQUESTS DURING LIM/SIM (OB 2...OB 7) DW 16...DW 21
Notes:
The counter contents in NUMBER OF LOST REQUESTS OB 2 ... OB 7 are not reset by the
PLC operating system; where applicable, the PLC operating system adds new values to the
current counter contents. The PLC user program can reset the counter contents in NUMBER
OF LOST REQUESTS OB 2 ... OB 7 to zero if required.
DW 27
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
3–14
_______
and 167.
aaaaa aaa aaaaaaaaaaaaaa aa aa a a a a
ACCU 2
ACCU 1
Example:
a
aa
aa
aa
aa
a
aaa
aa
aa
aa
aa
a
aaa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
aaa
aa
aa
aa
a a
aa
a
aaaaa
a aa
a
aaaaaaaaa
aa a aa
a
aaa
aa
a
aaa
aa
a
aaa
aa
aa
a
aaaaa
a aa
a
aaa
aa
aa
a
aaa
aa
a
aaa
aa
a
aaaaa
a aa
a
aaaaaaaaaaa
aa a a aa
aa
a
aaaaaaa
aa aa
a
aaa
aa
aa
aaaa
a aa
aa
a
a
aa
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a
a
aa
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a
a
aa
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a
DW 164
DW 163
DW 162
DW 161
DW 160
DW 167
DW 166
DW 165
DW 165
DW 160
aaaaa aaaaa aaaaaaaaaaaaaaaa aaaa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aaa
DW 1641)
DW 1631)
DW 1621)
DW 1611)
aaaaa aaaaa aaaaaaaaaaaaaaaa aaaa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa aa aa aaa aaa
3.6 Diagnostics (DB 1)
a
aa
aa
aa
aa
a a
aa
aa
aa
aa
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a a
aa
aa
aa a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
ERROR NUMBER
aa
aaa
aa
aa
aaaa
aa
aa
aa
aaaa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aaaaaa
aaa
a aa
aaaaaaa
aaaa
aa aaaa
aaaa
aaaa
aaaa
aa
aaaaaa
aaaa
aa
aaaa
aaaa
aaaaaa
aaaa
aa aaaaaa
aa
aaaa
aa aa
aaaa
aa
aa aa
aaa
a
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaa aa
Detailed error coding
a
aa
a
aaa
aa
a
aaaaa
a aa
a a
aa
aa
aa
a
aaa
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa a
aa
aa
aa
a a
aa
aa
aa
a
aa
aaaa
aaaaaa
a
a a
aa
aa
aa
aaaaaa
aaa
a
3 Description of Basic Signals FY 0...FY 24
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
aa aa a aa aaaa aaaa
SUPPLEMENTARY ERROR DATA
aa aa a aa aaaa aaaa
a
aa
aaaa
aaaa a a
aa
aa
aa
aaaa
aaa
aa aa a aa aaaa aaaa
Reserved
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
Diagnostics DB
aa aa a aa aaaa aaaa
DB 1
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
Diagnostics DB
Error number
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
aa aa a aa aaaa aaaa
1st word
4th word
3rd word
2nd word
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
aaaa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
aa aa a aa aaaa aaaa
00 00 H
00 00 H
00 00 H
00 00 H
00 79 H
a
aa
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
aa
a
aa aa a aa aaaa aaaa
aa
aa aa a a
aa
a aaaa aaaa
aa
aaaaa
aaaa a aa
aaa
aa
aaaa
aaa
diagnostics DB (DB 1) in data words 160 to 164 (equivalent to PG function OUTPUT
The PLC detailed error identifiers and the supplementary error data are stored in the
a
aa aa a aa a
aa
aa
aa
a a
aa
aa
aa
a
aa
aaaa
aaaaaa
a aaaa aaaa
For some error numbers between OUTPUT ADDR: PLC F0000 and DB1 high/low, representation of the
a
aa
aa
aa
a a
aa
aa
aa
a
aaaa aaaa
OUTPUT ADDR:PLC
Same as address with
a
aa
aa
aa
a a
aa
aa
aa
a
aaaa aaa
aaaaaaaaa
DW 161 to DW 164
DW 167
DW 166
DW 160
6FC5197- AA00
ADDR:PLC, F0000). In addition, ACCU 1 low and ACCU 2 low are displayed in data words 166
00 79 H means PLC stop by means of mode selection switch. No supplementary error data
exist for this error.
aaaaaaaaaaaaaaaaaa
aaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa
aaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaa
An explanation of detailed error coding is contained
in the Diagnostics Guide.
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
aaa
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Software releases
The releases of the PLC software and the interface DMP firmware are stored in the
diagnostics DB (DB 1). Furthermore, the module code and the slot numbers of the Interface
DMP and INT EU/16B interfaces are entered.
Diagnostics DB
DB 1
DW 168 Software release Int. version No. PLC software
DW 169 Reserved
DW 177 Reserved
_______
1) Module code (binary)
1010 01 xx Interface-DMP
0110 11 xx INT EU/16B
1011 10 xx Interface PLC 135 WB2
1000 11 xx Interface PLC 135 WD
xx =ˆ Hardware version
END OF SECTION
4.1.1 Channel
The control has a channel structure. An NCK channel is effectively an NC in its own right with
program, decoding, block processing and interpolation. The SINUMERIK 840C simultaneously
operates with several tools and includes the loader in the machine tool. Thus, SINUMERIK
840C can be expanded to comprise 15 servo loops1) (simultaneously active!) for allocation of
axes, spindles and/or auxiliary axes/auxiliary spindles, as required. The maximum number of
work spindles is, however, restricted to six.
In accordance with the machine configuration, the NC axes, the tool slide, the work spindles
and the loader are combined to form axis groups. Each axis group is allocated its own inter-
polator with associated program processing, which is called a channel. The SINUMERIK 840C
has up to 4 autonomous channels, as from SW 4 up to 6 autonomous channels.
A single-spindle, double-slide turning machine with milling unit, tool turrets and integral loader
is used in the following to illustrate the application of the channel structure.
S1
aaa
a
a
a
aaaaaaaa a
a
a
a
aaa
a
a
a
a
a
a
a
aaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Slide 1 X1
Z1
T1
a
a
a
aa
a
aaaaa
aaaa
a
a
a
aa
a
a
aa
a
a
a
a
Loader
(Xf)
C3 S3
aaa
a
aa
a
aa
a
a
aaaa
Q4
aaa
a
a
a
a
a
a
a
a
a
aaa
aaa
(Yf) Q5
a
a
a
a
a
a
a
aa
aa
aaa
a
aa
aa
a
aa
a
a
a
a
a
T2
Z2
X2
a
a
a
a
aaaaaa
a
a
a
a
a
a
Slide 2
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
S2
Schematic representation of a single-spindle, double-slide turning machine for turning/milling with integral
_______
1) With SW 5 and higher, a max. of 30 servo loops (digital drives) are possible. The limitation to 15 servo loops
for analog drives and 6 spindles still applies.
The fictitious axes Xf and Yf are required for face-end milling of turned parts (TRANSMIT).
Within the control, the axes are treated in the same way as real axes, i.e. all the required
machine data must be set.
Assigned
axes/spindles:
X1 Z1 S1 S3/C3 3X2 Z2 S2 Q4 Q5
In addition to the machining channels in which the programs for controlling the working units
are run, further channels can be allocated special tasks. In this case, channel 1 controls the
execution of save programs that allow tools to be retracted or changed after tool breakage so
that workpiece machining can be continued. This program is not necessarily dedicated to
channel 1. Depending on the workpiece being manufactured, machining programs must be
created for all channels and are read into the central part program memory of the NCK.
4–4
aa
4.1.3
a
aa
a
aaaaa
aa a
a
aa
aa
aa aa
aaa
a aa a
NCK
aa aa
aaaaa a
NCK
1 to 4
SW 4:
1 to 6)
(as from
channels
DW 0 to DW 12
DW 13 to DW 69
signals to NCK channel
aaaaaaaaaaa
to
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
DB80
DB83
aa
aaaaaaaaaa
aa
a
aaa
aa
aa
a
aa
a
aa
a
aa
a
aa
aaa
a
aa
aa
aa
a
to list
aa
M
aaa
aa
a
M list
a
M deco-
aa
aa
aa
a
ding acc.
decoding
Standard
4 NCK Channel/PLC Interface (DB 10 ... DB 13, as from SW 4 DB 15)
a
aa
aaaa
aa
aaaaaa
a a
aaaa
aaaa
aa
aa
aaaa
aa
aaaaaa
aa
aa
aa
a a
aaaa
aaaaaa
aaaaaaaaaa
a a
aaaaaaaa
aaaa
aa
aaaa
aa
a
a
aa
a a
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a a
aa
aa
aa
a
a
aa
a a
aa
aa
a a
a a
aa
a a a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a a
aa
aa
aa
a
M signals
a
aa
a a
aa
aa
a a
a a
aa
a a
a
aaa
aa
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a a
aa
aa
aa
a
Submodes
M00 to M99
Feed control
a
aa
a a
aa
aa
a a
a a
aa
a a
a a
aa
aa
a
DB30 a
a a
aa
a a
aa
aa
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a a
aa
aa
aa
a
Ready signals
(static, dynamic)
(static, dynamic)
Softkey selection
Auxiliary functions
aa
a aa
a aa
a aa
a aaaa
Acknowledgement
DB10 to DB13
aa
aaaaa
aa
aaaa a aa
a aa
aaaaaa
aaaaaa
aa
aaaa aa
aaaaa aa
a aa
aaaaaa
aaaa
aa aa a aa
a aa
aa aa
aaaa
aa
aaaaa aaa
M signals acc. to list
a
aa
a a
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
aa
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a aaaa
a
aa aaa a
aaaaaaaa aa a
a a
aa
a a
aa
aa
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a
a aa aaaa aaa a aaaaa a aa a aa aa a aa a aa aa aaa aaa aa
FB 71) are available for transferring signals between the data words and flag words. The
a
a a
aa
a a
aa
aa
aa
a a
aa
aa
a a
a a
aa
aa
aa
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
a a
aa
a a
aa
a a
aa
aa
a a
aa
aa
a a
aa
a
aaa
aa
a
aaaaa
aa a
a
As the processing of bit signals in data blocks is awkward, two function macros (FB 70 and
a aa aaaa aaa a aaaaa a aa a aa aa a aa a aa aa aaa aaa aa aa aa a
DW 0
PLC
a aa aaaa aaa a
aaaaaaaaaaaaaaaaaaaaa a aa a aa a
aaaaaaaaaaaa a aa a aa aa aa
aaaaaaaaaaaa aaa aa aa a
aaaaaaaa a
6FC5197- AA00
SINUMERIK 840C (PJ)
10.94
11.92 4 NCK Channel/PLC Interface (DB 10 ... DB 13, as from SW 4 DB 15)
4.1.3 Channel-specific interface signal exchange
M area
DB 10 Basic signals
25
DW 0 FB 70 Dynamic area
Interface
channel 1
FB 71
DW 30 86
99
DL 0 FY 25
DR 0 FY 26
DL 1 FY 27
DR 1 FY 28
DL 2 FY 29
DR 2 FY 30
Several bits are available for each of the signals, GENERAL FEED DISABLE, READ-IN
DISABLE, NC START DISABLE.
If, for example, a different bit is set for each machine function that has to activate feed disable,
it is easy to determine which function initiated feed disable in the event of a fault. Each set bit
can be allocated a message text, so that the operator can be informed of the diagnosis.
DBm
DW 8 Read-in disable
DW 9 1 interface
Read-in disable
DW 10
FB PLC MD
Bytes for
Interrogate error
messages messages
PLC MD
Bytes for
Buffer Buffer
oper.
memory memory
messages
error oper.
messages messages
Channel-specific messages
For GENERAL FEED DISABLE, note that this channel-specific signal is effective only in the
automatic operating modes. If axis travel has to be suppressed independent of the operating
mode, this must be effected by means of the axis-specific signal FEED DISABLE.
Per operating mode group, as many axes can be traversed simultaneously in JOG mode as
channels are assigned to it.
Notes:
1) In the AUT and MDA modes, handwheels 1 and 2 (e.g. activated by a key operated
switch) can be used to set a permanent path offset (according to the smallest set input
resolution). The offset is shown separately and remains effective even beyond absolute
blocks.
2) DRF SELECTED (DB 10 - 15, D 14.9) softkey function can be used for the selection. The
signal is transmitted by FB 78.
RESET D 0.14
1 signal: Channel is reset; the reset states are set (e.g. with G functions); the alarms of
the channel are cancelled
0 signal: No channel reset
Notes:
1) SW 1: The RESET signal must be given by the PLC (e.g. by the RESET key). The signal
is interpreted only by the 1st channel of a mode group and affects all channels.
The 1st channel of a mode group is set by means of NC MD.
SW 2: The RESET has a channel-specific effect. Single channels of a mode group can
be set to the RESET state without influencing other channels in doing so.
2) EMERGENCY STOP can be cancelled only by ACKNOWLEDGE EMERGENCY STOP.
CANCEL D 0.13
1 signal: Cancel alarms of the channel are acknowledged (signal level must be present for
at least one PLC cycle)
as from SW 2: Whether Cancel is to be effective for all channel-specific alarms or
for the selected (current) channel only can be set via MD 5008.0.
0 signal: No acknowledgement
The feedrate override can be preselected with the selector switch on the machine control
panel or via the PLC as follows:
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaa
Extended Stop and Retract (ESR) Off (from SW 6.2) D 1.7
Example of application:
Using the RAPID TRAVERSE OVERRIDE EFFECTIVE signal, the rapid traverse override
switches can be enabled, e.g. with the key operated switch, while setting up a new NC
program.
The RAPID TRAVERSE OVERRIDE can be selected with the selector switch on the customer
control panel as follows:
1 0 0 0 1 1
2 0 0 1 1 10
3 0 0 1 0 50
4 0 1 1 0 100
5 0 1 1 1
6 0 1 0 1
7 0 1 0 0
8 1 1 0 0
Notes:
• The percentage values given in the table are stored as machine data (NC MD 147-154).
Only the machine data for positions 1 to 4 are entered as standard; the other machine data
can be entered subsequently if required, thus also permitting evaluation of the codes for
positions 5 to 8 which are supplied from a coding switch or from the PLC program.
• The values given in the table are effective only if the "rapid traverse override switch
available" machine data is set. If the bit is not set, the position of the feedrate override
switch applies to RAPID TRAVERSE OVERRIDE subject to a max. value of 100%.
Note:
In the case of "External execution", only block search with calculation is permitted.
1 signal: The "Execution from external" function is activated when the signal is set. The
part program for the NC channel is read in at an interface during machining.
0 signal: The "Execution from external" function is not active or is deselected. The part
program is executed normally from the part program memory in the COM area.
Notes:
• The "Execution from external" function can be selected by the user by softkey (see
EXECUTION FROM EXTERNAL (SOFTKEY) signal) or automatically by the PLC user
program.
• The interface to be used is specified in machine data MD 130*. If this interface is already
busy when the function is initiated (by NC START), alarm 2044 "External execution error"
is issued.
• If "Execution from external" is initiated by a host computer, the PLC user program must
evaluate errors when the function is started and report to the host.
• If the external part program is executed faster than it is transmitted so that the subsequent
block is not available, workpiece machining comes to a standstill. The PLC user program
has recourse to the following options in order to prevent this in conjunction with time-
critical program sections:
– General reduction of machining feedrate (feedrate override)
– Ensure that the buffer for incoming program parts is full before time-critical program
sections, e. g. by means of read-in disable. The buffer size and free capacity can be
queried from the NC data channel.
Time-critical program sections can be marked, e. g. by special M functions, so that the
PLC user program is able to recognize them.
Note:
The signal must remain present until acknowledged.
Example of application:
Activation of block search. Activation is usually effected by pressing the BLOCK SEARCH
softkeys (DB 10-13, as from SW 4 DB 15, D 14.6). The signal is transmitted by FB 78.
Signal chart
1: NC signal block search with calculation/block search as from main block (DW14)
2: PLC signal block search with calculation/block search as from main block (DW2)
3: NC signal block search active (DW13)
4: NC signal block search result (DW15)
1 signal: Start BLOCK SEARCH WITH CALCULATION AS FROM LAST MAIN BLOCK
0 signal: No BLOCK SEARCH
Note:
The signal must be present until acknowledged.
Example of application:
Activation of block search. Activation is usually effected by pressing the BLOCK SEARCH
softkeys (DB 10-13, as from SW 4 DB 15, D 14.5). The signal is transmitted by FB 78.
1 signal: No cycle is called on program start/end. Display NCY (No Cycle) is displayed in
the channel status field.
0 signal: Cycle 1-9999 (no. is set in MD 134*) is called on program start and cycle 1-9999
(no. set in MD 136*) is called on end of program.
Note:
For a detailed description see Installation Instructions, Section "NC Machine Data" MD 134*
and MD 136*.
See also DB 10 ... 15, D 14.3.
1 signal: The main program blocks are executed as single blocks. In contrast to DEC, the
subroutines and the subnested subroutine levels are executed as a complete unit
when Program Step (PSTEP Procedure Step) is selected.
Program execution is then stopped before the 1st block after subroutine return in
the main program.
0 signal: Program control by PSTEP is not active.
Note:
Decoding single block (DEC), break (BRK) and program step (PSTEP) are alternatively active,
i.e. according to the principle ”one out of three”.
1 signal: A program interruption (BREAK) can be defined via cursor and softkey functions.
0 signal: No program interruption point can be defined.
0/1 transition: The distances-to-go (set/actual value difference) for all axes of the channel
are deleted. Any following error is reduced to zero. An active dwell block is
cancelled.
1/0 transition: No effect
Notes:
• The DELETE DISTANCE TO GO signal must be active for at least one PLC cycle.
• After DELETE DISTANCE TO GO, a program block with G90 has to follow for the deleted
axis at least.
• If a block with G91 follows, the value programmed under G91 is added to the programmed
axis path in the block with delete distance to go.
• DELETE DISTANCE TO GO with rounding axes leads to an alarm with processing stop.
• DELETE DISTANCE TO GO is permissible only in G01, G02 and G03 blocks (G02/G03
blocks only with 2D interpolation)
• With active 5-axis tool length compensation, the set/actual value difference is not reduced
to zero until ”Delete distance to go” has been carried out twice. No axis traverses are
allowed between the first and second ”Delete distance to go” (Cancel ”Feed Hold” on first
”Delete distance to go”).
Notes:
• By deleting the remaining number of subroutine passes, the NC can be synchronized with
an externally reported machine position.
• The subroutine pass that is currently being executed is completed as far as M17.
• The 1 signal must be active until the end of the subroutine and has to be reset with M17.
• To interrupt a specific subroutine, @ 714 (STOP DEC) has to be programmed in the last
block before M17.
Signal chart
NC STOP D 2.1
0/1 transition: The current NC program is stopped immediately, the current block is not
concluded. Residual paths are not traversed until the next start. The axes are
brought to a controlled stop.
1/0 transition: No effect
2
3
Signal chart
1: NC STOP signal
2: NC START signal
3: PROGRAM ACTIVE signal
4: Axis running
5: Block executed
Notes:
• If the NC program has been interrupted, additional auxiliary functions can be stored, for
example. These will be executed after the next NC START.
• When the NC START signal is given, program execution recommences at the breakpoint.
If additional auxiliary functions were stored while the program was interrupted, only these
will be effective after the first Start. Program execution is then continued with the second
NC Start.
• The NC STOP signal must be active for at least one PLC cycle.
• If data were transferred to the NC after NC STOP (e. g. tool offset), these are taken into
account immediately after NC START.
NC START D 2.0
Example of application:
Transfer of new tool offsets with NC START and NC STOP
Signal chart
Notes:
• The NC START signal must be active for at least one PLC cycle.
• Subroutines can also be selected and started directly (without main program).
Spindle Code
C B A
1 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
Note:
SPINDLE NUMBER defines the spindle that can be programmed without extended M and S
addresses and is displayed in the basic displays of the NC.
The OPERATING MODES and FUNCTIONS can, for example, be entered via machine control
panel keypad or via the PLC:
1 signal: The key concerned is pressed
0 signal: The key concerned is not pressed
aaaaaaa
aaaaaaa
aaaaaaa
Notes:
aaaaaaa
aaaaaaa
From
JOG
MDA
group.
MATIC
AUTO-
TEACH-IN
Comments:
To
ning
ning
ning
ning
Stop
Stop
Stop
Stop
Reset
Reset
Reset
Reset
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
X
X
X
X
X
X
X
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa
aaaaaaa
aaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaa Reset
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
No operating status
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
AUTOMATIC
X
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
Stop
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaa aaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
X
X
X
X
X
X
X
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
Reset
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
6FC5197- AA00
ning
Run-
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
JOG
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
X
X
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
Stop
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
X
X
X
X
X
X
X
X
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
operating status modification for each change in the mode:
aaaaaaaaaaaaaaaaaaaa aaaaaaa
Reset
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
ning
Run-
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
Stop
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
X
X
X
X
X
X
X
X
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
Reset
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
ning
Run-
aaaaaaaaaaaaaaaaaaaa aaaaaaa
2) The mode is only changed within the control once all the axes of the mode group are
MDA
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
machine functions can be selected in each mode. The following table shows which machine
aaaaaaaaaaaaaaaaaaaa aaaaaaa
1) The operating modes are only checked by the 1st channel (master channel) of the mode
3) If the mode changes, the operating status is also modified. The following table shows the
aaaaaaaaaaaaaaaaaaaa aaaaaaa
The operating modes are supplemented by the machine functions. The machine functions do
aaaaaaaaaaaaaaaaaaaa aaaaaaa
All machine functions are listed below. Depending on the operating status, a certain number of
aaaaaaaaaaaaaaaaaaaa aaaaaaa
Stop
4 NCK Channel/PLC Interface (DB 10 ... DB 13, as from SW 4 DB 15)
aaaaaaaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaaaaaaa aaaaaaa
4–17
4.2.3 Program control
aaaaaaaaaaaaaaaaaaaa aaaaaaa
4 NCK Channel/PLC Interface (DB 10 ... DB 13, as from SW 4 DB 15) 10.94
4.2.3 Program control
Correction block X X
Program control
X X X X X X X X X
Overstore X X X X X X X X
Extended overstoring X X X X X X
Block search X X
PRESET offset X X X X
Program preselect X
during TEACH IN
Approach reference X
point
Reposition X X X
Direction keys X X X X
Handwheel X X X X
Program editing X X
1 signal: The blocks marked with an oblique stroke (/) in the workpiece program are
skipped. If a series of blocks is to be skipped, this signal is effective only if it is
present before decoding the first block, preferably before NC Start.
0 signal: No blocks of the part program are skipped. If a series of blocks is to be skipped,
they are processed only if the 0 signal is present before decoding the first block.
Note:
The signal SKIP BLOCK SELECTED (DB 10 to 13, as from SW 4 DB 15, D 14.15) can be
used to make the selection (the signal is transmitted by FB 78).
1 signal: In the AUT and MDA modes, program execution in single block mode.
0 signal: No effect.
Notes:
• If a contour definition is defined in a program block, only one contour element is traversed
with each start if SINGLE BLOCK is selected. If cutter radius compensation is selected,
intermediate blocks may be inserted.
• If there is a series of G33 blocks, SINGLE BLOCK is effective only if DRY RUN
FEEDRATE is selected.
• Arithmetic blocks are not processed in the single step mode.
• The single block function can be allocated an extended function with NC MD 5004 bits 5
and 6 (mode-group-specific single block). (Refer to Installation Guide Instructions in this
connection.)
1 signal: In operating modes AUT and MDA, execution of all program blocks in the single
block mode.
0 signal: No effect.
Notes:
• With single block selected, usually only those blocks containing travel movements and/or
auxiliary functions are executed block by block. Using the DECODING SINGLE BLOCK
signal, pure arithmetic blocks can also be tested in the single block mode.
• The softkey function DEC SINGLE BLOCK SELECTED (DB 10-13, as from SW 4 DB 15,
D 14.13) can be used to make the selection. The signal is transmitted by FB 78.
1 signal: Traverse is at the DRY RUN FEEDRATE that has been set via setting data
instead of at the programmed feedrate (with G01, G02, G03). The dry run
feedrate also applies in place of the revolutional feedrate and the feedrate for
thread cutting.
0 signal: Traverse is at the programmed feedrate. If the signal changes to ”0” within a
G33 block, the programmed feedrate does not become effective until the end of
the block.
Note:
The DRY RUN FEEDRATE SELECTED signal (DB 10-13, as from SW 4 DB 15, D 14.12) can
be used to make the selection. The signal is transmitted by FB 78.
Example of application:
Testing the workpiece program at increased feedrate.
Note:
The M01 ACTIVE SELECTED signal (D 14.11) can be used to make the selection. The signal
is transmitted by FB 78.
1 signal: The path velocity of the channel is not reduced by the dyn. SW limit switch.
0 signal: The path velocity of the channel is reduced by the dyn. SW limit switch.
1 signal: Effects FEED HOLD for all interpolator controlled axes provided that no thread
cutting/drilling signal (e.g. G33-G63) is present.
0 signal: Effects FEED ENABLE for all axes.
Notes:
• The signal is effective only in the automatic modes.
• When GENERAL FEED DISABLE is selected, all axes in motion are brought to a stop on
the contour. Position control remains operative, i.e. the following error is reduced to zero.
• GENERAL FEED DISABLE is activated if at least one bit in DW 6 has a 1 signal.
• If an axis must not be traversed in any operating mode due to interlock conditions, this
must be prevented for the specific axis with FEED DISABLE.
• A message can be allocated to any FEED DISABLE bit.
_______
1) As from SW 5.6
6
7
Signal chart
Example of application:
To interrupt machining by selecting FEED OFF on the operator panel.
1 signal: Effects FEED HOLD for all interpolator controlled axes provided that no G33 to
G63 (thread cutting/tapping) signal is present. The signal is effective only in
automatic modes.
0 signal: Effects FEED ENABLE for all axes and READ-IN ENABLE.
Notes:
• See GENERAL FEED DISABLE and READ-IN DISABLE signal descriptions.
• The signal is activated if at least one bit has a 1 signal.
• A message can be allocated to any bit.
Notes:
• If complete execution of an auxiliary function is a precondition for processing the next
block (e.g. tool change), the automatic block change has to be prevented with READ-IN
DISABLE.
• Read-in disable is activated if at least one READ-IN DISABLE bit has a 1 signal.
• A message can be allocated to any READ-IN DISABLE bit.
• Functioning of the ”Read-in disable” interface signal is not impaired in a G501 block.
1 N20 T LF N21GXM LF
2
3
4
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
5 N20 T LF N21...
6 T M
7 8 9 10
9
Flowchart
1: Read-in to buffer
2: Block executed
3: READ-IN DISABLE signal
4: Data transfer
5: Content of main memory
6: Output of auxiliary functions
7: Data transfer to main memory
8: Read-in disable for tool change
9: Interrogation point for read-in enable
10: Cancel READ-IN DISABLE
NC START DISABLE DW 11
Notes:
• NC START DISABLE is activated if at least one bit in DW 11 has a 1 signal.
• A message can be allocated to any NC START DISABLE bit.
• NC START DISABLE is not activated in other operating mode groups.
Example of application
Suppression of renewed program execution because of lack of lubricant, for example.
2
3 M00
4 tc
Flowchart
Note:
If a different mode is selected when the M00/M01; PROGRAMMED STOP signal is in the 1
state, this state is maintained until the NC START or RESET signal is given.
Example of application:
To bring the main spindle to a stop, e.g. to carry out workpiece checks.
1 signal: a) An NC block with M02/M30 (or M17 if a subroutine, and not a main program,
has been started) has been fully executed; if traversing movements are also
programmed in this block, the signal is not output until the target position has
been reached.
b) Program has been aborted with RESET
c) Selection of MDA, PRESET or REF modes
d) After EMERGENCY STOP ACKNOWLEDGEMENT
0 signal: No end of program or abort
2
3 M02
4 tc
5 tc
Notes:
• The M02 and M30 functions are equivalent.
• The M02/M30 signal is active for only one cycle.
• Not suitable for automatic function sequences such as:
– batch counting
– bar feed,
– opening protective devices etc.
For these functions write M02/M30 in a separate block, and use the M02/M30 word or the
M02/M30 decoded M signal.
• The following must not be written in the last block of a program:
– auxiliary functions that lead to read-in disable
– S values that are to be effective beyond M02/M30.
Example of application:
Deleting functions activated by M, T and H words.
Signal chart
Notes:
• The following are ineffective:
with G33/63: a) Feedrate override
b) Feed hold; (GENERAL FEED DISABLE signal is not interpreted),
c) Single block; Stop not effected until the end of the next block without
G33.
• With G33 (thread cutting), "Feed hold" can be achieved indirectly by linking G33 and
GENERAL FEED DISABLE to obtain the SPINDLE DISABLE signal.
• With G63, the NC reacts directly to the FEED DISABLE signal.
• Additional G functions can be decoded using FB 69.
Note:
Additional G functions can be decoded using FB 69.
As from SW 5.1, this signal is no longr output in reference point approach mode.
Example of application:
Activation of bed lubrication.
Note:
Additional G functions can be decoded using FB 69.
1 signal: The BLOCK SEARCH function has been started at the NC and not yet
completed.
0 signal: The BLOCK SEARCH function has been completed.
Note:
The PROGRAM INTERRUPTED signal indicates that NC part program execution can continue
by restarting.
Signal chart
1: NC START signal
2: PROGRAM RUNNING signal
3: M00/M01 signal
4: Position reached
5: M02/M30 signal
6: PROGRAM RUNNING display appears
Note:
The PROGRAM RUNNING signal does not change to 0 if workpiece machining is stopped by
any of the following conditions:
• Output of GENERAL FEED DISABLE, axis-specific FEED DISABLE or SPINDLE DISABLE
• READ-IN DISABLE,
• FEEDRATE OVERRIDE at "0%",
• Software limit switches or work field limit reached
• Tripping of spindle or axis monitors
• Set displacement values selected in the NC program for axes in FOLLOW-UP
OPERATION, for axes without CONTROLLER ENABLE or for PARKING AXES
• EMERGENCY STOP
Note:
If a transformation is active, the user can determine the transformation concerned by means of
FB 69. The FB 69 call can be made conditional on the TRANSFORMATION ACTIVE signal.
Note:
• Before selecting the ”Rigid tapping” function G36, the correct gear stage must be
engaged.
• Before selecting the function, the spindle must be switched over to C axis operation using
the INITIATE C AXIS OPERATION (DB 31, DW k+3, bit 3) signal. On calling L84 cycle,
the threading cycle is called up, the number of which is stored in MD274.
• Prior to changeover to C axis operation, the PLC user program must create the relevant
preconditions, such as
– Stop spindle or
– Preset axis-specific interface
• Since the infeed axis and the C axis interpolate when tapping, both axes must be set to
nearly the same dynamic response.
• The following machine data are valid for the infeed axis, after the spindle has been
changed over to C axis operation.
– MD 1320* Servo gain factor for rigid tapping
– MD 1260* Feed forward control factor for rigid tapping
– MD 1324* Time constant dynamic feedforward control for rigid tapping
Note:
The G36 function must not be aborted with the ”Deselect C axis operation” M function.
_______
1) As from SW 2
Note:
The SKIP BLOCK SELECTED signal must be transferred to the SKIP BLOCK Interface signal
by the PLC user program. FB 78 can also be used for this purpose.
Note:
The DECODING SINGLE BLOCK SELECTED signal must be transferred to the DECODING
SINGLE BLOCK interface signal by the PLC user program. FB 78 can also be used for this
purpose.
Note:
The DRY RUN FEEDRATE SELECTED signal must be transferred to the DRY RUN
FEEDRATE interface signal by the PLC user program. FB 78 can also be used for this
purpose.
Note:
The M01 SELECTED signal must be transferred to the M01 ACTIVE interface signal by the
PLC user program. FB 78 can also be used for this purpose.
1 signal: The feedrate override switch is also to act as the rapid traverse override switch.
Feedrate overrides of more than 100 % are limited to 100 % rapid traverse
override.
0 signal: The feedrate override switch is not to act as the rapid traverse overrride switch
(rapid traverse 100 %).
Notes:
• The FEEDRATE OVERRIDE FOR RAPID TRAVERSE SELECTED signal must be trans-
ferred to the RAPID TRAVERSE ACTIVE interface signal by the PLC user program.
FB 78 can also be used for this purpose.
• This signal is useful only if no separate rapid traverse override switch is provided.
Note:
The DRF SELECTED signal must be transferred to the DRF ACTIVE interface signal by the
PLC user program. FB 78 can also be used for this purpose.
1 signal: The softkey for the EXECUTION FROM EXTERNAL function is active, i.e. the
user has selected this function.
0 signal: The softkey for the EXECUTION FROM EXTERNAL function is not active, i.e. the
function has not been selected or it has been deselected.
Note:
The PLC user program must transfer the EXECUTION FROM EXTERNAL SELECTED signal
into the EXECUTION FROM EXTERNAL signal (see signal description).
1 signal: The BLOCK SEARCH WITH CALCULATION function has been selected.
0 signal: a) The BLOCK SEARCH WITH CALCULATION function has not been selected.
b) Following 1 signal with BLOCK SEARCH WITH CALCULATION WITHOUT
ERRORS or ERRORS DURING BLOCK SEARCH WITH CALCULATION
Note:
The BLOCK SEARCH WITH CALCULATION SELECTED signal must be transferred to the
BLOCK SEARCH WITH CALCULATION interface signal by the PLC user program. FB 78 can
also be used for this purpose.
BLOCK SEARCH WITH CALC. AS FROM LAST MAIN BLOCK SELECTED D 14.5
1 signal: The BLOCK SEARCH WITH CALCULATION AS FROM LAST MAIN BLOCK
function is selected.
0 signal: a) The BLOCK SEARCH WITH CALCULATION AS FROM LAST MAIN BLOCK
is not selected.
b) Following 1 signal with BLOCK SEARCH WITH CALCULATION AS FROM
LAST MAIN BLOCK WITHOUT ERROR or ERROR DURING BLOCK
SEARCH WITH CALCULATION AS FROM LAST MAIN BLOCK
Note:
The BLOCK SEARCH WITH CALCULATION AS FROM LAST MAIN BLOCK SELECTED
signal must be transferred to the BLOCK SEARCH WITH CALCULATION AS FROM LAST
MAIN BLOCK interface signal by the PLC user program. FB 78 can also be used for this
purpose.
Note:
The PLC evaluates this bit to interprete the channel status. During extended overstoring
(between selection and termination), the channel status refers to the overstore ”channel”, not
to the actual NC channel; i.e. during this time, a RESET, for example, acts only on the
overstore ”channel”. The overstore ”channel” is an inserted, fictitious channel. The original
channel status is stored. Furthermore, the standard NC start interlocks should be active at the
overstore NC start.
1 signal: The program control signal " No cycle call on program start/end" NCY (No
Cycle) is active.
0 signal: This program control is not active.
Note:
For a detailed description see Installation Instructions, Section "NC Machine Data" MD 134*
and MD 136*. See also DB 10 ... 15, D 14.3.
Note:
Decoding single block (DEC), break point (BRK) and program step (PSTEP) are alternatively
active, i.e. according to the principle of ”one out of three”.
4.3.3 Acknowledgements
BL. SEARCH WITH CALC. AS FROM LAST MAIN BL. WITHOUT ERROR D 15.13
For more detailed information see Programming Guide 840C Section 7.2.
Note:
As from SW 5.4, NCK channels are not only synchronized via ”WAIT M” commands and the
PLC (FX38 and FX39) but also NCK-internally.
If MD bit 5003.1=1 is set, the ”WAIT M” commands are no longer output to the PLC; the
NCK channels, however, are internally synchronized to the programmed ”WAIT” markers.
If a ”WAIT” marker of all NCK channels concerned has been reached, the blocks are
synchronously changed in these channels in the next IPO cycle.
The ”internal WAIT marker synchronization” is enabled via MD5003.1.
New functions
As long as an NCK channel is waiting for an NCK-internally synchronized WAIT marker, the
channel-specific interface signal ”internal WAIT marker synchronization: waiting for synchro-
nization” (DB10, DL15.8) is set to 1. The interface signal is reset if the WAIT marker condition
is either fulfilled by the other NCK channels or if NC-STOP/RESET is present in the channel.
ERROR DURING BLOCK SEARCH WITH CALC. AS FROM LAST MAIN BLOCK D 15.5
1 signal: Error during BLOCK SEARCH WITH CALCULATION AS FROM LAST MAIN
BLOCK.
0 signal: BLOCK SEARCH WITH CALCULATION AS FROM LAST MAIN BLOCK
completed without error.
1 6
2
tc
6
3
7
4
tc tc
8
Signal chart
1 signal: The monitoring functions for the EXTENDED STOP AND RETRACTION are
activated. If one of the programmed errors occurs, the NC activates the
programmed reactions and the interface signal ESR RESPONSE IS TRIGGERED
is set.
0 signal: The retraction monitoring is switched off.
1 signal: The EXTENDED STOP AND RETRACTION was triggered by an axis or spindle
in this channel.
0 signal: No triggering of ESR response in this channel.
Notes:
• The signal must be transferred by the PLC user program to one bit of the NC START
DISABLE signals if the DESELECT AUTOMATIC NC START DISABLE PLC machine data
is set (PLC MD 6026.5).
• The signal is set in MDA mode and the overstore display for all channels of the selected
operating mode group with the exception of the channel that has just been selected. NC
START may then be effective only in the selected channel.
Note:
No sequence-related alarms are reported to the PLC.
1 signal: The NC sets the signal to "1" as soon as an NC Start request is accepted by the
NCK channel.
0 signal: No acceptance of NC Start request by NCK channel.
Notes:
• The NC START POSSIBLE signal is valid only in the automatic modes.
• NC Start requests are generally required for program control purposes, e. g. for starting an
NC part program, resuming a part program after NC stop or in single block mode, for
starting block search, TEACH IN/PLAYBACK or overstore. NC Start can also be effective,
therefore, if the NCK channel is not in the reset state.
• NC Start is not permitted while a program or single block is being executed, during a block
search, or if an NC alarm with processing disable has been issued. NC Start requests are
also ignored if the mode group is not ready.
• From software version 1 onwards, the entire mode group is no longer disabled in the case
of alarms with channel-specific processing disable.
Note:
The NCK CHANNEL IN RESET STATE signal is valid only in the automatic modes of the NC.
Signal chart
1: Mains voltage
2: MODE GROUP READY
3: Fault message
Notes:
• If MODE GROUP READY changes to 0:
– the feed drives and spindle drive are brought to a stop by active rapid braking (i.e. with
max. braking current), and
– all signals transferred from the NC to the PLC are changed to the inactive state (reset
state).
• All commands given to the NC must be cancelled if MODE GROUP READY carries the 0
signal.
• MODE GROUP READY does not change to "1" after the cause of the fault has been
remedied until the 1st channel of the MODE GROUP has been reset with RESET or until
the NC is switched back on after disconnecting the power supply.
• All functions stored in the intermediate and main memories of the NC are deleted.
• Signal is output only in the 1st channel of a mode group.
NC ALARM D 16.8
The M, S, T and H auxiliary functions and D and F block information are output to the interface
together with the respective modification signals. The modification signals indicate that the
value in the relevant word is valid. The modification signals last for one PLC cycle.
The M, S, T and H auxiliary functions can be written with an extended address. If an auxiliary
function has been programmed with an extended address, this is output as well.
The output sequence is: M WORD 1, M WORD 2, M WORD 3, S, T, H, D, F
Example:
M1=5 Stop for spindle 1
M2=5 Stop for spindle 2
1 N 10 M03 S T H LF
2
M03
3
S
4
T
5
H
6
7
tc
Signal chart
A
1
tc
2
B
1
2
tc
Signal chart
In the case of M functions, decoded signals are output in addition to the words, always in both
static and dynamic form. Static signals are set once by the basic program after decoding.
If an M function is not in the M00 to M99 range and not contained in the decoding list, the
M word and "M NOT DECODED" are output. For the M00 to M99 range the extended address
is = 0.
• During block search, the NC stores the last auxiliary function of an address in each case;
after the NC start these stored information items are output together with the relevant
modification signals. Up to three M functions are stored and output provided that they were
programmed in one block and that there were no further M functions after this block
as far as the search block.
AUTOMATIC/TEACH IN mode
After decoding of the information items in the NC, these are output to the interface together
with the relevant modification signal. The modification signal lasts for one PLC cycle. The
information words are retained until a new block programmed with M, S, T, H, D, F functions
has been decoded by the NC.
2 M 29
3
tc
Signal chart
1: NC START
2: Auxiliary function e.g. M29
3: M modification signal (tc = PLC cycle time)
Note:
The modification signals are valid for only one PLC cycle in each case.
Note:
This signal, together with the output modification signals, is valid for one PLC cycle.
1 signal: Through PLC operating system, a block is processed in the NC with one or
several ”Fast auxiliary functions” and without ”Slow auxiliary functions”.
0 signal: Through PLC operating system following a PLC cycle.
This signal, together with the relevant M modification signal, is valid for one PLC cycle.
1 signal: M WORD greater than 99 (extended address = 0) and for extended address > 0
not contained in decoding list.
0 signal: M WORD less than 99 (extended address =0) and/or contained in decoding list.
STATIC M SIGNALS DR 18 to DR 30
The static signal bits are set by decoded M functions. They remain at "1" until reset by a
command in the PLC user program.
Up to three M signals can be set per PLC cycle and channel.
DYNAMIC M SIGNALS DL 18 to DL 30
Like the static signal bits, the dynamic M signal bits are set by decoded M functions, but they
remain at "1" for only one PLC cycle and are then reset by the PLC basic program. Up to
three dynamic signals can be output per PLC cycle and channel.
Example of application:
To switch on coolant by statically scanning a static M signal.
To switch off coolant by resetting the static M signal with a dynamic M signal.
4 tc 5
Signal chart
1: M modification signal
2: Dynamic M signal
3: Static M signal (coolant ON)
4: Static M signal set
5: Static M signal reset by dynamic M signal with the user program within one PLC cycle
(tc=PLC cycle time)
Up to three M functions programmed in one NC block are made available at the same time as
soon as the M modification signals are available.
Note:
With the functions M3, M4, M5 and M19, the spindle referred to by the M function is
addressed by means of the extended address. Otherwise it is generally recommended to relate
the M function to a specific channel by means of the extended address.
Example of application:
Decoding or evaluation of M functions that are not decoded as standard or according to the
list.
Notes:
• If an S value is programmed that exceeds the selected value range, only the maximum
value is output in each case. This also applies to the analog value output. The analog
output can process values from 0.1 - 1600 / 1 - 16000 only (NC MD 520*.3).
• The spindle for which the S word is valid is programmed by means of the
extended S address.
Example of application:
Gear stage selection from the PLC.
T WORD DW 40 to 42
The tool number (T No.) programmed in the NC is made available as soon as a T modification
signal is available.
Format: Fixed-point or BCD number, value range 0 to 99999999
Extended address: Fixed-point or BCD number, value range 0 to 99
Notes:
• The magazine from which the tool is to be taken is programmed by means of the
extended T address.
• For the "Tool management" function blocks (FB package 1), the T word has to be output
as a fixed-point number.
Example of application:
Control of automatic tool selection.
H WORD DW 43 to 45
Note:
The H word is divided into groups by means of the extended H address.
0 Unassigned
1 Activation of tool wear / break monitor
2 Reserved
3 Set values for wear / break monitor
4 Compensation values for wear / break monitor
5... Unassigned
Example of application:
Switching functions on the machine.
D WORD DW 46
F WORD DW 47 to 49
Example of application:
Amending the programmed F word with tool wear monitoring (adaptive control).
Note:
The BLOCK SKIP SELECTED/1.../8 signal must be transferred to the BLOCK SKIP/1.../8
interface signal by the PLC user program. FG 78 can be used for this purpose.
PROGRAM COORDINATION DW 52 to 62
The COORDINATION ERROR bit is always set in the envisaged target channel DB, not in the
source channel DB.
1 signal: Set by PLC operating system in the event of a conflict:
– If a T word is to be entered in the STORED BLOCK INFORMATION but the
T WORD VALID and/or H WORD VALID bit is still set.
– If a T word is to be routed to DW 64 ... 66 but the T WORD VALID and/or H
WORD VALID bit is still set.
0 signal: – After POWER ON Reset
– By user
Note:
The channel DB is disabled for further routing operations as long as the COORDINATION
ERROR bit is set.
1 signal: Set by the PLC operating system if a routed H word and the extended H address
have been entered in DW 67 ... 69.
0 signal: – After POWER ON Reset (cold restart only).
– By user
The channel DB is disabled for further routing operations as long as the H WORD VALID bit is
set.
1 signal: Set by the PLC operating system if a routed T word and the number of the
source DB have been entered in DW 64 ... 66.
0 signal: – After POWER ON Reset (cold restart)
– By user
Note:
The channel DB is disabled for further routing operations as long as the T WORD VALID bit is
set.
The PLC operating system enters the number of the channel in which the T word was trans-
ferred by the NC. The number is valid only as long as the T WORD VALID and/or H WORD
VALID bits are set.
Value range: 1 ... 4, 1 ... 6 as from SW 4
Format: 16-bit binary
Data word DW 64 is cleared only with COLD RESTART, not with POWER ON Reset.
The PLC operating system enters the T word supplied by the NC. The T word is valid only as
long as the T WORD VALID bit = 1.
Format: As supplied from NC.
Note:
Data words DW 65 und DW 66 are cleared only with COLD RESTART, not with POWER ON
Reset.
ROUTED H WORD DW 67 to DW 69
The PLC operating system enters the extended H address and the H word supplied by the NC.
This interface is operated only if a T word is routed in the same NC block. The information is
valid only as long as the H WORD VALID bit = 1.
Format: As supplied from NC.
Note:
Data words DW 67 to DW 69 are cleared only with COLD RESTART, not with POWER ON
Reset.
4.4.5 TEACH IN
1 signal: The relevant axis (1 ... 30) was marked in TEACH IN mode on the operator
panel.
0 signal: No axis was selected.
1 signal: ”Store traversed axes only” (TEACH IN operating mode) was selected on the
operator panel. With the TRANSFER POSITION softkey, only the positions of
traversed axes are transferred.
0 signal: ”Store traversed axes only” was not selected. With ”Transfer Position” all
selected axes are stored irrespective of whether they have been traversed or not.
The signals are transferred into the DB interface to the NCK using FB 78. Here,
the signals can be manipulated via the PLC user program between the call of FB
78 and the end of OB 1. If only FB 78 is called and no further logic operations
are configured, the signals are transmitted of 1:1.
The signals set by FB 78 can be reset by the user program or signals not set can
be overwritten.
1 signal: The relevant axis was marked in TEACH IN mode or the signal ”Store traversed
axes only” was set.
0 signal: No axis was marked for position transfer. The signal ”Store traversed axes only”
is not set.
_______
1) Up to SW 3
2) As from SW 4
Note:
FX 38, 39 must be loaded and parameterized. See Section, PLC function blocks FX 38, FX 39.
As from SW3, coordination commands are not displayed in the message line.
4.5.1 Alarms
When the PLC gives a checkback signal indicating an error, alarm 3166 is output.
Supplementary data
Bib. No.: E88530-B 5638-A-50
FBs to be loaded: None
FX to be loaded: FX 38, FX 39
DBs to be loaded: None
DX to be loaded: None
Type of FX call: Unconditional
DBs to be entered: None
DX to be entered: None
Error messages: Accu 1 (FX No.)=38
%1 Block FX 39 has not been loaded
Block length: TX 38 Length 112
TX 39 Length 452
Order: FX 38 and FX 39 are components of PLC package 0
(basic functions)
Block call
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaa
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
FB: PRO-KO1
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaaaaaaaaaaaaaa
a
D, KF NSBY
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Signal description
NSBY Interface byte
Interface byte in DB 36 for the initiation of a program with FB 62.
Program example:
OB1
:
:BA FX 38
Name :PRO-K01
NSBY :KF 5 Unassigned interface byte, e.g. "5"
:
:BE
Brief description
• The user must call the block FX 38 unconditionally in OB 1 (DO FX 38) and supplies
parameter NSBY. The block FX 39 must be loaded as well.
• Block FX 38 checks whether block FX 39 has been loaded. If not, the PLC goes into
defined stop with "1" in battery 2 (error number) and "38" in accu 1 (block number).
• If the addressed channels are to be started during block search in the same channel, the
PLC machine data 6029.1 (DB 63, D 14.1 for PLC 1) must be set:
• Five coordination commands are available:
– Start
– Wait-E
– Wait-M
– Init MPF
– Init SPF
• The user interface for program coordination is installed channel-specifically in data words
DW 52 to DL 62 each of data blocks DB 10 to DB 13, and DB 10 to DB 15 as from SW 4.
• The coordination commands are present in the user interface for one PLC cycle. When the
PLC-SP has received a coordination command from the NC, it sets a modification signal
(D 52.8), which is reset in the next PLC cycle by the PLC-SP. The data in data words DW
52 to DW 55 are valid only as long as the modification signal is "1".
• When cold or warm restart are carried out, the PLC system program clears the user
interface for program coordination. When a reset is carried out, the buffer DW 56 to DL 62
is cleared by block FX 39. If an end identifier D 62.11 is present, it is maintained when a
reset is carried out.
• With each command via PLC machine data bits (DB 63), FX 39 checks whether the
addressed channels have been enabled. If not, the block sets D 62.10. The NC uses this
bit to give the NC alarm 3166 WRONG PROGRAM COORDINATION.
• Via the dynamic M signals M02, M17 or M30 the block checks whether the started
programs are completed. If so, the end identification bit D 62.11 is set. This bit is
interrogated by the Wait-E command and reset when a start command for the relevant
channel is given.
• The coordination commands Init MPF, Init SPF and start commands are executed in the
PLC cycle in which the modification signal is present. A prerequisite, however, is that a
preceding data transmission with FB 62 has been completed without errors.
END OF SECTION
5.1 General
The SINUMERIK 840C can control a maximum of six spindles. The interfaces of all spindles
are stored in data block 31. The spindle/PLC interface is set by PLC MD 6012 and PLC MD
6014.
The programmed speed/cutting speed and the spindle M commands M03, M04, M05 and M19
are evaluated in the NC. The extended NC address is used to determine which spindle the
programmed values refer to.
Example:
S2=1000 Spindle 2 is to run at 1000 rev/min
M2=5 Spindle 2 SPINDLE DISABLE
If no extended S address has been written, the S word is output to the spindle stated in DB 31
DL k+2 under channel number.
Spindle NC Spindle NC
channel channel
number 1 number 4 1)
DB 10, DL 3 DB 13, 1)
S - value DL 3 S - value
Intermediate memory
S - value NC
_______
1) As from SW 4: 6 channels
The pulses of all the spindles can be read by each NCK channel. Which channel interprets
which spindle pulses is determined by means of the channel-specific SPINDLE NUMBER
signal. It is permissible for several channels to access the same spindle pulses at the same
time. This means, for instance, that on double slide lathes control can pass from channel 1 to,
say, channel 2 at v = const. without hardware switching.
The spindle-specific CHANNEL NUMBER signal is used to determine from which channel the
spindle obtains set speed values (S word). If, for example, control passes from channel 1 to
channel 2 at v = const. on a double slide lathe, the spindle-specific CHANNEL NUMBER
interface signal must change from 1 to 2.
A spindle can also be addressed from a channel in another mode group. In this case, note that
the spindle is stopped only at the RESET in the mode group in which the spindle was defined
(MD 453*). A channel reset request in the channel in which the spindle is addressed thus
stops program execution and the sindle continues to run.
Three values can be output to the drive as set speed value: S word of the NC, basic speed
and oscillating speed. If the PLC SPINDLE CONTROL signal is set, no more new S words
can be transferred by the NC program to the spindle and the operating mode of the spindle
cannot be changed. In this mode, either the spindle's direction of rotation can be switched
over or the basic or oscillating speed can be selected as required.
The allocation of the spindle number to the measuring circuit module is made via NC machine
data 400*. The spindle defined in the MD as spindle No. 1 is also the 1st spindle at the
NC/PLC interface. The SPINDLE DISABLE signals can be allocated error/operational
messages with selection made via PLC machine data (see Section 12, Display Programs for
PLC Data and Messages).
S1 S2 S3 S1 S2 S3
M M M
_______
1) As from SW 4: 6 channels
The spindle declared as spindle 1 in the MD is also the 1st spindle at the NCK/PLC interface,
that is to say it is assigned data words 0 ... 3, 24 and 25 in DB 31.
Generally speaking, the spindle control can operate in different spindle modes:
• Control mode Controlled operation with preset spindle speed and direction of
rotation
• Oscillation mode Controlled operation with preset motor speed and direction of
rotation
• Positioning mode "Oriented spindle stop"; the spindle is incorporated in position
control
• C axis mode Spindle operated as closed-loop position-controlled rotary axis
• Following mode Spindle operates as a following spindle under position control
Notes:
• For C axis operation, the spindle is assigned an axis by means of machine data (MD 461*).
If a C axis is assigned to the spindle by MD 461* the axis-specific signals are also
evaluated.
Note in particular that the measuring circuit monitors for the axis can be switched off with
the PARKING AXIS signal so that the axis-specific measuring circuit monitors can be
suppressed.
Notes:
• The signal is derived from the direction of rotation of the encoder. MD 520*, bit 1 SIGN
CHANGE ACTUAL VALUE is taken into account.
• When the spindle is at a standstill, the signal corresponds to direction of rotation
clockwise.
The PLC status signal, ACTUAL DIRECTION OF ROTATION CLOCKWISE is taken from the
spindle speed actual value. This actual value is not available in the following cases:
In the above cases, the speed setpoint is used to generate the status signal.
1 signal: The programmed speed or the speed calculated at constant cutting speed (G96)
is too high.
0 signal: The programmed speed or the speed calculated at constant cutting speed (G96)
lies below the permissible range.
Notes:
• Spindle speed override is taken into account when checking the limit values.
• The following limit values are taken into account in the check:
– MD 403* - MD 410* ”Maximum speed” for each gear stage
– MD 451* ”Maximum spindle speed”
– SE 401* ”Programmed spindle speed limit with G96”;
programmed with G92
– SE 403* ”Programmed spindle speed limit”;
programmed with G26
The data cells can be overwritten by the PLC using FB 62 if required.
1
2
4
5
Signal chart
Example of application:
The PROGRAMMED SPEED TOO HIGH signal can be used to interrupt further execution of
the NC program and output a corresponding message.
1 signal: Actual speed lies within a defined range round the set speed (set range).
0 signal: Actual speed outside set range.
Notes:
• The set speed is derived from the programmed speed or, in the case of constant cutting
speed (G96), from the calculated speed, taking the speed override and speed limiting
values into account (see PROGRAMMED SPEED TOO HIGH interface signal).
• The set range is determined by the set speed and the "Spindle speed tolerance"
(MD 444*).
• Active monitoring only with speed greater than zero-speed range (MD 446*).
Example of application:
Enabling of axis movements, (e.g. by cancelling GENERAL FEED DISABLE) after a speed
change by setting a new S value or after changing gear.
1 signal: Actual spindle position lies within a defined range (set range) round the
programmed setpoint.
0 signal: Actual spindle position lies outside the defined range.
1 3
3
2
td
Signal chart
Notes:
• The signal is relevant only when the spindle operates in the positioning mode (e. g. M19).
• The set range is determined by the following data:
– the set position
– MD 443* "positional tolerance" with spindle positioning through NC or PLC
– the positional limit in the user data DB with "M19 over several revolutions" from the
command channel
• In the event of overshooting beyond the set range (e.g. due to incorrect optimization of the
spindle controller), the signal is cancelled.
• The ACKNOWLEDGE M 19 signal must not be given by the PLC until the spindle has
settled in position (e.g. after delay time td during which SPINDLE POSITION REACHED
has been set constant).
Example of application:
Tool change enable on milling machines.
Notes:
• The zero speed range is determined by MD 446* ZERO SPEED TOLERANCE.
• If the actual speed lies within the zero-speed range, the "Spindle in set range" function is
not monitored.
Example of application:
Enable for opening a guard.
1 signal: The spindle is synchronized with the encoder, i. e. the encoder zero mark has
been recognized.
0 signal: The spindle is not synchronized with the encoder.
Notes:
• The position can be recorded only if the spindle is synchronized with the encoder.
• If the spindle is not synchronized with the encoder, it may be for one of the following
reasons:
– The spindle does not have an encoder.
– The zero mark has not yet been overrun following POWER ON.
– A synchronization routine triggered by RESYNCHRONIZE SPINDLE has not been
completed yet.
– Synchronism with the encoder lost owing to excessive speeds; resynchronization is
executed automatically when lower speeds are reached.
Notes:
• The positioning mode is selected by the NC command M19, the POSITION SPINDLE
signal or the M19 OVER SEVERAL REVOLUTIONS command channel function.
• The positioning mode is generally aborted by the ACKNOWLEDGE M19 signal.
• Spindle functions (resynchronization, oscillation, basic speed) are no longer possible when
spindle positioning is active.
Example:
Suppression of axis movements during positioning.
1 signal: The actual spindle speed has exceeded the limits by more than the permitted
tolerance.
0 signal: The actual spindle speed is below the limits.
Notes:
• The following limiting values are taken into account when checking:
– MD 403* to 410* "Maximum speed" for each gear stage
– MD 451* "Maximum chuck speed"
– SD 401* "Programmable spindle speed limitation";
programmed with G26
• The permissible tolerance is determined by:
– MD 445* "Maximum spindle speed tolerance"
• If the spindle exceeds one of the speed limits by more than the permitted tolerance, all
spindles and axes of a mode group are brought to a stop and an alarm is given.
• The SPEED LIMIT EXCEEDED signal is modal and must be reset with RESET.
2
1
Signal chart
Notes:
• The signal is output if the programmed S value is outside the speed range of the current
actual gear stage and a new set gear stage could be determined.
The speed ranges are defined by:
– MD 403* to 410* "Maximum speed" for each gear stage
– MD 411* to 418* "Minimum speed" for each gear stage
• Once the gear change has been made, the signal has to be reset by the PLC user
program and the new actual gear stage has to be entered in the interface.
• The speed ranges are checked only if a new S value has been specified. The PLC user
program can therefore also acknowledge the gear change (reset CHANGE GEAR interface
signal) without having changed the gear stage, if required.
• MD 521*, bit 5 "New S value after PLC acknowledgement" determines whether the spindle
is to assume the set speed until the gear change has been acknowledged.
• If the gear change is triggered directly by the NC part program (M41 ... M48, decoding by
PLC user program), the CHANGE GEAR interface signal cannot be evaluated until the
LAST INFORMATION interface signal is also present.
• If the ”Automatic gear change selection” function is not used, i.e. there is no gearbox
present or the gear stage is selected directly via M functions (M41 ...; 48), the ”gear
change” signal must be reset when the new actual gear stage has been entered in the
interface.
• The change limits are allowed to overlap.
• PLC-MD 6012 via DB63 DW 6 means spindle available.
• CHANGE GEAR is output only if the "Signal from/to spindle" PLC MD (PLC MD 6012) has
been set.
• The "CHANGE GEAR" and "SET GEAR STAGE 8" signals are set if a speed is
programmed that is greater than the maximum speed of the "highest" gear stage.
A C axis changeover is then not possible.
The machine data for the maximum speed in the unused gear stages must therefore be
written with "0". A spindle setpoint value is not output with G96 ”Constant cutting
velocity”.
3 +
4
0 t
4
5 6
–
Signal chart
Sequence:
• Controlled by the NC:
– The new set gear stage is determined and output to the interface.
– The CHANGE GEAR signal changes from 0 to 1.
– When the ”Gear change” signal is present, spindle/C axis changeover is not possible
and the spindle setpoint speed is not updated when G96 (constant cutting velocity) is
active.
• Controlled by the PLC program:
– Spindle motor decelerates to zero speed.
– Motor accelerates to oscillating speed (OSCILLATION SPEED and SET DIRECTION
OF ROTATION CW).
– Motor direction of rotation changes to facilitate gear engagement (SET DIRECTION OF
ROTATION CW).
– The user program recognizes that the gear has engaged (e. g. by means of the "Gear
engaged" signal from the gear). The new actual gear stage must then be entered in
the interface (DW K+1, bit 0 to 2) and the CHANGE GEAR signal be reset.
• Controlled by the NC:
– The spindle is enabled again and accelerated to the new speed.
S-prog.
OG8
OG7
UG8
OG6
UG7
OG5
UG6
OG4
UG5
OG3
UG4
OG2
UG3
OG1
UG2
UG1
G1 G2 G3 G4 G5 G6 G7 G8
In the case of automatic gear stage selection by the NC, the SET GEAR STAGE is output in
coded form to the PLC at the same time as CHANGE GEAR as follows:
Gear Code
C B A
1 0 0 0
2 0 0 1
3 0 1 0
4 0 1 1
5 1 0 0
6 1 0 1
7 1 1 0
8 1 1 1
1 signal: For position control of the spindle in the positioning mode, the gain of the position
controller is calculated from the gain factor multiplied by the factor (which varies
with the gear stage) for the gain change (MD 469*).
0 signal: For position control of the spindle in the positioning mode, the gain of the position
controller is determined directly by the gain factor (which varies with the gear
stage).
Notes:
• The individual factors are determined by machine data:
– MD 435* to 442* "Gain factor" for the position controller (for 8 gear stages)
– MD 469* "Factor for gain change"
• With some drive actuators, a change in the standardization of the analog set speeds in the
actuator can achieve steadier zero speed behaviour of the spindle in conjunction with
position control. This change must be taken into account in the control by changing the
gain factor.
• The standardization change in the drive actuator is made by a terminal signal. This signal
must always be set at the same time as the CHANGE GAIN FACTOR interface signal. It
is sensible to set the signals conditional on the SPINDLE STOPPED interface signal.
• The gain factor change must not be activated at higher speeds. The magnitude of the
transmitted set speeds must always be less than 10 V.
Notes:
• The following applies if positioning mode is selected by the NC or PLC:
– If the signal is not set when the selection is made, the positioning operation is not
initiated until the signal has been set.
– If the signal is cancelled during spindle positioning, the positioning operation is only
interrupted. It is resumed when the signal is set again.
1 signal: The current set speed value is overwritten with ZERO and thus effects spindle
braking in accordance with the ramp characteristic.
0 signal: No effect
Notes:
• The acceleration ramp is defined by machine data. The selection of the currently valid
machine data is made with reference to the actual gear stages and the mode:
– In control mode, MD 419* to 426* "Acceleration time constant without position control"
are used.
– In synchronous mode, MD 478* to 485* "Acceleration time constant with position
control" are used.
• The set speed 0 is normally selected automatically at the end of the program or if the
program is aborted. If this is suppressed by machine data (MD 521*, bit 6), the spindle can
be brought to a stop by the PLC user program with this signal or the SPINDLE RESET
signal.
• The programmed S value is lost when the INPUT SET VALUE ZERO signal is set.
• The positioning mode can still be selected (by NC, PLC or command channel) with the
signal set. The positioning routine is executed nevertheless.
1 signal: The spindle override (speed override) selected is taken into account when the set
speed values are defined.
0 signal: The spindle override values selected are not taken into account; the 100 %
override value is stipulated.
Note:
The override value is generally selected with the switch on the machine control panel.
Example of application:
Using the spindle override effective signal, the spindle override switch on the machine control
panel can be enabled while installing a new NC program.
The spindle (speed) override is taken into account when determining the set speeds for the
spindle if the SPINDLE OVERRIDE ACTIVE signal is set. The override value determines the
percentage of the programmed set speed output to the spindle.
The override value is generally set with the switch on the machine control panel. Refer to the
following table for the assignment of switch positions to the percentage values and their code.
1 0 0 0 1 50
2 0 0 1 1 55
3 0 0 1 0 60
4 0 1 1 0 65
5 0 1 1 1 70
6 0 1 0 1 75
7 0 1 0 0 80
8 1 1 0 0 85
9 1 1 0 1 90
10 1 1 1 1 95
11 1 1 1 0 100
12 1 0 1 0 105
13 1 0 1 1 110
14 1 0 0 1 115
15 1 0 0 0 120
16 1 0 0 0 120
Note:
The percentage values given in the table are standard values which are stored as machine
data. They can be altered if required.
With MD 521*, bit 6 = 1 ("No abort at Reset or M02/M03") the spindle does not react to reset
requests from the NC, but to the SPINDLE RESET signal. The following preconditions must be
fulfilled:
– The channel to which the spindle is currently assigned by the PLC (DW K+2, bits 0
to 4) is in the reset state (e. g. after key reset).
– When the spindle is stopped, the currently valid acceleration time constant is taken
into account.
0 signal: No effect
Exceptions:
• Alarms that lead to cancellation of the OPERATING MODE GROUP READY signal also
cause the spindle to stop.
• If MD 520* bit 6 (M19 BEYOND RESET) is set, the spindle will abort its M19 function only
via ACKNOWLEDGE M19.
• The C AXIS OPERATION operating mode is not deselected by reset (also SPINDLE RE-
SET).
NC MD 521* bit 6 set to "1" (spindle cannot be brought to a standstill by M30 and Reset)
PLC
Operating oscillation Spindle Spindle/reset Program in
Reset key
Mode speed/basic behaviour DW K+1.5 channel
speed
JOG – Selected Overwritten Bit = ZERO Reset
with oscillation
speed and
basic speed
JOG – Deselected Previous Bit = ZERO Reset
speed active
JOG – – Spindle Bit = ONE Reset
stopped
JOG – Selected Spindle Bit = ONE Reset
stopped
JOG – Deselected Spindle Bit = ONE Reset
stopped
MDA/AUTO – – Selected Bit = ZERO Stop
speed active
MDA/AUTO – – Selected Bit = ONE Stop
speed active
MDA/AUTO In operation – Spindle Bit = ONE Reset
stopped
MDA/AUTO – Selected Overwritten Bit = ZERO Stop
with oscillation
speed and
basic speed
MDA/AUTO – Deselected Previous Bit = ZERO Stop
speed active
MDA/AUTO – Selected Overwritten Bit = ONE Stop
with oscillation
speed and
basic speed
MDA/AUTO – Deselected Previous Bit = ONE Stop
speed active
MDA/AUTO In operation Selected Spindle Bit = ONE Reset
stopped
MDA/AUTO In operation Deselected Spindle Bit = ONE Reset
stopped
MDA/AUTO In operation Selected Rotates with Bit = ZERO Reset
oscillation and
basic speed
MDA/AUTO In operation Deselected Spindle Bit = ZERO Reset
stopped
After SPINDLE RESET and SPINDLE STOPPED, M03/004 and Sxxx must be reselected.
If a requested spindle positioning is aborted by the PLC with SPINDLE RESET, a renewed
spindle repositioning must be restarted by the PLC.
M19 is aborted with the reset key in MDA/AUTO mode even if the SPINDLE RESET FROM
PLC bit is set to 0.
Note:
A positive voltage is output with M03 as a standard. Via MD 521*, bit 1 (SIGN CHANGE
SETPOINT) an adjustment to the machine is possible.
Example:
In mechanical back gear units (e.g. drilling heads), the direction of rotation is reversed
mechanically by a gear mechanism. The correct direction of rotation can be obtained by
means of the INVERT M03/M04 interface signal.
1 signal: The PLC user program has concluded the preparations to initiate C axis
operation. The spindle control can now switch to C axis operation.
0 signal: Switch to C axis operation disabled.
Notes:
• By means of this signal the PLC user program can delay the switch to C axis operation
until the required preconditions have been satisfied. No block change takes place as long
as the signal is not set.
• Examples of measures required to satisfy the preconditions for the switch:
– Bring spindle to a stop
– Engage correct gear stage
– Preset axis-specific interface.
• Cancelling the signal does not abort C axis operation.
• Switch to C axis operation is not possible when PLC spindle control is active.
1
0
A variable-speed gearbox connected between motor and spindle provides a large speed range
at the spindle. The set speed determined by the S value always refers to the speed of the
spindle and not to that of the motor. Therefore, the current gear stage has to be taken into
account when calculating the motor set speed value.
The PLC user program must therefore always output the correct actual gear stage to the NC.
The following code is used.
Code
Gear stage C B A
Bit 2 Bit 1 Bit 0
1 0 0 0
2 0 0 1
3 0 1 0
4 0 1 1
5 1 0 0
6 1 0 1
7 1 1 0
8 1 1 1
Notes:
• Gear stage 1 is allocated to the lowest spindle speed range.
• If fewer than 8 gear stages are provided, codes for unavailable gear stages must not be
transferred to the NC.
1 signal: The feedforward control is inactive. The active feedforward control parameters
are cleared when the signal is set.
0 signal: The feedforward control becomes active. The feedforward control parameters
defined in the machine data are taken into account in the set value calculation.
The feedforward control is always active when the control powers up, it is not
deactivated until the signal is set.
The PLC user program must assign one channel to each spindle from which it receives its
setpoint values. The channel numbers are encoded as follows:
If a spindle is switched as C axis in a channel, it should be switched off in the same channel.
If the spindle is to be switched off in another channel, it must previously be assigned to the
relevant channel.
Code
Channel number E D C B A
Bit 12 Bit 11 Bit 10 Bit 9 Bit 8
0 0 0 0 0 0
1 0 0 0 0 1
2 0 0 0 1 0
3 0 0 0 1 1
4 0 0 1 0 0
5 1) 0 0 1 0 1
6 1) 0 0 1 1 0
1 signal: The set voltage which has been parameterized to correspond to clockwise
rotation is output.
0 signal: The set voltage which has been parameterized to correspond to counter-
clockwise rotation is output.
Notes:
• The SET ROTATION CLOCKWISE signal is effective only in conjunction with the PLC
SPINDLE CONTROL signal.
• The sign of the set voltage is parameterized by:
– INVERT M03/M04 signal
– MD 521*, bit 1 "Sign change set value"
• The signal determines the direction of rotation in oscillating mode or in control mode with
basic speed (BASIC SPEED signal)
_______
1) As from SW 4
t1 t2
n+
1
Oscillation mode
Notes:
• The signal is effective only if the PLC SPINDLE CONTROL signal is also set.
• The oscillation speed is determined by MD 450*. It refers not to the spindle speed but to
the motor speed (unit: %).
• The direction of rotation is determined by the SET ROTATION CW and INVERT M03/M04
signals. MD 521*, bit 1 ("Setpoint sign change") is also taken into account.
• The speed override is disregarded.
• The programmed values (S value, direction of rotation) are reactivated when the
OSCILLATION SPEED or PLC SPINDLE CONTROL signal is cancelled.
• The oscillation mode is not aborted by Reset.
• The acceleration time constants do not have any significance in oscillation mode.
Example:
Gear changing with oscillation of drive motor speed to facilitate gear engagement (see
description of CHANGE GEAR signal).
Notes:
• The signal is effective only when the PLC SPINDLE CONTROL signal is also set.
• The basic speed is defined by MD 449*. It is a spindle speed, which should be very slow.
A change in this MD becomes effective immediately.
• The speed override is taken into account.
• The direction of rotation is defined by SET ROTATION CLOCKWISE and INVERT
M03/M04 signals. Furthermore, MD 521, bit 1 ("Sign change set value") is taken into
account.
• If the BASIC SPEED or PLC SPINDLE CONTROL signal is again cancelled, the pro-
grammed values (S value, direction of rotation) become active again.
• The setting of the basic speed is not aborted by reset.
• The applicable acceleration time constants are taken into account.
Example of application:
At the low basic speed, the spindle can be positioned manually.
Notes:
• The set spindle position is determined by MD 452*.
• If the spindle is stationary, the position is approached by the shortest path. The spindle
rotates at the creep speed specified in MD 427* to 434*.
• If the spindle is not stationary at the time of the request, positioning is carried out with the
direction of rotation being retained.
• In the positioning mode, MD 478* to 485* "Acceleration time constant with position control"
are used.
• The functions M03 or M04 stored on the NC are deleted by the POSITION SPINDLE
signal. The stored S value, however, is retained and becomes active again when the
ACKNOWLEDGE M19 signal is given and M03 or M04 is then programmed.
• Position spindle must not be selected as long as G96 (constant cutting speed) is active.
Example of application:
Positioning the spindle to the tool change position; a tool change can be programmed only
with M06 without M19 if the PLC is activated on the basis of M06 POSITION SPINDLE.
Note:
RESYNCHRONIZE SPINDLE is effective only in conjunction with PLC SPINDLE CONTROL.
Example of application:
Resynchronization of the encoder and spindle control when, for example, the encoder is
changed with the drilling head.
Note:
The ACKNOWLEDGE M 19 signal is effective only in conjunction with PLC SPINDLE
CONTROL. The M03, M04 auxiliary functions are equivalent to the ACKNOWLEDGE M 19
PLC signal if they are activated by the program or by overstoring. POSITION SPINDLE must
be acknowledged using this signal.
Notes:
• If a new request is transmitted from the NC part program to the spindle, it does not
become effective until the PLC SPINDLE CONTROL interface signal is cancelled.
• If several of the above-mentioned signals are present simultaneously, the following
priorities (in descending order) apply:
– POSITION SPINDLE
– OSCILLATION SPEED
– BASIC SPEED
1 signal: Causes the spindle to stop, the spindle speed being reduced according to the
acceleration time constants (at least one signal = 1).
With spindle positioning by M 19 or POSITION SPINDLE, the positioning process
is interrupted by setting the SPINDLE DISABLE signal.
0 signal: Effects spindle drive enable, the spindle being accelerated according to the
acceleration time constants.
With spindle positioning selected by M 19 or by POSITION SPINDLE from the
PLC, the positioning process is continued.
Notes:
1) If the spindle disable signal is given, set speed value ZERO is selected.
2) When the spindle is enabled again, the previous set speed value becomes effective.
3) Spindle disable is activated if at least one bit is set.
4) A message (error or operational message) can be allocated to any bit (see Section 12,
Display Programs for PLC Data and Messages).
5) The acceleration time constants are stored in NC MD 419* without position control. In the
positioning mode, MD 478* to MD 485* are used.
Example:
C DB 31 ;Spindle-specific signals
L DR 0 ;Signals from spindle (VDI 1)
T FY 200
A F 200.7 ;Gear change request from spindle to PLC
= F 203.0 ;Monitoring for maximum gear stage speed Off
L FY 203
T DL 50 ;Signals to spindle (VDI 2). Set ”Monitoring Off”
AN F 200.7 ;Gear change request from spindle to PLC
JC END
.
JU FB 123 ;Change gear stage
.
R F 200.7 ;Acknowledge gear change request
L FY 200
T DR 0
END: BE
Additional spindle-specific signals are provided in data block DB 31 for the ”Gear interpolation”
functionality. These can be utilized when one of the spindles is used as a following spindle in a
GI grouping. The following spindle is interlocked in follow-up mode against all requests from
the system (except controller enable). An explanation of the ”Gear interpolation” function is to
be found in the Installation Instructions, Description of Functions.
aa
aa
a
aa
a
a
a
a
a
a
aa
aa
a
a
a
a
a
aa
aa
aa
a
a
a
a
a
aa
aa
a
a
a
a
a
aa
aa
aa
a
a
a
a
a
aa
aa
a
a
a
a
a
The address K is derived for the following spindles as follows:
aa
aa
aa
a
a
a
a
a
aa
aa
a
a
a
a
a
a
a
a
a
aaaaaaaaaaaaaaaaaaaaaaa
a
a
a
a
a
a
aaaaaaaaaaaaaaaa
1st spindle K=0
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
2nd spindle K=4
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
3rd spindle K=8
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
4th spindle K=12
a
a
a
a
a
a
a
a
a
a
aaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
5th spindle K=16
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaaaa
a
a
a
a
a
a
a
a
a
6th spindle K=20
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
ACCELERATION LIMIT SYNCHRONOUS ACTIVE DW K+24, bit 14
1 signal: When the maximum acceleration limit of the following spindle is reached, the
following spindle can no longer follow the leading axes/spindles. The resulting
positional deviation to the leading axes/spindles is added up and subsequently
traversed after the acceleration process. Positional synchronism will then be re-
established.
0 signal: Any positional deviation to the leading axes/spindles possibly occurring during
acceleration of the following spindle is not taken into account. This means that
the following spindle is no longer in positional synchronism with the leading
axes/spindles.
Note:
The maximum permissible acceleration for the following spindle is specified in the
”Acceleration time constant with position control” (NC MD 478*-485*).
1 signal: The monitoring functions for EXTENDED STOP AND RETRACTION are
activated. If one of the programmed errors occurs, the NC activates the
programmed reactions and the interface signal ESR RESPONSE IS TRIGGERED
is set.
0 signal: The retraction monitoring is switched off.
_______
1) As from SW 3
2) The ESR function is described in detail in the Installation Instructions, SW 5.
1 signal: The compensatory controller is switched on. The current partial actual values of
the following axis and of the leading axes/spindles are checked under
consideration of the linking factors. Additive setpoint speeds are calculated from
the deviations of the partial actual values and output to the following axis.
0 signal: The compensatory controller is switched off.
Note:
The compensatory controller serves to compensate for load disturbances. It increases the
stiffness of the link.
1 signal: An additional traversing movement can be overlaid on the following spindle. This
enable signal is also required for on-the-fly synchronization of the leading and
following drive. The overlay path is traversed at the M19 creep speed as speed
offset.
0 signal: The following spindle is not traversed with overlay at this moment.
1 signal: ”On-the-fly synchronization” was triggered via PLC or NC. The synchronization
process has not yet been completed, the synchronization positions have not yet
been reached.
0 signal: ”On-the-fly synchronization” is currently not active.
Notes:
• The signal is reset by the system when the synchronization positions are reached.
• The SYNCHRONIZATION POSITION REACHED interface signal indicates when the
synchronization position has been reached.
Note:
Programming the linking factor ”0” causes the signal to be reset.
1 signal: The following spindle follows up under control due to a fault. The set values for
the following spindle are derived from the actual values of the leading
axis/spindle.
0 signal: The configured type of link between the following spindle and the leading
axis/spindle is active.
1 signal: The set value for acceleration of the following spindle is greater than the
maximum value specified in NC MD 478*-485*. The following spindle traverses at
maximum acceleration, the positional deviation to the leading axes/spindles
increases. Alarm 2060* ”Acceleration limit” is triggered.
0 signal: The current acceleration of the following spindle is less than the maximum
acceleration.
Note:
The signal is relevant to the following spindle in synchronous operation.
1 signal: The setpoint speed of the following spindle is higher than the maximum speed.
The following spindle rotates at maximum speed. The positional deviation to the
leading axes/spindles increases leading to a loss of synchronism. Alarm 2059*
”Speed limit” is triggered.
0 signal: The current speed is less than the maximum speed.
Notes:
• The maximum speed of the following spindle is determined by the minimum values of the
following data:
– NC MD 403*-410* Maximum speed of gear stage
– NC MD 451* Maximum chuck speed
– SD 403* Programmed spindle speed limit (G26)
– SD 401* Programmed spindle speed limit (G92)
• The signal is relevant to the following spindle in synchronous operation.
1 signal: The acceleration of the following spindle has exceeded the warning threshold
(NC MD 494*). Increasing acceleration still involves the risk of synchronism being
disturbed between the leading axes/spindles and the following spindle.
0 signal: Acceleration is lower than the acceleration warning threshold.
Notes:
• The signal is automatically removed by the control as soon as the current acceleration
drops below 7/8 of the warning threshold.
• Monitoring can be deselected with NC MD 526* bit 3 ”Suppress acceleration limit”.
• The signal is significant for the following spindle in synchronous mode.
1 signal: The speed of the following spindle has exceeded the warning threshold (NC MD
494*). The following spindle may now no longer be able to follow the leading
axes/spindles, involving the risk that the synchronism between the leading
axes/spindles and the following spindle will be disturbed.
0 signal: The speed is lower than the speed warning threshold.
Notes:
• The signal is automatically removed by the control as soon as the current speed drops
below 7/8 of the warning threshold.
• The signal is relevant to the following spindle in synchronous operation.
1 signal: The positional deviation of the following spindle to all configured leading axes/
spindles is less than the ”Synchronization fine” (NC MD 491*) tolerance band.
0 signal: The positional deviation of the following spindle to all configured leading axes/
spindles is greater than the ”Synchronization fine” (NC MD 491*) tolerance band.
Notes:
• The signal is relevant to the following spindle in synchronous operation.
• The tolerance band is determined by the offset angle between leading and following
spindle and the Synchronization fine (NC MD 491*) tolerance.
1 signal: The positional deviation of the following spindle to all configured leading
axes/spindles is less than the ”Synchronization coarse” (NC MD 492*) tolerance
band.
0 signal: The positional deviation of the following spindle to all configured leading
axes/spindles is greater than the ”Synchronization coarse” (NC MD 492*)
tolerance band.
Notes:
• The signal is relevant to the following spindle in synchronous operation.
• The tolerance band is determined by the offset angle between leading and following
spindle and the ”Synchronization coarse” (NC MD 492*) tolerance.
Note:
The SYNCHRONIAZTION BUSY signal is reset when the synchronization position is reached.
On-the-fly synchronization can be aborted with RESET as long as the SYNCHRONIZATION
BUSY signal is set. The link is activated nevertheless.
1 signal: This spindle has triggered the ”Extended stop and retraction”.
0 signal: No triggering of ESR response.
Note:
The PLC can recognize from this signal if a GI grouping was defined for a spindle, even if the
link is not active.
1 signal: When ”Extended stop and retraction” has been programmed for this spindle via
the G commands (G422 to G426). With this signal, a response can be started via
the "ESR response enabled" interface signal.
The ESR function is described in the SINUMERIK 840C, SW 4 Installation
Instructions.
0 signal: No ESR response is programmed for this spindle.
_______
1) As from SW 4
2) The ESR response is described in detail in the Installation Instructions, SW 4.
1 signal: The signal is set if a link is to be switched off (Source: part program, PLC or
input image), however, the conditions for a deactivation (e.g. INTERLOCK LINK
OFF, PLC SPINDLE CONTROL signals) are not yet satisfied. Part program block
change is halted until the conditions are met.
0 signal: No change of LINK ON status requested. The signal is also reset when the PLC
SPINDLE CONTROL or INTERLOCK LINK ON signal is reset.
1 signal: The signal is set if a link is to be switched on (Source: part program, PLC or
input image), however, the conditions for an activation (e.g. INTERLOCK LINK
ON signal) are not yet satisfied. Part program block change is halted until the
conditions are met.
0 signal: No change of LINK OFF status requested. The signal is also reset when the PLC
SPINDLE CONTROL or INTERLOCK LINK OFF signal is reset. The link will then
become active. If other conditions should have prevented the link from becoming
active, the conditions must first be satisfied and subsequently a new LINK ON
must be triggered.
1 signal: Slave mode is switched on (see Installation Instructions, Section 12, Function
Description).
0 signal: The spindle in question is in normal mode.
_______
1) As from SW 4.4
0/1 edge: The emergency retraction monitoring for the following spindle is switched on.
Notes:
• The emergency retraction threshold is specified in NC MD 493*.
• The ACTIVATE ESR MONITORING signal is set as check-back signal.
• As from SW 4, errors leading to ESR responses can be programmed; the signal is not
restricted to MD 493*.
0/1 edge: On-the-fly synchronization of the following spindle with all configured leading
axes/spindles is triggered. A LINK ON signal is generated internally. The
SYNCHRONIZATION BUSY signal is set. This bit is cancelled again by the
system when the synchronization positions are reached and the
SYNCHRONIZATION POSITION REACHED signal is set.
0/1 edge: Activates the link of all configured axes/spindles with the following spindle
with the current linking factors.
Notes:
• This signal affects all configured leading axes/spindles. Selective linking via the PLC is not
possible. The linking factors must have been programmed in advance or derived from the
GIQ data during power up.
• The LINK ACTIVE signal is set by way of acknowledgement.
0/1 edge: The emergency retraction monitoring for the following spindle is switched off.
Note:
• The ACTIVATE ESR MONITORING signal is reset as check-back signal.
• As from SW 4, errors leading to ESR responses can be programmed; the signal is not
restricted to MD 493*.
• The monitoring function can also be switched on/off from PLC. If it is switched on from
PLC, it can also be switched off from PLC. If it is switched off from PLC, it is switched off
for all channels.
_______
1) As from SW 3
2) The ESR response is described in detail in the Installation Instructions, SW 5.
0/1 edge: Deactivates the link of all configured leading axes/spindles with the following axis.
Notes:
• This signal affects all configured leading axes/spindles. Selective delinking via the PLC is
not possible.
• The LINK ACTIVE signal is reset by way of acknowledgement.
1 signal: The PLC signal "Correct synchronism difference" corrects the setpoint to the
following address by the synchronism error between the leading and following
addresses so that the synchronism difference no longer results in a system
deviation. Both the controller and drive must be enabled and the gearbox
coupling must be switched on while this signal is applied.
0 signal: Position and/or comensatory controller correct the synchronism error
Notes:
• This function is particularly important where synchronous spindle pairs are used. When the
workpiece is transferred by the following drive, an angle offset between the leading and
following drives can result for mechanical reasons when the chuck is closed. This offset
cannot be eliminated while the drives are coupled via the workpiece. This can be avoided
with the signal CORRECT SYNCHRONISM DIFFERENCE.
• This signal should be activated:
– After closure of the mechanical coupling, if the power transmission is without slip.
– When teh drives are mechanically coupled and position control is acitvated.
• If both drives are mechanically coupled the signal must be canceled so that precise
synchronization is maintained.
Notes:
• The acceleration limit synchronous for the following spindle enables the following spindle
to traverse in positional synchronism with the leading axes/spindles again after
accelerations. Any positional deviations possibly occurring during acceleration are added
up and traversed after the acceleration phase.
• The ACCELERATION LIMIT SYNCHRONOUS ACTIVE signal is set as soon as the
acceleration limit becomes active.
• The maximum acceleration of the following spindle is determined by the ”Acceleration time
constant with position control” (NC MD 478*-485*).
1 signal: With this static signal, the PLC can enable a programmed (signal: "ESR
response is programmed" is set) ESR response. Without this signal, a spindle
movement is not possible (safety signal).
Notes:
• The compensatory controller serves to compensate for load disturbances. It increases the
stiffness of the link.
• The COMPENSATORY CONTROLLER ACTIVE signal is set by way of acknowledgement.
1 signal: An additional motion can be overlaid on the movement of the following spindle
predetermined by the leading axes/spindles. This overlaid movement is
automatically preset for on-the-fly synchronization to enable traversing to the
programmed angular difference.
0 signal: No overlaid movement of the following spindle is possible.
Note:
Alarm 2058* ”Following spindle overlay not enabled” is output when an attempt is made to
traverse the following axis with overlay without an enable signal given.
1 signal: The link between the following spindle and the leading axes/spindles cannot be
switched off.
0 signal: The link between the following spindle and the leading axes/spindles can be
switched off.
Notes:
• If this interlock signal was present when a LINK OFF signal was programmed, the link is
not switched off until this interlock signal is reset.
• Block change is interlocked as long as this signal is present and a link is to be switched
off. The REQUEST LINK OFF signal is set.
_______
1) As from SW 4
2) The ESR response is described in detail in the Installation Instructions, SW 5.
1 signal: The link between the following spindle and the leading axes/spindles cannot be
switched on.
0 signal: The link between the following spindle and the leading axes/spindles can be
switched on.
Notes:
• If this interlock signal was present when a LINK ON signal was programmed, the link is not
switched on until this interlock signal is reset.
• Block change is interlocked as long as this signal is present and a link is to be switched
on. The REQUEST LINK ON signal is set.
• The signal has no influence on an active link.
The effects stated below apply in addition to the interface signals described:
Disable spindle
• LINK ON is retained when DISABLE SPINDLE is set for a leading spindle. The spindle is
brought to a standstill. The servo enable remains active.
• The following spindle cannot be influenced via this signal.
Notes:
• If a spindle is declared a PARKING SPINDLE, monitoring of the connection encoder
measuring circuit module is switched off. No alarm is therefore triggered if this connection
is separated.
• The spindle/axis is resynchronized if the signal to the PARKING SPINDLE is removed.
1 signal: The maximum gear stage speed is not taken into account in the monitoring of the
spindle speed limit. It is therefore possible to switch from a higher gear stage to a
lower gear stage without stopping the spindle. Only monitoring of maximum
chuck speed (MD 451*), maximum spindle speed (SWITCHING DEVICE 403*)
and, if G 96 is acitvated, limitation to G 92 S is activated. The maximum gear
stage speed (MD 403*) is no longer monitored.
_______
1) As from SW 3
2) Spindle Address y
1 48
2 52
3 56
4 60
5 64
6 68
These three bits can be used to switch over in binary coded form between a maximum of 8
parameter sets, e.g.:
001 =ˆ Parameter set 1
011 =ˆ Parameter set 3 etc.
Notes:
• To ensure that the changeover for the spindle is executed via this interface signal,
MD 522*, bit 4 "Switchover parameter groups separately" must be set. In this case, the
interface signals for the actual gear stage (DB 31, DW K+1, bit 0-2) are irrelevant. The
display of the actual gear stage in the service screen is still updated in accordance with
the interface signals, but otherwise has no effect.
If the bit is not set, the PLC signals for the actual gear stage are used; the PLC signals for
the various parameter groups are not effective.
With spindle/C axis, MD 522*, bit 4 "Switchover parameter groups separately" influences
both the changeover behavior of the spindle and of the C axis. "Switchover separately" is
permanently set for normal axes. C axes can be influenced via the spindle MD bit in such
a way that all parameter groups ("Position controller", "Speed ratio" and "Drive") are
switched over jointly via the interface of the "Position controller" parameter group.
• The "Parameter set changeover" function is described in the SINUMERIK 840C, SW 5
Installation Instructions.
• Effective only with extended parameter set changeover NC MD 523*, 0.
_______
1) As from SW 3
2) As from SW 4
3) As from SW 4.4
Note:
• 611D machine data 1012 bit 2 "Drive ready"
observe dependency of terminals
• Observe interface signal DB 29 DW 120 bit 5
_______
1) FDD as from SW 4
FDD:
If a motor temperature=0 is measured, an interruption of the PTC motor thermistor is
assumed and the bit is also set. A reaction to this situation is initiated via the PLC program. In
this case, there will be no reaction in the drive. If the motor temperature=0 is still measured
after the time set in P1603 has elapsed, the ZK1 Reset error (”Motor temperature N...”) is
issued.
MSD:
6 MSD-specific messages. The messages can be freely assigned to the 6 status bits via
P241/P246. The following messages are preset:
Message 1: Ramp-up phase ended
Message 2: M–D<M–dx
Message 3: n–act<n–min
Message 4: n–act<n–x
Message 5: n–act<n–set
Message 6: Variable message function 1
FDD:
The message assignments for feed drive are firmly specified:
DW K+72, bit 10: freely programmable
bit 11: freely programmable
bit 12: n–act<n–min
bit 13: n–act<n–x
bit 14: freely programmable
bit 15: freely programmable
1 signal: Drive test requested (drive stationary) or active (drive operating). The signal is
set as soon as a drive test was started and the parameter assignment has been
established to be faultless. The signal is removed at the end of the drive test as
soon as the drive has been brought to a standstill and has resumed its former
operating mode.
0 signal: Drive test not active
ZK2 message, that the DC link voltage has fallen below the value determined in MD 1604.
MD 1604 is described in the SINUMERIK 840C, SW 4 Installation Instructions.
_______
1) SW 4 and higher
ZK2 message, that the DC link voltage has fallen below the value determined in MD 1634 as
emergency retraction threshold.
When the DC link voltage falls below the emergency retraction threshold, emergency retraction
responses are initiated which are defined in MD ZWK_NOTR_M. The machine data (MD) are
described in the SINUMERIK 840C, SW 4 Installation Instructions.
UZWK
a
a
a
a
aaaaaaaaaaaaaaa a
a
aaaaaaaaaaaaaaaaaa a
aaa
a
a
a
a
a
a
a
a
a
a
a
600V
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
MD_U_GEN_OFF
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
MD_U_GEN_ON
aaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
+
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
MD_U_GEN_HUB
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
MD_U_GEN_ON
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
t
aa
aa
a
aa
aa
a
a
aa
a
ZK2
aa
a
aaaaaaa
aa
aa
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
aaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
"ZWK_GEN_AKTIV"
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
t
aa
aa
a
ZK2 message, that the generator speed has fallen below the value of the minimum speed of
the generator axis in MD 1635.
MD 1635 is described in the SINUMERIK 840C, SW 4, Installation Instructions.
MSD:
Request star-delta changeover or motor changeover.
1 signal: Delta operation or motor 2
0 signal: Star operation or motor 1
MSD:
This bit is used by the PLC to confirm changeover of the motor contactors for star/delta
changeover or motor changeover.
MSD:
1 signal: Specifies setpoint speed 0, braking without ramp-function generator ramp
(see MD 522* bit 3)
MSD:
Activates 2nd torque limit set in P041.
_______
1) FDD as from SW 4
2) As from SW
MSD:
Activates interpolation of the setpoint speed from the position controller cycle into the speed
controller cycle.
Activates rounding of the setpoint speed parameterized via P019.
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaaaaaaaaaa a
aaa
aaa
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
XR = Position controller cycle
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
aaa
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
XINT = Speed controller cycle
aa
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
N–set = Set value from NC
aaa
aaa
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
N–NRS = Set value MSD internal
aaa
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
aa
a
a
a
a
a
a
a
a
a
a
a
aaaaa
N–set (k+1)
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
aa
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaa
a
a
a
a
a
a
a
a
aaaaa
a
a
a
a
a
a
a
a
N–set (k)
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaa
aaa
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
N–set (k-1)
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
N–NRS
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
aaaaa
a
a
a
a
aaaaaa
a
a
a
aa
a
aa
a
a
a
a
a
a
aaaaaa
aa
a
a
a
a
a
a
aaa
a
a
a
a
a
a
aa
aa
aaa
a
a
a
a
a
0 XINT XR 2 XR 3 XR
aa
a
a
a
a
a
a
a
a
a
a
a
aa
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Function diagram of interpolation filter
5–42
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
Step 4:
Step 3:
Step 2:
Step 1:
a
aaaa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
aa
a
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
aaa
a
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
Pulse removed
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
PLC
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
MSD/AM control
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
Message “Contactor
Waiting for message
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
changeover completed”
Close motor contactor 2
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
5 Spindle/PLC Interface (DB 31)
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
from the drive.
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a
aaaa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aa
aa
a
a
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
a
aa
aaa
a
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
2 separate contactors and is executed in 4 steps.
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
performed using the “Star/delta switching” function block.
END OF SECTION
switching operation via motor selection bit 0.
aa
a aa
aaaa
aaaa
aa
aaaaaa
aaaa
aa
aaaa
aaaa
aaaaaa
aaaa
aa aaaa
aaaa
aaaa
aaaa
aa
aaaaaa
aaaa
aa
aaaa
aaaa
aaaaaa
aaaa
aa aaaaaaa
aa
a
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
the “Motor selection performed” interface signal.
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
The function block must be called up separately for each spindle.
611D
completed”
a
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
aa
a a
aa
aa
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
a a
a a
aa
a a
aa
a a
a a
a a
aa
aa
a
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
Enable pulses
a aa aa aaa a aa aaa aa aa a aa aa a aa aa aa aaa a aa aaa aa aa a aa aa a a aaa
Remove pulses
Removal of the “Motor selection performed” interface signal and advising the
disable” and the acknowledgement of the advised motor selection are available
After another waiting time, completion of changeover is reported to the drive via
Contactor 1 (former status) is switched off as soon as the confirmation of “Pulse
6FC5197- AA00
The function block is effective for digital main spindle drives only. Changeover is performed via
General notes
The SINUMERIK 840C can control a maximum of 15 1) servo loops (total of axes and spindles
= 15 2)). The interfaces of all spindles are stored in data block 32. The PLC axis interface
is set axis-specific by means of PLC machine data (PLC MD 6016 to 6022). In the setting-up
modes, the axes cannot be influenced by the channel-specific GENERAL FEED DISABLE
signal. A feed disable can be effected only with the axis-specific FEED DISABLE signal.
In principle, each channel of an operating mode group can effect motion of all axes allocated
to the same operating mode group. However, the same axis may not be activated by several
channels at the same time. In exceptional circumstances, certain axes can be disabled for
certain channels by means of NC MD.
The allocation of axis number servo loop module is made via NC machine data 200*.
The allocation of axis number axis name is made via NC machine data 568*. The axis
defined in the MD as the 1st axis is also the 1st axis at the NCK/PLC interface.
The axis-specific FEED DISABLE signals can be allocated fault/operational messages with
selection made via PLC machine data (refer to Section 12, Display Programs for PLC Data and
Messages).
aa
aa
a
aa
a
a
a
a
a
a
aa
aa
a
a
a
a
a
aa
aa
aa
a
a
a
a
a
aa
aa
a
a
a
a
a
aa
aa
aa
a
a
a
a
a
The K addresses for the axes are as follows:
aa
aa
a
a
a
a
a
aa
aa
aa
a
a
a
a
a
aa
aa
a
a
a
a
a
1st axis K=0 10th axis K=36
aa
aa
aa
a
a
a
a
a
aa
aa
a
a
a
a
a
aaaa
aaaaa
a
a
aa
a
a
a
a
a
a
aaaaaaaaaaaaaaaaaaaaaa
2nd axis K=4 11th axis K=40
aa
aa
a
a
a
a
a
a
aaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a
a
a
a
a
a
aaaa
aaa
a
a
a
a
a
a
a
a
3rd axis K=8 12th axis K=44
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
4th axis K=12 13th axis K=48
aaa
a
a
a
a
a
a
a
a
a
a
aaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
5th axis K=16 14th axis K=52
aaa
a
a
a
a
a
a
a
a
a
a
aa
aaa
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
6th axis K=20 15th axis K=56
aaaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
7th axis K=24 .
aaa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
8th axis K=28 .
aa
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
9th axis K=32 .
a
a
a
a
a
a
a
a
aaaaaaaaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
30th axis K=116
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
_______
1) As the TRANSMIT function requires fictitious axes, up to 30 interpolators are contained in the software
of the NC.
2) With SW 5 and higher up to 30 servo loops (sum of axes and spindles = 30).
Example:
Activate a holding brake on a vertical axis in the event of a position control failure.
1 signal: The axis (ERA) is within the tolerance set in MD 1152* (see Installation Guide
Instructions, Section 6).
3
2000 units
4
aa
aa
aaa
5 ± 9999 units
aa
aa
a a
a
1: *DECELERATION signal
2: Measuring system zero mark signal
3: Measuring system zero mark
4: Zero mark plus 2000 units travel in the reference point approach direction
5: Reference point in the range: zero mark plus (2000 units ± 9999 units ref. point shift)
6: REFERENCE POINT REACHED signal
Notes:
• The reference point can be shifted by means of the "Reference point shift" machine data
in the range ± 9999 units, referred to the 2000 units point (MD 244*).
After reaching the reference point position, the actual value memory of the axis is set to
the reference point value (specified in machine data MD 240*) and the ”REFERENCE
POINT REACHED” signal is output.
• For each axis, NC MD 560*.4 can be used to determine whether the reference point has
to be reached for NC START.
Example of application:
Suppression of the start signal (NC START) if, for example, a parking axis has not been
synchronized when it is activated.
AUT/MDA/TEACH IN mode
1 signal: If movement is to take place in the relevant axis direction, e.g. after transfer into
the main memory of a block containing a coordinate value for the axis.
0 signal: a) Block executed
b) Axis disable present
c) Abort with RESET
JOG/INC mode
1 signal: Axis selected and direction key pressed.
0 signal: a) Direction key no longer pressed and interpolator output is 0.
b) In the increment (INC) mode, after traverse with incremental feed.
c) Abort with RESET
d) On traverse with handwheel.
REF mode
1 signal: a) Approach to reference point without automatic direction recognition: pressing
the relevant direction key for approach to reference point.
b) Approach to reference point with automatic direction recognition: a direction
key is pressed.
0 signal: Reference point reached.
Note:
With axis clamping, continuous path operation is impossible if the clamp is not released until
the travel command is given.
Example of application:
Clamp release, e.g. on rotary tables.
AUT/MDA/TEACH IN mode
Note:
• The COARSE or FINE POSITION REACHED signals are also "1" if the AUTOMATIC
mode has been interrupted by RESET, an NC alarm or mode change (AUT
INTERRUPTED).
• If the axis is moved with G01, the EXACT STOP COARSE signal is output only when the
EXACT STOP FINE has also been reached.
Example:
Enabling tool change when the turret has reached the change position.
JOG/INCR/REPOS mode
1 signal: The IKA warning limit (MD 356*) was exceeded in positive or negative direction.
0 signal: The IKA warning limit was not exceeded.
1 signal: The IKA/TK velocity set in machine data 1148* (axis-specific) was exceeded in
one axis.
_______
1) Only for IKA as compensation
2) SW 4.4 and higher
_______
1) As from SW 3
2) As from SW 5.6
Mirroring is possible for all axes. Version A or B can be selected via axis-specific machine
data.
0 signal: Mirroring not effective
1 signal: Version A
Mirroring of
– programmed values
– cutter radius compensation or tool nose radius compensation (G41, G42)
– tool length compensation
No mirroring of
– zero offset
1 signal: Version B
Mirroring of
– programmed values
– cutter radius compensation (G41, G42)
No mirroring of
– zero offset
– tool length compensation
X+
1
Z– Z+
2
X–
Note:
Activate mirroring in the part program in progress is active only after G714 or G200.
X+
2 1
Z– Z+
X–
1: Normal machining
2: Mirrored workpiece
Y+
2 1
X– X+
Y–
1: Normal machining
2: Workpiece mirrored in X
1 signal: NC position control loop open: no controller enable; the actual value is further
updated.
0 signal: Normal state; NC position control loops closed.
Notes:
• With the axis stationary, the 1 signal opens the position control loop.
• If the axis is in motion, the 1 signal effects rapid deceleration with maximum braking
current, opens the position control loop after the time delay set by machine data has
expired and sets an alarm. Then only the actual position value is retained.
• All axes moving with interpolation are stopped if FOLLOW-UP OPERATION is set for one
axis. Axes with FOLLOW-UP OPERATION not set can be stopped only by selecting the
set speed value ZERO. The following error of these axes is still eliminated.
• An alarm is output if FOLLOW-UP OPERATION is specified for an axis moving with
interpolation. Further execution of the NC program is then no longer possible.
• After cancellation of follow-up operation (0 signal), the axis does not have to be
resynchronized (no approach to reference point) if the max. permissible speed of the axis
has not been exceeded at any time.
• To avoid incorrect positioning, follow-up operation must be cancelled in the AUT
mode only if the NC program is in the STOP state.
• If a rotary axis (C axis) is to be operated as a spindle, the axis-specific monitoring func-
tions can be switched off by setting the FOLLOW-UP OPERATION and PARKING AXIS
SIGNALS. Setting of the PARKING AXIS signal also deletes the REFERENCE POINT
REACHED signal.
If C axis operation is then selected again, the set values of the axis mut be updated.
Reference point approach can be avoided.
1 signal: The current speed setpoint value is overwritten with 0. As a result, the spindle
brakes according to the accelaration ramp.
0 signal: No effect. (See also DB 32 DW K+1, bit 13 "Input set value 0".
_______
* Signal is 0-active
3 Z
R
aa
aa
aaa
aa
aa
a a
a
1
5
4
6
7
Sequence:
The Z axis must be located at the starting point, e. g. in the negative direction from the
reference point. The operator presses the Z + key and the axis approaches the reference
point. As soon as the actuating cam passes the limit switch, the *DECELERATION signal
changes from 1 to 0; the axis decelerates to creep speed. When the actuating cam has
cleared the limit switch, the *DECELERATION signal changes from 0 to 1 and initiates the
approach to the next zero mark of the measuring system. As soon as the zero mark signal
appears, the axis homes in to the reference point.
Peripheral condition:
The limit switch that issues the *DECELERATION signal should be a normally closed switch. If
the connection to the limit switch is interrupted, this can be recognized and actuation of the
axis movement prevented.
8
3
aa
aa
aa
a
Z
a
aa
a
a
a
a
1
5
4
6
7
Sequence 1:
The Z axis must be located at the starting point, e.g. in the negative direction from the
reference point. The operator presses the Z+ key declared as the starting key for reference
point approach. The axis approaches the traversing range end at which the reference point is
located; the direction is recognized by *DECELERATION signal = 1. As soon as the actuating
cam passes the limit switch, the *DECELERATION signal changes from 1 to 0; the axis
decelerates to zero and then accelerates to creep speed in the opposite direction. When the
actuating cam has cleared the limit switch, the *DECELERATION signal changes from 0 to 1
and initiates the approach to the next zero mark of the measuring system. As soon as the zero
mark signal appears, the axis homes in to the reference point.
Sequence 2:
If the axis is already located between the traversing range end and the reference point at the
start of the reference point approach (*DECELERATION signal = 0) and the Z+ key is then
pressed, the Z axis approaches the reference point in the negative direction at creep speed.
Peripheral conditions:
• Because of the specific design of the actuating cam (length: from traversing range end to
switching point), this procedure is suitable only for reference points situated near the
traversing range end.
• The cam must not leave the limit switch from the switching point to the traversing range
end (end of traverse path), i.e. the *DECELERATION signal remains at 0.
• The limit switch that issues the *DECELERATION signal should be a normally closed
switch. If the connection to the limit switch is interrupted (*DECELERATION signal = 0),
the axis can accelerate only to creep speed.
• In the reference point approach mode, rapid traverse override is effective.
Notes:
• If an axis is declared a PARKING AXIS, the monitoring of the connection between the
measuring sensor and the measuring circuit module is switched off. Therefore no alarm is
given if this connection is cut (e.g. in order to remove the axis such as a rotary table from
the machine).
• If the PARKING AXIS signal is removed, the axis has to be resynchronized. As from SW 4
the actual value of the current position must be specified by means of PRESET.
AUT/MDA mode
1 signal: Closes the position control loop of the relevant axis.
0 signal: 1. With the axis stationary, the position control loop is opened.
2. If the axis is in motion, rapid deceleration is effected. The drive is brought to
a stop with maximum braking current and the position control loop opened
after the time delay set by machine data has expired.
3. All axes moving with interpolation are stopped if controller enable is cancelled
for one axis. Axes with CONTROLLER ENABLE still set can be stopped only
by selecting the set speed value ZERO. The following error for these axes is
reduced to zero.
Notes:
• If the controller enable signal is cancelled (e. g. in order to clamp the axis) and then set
again, the axis, which has possibly been forced out of position through mechanical or
electrical influences, is repositioned to the position it had when the controller enable signal
was cancelled.
• The controller enable signal is to follow the pulse enable signal. When switching off, the
controller must first be disabled before the pulse enable signal is removed.
Setting-up modes:
1 signal: Effects closing of the position control circuit for the relevant axis.
0 signal: 1. With the axis stationary, the position control loop is opened.
2. If the axis is in motion, rapid deceleration is effected.
Notes:
• A following error remaining after rapid deceleration remains stored and is eliminated
following a renewed controller enable.
• An NC alarm is output if the controller enable is cancelled while an axis is in motion. The
alarm is also given when a last thread cutting block without G09 and then another axis is
programmed, for which the controller enable signal is missing.
• During normal operation the controller enable signals must always be present for all axes
to be moved with interpolation.
1
2
5
td
7
6
Sequence:
1) The axis travel command (e.g. X -) releases the clamp and enables the controller.
2) Control enable cancels controller disable.
3) As soon as the clamp is released, the feed enable signal is given and axis traverse
commences.
4) If the travel command is removed, the axis stops and is clamped again; the feed enable
signal is cancelled.
5) After clamping, the controller enable signal is cancelled; the controller enable signal is
output again after a delay time of td (machine data).
Example of application:
1 signal: In the setting-up modes, the axis is moved in the preset direction.
0 signal: No effect
Notes:
• The axis traversing speed is determined by machine data (MD 288* for feedrate, MD 292*
for rapid traverse) in accordance with the operating mode.
• If the plus (+) and minus (-) keys of an axis are pressed at the same time, no travel
command is given.
• Per operating mode group, the maximum number of axes to be traversed simultaneously
is equal to the number of channels belonging to the operating mode group. If several
direction keys are pressed simultaneously, the time sequence might decide which keys
are active.
• On the 840C M-version control, the PLC standard function block FB 79 can be used to
transfer the DIRECTION KEYS and RAPID TRAVERSE OVERLAY to the axis-specific
interface in the PLC according to the position of the axis selector switch. FB 67 is
available for this function on the 840C T version.
1 signal: While traversing in the JOG or REPOS setting-up modes via JOG +/, the rapid
traverse rate is selected.
0 signal: Traversing in JOG mode at the speed determined by machine data (MD 292*).
1 signal: The feedrate is stepped down by a factor of 100 in the setting-up modes.
0 signal: The feedrate determined by the NC MD for traversing in the jog mode (MD 299*)
is effective.
Note:
FEEDRATE 1:100 is effective only in the setting-up modes. FEEDRATE 1:100 and the
feedrate override switch then have a multiplying effect. In the automatic modes, this function is
activated by M 36 and M 37.
1 signal: No set speed value is output to the relevant machine axis (axis disabled). The
position control loop remains closed.
0 signal: Normal state.
Note:
• To avoid incorrect positioning, AXIS DISABLE must not be removed until after program
end or abort.
• As from SW 5.7, no axis synchronization to the actual real axis actual value is performed
when Axis disable is active.
Example of application:
Starting up a new NC program for the first time without axis traversing.
The interface control issues a TRAVEL LIMIT signal for both directions of each axis when a
travel limit switch is actuated. The provision of these axis and direction-specific signal obviates
the need for a retraction logic circuit in the interface control.
1 signal: Effects controlled approach or rapid deceleration with following error elimination.
0 signal: Normal state.
One of three braking methods applies when a travel limit switch is actuated:
a) Controlled approach
Initiated by the TRAVEL LIMIT signal. The NC brakes the axis in accordance with the
machine data for acceleration.
b) Rapid deceleration with following error elimination
If the "Instant stop at limit switch" bit is set in the machine data (NC MD 5003.7 common
to all axes), set speed = 0 is output immediately after the LIMIT SWITCH signal.
The position control loop remains closed and the following error is eliminated. The program
does not have to be restarted.
c) Rapid deceleration with maximum braking current
If controller enable is refused at the same time as the LIMIT SWITCH signal is output, the
position control loop is opened; the drives are then normally brought to a stop with
maximum braking current. Any following error is automatically worked in. The program has
to be restarted.
Overview
Braking method Rapid deceleration with Rapid deceleration with Controlled approach a)
maximum braking current c) following error elimination b)
Activated by Limit switch + controller "Limit switch" + "instant "Limit switch" signal
enable refusal stop at limit switch" bit
Notes:
• For axes, the actual value assignment for the 1st measuring system is made in NC MD
200*, for the 2nd measuring system the actual values are assigned in NC MD 1388*.
• For spindles in C axis operation, the actual value assignment for the 1st measuring system
is made in NC MD 200*, for the 2nd measuring system the actual values are assigned in
NC MD 400*. The spindle encoder (NC MD 400*) is always used for the spindle modes
and changeover of measuring systems is not possible.
• If a C axis is assigned to the spindle, all measuring system specific MDs must be entered
both for the spindle and the axis.
• The actual value of the selected measuring system is used for all functions, particularly for
position control and for absolute value computation. The 1st measuring system (NC MD
200*) is the reference system for axes and spindles in C axis operation and presets the
accuracy of position control.
• In the case of changeover of measuring systems the offset between the two actual values
is immediately traversed. A tolerance band can be specified in MD 1216* which the offset
between the actual values must not exceed. If the offset is greater than this tolerance, no
changeover takes place and an alarm is triggered.
• Reference point approach is carried out with the measuring system selected by the
MEASURING SYSTEM 1/2 signal.
_______
1) As from SW 2
2) As from SW 4
1 signal: The feedforward control is inactive. The active feedforward control parameters are
cleared when the signal is set.
0 signal: The feedforward control is activated. The feedforward control parameters defined
in the machine data are taken into account in set value computation. The
feedforward control is always active when the control powers up, it is not
deactivated until the signal is set.
“Set reference dimension” can be used to set an axis at any position to the “Axis referenced”
status without an explicit referencing process.
1 signal: • Setting of the absolute system to the value of MD 240*
• Enabling of LEC, IKA compensation
• Enabling of SW limit switch monitoring
• Setting of bit DB 32, DW k+0, bit 12, ”Reference point reached”
0 signal: Axis is not set to the "Axis referenced" status.
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
1 1 Set reference dimension
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
2 2 Reference point reached
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
If the axis to be referenced is not stationary, the “Reference point reached” signal is not set
and, in addition, the axis-specific RESET alarm MD 1028* “Unable to set reference dimension”
is triggered. The “Set reference dimension” function can be initiated in all operating modes.
You will find a detailed description of the functions in the Installation Guide, Section 10
(Installation of axis, spindle), in Section: Set reference dimension via PLC request (SW 4 and
higher).
1 signal: The NC waits for an external travel command to approach the reference point.
Internal travel commands are suppressed.
Travelling is possible without enabling, e.g. for manual axes. In the case of a
manual axis, the follow-up mode must be active.
0 signal: “Normal” referencing by the NC is active.
_______
1) As from SW 2
2) As from SW 4
Setting-up modes:
Notes:
• Feed disable is activated if at least one bit has a 1 signal.
• A message (error or operational message) can be allocated to any bit (see Section 12).
• FEED DISABLE is also effective for G33 (NC alarm: thread cutting, hold).
_______
1) As from SW 4
Acknowledge for ”Travel against fixed stop” signal active 1) DW K+122, bit 0
1 signal: TRAVEL AGAINST FIXED STOP ACTIVE (DRK+120, bit 6) not acknowledged
0 signal: TRAVEL AGAINST FIXED STOP ACTIVE acknowledged
Sensor signal for Travel against fixed stop reached 1), SFESTERRDL DW K+122,bit
1
a a
aa aa
aa
2
a a
aa aa
aa
3
a a
aa
aa aa
aa
4
aa
aa aa
a a
5
aa
a a
aa
6
aa
aa
a
aaa
aa
a
aaaaa
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaaa a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Signal chart: Select ”Travel against fixed stop” without switchover to current-controlled
operation
_______
1) As from SW 3
5: PLCOUT96
Selection of terminals 96 from the PLC
6: PLCOUT22
Selection of terminal 22 from the PLC FAF=Travel against fixed stop
aa
aaa
1
aa
a aa
a
2
aaa
aaaa
a
3
aa
aa
a
aaaa
aaaa
4
aa
a
a aa
aaa
5
aa
aa
a aa
aaa
6
aa
aa
a
a
aa
a
aa
a
aa
a
aa
a
aaa
aa
aa
aaa
aa
tum tum
aa
aa
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaaa a
Signal chart: Select ”Travel against fixed stop” with switchover to current-controlled
operation
5: PLCOUT96:
NFESTANER=0 + NFAFAKT=0 PLCOUT96=0 (current limiting not effective)
NFESTANER=0 + NFAFAKT=1 PLCOUT96=1 (current limiting is effective)
The signal must be set to 0 by the PLC after current-controlled operation (PLCOUT22=1)
was switched on and the time tum has elapsed.
6: PLCOUT22:
must be set by the PLC as follows dependent on NFESTANER:
NFESTANER=0 PLCOUT22=0 (current-controlled operation Off)
NFESTANER=1 PLCOUT22=1 (current-controlled operation On)
aa
aaa
1
aa
a aa
aaa
2
aa
a aa
a
3
aaa
aaaa
a
4
aaa
aaaa
a
5
aa
aa
a aa
aaa
6
aa
aa
a
Signal chart: Deselect ”Travel against fixed stop” without previous switchover to
current-controlled operation
5: PLCOUT96:
The PLCOUT96 output must be set by the PLC after NFAFAKT was set to 0 by the NC.
Caution:
The switching back of PLCOUT96 must be performed dependent on NFAFAKT.
6. PLCOUT22.
aa
a
1
aaa
aaaa
a
2
aaa
aaaa
a
3
aa
aa
a
aaaaa
aaaa
4
aa
aa
a
a aa
aaa
5
aa
a aa
aaa
6
aa
a
aaaa
a
a
a
a
tum
a
a
a
aaa
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
aaa
Signal chart: Deselect ”Travel against fixed stop” from current-controlled operation
Current setpoint: is set to 0 by the NC before NFAFAKT is reset.
1: NFAFAKT: TRAVEL AGAINST FIXED STOP ACTIVE DR x, bit 6
is reset by the NC as soon as the FAF deselection block (G220) is being processed.
2: NFESTANER: FIXED STOP REACHED DR x, bit 7
is reset by the NC together with NFAFAKT as soon as the FAF deselection block (G220) is
being processed.
3: QFAFAKT: ACKNOWLEDGEMENT TRAVEL AGAINST FIXED STOP ACTIVE
DL x+2, bit 0
must be reset by the PLC after the NC has set the NFAFAKT signal to 0.
1 signal: One pair of cams (1 ... 4) is assigned to the axis. One pair of cams can always be
assigned to one axis only via one bit of the PLC/NC interface, otherwise alarm 20
is output.
0 signal: The axis is not assigned to the cam pair.
As a result, the cam positions of one cam pair are invalid.
Actual parameter set number "Position control" (bit 0 .. 2) 2) DW K+123, bit 0-2
Actual parameter set number "Speed ratio" (bit 0 .. 2) 2) DW K+123, bit 3-5
These three bits can be used to switch over in binary coded form between a maximum of 8
parameter sets, e.g.:
001 =ˆ Parameter set 1
011 =ˆ Parameter set 3 etc.
Note:
The ”Parameter set changeover” function is described in the SINUMERIK 840C, SW 4
Installation Instructions.
1 signal: The actual speed lies within a defined range round the set speed (set range).
0 signal: Actual speed outside set range.
_______
1) SW 3 and higher
3) SW 4 and higher
1 signal: The current set speed value is overwritten with 0 and thus effects axis braking in
accordance with the acceleration ramp.
0 signal: No effect
Note:
This signal for the rotary axis is similar to the spindle-specific interface signal: "Input set value
0".
Note:
The signal is effective only during the program commands G103/G104; the "Commands are
inverted".
Reversal of the direction of rotation during the traversing movement is not possible with this
signal.
Note:
The override is effective only with ”Endlessly turning rotary axis” and not with ”Simultaneous
axis”.
E D C B A
1 0 0 0 0 1 0
2 0 0 0 1 1 1
3 0 0 0 1 0 2
4 0 0 1 1 0 4
5 0 0 1 1 1 6
6 0 0 1 0 1 8
7 0 0 1 0 0 10
8 0 1 1 0 0 20
9 0 1 1 0 1 30
10 0 1 1 1 1 40
11 0 1 1 1 0 50
12 0 1 0 1 0 60
13 0 1 0 1 1 70
14 0 1 0 0 1 75
15 0 1 0 0 0 80
16 1 1 0 0 0 85
17 1 1 0 0 1 90
18 1 1 0 1 1 95
19 1 1 0 1 0 100
20 1 1 1 1 0 105
21 1 1 1 1 1 110
22 1 1 1 0 1 115
23 1 1 1 0 0 120
24 1 0 1 0 0
25 1 0 1 0 1
26 1 0 1 1 1
27 1 0 1 1 0
28 1 0 0 1 0
29 1 0 0 1 1
30 1 0 0 0 1
31 1 0 0 0 0
Note:
The axis-specific override is not effective for simulaneous axes.
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
The K addresses for the following axes are:
1st axis K=0 10th axis K=36
aaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaa
2nd axis K=4 11th axis K=40
3rd axis K=8 12th axis K=44
4th axis K=12 13th axis K=48
5th axis K=16 14th axis K=52
6th axis K=20 15th axis K=56
7th axis K=24 :
8th axis K=28 :
9th axis K=32 30th axis K=116
1 signal: When the maximum acceleration limit of the following axis is reached, it can no
longer follow the leading axes/spindles. The resulting positional deviation to the
leading axes/spindles is added up and subsequently traversed after the
acceleration phase. Positional synchronism is then re-established.
0 signal: The positional deviation to the leading axes/spindles possibly occurring during
acceleration of the following axis is ignored. In such a case, the following axis is
no longer position-synchronous to the leading axes/spindles.
1 signal: The monitoring functions for the EXTENDED STOP AND RETRACTION are
activated. If one of the programmed errors occurs, the NC activates the
programmed reactions and the interface signal ESR RESPONSE IS TRIGGERED
is set.
0 signal: The retraction monitoring is not active.
_______
1) As from SW 3
2) The ESR function is described in detail in the Installation Instructions, SW 5.
1 signal: The compensatory controller is active. The current actual part positions of the
following axis and the leading axes/spindles are checked under consideration of
the linking factors. Additive set speeds are calculated from the deviations of the
actual part positions and output to the following axis.
0 signal: The compensatory controller is not active.
Note:
The compensatory controller is used to compensate for load variations. It increases the rigidity
of the link.
1 signal: "On-the-fly synchronization" was triggered via the PLC or NC. The synchronizing
operation has not yet been completed, the synchronous positions have not yet
been reached.
0 signal: On-the-fly synchronization is currently not active.
Notes:
• The signal is reset as soon as the synchronous positions are reached.
• The SYNCHRONOUS POSITION REACHED interface signal indicates that the
synchronous position has been reached.
1 signal: The link between at least 1 leading drive and the following axis is active.
0 signal: The link between the leading drive and the following axis is not active.
Note:
Programming of the linking factor "0" causes the signal to be reset.
1 signal: The following axis is under compensatory control due to a fault. As a result, the
set values for the following axis are obtained from the actual values of the leading
axis/spindle.
0 signal: The configured type of link between the following axis and the leading
axis/spindle is active.
1 signal: The set value for acceleration of the following axis is greater than the maximum
values specified in NC MD 276*. The following axis traverses at maximum
acceleration, the positional difference to the leading axes/spindles increases. The
alarm 1176* "Acceleration limit exceeded" is triggered.
0 signal: The current acceleration of the following axis is less than the maximum
acceleration.
1 signal: The set velocity of the following axis is greater than the maximum velocity
specified in NC MD 280*. The following axis traverses at maximum velocity. The
positional difference to the leading axes/spindles increases, synchronism is lost.
Alarm 1172* "Velocity limit exceeded" is triggered.
0 signal: The current velocity is less than the maximum velocity.
1 signal: The acceleration of the following axis has exceeded the warning threshold (NC
MD 1448*). The synchronism between the leading axes/spindles and the following
axis will be at risk if the acceleration is further increased.
0 signal: The acceleration is less than the acceleration warning threshold.
Notes:
• The signal is automatically removed by the control as soon as the current acceleration
drops below 7/8 of the warning threshold.
• Monitoring can be deselected by NC MD 1848* bit 3 "Suppression of acceleration limit".
1 signal: The velocity of the following axis has exceeded the warning threshold (NC MD
1448*). This involves the risk that the following axis can no longer follow the
leading axes/spindles and synchronism between the leading axes/spindles and
the following axis is lost.
0 signal: The velocity is less than the velocity warning threshold.
Note:
The signal is automatically removed by the control as soon as the current velocity drops below
7/8 of the warning threshold.
1 signal: The positional deviation of the following axis from all configured leading
axes/spindles is less than the tolerance band "Synchronous operation fine" (NC
MD1436*).
0 signal: The positional deviation of the following axis to all configured leading
axes/spindles is greater than the tolerance band "Synchronous operation fine"
(NC MD 1436*).
1 signal: The positional deviation of the following axis to all configured leading
axes/spindles is less than the tolerance band "Synchronous operation coarse"
(NC MD1440*).
0 signal: The positional deviation of the following axis to all configured leading
axes/spindles is greater than the tolerance band "Synchronous operation coarse"
(NC MD 1440*).
1 signal: The axis has triggered the ”Extended stop and retraction”.
0 signal: ESR response is not triggered.
Note:
The PLC can recognize from this signal whether a GI grouping was defined for an axis, even if
the link is not active.
.1 signal: When an "Extended stop and retraction" has been programmed via the G
commands (G422 to G426). With this signal, a response can be started via the
interface signal "ESR response enabled".
0 signal: An ESR response for this axis has not been programmed.
1 signal: This signal is set if a link is to be switched on (Source: part program, PLC or
input image), however, the conditions for activation (e.g. signal INTERLOCK LINK
ON) are not yet satisfied. Block change of the part program is halted as long as
these conditions are not met.
0 signal: No change of the LINK OFF status has been requested.
_______
1) As from SW 4
2) The ESR function is described in detail in the Installation Instructions, SW 5.
1 signal: This signal is set if a link is to be switched on (Source: part program, PLC or
input image), however, the conditions for activation (e.g. signal INTERLOCK LINK
ON) are not yet satisfied. Block change of the part program is halted as long as
these conditions are not met.
0 signal: No change of the LINK OFF status has been requested.
0/1 edge: Emergency retraction monitoring of the following axis is switched on.
Notes:
• The emergency retraction threshold is preset in NC MD 1444*.
• The ACTIVATE ESR MONITORING signal is set as check-back signal.
• As from SW 4, errors leading to ESR responses can be programmed; the signal is not
restricted to MD 1444*.
0/1 edge: On-the-fly synchronization of the following axis with all configured leading
axes/spindles is triggered. A LINK ON is internally generated. The signal
SYNCHRONIZATION ACTIVE is set. This bit is removed by the system as
soon as the synchronous positions are reached and the SYNCHRONOUS
POSITION REACHED signal is set.
0/1 edge: Activation of the link of all configured leading axes/spindles with the following
axis with the current linking factors.
Notes:
• This signal is active for all configured leading axes/spindles. Selective coupling via the
PLC is not possible. The linking factors must have been programmed in advance or
adopted from the GIQ data during ramp-up.
• The LINK ACTIVE signal is set by way of acknowledgement.
0/1 edge: Emergency retraction monitoring of the following axis is switched off.
Notes:
• The ACTIVATE ESR MONITORING signal is reset as check-back signal.
• As from SW 4, errors leading to ESR responses can be programmed; the signal is not
restricted to MD 1444*.
_______
1) The ESR function is described in detail in the Installation Instructions, SW 5.
0/1 edge: Deactivation of the link of all configured leading axes/spindles with the
following axis.
Notes:
• This signal is active for all configured leading axes/spindles. Selective decoupling via the
PLC is not possible.
• The LINK ACTIVE signal is reset by way of acknowledgement.
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
CORRECT SYNCHRONISM DIFFERENCE DW K+3, bit 7
1 signal: The PLC signal "Correct synchronism differnce" corrects the setpoint to the
following address by the synchronism error between the leading and following
addresses so that the synchronism difference no longer results in a system
deviation. Both the controller and drive must be enabled and the gearbox coupling
must be switched on while this signals is applied.
0 signal: Position and/or compensatory controller correct the synchronism error.1
Notes:
• This function is particularly important where synchronous spindle pairs are used. When the
workpiece is transferred by the following drive, an angle offset between the leading and
following drives can result for mechanical reasons when the chuck is closed. This offset
cannot be eliminated while the drives are coupled via the workpiece. Involvement of a
position controller/compensatory controller would cuse a torque bias. This con be avoided
with the signal CORRECT SYNCHRONISM DIFFERENCE.
• The signal schould be activated:
– After closure of the mechanical coupling, if the power transmission is without slip.
– When the drives are mechanically coupled and position control is activated.
• If both drives are mechanically coupled the signal must be canceled so that precise
synchronization is maintained.
Notes:
• The acceleration limit synchronous for the following axis ensures that the following axis will
traverse positionally synchronous to the leading axes/spindles after accelerations. Any
positional deviations possibly occurring during acceleration are added up and traversed
after the acceleration phase.
• The ACCELERATION LIMIT SYNCHRONOUS ACTIVE signal is set as soon the
acceleration limit becomes active.
1 signal: With this static signal, the PLC can enable a programmed ESR response (the
"ESR response is programmed" signal). Axis movement is not possible without
this signal (safety signal).
Note:
• The axis monitoring function can also be switched on/off from PLC. If it is
switched on from PLC, it can also only be switched off from PLC. If it is switched
off from PLC, it is switched off for all channels.
Notes:
• The compensatory controller serves to compensate for load variations. It increases the
rigidity of the link.
• The COMPENSATORY CONTROLLER ACTIVE signal is set by way of acknowledgement.
1 signal: An additional motion can be overlaid on the movement of the following axis
predetermined by the leading axes/spindles. This overlaid movement can be
predetermined via G91 in the part program, in JOG or INC or via the command
channel functions, i.e. path dimension or division increment.
0 signal: No overlaid movement of the following axis is possible.
Notes:
• Alarm 1168* ”Following axis overlay not enabled” is triggered when an attempt is made to
traverse the following axis with a overlaid movement without an enable.
• Following axis overlay is also effected with ”On-the-fly synchonization”.
_______
1) As from SW 4
2) The ESR function is described in detail in the Installation Instructions, SW 5.
1 signal: The link between the following axis and the leading axes/spindles cannot be
switched off.
0 signal: The link between the following axis and the leading axes/spindles can be
switched off.
Notes:
• If this interlock signal was present when a LINK OFF was programmed, the link is not
switched off until this interlock signal is reset.
• Block change is interlocked as long as this signal is present and a link is to be switched
off. The REQUEST LINK OFF signal is set.
1 signal: The link between the following axis and the leading axes/spindles cannot be
switched on.
0 signal: The link between the following axis and the leading axes/spindles can be
switched on.
Notes:
• If this interlock signal was present when a LINK ON was programmed, the link is not
switched on until this interlock signal is reset.
• Block change is interlocked as long as this signal is present and a link is to be switched
on. The REQUEST LINK ON signal is set.
• The signal has no effect on an active link.
Feed disable
• If feed disable is active for a following axis, the leading axes and leading spindles which
are part of the GI grouping are also stopped.
1)
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
6–36
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
Note:
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
0 signal:
1 signal:
0 signal:
1 signal:
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
_______
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
Drive ready
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
FDD as from SW 4
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
DW K+120, bit 5
DW K+120, bit 4
DW K+120, bit 3
6FC5197- AA00
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
FDD:
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
issued.
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
0 signal:
1 signal:
0 signal:
1 signal:
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
P53 bit 13 = 1
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
6FC5197- AA00
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
Drive switched on/drive has ramped up
ZK2 message, heat sink temperature too high. If the temperature remains too high, a ZK1
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa
ZK2 message, motor temperature exceeds the value in P063/P291 with MSD and in P1602
this case, there will be no reaction in the drive. If the motor temperature = 0 is still measured
DW K+120, bit 9
DW K+120, bit 8
DW K+120, bit 7
DW K+120, bit 6
6–37
6.3.1 Axis-specific 611D signals (DB 29)
1)
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
6–38
FDD:
aaaaaaa aaaaaaa aaaaaaa
MSD:
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
_______
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
Message 6:
Message 5:
Message 4:
Message 3:
Message 2:
Message 1:
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
As from SW 4
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
n–act < n–x
aaaaaaa aaaaaaa aaaaaaa
M–d < M–dx
ZK2 message that the DC link voltage has fallen below the value determined in MD 1634 as
aaaaaaa aaaaaaa aaaaaaa
DW K+120, bit 10 ... 15
DW K+121, bit 1
DW K+121, bit 0
responses are initiated which are defined in MD 1636. The machine data (MD) are described
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
6FC5197- AA00
aaaaaaa aaaaaaa aaaaaaa
When the DC link voltage falls below the emergency retraction threshold, emergency retraction
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
aaaaaaa
Emergency retraction or DC link generator active1) DW K+121, bit 2
UZWK
600V
aaaaaaaaaaa
aaaaaaaaaaaaaaa
MD 1633
MD 1631
+
MD 1632
aaaa
MD 1631
aaaa
aaaa
t
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
aaaaaaaa
ZK2
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
"ZWK_GEN_AKTIV"
aaaa
aaaa
t
_______
1) As from SW 4
1)
aaaaaaaaaa aaa
aaaaaaaaaa aaa
aaaaaaaaaa aaa
aaaaaaaaaa aaa
6–40
aaaaaaaaaa aaa
aaaaaaaaaa aaa
aaaaaaaaaa aaa
aaaaaaaaaa aaa
aaaaaaaaaa aaaa aaa
_______
aaaaaaaaaa aaaa aaa
aaaaaaaaaa aaaa aaa
aaaaaaaaaa aaaa aaa
aaaaaaaaaa aaaa aaa
aaaaaaaaaa aaaa aaa
aaaaaaaaaa aaaa aaa
aaaaaaaaaa aaaa aaa
As from SW 4
aaaaaaaaaa aaaa aaa
aaaaaaaaaa aaaa aaa
DC link voltage
Speed
aaaaaaaaaa aaaaaaaa aaaa aaa aaaa aaaa aaaa aaaaa aaaaaaa aaa
"ZWK_GEN_AKTIV"
aaaaaaaaaa aaaaaaaa aaaa aaa aaaa aaaa aaaa aaaaa aaaaaaa aaa
MD 1632
MD 1634
aaaaaaaaaa aaaaaaaa aaaa aaaa aaaa aaaa aaaaa aaaaaaa aaa
MD 1631
MD 1633
280V
600V
nGen
ZK2
aaaaaaaaaa aaaaaaaa aaaa aaaa aaaa aaaa aaaaa aaaaaaa aaa
aaaaaaaaaa aaaaaaaa aaaa aaaa aaaa aaaa aaa
6 Axis/PLC Interface (DB 32/DB 29)
aaaaaaaaaa
aaaaaaaaaa aaaaa
aaaaaaaaaa aaaaa
aaaaaaaaaa aaaaa
aaaaaaaaaa aaaaa
Speed
setpoint
aaaaaaaaaa aaaaa
aaaaaaaaaa aaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa aaa
aaaaaaaaaa aaa
aaaaaaaaaa aaa
aaaaaaaaaa aaa
aaaaaaaaaa aaa
aaaaaaaaaa aaa
Operating mode6
aaaaaaaaaa aaa
aaaaaaaaaa
Generator operation
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa aaaa
by NC
aaaaaaaaaa aaaa
aaaaaaaaaa aaaa
Ramp up
aaaaaaaaaa aaaa
ZK2 message that the generator speed has fallen below the value of the minimum speed of
Time
aaaaaaaaaa aaaa
DW K+121, bit 3
aaaaaaaaaa aaaa aaaa aaaa
aaaaaaaaaa aaaa aaaa
6FC5197- AA00
aaaaaaaaaa aaaa aaaa
Generator operation
2)
1)
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
07.97
MSD:
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
0 signal:
1 signal:
0 signal:
1 signal:
_______
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
As from SW 4
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
6FC5197- AA00
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa
decelerated and resumed its former operating mode.
DW K+122, bit 3
DW K+121, bit 15
6–41
6.3.1 Axis-specific 611D signals (DB 29)
1)
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
6–42
FDD:
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
MSD:
MSD:
MSD:
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
1 signal:
0 signal:
1 signal:
0 signal:
1 signal:
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
_______
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
As from SW 4
MSD and FDD:
MSD and FDD:
Pulse enable
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
motor switchover.
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
Integrator disable
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
Disable pulses
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
6 Axis/PLC Interface (DB 32/DB 29)
Enable integrator
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
Disable integrator
Reserved for future applications
Enable pulses (only enabled if all other enable signals are present)
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
DW K+122, bit 9
DW K+122, bit 7
DW K+122, bit 6
DW K+122, bit 5
DW K+122, bit 4
DW K+122, bit 10
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
6FC5197- AA00
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
MSD:
Note:
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
0 signal:
1 signal:
aaaaaaa aaaaaaa
0
aaaaaaa aaaa aaaaaaa
aaaaaaa aaaa aaaaaaa
aaaaaaa aaaaaaa
aaaaaaa aaaaaaaaaaaaaa aaaaaaa
aaaaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
aaaaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
XR
aaaaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
XINT
aaaaaaa aaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
XINT
N–soll
aaaaaaa aaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
=
=
=
=
aaaaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
aaaaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
aaaaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
Set speed smoothing
N–soll (k-1)
aaaaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
XR
aaaaaaa aaaaa aaaaaaaaaaaaaa aaaaaaa
6FC5197- AA00
aaaaaaa aaaaa aaaaaaa
aaaaaaa aaaaa aaaaaaa
N–NRS
aaaaaaa aaaaa aaaaaaa
aaaaaaa aaaaa aaaaaaa
2 XR
aaaaaaa aaaaa aaaaaaa
aaaaaaa aaaaa aaaaaaa
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
The effect of the signal depends on the parameterization of the drive test by the user.
stopped and the drive subsequently resumes its former operating mode.
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
PLC enable for drive test is present. The drive test (traversing movement) is
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
If the drive test is already active (drive in motion), the traversing movement is
aaaaaaa aaaaaaa
Activates interpolation of the setpoint speed from the position controller cycle into the speed
aaaaaaa aaaaaaa
DW K+123, bit 15
DW K+122, bit 11
aaaaaaa aaaaaaa
Selection can be made in the "Function generator" and "Measurement" installation functions if
aaaaaaa aaaaaaa
PLC enable missing. The drive test is aborted on NC Start, i.e. the travel request
aaaaaaa aaaaaaa
aaaaaaa aaaaaaa
6 Axis/PLC Interface (DB 32/DB 29)
aaaaaaa aaaaaaa
6–43
6.3.1 Axis-specific 611D signals (DB 29)
aaaaaaa aaaaaaa
6 Axis/PLC Interface (DB 32/DB 29) 10.94
6.4 Structure of M decoding list (DB 30)
1st value DW 0 DW 1 DL 2 DR 2
2nd value DW 3 DW 4 DL 5 DR 5
_______
1) As from SW 4
Notes:
1) The bit No. refers to the static signal. The dynamic signal (bit address in DL) is addressed
automatically.
2) The M addresses must be stored in ascending order, i.e. first all M addresses with
extended address 1, then extended address 2 etc. Within a group (extended address), the
M addresses must also be addressed in ascending order (see example for decoded M
function).
3) The decoding list may be compiled with 6, 12, 24, 48, 96 or 192 data words only. If the
number of M functions lies between the stated values, round up to the next permissible
number and fill up the remaining data words with zero.
Example:
For 9 M functions, the DB must be set up with 48 DWs.
1 M function 6
2 M functions 6
4 M functions 12
8 M functions 24
16 M functions 48
32 M functions 96
64 M functions 192
Decoded M function:
M2= 8 SETS D 5.3
M2= 15 SETS D 5.5
M3= 10 SETS D 20.5
M3= 61 SETS D 21.6
Program
channel 3 DB 80 PB 10
. DB 30 Channel 1
. Decoding list
. channel 1 M signals according
N5 M3=80 to list
.
.
.
Signals for
Operating channel 1
program
Program
channel 1 PB 30
. Channel 3
.
. Signals for
N20 M1=79 channel 3
. DB 82
.
.
Decoding list
channel 3
END OF SECTION
7.1 General
MMC
NC initiative:
reading and
writing of PLC
data via @ Link RAM
commands Read/write Data
command PLC
operating
NC
Data driver system PLC data
initiative
a
a
a
a
a
a
a
a
a
a
a
aaaaaaaaaaa a
aaaaaaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
aaaaaa a
Command
Cycles
a
a
a
a
a
a
a
a
a
a
aaaa
aa a
a
a
a
a
a
Read/write
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
Data
a
a
a
a
a
a
a
a
a
a
aaa
aaa
a
a
a
a
a
PLC status Data type
aaaaa
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
PLC data
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
@ com-
a
a
a
a
a
a
a
a
a
a
Data
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
mands
PLC initiative:
FB 62
reading and
writing of NC PLC
initiative Write NC
data NC data data DB
Command
aaa
a
a
a
a
a
a
a
a
aa
a
a
a
a
aa
a
a
a
a
a
a
aaaaa
a
a
a
a
a
a
a
a
aa
aaa
aaa
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
aaaaaaaaaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
Data
aaa
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aa
a
a
a
a
Read
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
NC
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
data
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
NCK PLC
a
a
a
a
a
a
a
a
a
a
a
With data transfer activated by the PLC, the following NC data can be read/written:
– Machine data – External set values
– Setting data – Program data
– Tool offsets – Program selection
– Zero offsets – R parameters
– Actual values – NC alarms
– Softkey functions
– Write NC blocks
Note:
As from SW 4 of SINUMERIK 840C, the "Flexible memory configuration" function enables
operator intervention in the memory configuration.
Modifications can thus be programmed in the following area (see "Installation Instructions
SW 4"):
1. User data
• Part programs
• UMS data
• IKA data
• R parameters
• Tool data
2. Drive software
3. Number of axis-specific measured values
4. Number of block buffers in the block memory.
CL 800 word FB
Group Area
parameterization
Machine General 0 – 999 MDN <Word>
data NC
Channel-specific 1000 – 1999
Axis-specific 1 2000 – 3999
Spindle-specific 4000 – 4999
Axis-specific 2 1100 –14519
CL 800 word FB
Group Area
parameterization
Machine General 5000 – 5199 MDNBI <Byte>
data NC <Bit>
Channel-specific 5400 – 5599 MDNBY <Byte>
Axis-specific 1 5600 – 5999
Spindle-specific 5200 – 5399
Leadscrew error 6000 – 9699
compensation
Axis-specific 2 1800 – 1900
Note:
The @ command allocations are to be found in the ”SINUMERIK 840C Programming Guide”
D1 1
.
.
. TO area 1
Chan- Dn
nel TO area Offset
1 1 D1
.
. TO area 2
.
2 1
Dn
3 2
.
4 4
.
.
52) 52)
62) 62) D1
.
. TO area n
.
Dn 204
(819) 1)
_______
1) As from SW 4, flexible memory configuration and thus modification of the TO memory is possible (see
Installation Instructions)
2) As from SW 4
D1
D2
Dn
D1
D2
Dn
The significance of P memories P0 to P4 and P10/P11 is fixed, whereas columns P11 to P15
can be assigned in accordance with the specific machine (e.g. service life, quantity,
permissible cutting force).
As standard, the contents of P memories P5 to P7 are taken into account as wear. This
function can be deactivated with machine data 5007.6. The P memories P8 and P9 can be
declared as additional tool offset memories by machine data (MD 5007.3) and thus also be
taken into account. Alternatively, they can be assigned by the user.
The number of P memories is determined by machine data. The minimum number is 10, thus
giving a total of 409 (819)2) one-edged tools.
Decade 100 determines in which direction of the selected compensation plane the offsets are
to be effective.
P2 ... P9: Assignment depends on type, as follows:
(P8/P9 only with MD 5007.3=”1”)
Type Geometry
P2 P3 P4
1 ... 9 Length 1 Length 2 Radius
10 ... 19 Length --- ---
20 ... 29 Length --- Radius
30 ... 39 Length 1 Length 2 Radius
Depending on these machine data, the values P2/P5/P8, P3/P6/P9 and P4/P7 are added on.
P10: With multi-edged tools (e.g. recessing tools), the D No. for the next cutting edge is
stated (0 = no text cutting edge). With the last cutting edge, reference is made to
the address of the 1st cutting edge, but with a minus sign.
Lathe tools
P0 P1 P2 P3 P4
Dn 100 1..9 X Z R
X Z - X Z SZ ST
_______
1) Standard setting (MD 5007.6)
2) Activated by MD 5007.3 otherwise unassigned
P0 P1 P2 P3 P4
Dn 100 1..9 X1 Z1 R1
Dm 100 1..9 X2 Z2 R2
Dn X1 Z1 - X Z m 0 SZ ST
Dm X2 Z2 - X Z 0 n - -
Programming: Tool call: T 100 (Dn) (e.g. for left cutting edge)
:
:
Dm (e.g. for right cutting edge)
7.1.3 R parameters
The NC CPU has channel-oriented R parameters for each channel. In addition, central R
parameters common to all channels are stored in the static RAM.
The channel-oriented and central R parameters are differentiated by the R parameter
addresses.
Local, global, transfer R parameters and pointers are available for each channel. To ensure
that cycles compiled at various locations can operate smoothly together, the R parameters are
defined for the individual tasks as follows:
Transfer R parameters:
These are used to transfer values between subroutines. They must be provided with the
desired values before calling a subroutine.
Local R parameters:
These are valid only within a subroutine. When a subroutine is called, the contents of the R
parameters required in the subroutine for local variables are saved at the start of the
subroutine and uploaded again at the end. This means that the original value is present in the
”local” R parameters again after returning to the program from which the call was made. By
saving and uploading the ”local” R parameters, the same parameters can be used repeatedly.
Pointers:
R parameters as pointers are used primarily for indirect data field addressing. The command
does not contain the address of the line out of which something is to be read or into which
something is to be entered, but the address of an R parameter containing the address of the
line.
Examples:
R67 0 R50
=R50
Transfer
V R67
R67 60 R50
=R50
0 R60
Transfer
V R67
The address of the R parameter whose contents are to be read out is located in the cell to
which the 2nd operand of the command points.
Since pointers belong to the group of local variables, they are also saved and uploaded. They
can therefore be used for multiple assignments.
Global R parameters
These retain their validity over all program levels. They can therefore be used to exchange
information between all subroutines of a single channel.
For declaration purposes, global R parameters are divided into channel-dependent declared
(R100 - R149) and channel-independent declared (R150 - R199 ) R parameters.
R parameters R100 - R149 can be declared differently for each channel, whereas R
parameters R150 - R199 can be declared jointly for several channels.
Subroutines that run only on one specific channel (e.g. machine-dependent cycles), therefore,
use the R parameters between R100 and R149. All programs that run on several channels
(e.g. standard cycles) use the R parameters R150 - R199.
Central R parameters:
The central parameters are R parameters and common to all channels. These R parameters
only exist once but can be read and written from all channels.
Machine Programmed or
actual value external position
DRF offset
– + Total of all
offsets
Workpiece-
oriented actual
value
Data can be exchanged between the PLC and NC via data channels.
2 function blocks for activating the transfer of data are available in the system program:
Read NC data (FB 61) and write NC data (FB 62).
LInk
RAM FB61 NCD-LES
DB 36
Status-
data
transfer
DB n
Data
The function blocks enter the parameters for data transfer (data type, data source, data
destination) in an internal interface. The interface is a first-in first-out (FIFO) register with a
maximum capacity of 8 jobs. Even when several jobs are involved, this ensures that they are
executed in the correct sequence.
Each job must still be allocated an interface byte indicating the status of data transfer (DB 36,
DW 0 - DL 32 corresponds to 65 interface bytes). Data transfer can be checked and branches
can be implemented in the user program according to these acknowledgements.
READ
(FB 61) 1 2 1
Data transfer
assigned 1
Data transfer
ended
1 FB internal implementation
2 User implementation
If data transfer is initiated at FB 61 at the READ input, for example, the DATA TRANSFER
ASSIGNED signal is immediately output at the interface. Since this signal remains present until
the end of data transfer, it can be used to effect read-in disable, for instance. When data
transfer has ended, the DATA TRANSFER ENDED signal is output; this signal is not reset until
the user cancels the READ signal at the FB.
In order to reduce the load on the PLC program caused by repeated calls of the FB 61/62
function blocks, they can be called either unconditionally or conditionally.
The advantage of an unconditional block call is that the FB can be easily initialized. However,
in the inactive state of data transfer, approx. 0.2 ms of the PLC cycle are taken up by the
block change and some logic operations.
8
8
1
7 7
2
7
9
3
9 7
tD
4
7 7
5
7
a
aa
a
aa
aa
tc
aa
a
a
1: READ/WRITE
2: DAA TRANSFER REQUESTED
3: FIFO ASSIGNED
4: DATA TRANSFER BUSY
5: DATA TRANSFER ASSIGNED
6: DATA TRANSFER ENDED and (possibly) error
7: Signal change by FB
8: Signal change by user
9: Signal change by FB; omitted if FIFO not yet full
tD: Assignment of internal interface by data transfer
t c: PLC cycle time
Alternatively, the FBs can also be called conditionally; i.e. the FBs have to be processed only
until the job has been transferred to the job buffer (FIFO). This is indicated by the DATA
TRANSFER BUSY signal. In the inactive state of data transfer, only approx. 0.008 ms of the
PLC cycle are taken up.
1
9
tc
2
10
7
7
3
10
tD
4
7 7
5
7
tc
6
1: READ/WRITE
2: DATA TRANSFER REQUESTED
3: FIFO ASSIGNED
4: DATA TRANSFER BUSY
5: DATA TRANSFER ASSIGNED
6: DATA TRANSFER ENDED and (possibly) error
7: Signal change by FB
8: Signal change by user
9: User no longer calling block
10: Signal change by FB; omitted if FIFO not yet full
tc: PLC cycle time
tD: Assignment of internal interface by data transfer
If the function blocks are incorrectly parameterized (e.g. data source in the PLC unknown), the
PLC branches into the stop loop. The number of the interface byte and an error ID are stored
in ACCU2 of the interrupt stack.
PLC
FB 61 NCD-LESE
F150.0 – LESE Function:
16 – NSBY
1 – ANZ Actual value of axis 3 is
AC – DTY1 transferred in DB 150 into DW 10
PM – DTY2 and 11
– DTY3 (BCD number without decimal
3 – WER 1 point)
0 – WER 2
0 – WER 3
B0 – ZFPN
150 – DBZI
10 – DWZI
DB – TYZI
Parameterization of FB 61 for reading the ”machine-oriented actual axis value” of the 3rd axis
In the case of data transfer by the PLC, the number format is converted according to
parameter ZFPN of FBs 61 and 62. In principle, the following number formats are possible:
DW n
»ZFPN« Bit 31 Bit 16
1234.5678
Format Bit 15 Bit 0
conversion
DW n+1
F0 1234
F1 1234
F2 12345
F3 123456
• •
• •
• •
NC/PLC data transfer, format conversion with fixed-point representation in the PLC
For further information on parameterization of FB61 and FB62, refer to the description of
function macros.
1 signal: Job cannot be entered in FIFO at the moment. With READ and WRITE = 1,
repeated attempts are made until successful.
0 signal: No effect
Example of application:
Actuation of READ-IN DISABLE during data transfer.
1 signal: Job completed with NC error message. The number format FB parameter is
inadmissible (e.g. an actual axis value is read as a bit pattern).
0 signal: After 1 signal only if READ/WRITE signal is again 0.
1 signal: The job is rejected as the interface is assigned or access to the data field is not
possible.
0 signal: No effect.
Note:
The job is rejected if, for example, one tries to preselect a program number via FB 62 and the
channel in question is not in the reset state.
1 signal: Job completed with NC error message. The VALUE 1 - VALUE 3 FB parameters
cannot be interpreted by the NC (e.g. a non-existent machine data is addressed).
0 signal: After 1 signal only if READ/WRITE signal is again 0.
MMC
Link RAM
Read/write
Data
command
PLC
NC operating
Data driver initiative system PLC data
aaaaa
a
a
a
a
a
a
a
a
a
aaaaaaaaaaa a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
Cycles PLC Command
aaaaa
a
a
a
a
a
a
a
a
a
a
aaaaa
a
a
a
a
a
a
a
a
a
aa
Read/write
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
status @ Data
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
PLC data Data type
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
commands
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
Data
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
NC PLC
PLC data for the NC CPU can be read and written using @ commands in the cycle language
CL 800.
Appropriate commands are available for data types E, A, M, T, Z, D (see CL 800 documenta-
tion). Data from the PLC are written in R parameters by the @ command; data to the PLC
must be entered in an R parameter before calling the @ command. This function permits data
to be exchanged between the PLC and NC cycles without a PLC user program; the user
merely has to reserve certain data storage areas (e.g. a data block) in the PLC for data
transfer purposes.
Note:
In the event of major data storage areas being altered in the PLC by an NC program, users are
recommended to set a strobe bit in the PLC after completing the data transfer. This obviates
the need for time-consuming comparisons of data fields to identify alterations. Certain bits can
be set in the PLC as strobes via @ commands; M functions can also be used.
END OF SECTION
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
aaaaaaaaaaaa
As from software version 3, the data transfer through the RS232C (V.24)
aaaaaa
aaaaaa
aaaaaa
aaaaaa
can be controlled via DB 37.
1 signal: The signal "FTR in progress" (File Transfer in progress) is only set if a file
transfer has been requested by the user (via DB 37 or "Computer link file
transfer" display).
0 signal: No File Transfer in progress
1 signal: Start of data transfer from MMC to NCK or from RS232C (V.24) to MMC
0 signal: By the user at:
a) TRANSFER ENDED
b) ERROR DURING DATA TRANSFER
Notes:
• After the start of data input, data must be available at the interface within the set time
(device setting) or else the monitor will respond.
• All parameters must be assigned before activating data transfer.
• When a name is specified for a data file, only this data file of the workpiece is transferred.
• The workpiece is stored under MMC data management.
1 signal: Start of data transfer from NCK to MMC or from MMC to RS232C (V.24)
0 signal: By the user at:
a) TRANSFER ENDED
b) ERROR DURING DATA TRANSFER
Notes:
• Several data files of one type can be transferred, as MPF [from, to] or SPF [from, to].
• All parameters must be assigned before activating data output.
Note:
The error message can be triggered by:
a) Missing or erroneous data at data input
b) Incorrect data type at data output
c) By transmitting several data files without waiting for the acknowledgement signal between
the data files
d) Wrong assignment of the function (e.g. wrong channel number or wrong device number)
Signal charts:
1 3
Data input/output
1. Data start output or input
2. TRANSFER ENDED or ERROR DURING DATA TRANSFER
3. User cancels signal 1
4. PLC operating system cancels signal 2
DATA TYPE DW 2, DW 3
INITIAL NUMBER DW 4
END NUMBER DW 5
CHANNEL NUMBER DL 6
The following table shows which initial number, end number and channel number is assigned
to the individual data words.
(G54 -G57) – – 0
”ZOA” Zero offsets
Angle of rotation – – 1–6
Note:
• The ASCII characters DATA TYPE FOR DATA OUTPUT must be entered left-justified.
• The data type "JOB" is only possible for data transfer from the hard disk to the NCK and
RS232C (V.24). It triggers the generation of a "workpiece list" in which the data to be
transferred to the NCK can be defined. If no workpiece list is available, all the data in the
specified directory are transferred.
_______
1) As from SW 4, the "Flexible memory configuration" function can be used to program a modification in the
memory areas, depending on the NCK CPU used. You can thus shift the initial and end numbers of the
memory areas. Observe the following when entering the end number:
maximum values R parameters 9999
TOA 1638
IKA3 65535
Example:
Output of part programs 10 to 20
.
.
.
C DB 37
L KCMP
T DW 2
L KCF
T DW 3
L KF 10
T DW 4
L KF 20
T DW 5
SU D 1.9
.
.
.selected workpiece is not available for transfer from MMC to NCK
Error code DW 7
Error code
Error
(hexadecimal)
03 General error (e.g. diskette is not inserted)
04 The RS232C (V.24) interface is disabled (through WOP or PG-SW)
40 The selected workpiece is not available for transfer from MMC to NCK
4F Several data files have been transmitted without waiting for an
acknowledgement signal
44 The function has been incorrectly defined, e.g.
– wrong channel number
– wrong device number
DW 8 DW 9
Device in plaintext
Device type Device numbers
Hard disk in MMC area
0 –
(workpiece name DW 10 - DW 15 must be entered)
RS232C (V.24) hard disk 1st to 3rd interface
2 number
(specification of workpiece name)
All errors occurring in data transfer NCK MMC are output in the form of dialog boxes.
Workpiece name DW 10 to DW 15
Here the workpiece name can be entered in ASCII code in string form (max. length 8 bytes). It
defines a directory (workpiece) with which the specified data are transferred. The workpiece
name is completed with the end identifier 0H.
For a more accurate specification of the JOB data type, it is absolute necessary to add the
workpiece name. For the workpiece name, a maximum of 8 characters are entered left-
justified. The specification is made in KC format.
The workpiece name is always a subdirectory of the directory LOCAL.
Bit 0 = 1 Read part programs from the NCK into the device defined in DW 8
Bit 1 = 1 Read program data from the NCK into the device defined in DW 8
Bit 0-1 = 0 No significance
END OF SECTION
Note:
If several keys are pressed at the same time, only the key that was pressed first will have any
effect.
The display on the screen can be changed to a specific operating mode by pressing the
OPERATING MODE GROUP key or, in the case of SINUMERIK 840C, selecting OPERATING
MODE GROUP in the machine window. The number of the operating mode group valid for the
display is output as a binary number.
When the control is switched on, 0 is output; that is not the operating mode group that is
obtained automatically after the control has run up.
a
aa
aa
aa
aa
a a
a a
aa
aa
a a
aa
aa
aaa
aa
aa
aa
aa
a
aaaaaaaaaaaaa aa
aa
aa
aa
aa
a 9.1.2
aaaaaa a aaaaaaaaaaaaa
a
PLC
aaaaaa a aaaaaaaaaaaa
Function signals
aaaaaa a aaaaaaaaaaaaa
a
aaaaaa a aaaaaaaaaaaa
Allocated
aaaaaa a aaaaaaaaaaaaa
aa a aa aaa aa aaaa
aaa
aa
aa
aa
aaaaaa
aa
aa
aa
aa
aa
aa
aa
aa
aaaa
aaa
a
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aaaaaaa a aaaaaaaaaaaaa
a
aaaaaa a aaaaaaaaaaaa
function number
a a aa aaa aa aaaaaaaaa a aaaaaaaaaaaaa
MENUE
a
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aaaaaaa a aaaaaaaaaaaaa
aaaaaa a aaaaaaaaaaaa
NUMBER
FUNCTION NUMBERS.
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa a
Example of application:
a a aaaaaaa a aaaaaaaaaaaaa
a
aaaaaa
aaaa
aaaaa
aaaa
aaa
aa
aa
aa
aa
aa
a a
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
aaaaaa
aaaa
aa
aaaa
aaaa a
aaaaaaaaaaa
aa a
aa
aa
aa
aaaaaaaaa
aa
ON
a
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
a
aa
aaa
aa
aa
aaaaaaaaa aa
aa
aa
aa
aa
aaa
a a aa aaa aa aaaaaaaaa a a
aa
aaa
aaaaaaaaaa
a
aaaaaa a a aaaaaaaa
MOTOR
a
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aaaaaaa a aaaaaaaaaaaaa
aaaaaa a aaaaaaaaaaaa
DB 40
aaaaaa a aaaaaaaaaaaaa
static,
14
aaaaaa a aaaaaaaaaaaaa
COOL-
aaaaaa a aaaaaaaaaaaaa
signals
system
ANT ON
Softkey function signals
aaaaaa a aaaaaaaaaaaaa
a
aaaaaa a aaaaaaaaaaaa
Function
dynamic/
menu no.
aaaaaa a aaaaaaaaaaaaa
Operating
aaaaaa a aaaaaaaaaaaaa
a
a
aa
aa
aa
aa
aa
a a
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aaaaaa a aaaaaaaaaaaaa
a
a
aa
aa
aa
aa
aa
a a
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
15
aaaaaa a aaaaaaaaaaaaa
COOL-
aaaaaa a aaaaaaaaaaaaa
6FC5197- AA00
aaaaaa a aaaaaaaaaaaaa
ANT OFF
aaaaaa a aaaaaaaaaaaaa
a
aaaaaa a aaaaaaaaaaaaa
a
a a
aaaa
a a
aa
aa
aaaa
a a
aa
aa
a
aa
aaa
aa
aa
aa
aaaaaa
aa
aa
aa
aa
aa
aa
aa
aa
aaaa
aa
a a aa aaa aa aaaaaaaaa a aaaaaaaaaaaaa
a
a a aa aaa aa aaaa
aa
aa
aa
aa
aa
a a
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
the M functions; i.e. a static and a dynamic bit are output.
a
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aaaaaaa a aaaaaaaaaaaaa
a a aa aaa aa aaaaaaaaa a aaaaaaaaaaaaa
a
a a aa aaa aa aaaa
aa
aa
aa
aa
aa
a a
a a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
a a
a a
aa
a a
aa
aa
a a
aa
a a
aa
aa
aaaaaaa a aaaaaaaaaaaaa
aaaaaa a aaaaaaaaaaaaa
aaaaaa a aaaaaaaaaaaaa
program
Function
terminal can then be used to allocate a FUNCTION NUMBER to any configured softkey.
When the softkey is pressed, this FUNCTION NUMBER is output to the PLC. The output
the softkey must be output to the PLC after the softkey is pressed. The NC programming
The user can program both displays and softkey menus at the NC programming terminal in
order to adapt operation to a specific machine. To permit this, a signal uniquely assigned to
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
If only one machine control panel is available, operating mode specific signals (e.g. operating
SOFTKEY FUNCTION NUMBERS in the range 0 - 255 are decoded by the PLC program like
a
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
aa
a
aaaaaaaaaaaaaaaaaa
9 Operator Panel Interface (DB 40)
aaaaaaaaa
9–3
9.1.1 Operating mode group (BAG)
aaaaaaaaa
9 Operator Panel Interface (DB 40) 11.92
9.1.2 Softkey function signals
The following figure shows the logic structure of the sequences of motion with softkey function
signals. For example, if the COOLANT ON is to be initiated with function number 14 and COO-
LANT OFF is to be initiated with function number 15, the PLC operating system sets the static
signal (DB 40, D 9.6) and the dynamic signal (DB 40, D 9.14) for number 15 when the COO-
LANT ON signal has been pressed. With the dynamic signal, the store must be made ready for
the counter command (COOLANT OFF). The store state is transferred to the output store with
the activation key. To ensure that the preselection stores are effective only for as long as the
relevant display is on the screen, all preselection bits are cancelled when the display is dese-
lected (page = menu number change).
1 1
F 14 dyn. F 15 dyn.
D 9.14 D 9.15
1 1
F 14 stat. F 15 stat.
S R S R
D 9.6 D 9.7
Q Q
Activate function
Protected key e.g. key 1 of the
& & customer keys on the machine
control panel
(D100.7)
Coolant
S R ON
( A 1.1)
Coolant pump
A F 224.7
O F 227.1 Coolant off, dynamic
R F 225.6 Coolant on, static
A F 226.7
A F 225.6 Function COOLANT ON
S Q 1.1 Activate
A F 226.7
A F 225.7 Function COOLANT OFF
R Q 1.1 Activate
.
.
.
The user can also send back the number of a dialog text line and a function result (to DB 40),
both referring to the function number of the pressed softkey. The dialog text line number
and/or function result must be entered in the same PLC cycle in which the softkey function
number is made available in DB 40/DR 49.
In this way, dialog texts can be displayed at the operator panel and/or subsequent menus
stated that also have to be generated via a programming workstation.
If a softkey with configured softkey function number is pressed on the operator panel, this
softkey function number (DW 41) is transferred and a strobe bit (DB 40/D 49.14)) set to ”1” in
DB 40.
The user can now obtain the function number and send back a function result (DL 50) and a
dialog text number (DR 50) to DB 40 in the same PLC cycle; these are declared valid by
means of an acknowledgement bit (DB 40/D 49.15).
Note:
SOFTKEY FUNCTION NUMBERS 0 - 255 are decoded and transferred to DB 40 with
acknowledgement control.
SOFTKEY FUNCTION NUMBER of the last softkey operated with a softkey function number. A
softkey FUNCTION NUMBER is valid only during FUNCTION NUMBER CHANGE. A 16-bit
fixed-point number is output. Only the numbers 0 - 255 are decoded.
The SOFTKEY FUNCTION NUMBERS must be input with the NC programming workstation.
Note:
Some softkey function numbers are assigned by the PLC operating system for display and
operation purposes:
F No. Function
F000
F001
F002 Display Message group Channel 1
F003 Display Message group Channel 2
F004 Display Message group Channel 3
F005 Display Message group Channel 4
F006 Display Message group Channel 5
F007 Display Message group Channel 6
F00A Display Messages spindle
F00B Display Messages axes
F00C Display Messages PLC
Example:
Indexed call of blocks following softkey operation:
.
.
A DB 40
P D 40.0
B DW 41
SPB PB0
Function number
Dec. Hex. Reserved for
0 0000
Statically and
dynamically
decoded User /
255 0FFF
256 0100
Manufacturer
Function No.
4096 0FFF available only
4097 1000 in absolute
61440 EFFF
form
F000
SIEMENS
F0FF
(Not statically
F100 / dynamically
decoded) SIEMENS
FFFF
F100
} Reserved for Package 3 (operation for tool management)
F13F
F140
F141 } Reserved for contour calculators and technology computers
1 signal: FUNCTION RESULT (DL 50) and DIALOG TEXT NUMBER (DR 50) valid
0 signal: Otherwise
1 signal: A softkey with configured function number has been operated at the operator
panel.
0 signal: Otherwise
FUNCTION NUMBER DR 49
FUNCTION RESULT DL 50
DIALOG TEXT NUMBER DR 50
The PLC can interrupt the present menu tree structure and insert a menu itself via a new
interface in DB 40 (not in start-up mode).
Menu insertions are only possible in the MACHINE and PARAMETER operating areas.
When the RECALL key is pressed the inserted menu (ENTRY MENU EM) is replaced on the
screen by the previous menu (EXIT MENU XM).
The menu selection functions should only be performed if the MMC is ready. MMC Ready can
be scanned in F22.0.
The EMs and XMs can be located in the system and user areas.
Description of the function ”No basic display when changing from Data area to
Machine area, or with operating mode/operating mode group change”
An additional function, NO BASIC DISPLAY WHEN CHANGING FROM DATA AREA TO
MACHINE AREA, OR WITH OPERATING MODE OR OPERATING MODE GROUP CHANGE,
is available to the PLC to prevent the relevant basic display from appearing in the event of a
mode or mode group change. The same holds true for a change from the data to the machine
area. If this function is activated before a mode or mode group change or before a change to
the data area, the menu selected is stored when exiting the machine area of the operating
mode for reactivation after returning to the machine area of the same operating mode. If the
signal is not set, the stored menus are cleared in the event of a mode or mode group change.
If the signal is set when leaving the machine area and in addition a menu is displayed by the
PLC, this menu is not stored as the basic menu. Data area menus can only be stored using
the data area key.
The INPUT, EDIT AND CANCEL keys can be independently disabled or enabled with individual
bits.
Besides menu changes, the PLC is also able to execute channel and mode group changes.
Independent mode group or channel changes (without menu insertion) can be effected.
The MENU STACK RESET function deletes all stored insertions. This function can be
triggered by the PLC or by the operator (SHIFT RECALL). The active mode group number at
the interface is transferred to the PLC. This is no longer the mode group key code, but the
actual mode group number. The activated NC channel at the operator panel is also reported to
the PLC.
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
aaaaaaaa a
aaa
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
aaaaaaa a
aaa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
XM = Exit menu Basic display Basic display
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
aaaaaa
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
aaaaaa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
JOG AUTO
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
EM = Entry menu
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
XM
aaa
a
a
a
a
aaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Menu insertion
by PLC
a
a
a
a
a
aaaa
a
EM
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaa
XM = Exit menu Basic display Basic display
JOG AUTO
EM = Entry menu
aaaa
a
a
a
a
aaaaa
XM
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaaaa
New exit menu
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaa
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
XM
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
from PLC
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Menu insertion
by PLC
a
a
aa
a
a
aaaa a
EM
aaaa
aa a
a
aa
a
a
a
a
a
a
a
Original return path
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaaaaaaaaaa a
aaaaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Operator
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
controlled
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
aaa
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
continuation
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Menu insertion by PLC with specification of a new RECALL menu