Sinumerik Basic FunctionsFB10306en
Sinumerik Basic FunctionsFB10306en
A2
Axis monitoring,
protection zones
A3
Continuouspath Mode,
Exact Stop, LookAhead
B1
Acceleration
B2
Diagnostic tools
D1
Basic Functions
F1
Function Manual
G2
H2
K1
K2
Emergency Stop
N2
Transverse axes
P1
P3
pl
P3
sl
R1
Spindles
S1
Feeds
V1
Tool compensation
W1
SINUMERIK
840D sl/840Di sl/840D/840Di/810D
Valid for
Control
Software
Version
1.3
1.0
7.4
3.3
7.4
6FC5397-0BP10-1BA0
Z1
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90437 NRNBERG
GERMANY
Foreword
SINUMERIK Documentation
The SINUMERIK documentation is organized in 3 parts:
General documentation
User documentation
Manufacturer/service documentation
A monthly updated publications overview with respective available languages can be found
in the Internet under:
http://www.siemens.com/motioncontrol
Select the menu items "Support" "Technical Documentation" "Overview of
Publications".
The Internet version of DOConCD (DOConWEB) is available under:
http://www.automation.siemens.com/doconweb
Information about training courses and FAQs (Frequently Asked Questions) can be found
in internet under:
http://www.siemens.com/motioncontrol under menu option "Support"
Target group
This publication is intended for:
Project engineers
Technologists (from machine manufacturers)
System startup engineers (Systems/Machines)
Programmers
Benefits
The function manual describes the functions so that the target group knows them and can
select them. It provides the target group with the information required to implement the
functions.
Basic Functions
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
iii
Foreword
Standard version
This documentation only describes the functionality of the standard version. Extensions or
changes made by the machine tool manufacturer are documented by the machine tool
manufacturer.
Other functions not described in this documentation might be executable in the control. This
does not, however, represent an obligation to supply such functions with a new control or
when servicing.
Further, for the sake of simplicity, this documentation does not contain all detailed
information about all types of the product and cannot cover every conceivable case of
installation, operation or maintenance.
Note
Detailed descriptions regarding data and alarms are provided for:
machine and setting data:
Electronic only on DOConCD or DOConWEB
NC/PLC interface signals:
/FB1/ NC/PLC interface signals (Z1)
/FB2/ NC/PLC interface signals (Z2)
/FB3/ NC/PLC interface signals (Z3)
alarms:
/DA/ Diagnostics Manual
iv
Basic Functions
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Foreword
Technical information
The following notation is used in this documentation:
Signal/Data
Notation
Example
NC/PLC interface
signals
Machine data
Setting Data
<Type><Number> <Complete
Designator> (<Meaning>)
<Type><Number> <Complete
Designator> (<Meaning>)
Data types
The following elementary data types are used in the control system:
Type
Meaning
Value range
INT
Signed integers
(231 - 1)
REAL
(10-300 10+300)
BOOL
TRUE 0; FALSE = 0
CHAR
0 255
STRING
AXIS
Axis identifier
FRAME
Arrays can only be formed from similar elementary data types. Up to two-dimensional arrays are possible.
Quantity framework
Explanations concerning the NC/PLC interface are based on the absolute maximum number
of sequential components:
Mode groups (DB11)
Channels (DB21, etc.)
Axes/spindles (DB31, etc.)
Basic Functions
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Foreword
Technical Support
If you have any questions, please contact the following hotline:
European and African time zone
A&D Technical Support
Tel.:
Fax:
Internet: http://www.siemens.com/automation/support-request
Email:
mailto:[email protected]
Fax:
Internet: http://www.siemens.com/automation/support-request
Email:
mailto:[email protected]
Fax:
Internet: http://www.siemens.com/automation/support-request
Email:
mailto:[email protected]
Note
Country specific telephone numbers for technical support are provided under the following
Internet address:
http://www.siemens.com/automation/service&support
vi
Basic Functions
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Foreword
Email:
mailto:[email protected]
Fax form: See the reply form at the end of this publication
EC declaration of conformity
The EC Declaration of Conformity for the EMC Directive can be found/obtained
in the internet:
http://www.ad.siemens.de/csinfo
under product/order no. 15257461
with the relevant branch office of the A&D MC group of Siemens AG.
Basic Functions
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
vii
Foreword
viii
Basic Functions
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
1
Brief description
______________
2
Detailed description
______________
SINUMERIK
840D sl/840Di sl/840D/840Di/810D
Various NC/PLC interface signals
and functions (A2)
Function Manual
Valid for
Control
Software
Version
1.3
1.0
7.4
3.3
7.4
3
Supplementary conditions
______________
4
Example
______________
5
Data lists
______________
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90437 NRNBERG
GERMANY
Table of contents
1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.5.1
2.2.5.2
2.2.5.3
2.2.5.4
Functions.................................................................................................................................. 2-23
Screen settings ........................................................................................................................ 2-23
Settings for involute interpolation............................................................................................. 2-25
Activate DEFAULT memory..................................................................................................... 2-28
Read/write PLC variable .......................................................................................................... 2-28
Access protection via password and keyswitch....................................................................... 2-32
Access protection via password and keyswitch....................................................................... 2-32
Password ................................................................................................................................. 2-34
Keyswitch settings (DB10, DBX56.4 to 7) ............................................................................... 2-35
Parameterizable protection levels............................................................................................ 2-36
Example.................................................................................................................................................. 4-1
5.2
5.3
5.3.1
5.3.2
5.3.3
5.3.4
5.3.5
5.3.6
5.3.7
5.3.8
iii
Table of contents
Index................................................................................................................................................ Index-1
iv
Brief description
Content
The PLC/NCK interface comprises a data interface on one side and a function interface on
the other. The data interface contains status and control signals, auxiliary functions and G
functions, while the function interface is used to transfer jobs from the PLC to the NCK.
This Description describes the functionality of interface signals, which are of general
relevance but are not included in the Descriptions of Functions.
Asynchronous events
Status signals
PLC variable (read and write)
1-1
Brief description
1-2
Detailed description
2.1
2.1.1
2.1
General
NC/PLC interface
The NC/PLC interface comprises the following parts:
Data interface
Function interface
Data interface
The data interface is used for component coordination:
PLC user program
NC
HMI (operator components)
MCP (Machine Control Panel)
Data exchange is organized by the basic PLC program.
2-1
Detailed description
2.1 NC/PLC interface signals
Function interface
The function interface is generated by function blocks (FB) and function calls (FC). Function
requests, e.g. to traverse axes, are sent from the PLC to the NC via the function interface.
2-2
Detailed description
2.1 NC/PLC interface signals
References
For detailed information about the following subject areas, please refer to:
Description of the basic PLC program:
/FB1/ Function Manual, Basic Functions; Basic PLC Program (P3)
Description of event-controlled signal exchange (auxiliary and G functions):
/FB1/ Function Manual, Basic Functions; Auxiliary Function Output to PLC (H2)
Overview of all interface signals, function blocks and data blocks:
/LIS/Lists
2.1.2
2-3
Detailed description
2.1 NC/PLC interface signals
2.1.3
2.1.4
2-4
Detailed description
2.1 NC/PLC interface signals
2.1.5
Note
In order to prevent accidental operator actions when the screen is darkened via the
interface signal, we recommend disabling the keyboard at the same time.
DB19, DBX0.1 = 1 AND DB19, DBX0.2 = 1 (key disable)
DB19, DBX 0.3 / 0.4 (delete cancel alarms / delete recall alarms)
Request to delete all currently pending alarms with Cancel or Recall delete criterion. Deletion
of the alarms is acknowledged via the following interface signals.
DB19, DBX20.3 (cancel alarm deleted)
DB19, DBX20.4 (recall alarm deleted)
2-5
Detailed description
2.1 NC/PLC interface signals
DB19, DBB13 (control of file transfer via hard disk) (HMI Advanced only)
Job byte to control file transfer via hard disk. The jobs relate to the user control file in the
interface signals:
DB19, DBB16 (parts program handling: Number of the control file for user file names)
DB19, DBB17 (parts program handling: Index of the file from the user list to be transmitted).
DB19, DBB16 (control of file transfer via hard disk) (HMI Advanced only)
Control byte for file transfer via hard disk to define the index for the control file (job list). This
file is handled according to the job in the interface signal:
DB19, DBB13.
DB19, DBB17 (control of file transfer via hard disk) (HMI Advanced only)
Control byte for file transfer via hard disk to indicate the line in the user control file in which
the control file to be transferred is stored
2-6
Detailed description
2.1 NC/PLC interface signals
DB19, DBB26 (control of file transfer via hard disk) (HMI Advanced only)
Status byte for current status of data transfer for "select", "load" or "unload", or if an error
occurred during data transmission.
DB19, DBB27 (control of file transfer via hard disk) (HMI Advanced only)
Output byte for error values for data transfer via hard disk.
2.1.6
Signals to channel
2.1.7
Signals to axis/spindle
Notice
It is the sole responsibility of the machine manufacturer/system startup engineer to take
suitable action/carry out appropriate tests to ensure that the machine axis can be traversed
during the drive test without putting personnel or machinery at risk.
2-7
Detailed description
2.1 NC/PLC interface signals
Function
Ineffective
Followup
Hold
Function: Follow-up
During follow-up, the setpoint position of the machine axis is continuously corrected to the
actual position (setpoint position = actual position).
The following interface signals have to be set for the follow-up function:
DB31, ... DBX2.1 = 0 (servo enable)
DB31, ... DBX1.4 = 1 (follow-up mode)
Feedback:
DB31, ... DBX61.3 = 1 (follow-up mode active)
2-8
Detailed description
2.1 NC/PLC interface signals
Note
When the servo enable is set from follow-up mode, if the part program is active, the last
programmed position is approached again internally in the NC (REPOSA: Approach along line
on all axes). In all other cases, all subsequent movements start at the current actual position.
Notice
With the "hold" function, once the servo enable has been set, the setpoint/actual-value
difference is corrected: directly by the position controller, i.e., without following the axial
acceleration characteristic.
Application example
Positioning response of machine axis Y following clamping when "servo enable" set.
Clamping pushed the machine axis from the actual position Y1 to the clamping position Yk.
2-9
Detailed description
2.1 NC/PLC interface signals
3RVLWLRQVHWSRLQW
IURP,32
B
3RVLWLRQ
FRQWUROOHU
&RQWUROOHUHQDEOH
FDQFHOHG
6HWSRLQW
IROORZXS
3RVLWLRQ
DFWXDOYDOXH
Figure 2-1
<
,6)ROORZXSPRGH
5HPRYH,66HUYRHQDEOH
7HUPLQDOV
'LVFRQQHFWWHUPLQDOV
6HW,66HUYRHQDEOH
6HTXHQFH
1
<.
<
1
3RVLWLRQVKLIW
UHVXOWLQJIURPFODPSLQJ
<.
5HWXUQXVLQJSRVLWLRQFRQWUROOHU
WRSUHFODPSLQJSRVLWLRQ<
ZKHQVHWWLQJVHUYRHQDEOH
<
;
Figure 2-2
2-10
Detailed description
2.1 NC/PLC interface signals
<
,6)ROORZXSPRGH
5HPRYH,66HUYRHQDEOH
7HUPLQDOV
'LVFRQQHFWWHUPLQDOV
6HW,66HUYRHQDEOH
6HTXHQFH
3DWKIROORZHGLIQRSDUWSURJUDPLVDFWLYH
7UDMHFWRU\LILQ1RQO\;
LVSURJUDPPHGDQGWKHSDUW
SURJUDPLVDFWLYH
<.
<
1
3RVLWLRQVKLIW
UHVXOWLQJIURPFODPSLQJ
1
<.
5HWXUQXVLQJ
5(326$LISDUWSURJUDPLVDFWLYHLQ
$8720$7,&PRGH
$[LVPRYHPHQWJHQHUDWHGIURP
SURJUDPPHGSRVLWLRQ<
<
;
Figure 2-3
2-11
Detailed description
2.1 NC/PLC interface signals
Note
"Followup mode" does not have to be canceled because it only has an effect in
combination with "servo enable".
Note
If "follow-up mode" is deactivated for a machine axis, which is part of an active
transformation (e.g. TRANSMIT), this can generate movements as part of repositioning
(REPOS) other machine axes involved in the transformation.
Monitoring
If a machine axis is in follow-up mode, the following monitoring mechanisms will not act:
Zero-speed monitoring
Clamping monitoring
Positioning monitoring
Effects on other interface signals:
DB31, ... DBX60.7 = 0 (position reached with exact stop fine)
DB31, ... DBX60.6 = 0 (position reached with exact stop coarse)
2-12
Detailed description
2.1 NC/PLC interface signals
3RVLWLRQUHIHUHQFHYDOXH
IURP
,QWHUSRODWRU
3RVLWLRQ
B FRQWUROOHU
6SHHG
B FRQWUROOHU
Q
L 6HW
3RZHU
FRQWUROOHU
0RWRU
(QFRG
(QFRG
L DFW
DFW
30
30
30
30
3DUNLQJD[LV
Figure 2-4
The table below shows the functionality of the interface signals in conjunction with the "servo
enable".
DB31, ... DBX1.5
Function
0 (or 1)
"Parking" active
1 -> 0
0 -> 1
0 -> 1
1 -> 0
2-13
Detailed description
2.1 NC/PLC interface signals
Activation methods
The closed-loop servo enable for a machine axis is influenced by:
PLC user program by means of the following NC/PLC interface signals:
DB31, ... DBX2.1 (servo enable)
DB31, ... DBX21.7 (pulse enable)
DB31, ... DBX93.5 (drive ready)
DB10, DBX56.1 (EMERGENCY STOP)
NCK-internal
Alarms that trigger cancellation of the servo enable on the machine axes. Alarms, which
cancel the servo enable, are described in:
References:
/DA/ Diagnostics Manual
Canceling the servo enable when the machine axis is at standstill:
The machine axis position control loop opens
DB31, ... DBX61.5 = 0 (position controller active)
Canceling the servo enable when the machine axis is in motion:
If a machine axis is part of an interpolatory path movement or coupling and the servo enable
for this is canceled, all axes involved are stopped with a fast stop (speed setpoint = 0) and
an alarm is displayed:
Alarm: "21612 Servo enable reset during movement"
The machine axis is decelerated taking into account the parameterized temporal duration
of the brake ramp for error states with a fast stop (speed setpoint = 0):
MD36610 $MA_AX_EMERGENCY_STOP_TIME
An alarm is displayed:
Alarm: "21612 Servo enable reset during movement"
Note
The servo enable is canceled at the latest when the cutout time expires:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
2-14
Detailed description
2.1 NC/PLC interface signals
The position actual value of the machine axis continues to be acquired by the control.
At the end of the braking operation, the machine axis is switched to follow-up mode,
regardless of the corresponding NC/PLC interface signal. Zero-speed and clamping
monitoring are not effective. See the description above for the interface signal:
DB31, ... DBX1.4 (follow-up mode).
Synchronizing the actual value (homing)
Once the servo enable has been set, the actual position of the machine axis does not need
to be synchronized again (homing) if the maximum permissible limit frequency of the
measuring system was not exceeded during the time in which the machine axis was not in
position-control mode.
3RVLWLRQFRQWUROOHU
RSHQHGLPPHGLDWHO\
)S
)S DFW
$[LVLVPRYLQJ
5DSLGVWRS
SRVLWLRQFRQWUROORRS
0'67$1'67,//B9(/2B72/
)SVHW
W
0'$;B(0(5*(1&<B6723B7,0(
,66HUYRHQDEOH
0'6(592B',6$%/(B'(/$<B7,0(
W
,63RVLWLRQFRQWUROOHUDFWLYH
W
6HUYRHQDEOHWRGULYH
,66SHHGFRQWUROOHUDFWLYH
Figure 2-5
2-15
Detailed description
2.1 NC/PLC interface signals
DBX9.1
DBX9
Parameter-set number
Parameter-set changeover must be enabled via the machine data (not required for spindles):
MD35590 $MA_PARAMSET_CHANGE_ENABLE = 1 or 2
For detailed information about parameter-set changeover, please refer to:
References:
/FB1/ Function Manual Basic Functions, Spindles (S1)
Chapter: Spindle modes > axis mode;
Chapter: Programmable Gears > Gear Stages for Spindles and Gear Change
2-16
Detailed description
2.1 NC/PLC interface signals
2.1.8
2-17
Detailed description
2.1 NC/PLC interface signals
2.1.9
2-18
Detailed description
2.1 NC/PLC interface signals
DBX 21.1
DBX21.0
Parameter-set number
DBX 21.3
Motor number
Operating mode
3 1)
4 1)
1) Can only be used on SIMODRIVE 611D Performance2 control module and SIMODRIVE
611U
Only operating modes 1 and 2 are valid on main spindle drive:
Operating modes 1: Star
Operating modes 2: Delta
2-19
Detailed description
2.1 NC/PLC interface signals
2.1.10
2-20
Detailed description
2.1 NC/PLC interface signals
2-21
Detailed description
2.1 NC/PLC interface signals
2-22
Detailed description
2.2 Functions
2.2
2.2.1
2.2
Functions
Screen settings
Contrast, monitor type, foreground language, and display resolution to take effect after
system startup can be set in the operator panel machine data.
Contrast
MD9000 $MM_LCD_CONTRAST (contrast)
For slimline operator panels with a monochrome LCD, the contrast to be applied following
system startup can be set.
There are 16 different contrast settings (0: dark, 15: light).
Monitor type
MD9001 $MM_DISPLAY_TYPE (monitor type)
Indicate the relevant monitor type for optimum color matching.
Foreground language
MD9003 $MM_FIRST_LANGUAGE (foreground language)
On SINUMERIK 840D/840Di/810D, 2 languages are available simultaneously. The
foreground language can be used to set the language to be displayed following control rampup.
The language can be changed in the DIAGNOSTICS operating area on the HMI user
interface. Once the control has ramped up, the foreground language will be restored.
Display resolution
MD9004 $MM_DISPLAY_RESOLUTION (display resolution)
The number of places after the decimal point for the position display of the axes is defined in
the display resolution. The position display consists of max. 12 characters including sign and
decimal point. The number of digits after the decimal point can be set to between 0 and 5.
The default setting for the number of digits after the decimal point is 3, corresponding to a
display resolution of 103 [mm] or [degrees].
2-23
Detailed description
2.2 Functions
REFRESH suppression
MD10131 $MN_SUPPRESS_SCREEN_REFRESH (screen refresh in case of overload)
Default setting for screen-refresh strategy with high NC utilization:
Value 0: Refresh of current values is suppressed in all channels.
Value 1: Refresh of current values is suppressed in time-critical channels.
Value 2: Refresh of current values is never suppressed.
2.2.2
Introduction
The involute of the circle is a curve traced out from the end point on a "piece of string"
unwinding from the curve. Involute interpolation allows trajectories along an involute.
<
;<
%DVHFLUFOHFHQWHU; <
6WDUWSRLQW
5
%DVHFLUFOH
(QGSRLQW
Figure 2-6
2-24
Detailed description
2.2 Functions
Programming
A general description of how to program involute interpolation can be found in:
References:
/PG/ Fundamentals Programming Guide
In addition to the programmed parameters, machine data are relevant in two instances of
involute interpolation; these data may need to be set by the machine manufacturer/end user.
Accuracy
If the programmed end point does not lie exactly on the involute defined by the starting point,
interpolation takes place between the two involutes defined by the starting and end points
(see illustration below).
The maximum deviation of the end point is determined by the machine data:
MD21015 $MC_INVOLUTE_RADIUS_DELTA
6WDUWSRLQW
%DVHFLUFOH
(QGSRLQW
0D[GHYLDWLRQ
Figure 2-7
Limit angle
If AR is used to program an involute leading to the base circle with an angle of rotation that is
greater than the maximum possible value, an alarm is output and program execution
aborted.
2-25
Detailed description
2.2 Functions
$5PD[
$5
6WDUWSRLQW
Figure 2-8
The alarm display can be suppressed using the following parameter settings:
MD21016 $MC_INVOLUTE_AUTO_ANGLE_LIMIT = TRUE
The programmed angle of rotation is then also limited automatically and the interpolated path
ends at the point at which the involute meets the base circle. This, for example, makes it
easier to program an involute, which starts at a point outside the base circle and ends
directly on it.
Dynamic response
Involutes that begin or end on the base circle have an infinite curvature at this point. To
ensure that the velocity is adequately limited at this point when tool-radius compensation is
active, without reducing it too far at other points, the "Velocity limitation profile" function must
be activated:
MD28530 $MC_MM_PATH_VELO_SEGMENTS > 1
A setting of 5 is recommended. This setting need not be made if only involute sections are
used, which have radii of curvature that change over a relatively small area.
2-26
Detailed description
2.2 Functions
2.2.3
2.2.4
2-27
Detailed description
2.2 Functions
Access from NC
To allow the NC to access PLC variables (from a part program) quickly, $ variables are
provided in the NCK. The PLC uses a function call (FC) to read and write $ variables. Data
are transferred to and from the NCK immediately.
$ variables can be accessed (by the NCK) during preprocessing and in synchronized
actions.
Data type information is determined by the $ variable data type, the position index is
specified as an array index (in bytes).
The following $ variables are available:
$A_DBB
$A_DBW
$A_DBD
$A_DBR
$A_DBB(n)
$A_DBW(n)
$A_DBD(n)
Ranges of values
2-28
Detailed description
2.2 Functions
1&
3/&
3/&'$7$ $B'%'>@
&$//)&
'DWDW\SH'ZRUGE\WHV
3RVLWLRQRIIVHW[
Figure 2-9
Supplementary conditions
The user's programming engineer (NCK and PLC) is responsible for organizing the DPR
memory area. No checks are made for inconsistencies in the configuration.
A total of 1024 bytes are available in the input and output directions.
Singlebit operations are not supported and must be linked back to byte operations by the
user (programming engineer).
Since the contents of variables are manipulated directly in the communications buffer, the
user must remember that intermediate changes in values occur as a result of multiple
access operations where a variable is evaluated several times or when variables are
linked (i.e., it may be necessary to store values temporarily in local variables or R
parameters or to set up a semaphore).
The user's programming engineer is responsible for coordinating access operations to the
communications buffer from different channels.
Data consistency can be guaranteed only for access operations up to 16 bits (byte and
word). The user's programming engineer is responsible for ensuring consistent
transmission of 32bit variables (double and real). A simple semaphore mechanism is
provided in the PLC for this purpose.
The PLC stores data in 'Little Endian' format in the DPR.
Values transferred with $A_DBR are subject to data conversion and hence to loss of
accuracy. The data format for floatingpoint numbers is DOUBLE (64 bits) on the NCK, but
only FLOAT (32 bits) on the PLC. The format used for storage in the dualport RAM is
FLOAT. Conversion takes place respectively before/after storage in the dualport RAM.
If a read/write access is made from the NCK to a variable in the dualport RAM, the
conversion is performed twice. It is impossible to prevent differences between read and
written values because the data are stored in both formats.
2-29
Detailed description
2.2 Functions
Example
Bypassing the problem by means of comparison on "EPSILON" (minor deviation)
Block
number
Program code
N10
N12
N20
$A_DBR[0]=145.145
N30
G4 F2
N40
STOPRE
N50
DBR=$A_DBR[0]
N60
N70
MSG ( "error" )
N80
M0
N90
END:
N99
M30
Activation
The maximum number of output variables that can be written to simultaneously can be set
with:
MD28150 $MC_MM_NUM_VDIVAR_ELEMENTS
Example
A WORD is to be transferred from the PLC to the NC.
The position offset within the NCK input (PLC output area) should be the fourth byte. The
position offset must be a whole-number multiple of the data width.
Writing from PLC:
Program code (extract)
Comment
. . .
CALL FC21 (
Enable :=M10.0,
Funct :=B#16#4,
S7Var :=P#M 104.0 WORD1,
IVAR1 :=04,
IVAR2 :=-1,
Error :=M10.1,
ErrCode :=MW12);
. . .
)
Comment
. . .
PLCDATA = $A_DBW[4];
// Read a word
. . .
2-30
Detailed description
2.2 Functions
2.2.5
2.2.5.1
Access authorization
Access to functions, programs and data is useroriented and controlled via 8 hierarchical
protection levels. These are subdivided into:
Password levels for Siemens, machine manufacturer and end user
Keyswitch positions for end user
Type
Users
Password
Siemens
Password
Machine manufacturer:
Development
Password
Machine manufacturer:
Start-up engineer
Password
End user:
Servicing
Keyswitch position 3
Keyswitch position 2
Keyswitch position 1
Example:
Program selection only, tool-wear entries, and workoffset entries
Keyswitch position 0
Example:
No entries and program selection possible,
only the machine control panel can be operated
Access to (examples)
2-31
Detailed description
2.2 Functions
Access features
Protection level 0 provides the greatest number of access rights, protection level 7 the
least.
If certain access rights are granted to a protection level, these protection rights
automatically apply to any higher protection levels.
Conversely, protection rights for a certain protection level can only be altered from a
higher protection level.
Access rights for protection levels 0 to 3 are permanently assigned by Siemens and
cannot be altered (default).
Access rights can be set by querying the current keyswitch positions and comparing the
passwords entered. When a password is entered it overwrites the access rights of the
keyswitch position.
Options can be protected on each protection level. However, option data can only be
entered in protection levels 0 and 1.
Access rights for protection levels 4 to 7 are only suggestions and can be altered by the
machine tool manufacturer or end user.
2.2.5.2
Password
Set password
The password for a protection level (0 3) is entered via the HMI user interface.
Example: HMI Advanced
DIAGNOSTICS operation area, softkey: SET PASSWORD
References:
/BAD/ Operator's Guide HMI Advanced
Delete password
Access rights assigned by means of setting a password remain effective until they are
explicitly revoked by deleting the password.
Example: HMI Advanced
DIAGNOSTICS operation area, softkey: DELETE PASSWORD
References:
/BAD/ Operator's Guide HMI Advanced
Note
Access rights and password status (set/deleted) are not affected by POWER OFF/ON!
2-32
Detailed description
2.2 Functions
Defaults
The following default passwords are defined for protection levels 1 to 3:
Protection level 1: SUNRISE
Protection level 2: EVENING
Protection level 3: CUSTOMER
Note
Following NC-CPU ramp-up in commissioning mode (NCK commissioning switch:
position 1) the passwords for protection levels 1 3 are reset to the default settings. For
reasons of data protection, we strongly recommend that you change the default settings.
2.2.5.3
Key switch
The keyswitch has four positions, to which protection levels 4 to 7 are assigned. The
keyswitch comprises a number of keys in a variety of colors, which can be set to different
switch positions.
6ZLWFKSRVLWLRQ
5HWUDFWLRQSRV
'%'%%
3URWHFWLRQOHYHO
%LW
3RVLWLRQ
Figure 2-10
3RVLWLRQ
RU
EODFN
.H\
%LW
3RVLWLRQ
RURU
JUHHQNH\
%LW
3RVLWLRQ
RURU
RU
UHGNH\
%LW
Switch positions 0 to 3
2-33
Detailed description
2.2 Functions
Switch positions
Switch position 0 has the most restricted access rights. Switch position 3 has the least
restricted access rights.
DB10, DBX56.4 / .5 / .6 / .7 (switch positions 0 / 1 / 2 / 3)
Machine-specific enables for access to programs, data and functions can be assigned to the
switch positions. For detailed information, please refer to:
References:
/IAM/ Installation & Startup Guide HMI/MMC; Access Protection
2.2.5.4
$MM_USER_CLASS_WRITE_TOA
$MM_USER_CLASS_READ_PROGRAM
$MM_USER_CLASS_WRITE_PROGRAM
Default values
On delivery or following standard commissioning, with very few exceptions, the default value
for the protection level will be set to 7, i.e., the lowest protection level.
2-34
Supplementary conditions
3-1
Supplementary conditions
3-2
Example
Parameter set changeover
Prerequisites
Parameter-set changeover must be enabled:
MD35590 $MA_PARAMSET_CHANGE_ENABLE [AX1] = 1 or 2
The 1st parameter set for machine axis X1 is set, in accordance with machine data with
index "0" NC/PLC interface:
DB31, DBB9.0 DBB9.2 = 0
4-1
Example
Remarks
*) The appropriate line must be specified separately for each parameter set according to the applicable syntax rules.
Changeover
In order to switch over the position-control gain, the PLC user program selects the 4th
parameter set for machine axis X1.
Requirement by PLC user program:
DB31, DBB9.0 DBB9.2 = 3
A request to change over to the 4th parameter set is sent for machine axis AX1.
The parameter set is changed over once a delay has elapsed.
Parameter set 4 is now active, in accordance with machine data with index "3"
Feedback by NC:
DB31, DBB69.0 DBB69.2 = 3
The NC confirms/acknowledges the parameter-set changeover.
4-2
Data lists
5.1
5.1.1
5.1
Machine data
Number
Identifier: $MD_
Description
1403
PULSE_SUPPRESSION_SPEED
1404
PULSE_SUPPRESSION_DELAY
1417
SPEED_THRESHOLD_X
1418
SPEED_THRESHOLD_MIN
1426
SPEED_DES_EQ_ACT_TOL
1427
SPEED_DES_EQ_ACT_DELAY
1428
TORQUE_THRESHOLD_X
Threshold torque
1429
TORQUE_THRESHOLD_X_DELAY
1602
MOTOR_TEMP_WARN_LIMIT
1603
MOTOR_TEMP_ALARM_TIME
1604
LINK_VOLTAGE_WARN_LIMIT
5-1
Data lists
5.1 Machine data
5.1.2
Number
HMI
Advanced
Identifier: $MM_
Description
HMI
Embedded
9000
9000
LCD_CONTRAST
Contrast
9001
9001
DISPLAY_TYPE
Monitor type
9002
DISPLAY_MODE
9003
FIRST_LANGUAGE
Foreground language
9004
DISPLAY_RESOLUTION
Display resolution
9005
PRG_DEFAULT_DIR
9006
DISPLAY_BLACK_TIME
9007
TABULATOR_SIZE
Tabulator length
9004
9008
9008
KEYBOARD_TYPE
9009
9009
KEYBOARD_STATE
SPIND_DISPLAY_RESOLUTION
9010
9011
9011
DISPLAY_RESOLUTION_INCH
9012
9012
ACTION_LOG_MODE
9013
SYS_CLOCK_SYNC_TIME
9020
TECHNOLOGY
9030
EXPONENT_LIMIT
9031
EXPONENT_SCIENCE
9180
USER_CLASS_READ_TCARR
9181
USER_CLASS_WRITE_TCARR
9200
USER_CLASS_READ_TOA
9020
9200
9201
9201
USER_CLASS_WRITE_TOA_GEO
9202
9202
USER_CLASS_WRITE_TOA_WEAR
9203
9203
USER_CLASS_WRITE_FINE
9204
USER_CLASS_WRITE_TOA_SC
9205
USER_CLASS_WRITE_TOA_EC
9206
USER_CLASS_WRITE_TOA_SUPVIS
9207
USER_CLASS_WRITE_TOA_ASSDNO
9208
USER_CLASS_WRITE_MAG_WGROUP
9209
9209
USER_CLASS_WRITE_TOA_ADAPT
9210
9210
USER_CLASS_WRITE_ZOA
9211
9211
USER_CLASS_READ_GUD_LUD
5-2
Data lists
5.1 Machine data
Number
Identifier: $MM_
Description
9212
9212
USER_CLASS_WRITE_GUD_LUD
9213
9213
USER_CLASS_OVERSTORE_HIGH
9214
9214
USER_CLASS_WRITE_PRG_CONDIT
9215
9215
USER_CLASS_WRITE_SEA
9216
USER_CLASS_READ_PROGRAM
9217
USER_CLASS_WRITE_PROGRAM
9218
USER_CLASS_SELECT_PROGRAM
9218
9219
9219
USER_CLASS_TEACH_IN
9220
9220
USER_CLASS_PRESET
9221
9221
USER_CLASS_CLEAR_RPA
9222
9222
USER_CLASS_WRITE_RPA
9223
USER_CLASS_SET_V24
9224
USER_CLASS_READ_IN
9225
USER_CLASS_READ_CST
9226
USER_CLASS_READ_CUS
9227
USER_CLASS_SHOW_SBL2
9228
USER_CLASS_READ_SYF
9229
USER_CLASS_READ_DEF
9230
USER_CLASS_READ_BD
USER_CLASS_WRITE_RPA_1
9232
USER_BEGIN_WRITE_RPA_1
9233
USER_END_WRITE_RPA_1
9234
USER_CLASS_WRITE_RPA_2
9235
USER_BEGIN_WRITE_RPA_2
9236
USER_END_WRITE_RPA_2
9237
USER_CLASS_WRITE_RPA_3
9238
USER_BEGIN_WRITE_RPA_3
9239
USER_END_WRITE_RPA_3
9240
USER_CLASS_WRITE_TOA_NAME
9241
USER_CLASS_WRITE_TOA_Type
9460
PROGRAMM_SETTINGS
9461
CONTOUR_END_TEXT
9478
TO_OPTION_MASK
9500
NC_PROPERTIES
9510
USER_CLASS_DIRECTORY1_P
9511
USER_CLASS_DIRECTORY2_P
9512
USER_CLASS_DIRECTORY3_P
9231
5-3
Data lists
5.1 Machine data
Number
Identifier: $MM_
Description
9513
USER_CLASS_DIRECTORY4_P
9516
USER_CLASS_DIRECTORY1_M
9517
USER_CLASS_DIRECTORY2_M
9518
USER_CLASS_DIRECTORY3_M
9519
USER_CLASS_DIRECTORY4_M
5.1.3
Number
Identifier: $MN_
Description
10350
FASTIO_DIG_NUM_INPUTS
10360
FASTIO_DIG_NUM_OUTPUTS
10361
FASTIO_DIG_SHORT_CIRCUIT
11120
LUD_EXTENDED_SCOPE
11270
DEFAULT_VALUES_MEM_MSK
Activ.
Function: Save DEFAULT values of GUD.
18150
MM_GUD_VALUES_MEM
5.1.4
Number
Identifier: $MC_
Description
21015
INVOLUTE_RADIUS_DELTA
21016
INVOLUTE_AUTO_ANGLE_LIMIT
27800
TECHNOLOGY_MODE
Technology in channel
28150
MM_NUM_VDIVAR_ELEMENTS
28530
MM_PATH_VELO_SEGMENTS
5-4
Data lists
5.2 System variables
5.1.5
Number
Identifier: $MA_
Description
30350
SIMU_AX_VDI_OUTPUT
33050
LUBRICATION_DIST
35590
PARAMSET_CHANGE_ENABLE
36060
STANDSTILL_VELO_TOL
36610
AX_EMERGENCY_STOP_TIME
36620
SERVO_DISABLE_DELAY_TIME
5.2
5.2
System variables
Names
Description
$P_FUMB
$A_DBB[n]
$A_DBW[n]
$A_DBD[n]
$A_DBR[n]
5.3
5.3.1
5.3
Signals
Signals to NC
DB number
Byte.Bit
Description
10
56.7
Keyswitch setting 0 to 3
5-5
Data lists
5.3 Signals
5.3.2
Signals from NC
DB number
Byte.Bit
Description
10
103.0
10
103.5
AT box ready
10
103.6
10
103.7
10
104.7
10
108.1
10
108.2
10
108.3
10
108.6
Drive Ready
10
108.7
NC Ready
10
109.0
10
109.5
10
109.6
10
109.7
5-6
Data lists
5.3 Signals
5.3.3
DB number
Byte.Bit
Description
19
0.0
Screen bright
19
0.1
Darken screen
19
0.2
Key disable
19
0.3
19
0.4
19
0.7
19
10.0
19
10.1
19
10.2
19
10.7
19
12.2
19
12.3
19
12.4
19
12.5
19
12.6
19
12.7
19
13.5
19
13.6
19
13.7
19
14.7
19
16.7
19
44.0
5-7
Data lists
5.3 Signals
5.3.4
DB number
Byte.Bit
Description
19
20.1
Screen is dark
19
20.7
19
24.0
19
24.1
19
24.2
19
24.3
19
24.4
19
24.5
19
24.6
19
24.7
19
26.0
19
26.1
19
26.3
19
26.5
19
26.6
19
26.7
19
42.0
19
45.0
19
45.1
19
45.2
19
45.3
5.3.5
Signals to channel
DB number
Byte.Bit
Description
21, ...
6.2
5.3.6
DB number
Byte.Bit
Description
21, ...
36.6
21, ...
36.7
21, ...
318.7
Overstore active
5-8
Data lists
5.3 Signals
5.3.7
Signals to axis/spindle
DB number
Byte.Bit
Description
31, ...
1.3
Axis/spindle disable
31, ...
1.4
Follow-up mode
31, ...
1.5
31, ...
1.6
31, ...
2.1
Controller enable
31, ...
2.2
31, ...
1, 2
31, ...
20.0
Rampup times
31, ...
20.1
31, ...
20.2
Torque limit 2
31, ...
20.3
31, ...
21.2
31, ...
21.4
Motor selection A, B
31, ...
21.5
31, ...
21.6
31, ...
21.7
Pulse enable
5-9
Data lists
5.3 Signals
5.3.8
DB number
Byte.Bit
Description
31, ...
60.4 / 60.5
31, ...
61.3
31, ...
64.6 / 64.7
31, ...
61.3
31, ...
61.4
Axis/spindle stops
31, ...
61.5
31, ...
61.6
31, ...
61.7
31, ...
1, 2
31, ...
76.0
Lubrication pulse
31, ...
92.0
31, ...
92.1
31, ...
92.2
31, ...
92.3
31, ...
93.2
31, ...
93.4
Active motor A, B
31, ...
93.5
Drive Ready
31, ...
93.6
31, ...
93.7
Pulses enabled
31, ...
94.0
31, ...
94.1
31, ...
94.2
31, ...
94.3
31, ...
94.4
31, ...
94.5
|nact| < nx
31, ...
94.6
nact = nset
31, ...
94.7
31, ...
95.0
5-10
Index
6
611D Ready, 2-3
A
Access authorization, 2-32
Access features, 2-33
Access security, 2-32
Actual value synchronization, 2-15
Actual value in workpiece coordinate system, 2-6
Air temperature alarm, 2-4
Axis disable, 2-8
Axis/spindle stops, 2-18
C
Cancel alarms, 2-5
Channelspecific NCK alarm is active, 2-4
Contrast, 2-23
Controller parameter set switchover, 4-1
Current controller active, 2-18
Cyclic signal exchange, 2-1
D
Darken screen, 2-5
Data channel
high-speed, 2-28
DB10
DBX103.0, 2-4
DBX104.7, 2-3
DBX108.1, 2-3
DBX108.2, 2-3
DBX108.3, 2-3
DBX108.6, 2-3
DBX108.7, 2-3
DBX109.0, 2-4
DBX109.6, 2-4
DBX109.7, 2-4
DBX56.1, 2-14
DBX56.4, 2-36
DBX56.5, 2-36
DBX56.6, 2-36
DBX56.7, 2-36
DB19
DBB12, 2-6
DBB13, 2-6
DBB14, 2-6
DBB15, 2-6
DBB16, 2-6
DBB17, 2-6
DBB24, 2-7
DBB25, 2-7
DBB26, 2-7
DBB27, 2-7
DBX 0.3, 2-5
DBX 0.4, 2-5
DBX0.0, 2-5
DBX0.1, 2-5
DBX0.2, 2-5
DBX0.7, 2-6
DBX20.3, 2-5
DBX20.4, 2-6
DB21, ...
DBX36.6, 2-4
DBX36.7, 2-4
DBX6.2, 2-7
DB31
DBB69.0, 4-2
DBB69.1, 4-2
DBB69.2, 4-2
DBB9.0, 4-1, 4-2
DBB9.1, 4-1, 4-2
DBB9.2, 4-1, 4-2
DB31, ...
DBX1.0, 2-7, 2-17
DBX1.3, 2-8
DBX1.4, 2-8, 2-9, 2-11, 2-15
DBX1.5, 2-12
DBX1.6, 2-12
DBX2.1, 2-8, 2-9, 2-11, 2-13, 2-14
DBX2.2, 2-16
DBX20.1, 2-18
DBX20.2, 2-18
DBX20.3, 2-19
DBX21.0, 2-19
Index-1
Index
DBX21.1, 2-19
DBX21.2, 2-19
DBX21.3, 2-19
DBX21.4, 2-19
DBX21.5, 2-19
DBX21.6, 2-20
DBX21.7, 2-14, 2-20
DBX60.4, 2-12
DBX60.6, 2-12
DBX60.7, 2-12
DBX61.0, 2-7, 2-17
DBX61.3, 2-8, 2-9, 2-17
DBX61.4, 2-17, 2-18
DBX61.5, 2-14, 2-18
DBX61.6, 2-14, 2-18
DBX61.7, 2-18
DBX69.0, 2-18
DBX76.0, 2-18
DBX9.0, 2-16, 2-18
DBX9.1, 2-16, 2-18
DBX9.2, 2-16, 2-18
DBX9.3, 2-17
DBX92.0, 2-20
DBX92.1, 2-20
DBX92.2, 2-20
DBX92.3, 2-21
DBX93.0, 2-19, 2-21
DBX93.1, 2-19, 2-21
DBX93.2, 2-19, 2-21
DBX93.3, 2-21
DBX93.4, 2-21
DBX93.5, 2-14, 2-21
DBX93.6, 2-20, 2-21
DBX93.7, 2-20, 2-21
DBX94.0, 2-21
DBX94.1, 2-21
DBX94.2, 2-22
DBX94.3, 2-22
DBX94.4, 2-22
DBX94.5, 2-22
DBX94.6, 2-22
DBX94.7, 2-22
DBX95.0, 2-23
DBX95.7, 2-23
DB31, ...
DBX69.1, 2-18
DB31, ... DBX60.5, 2-12
DB31, ... DBX69.2, 2-18
DB31,...
DBX93.5, 2-3
DC link undervoltage warning threshold, 2-23
DC link voltage, 2-23
DClink, 2-23
Default passwords, 2-35
Index-2
F
Followup mode active, 2-17
Foreground language, 2-23
H
High-speed data channel, 2-28
HMI alarms, 2-4
HMI CPU1 Ready, 2-3
HMI CPU2 Ready, 2-3
I
Interface signals
for operator panel, 2-5
Interface signals (A2), 1-1
Interface signals from and to channel, 2-7
Interface signals|Spindle reset, 2-16
Interpolatory axis grouping, 2-14
K
Key disable, 2-5
Key switch, 2-35
L
Lockable data areas, 2-36
Lubrication pulse, 2-18
M
Machine coordinate system, 2-6
MCS, 2-6
Md
|Md| < Mdx, 2-22
MD10131, 2-24
MD11270, 2-28
MD1417, 2-22
MD1418, 2-22
MD1426, 2-22
MD1428, 2-22
MD1604, 2-23
MD18150, 2-28
MD21015, 2-26
Index
MD21016, 2-27
MD28150, 2-31
MD28530, 2-27
MD31050 $MA_DRIVE_AX_RATIO_DENOM, 4-1
MD31060 $MA_DRIVE_AX_RATIO_NUMERA, 4-1
MD32200, 2-17
MD32200 $MA_POSCTRL_GAIN, 4-1
MD32800 $MA_EQUIV_CURRCTRL_TIME, 4-1
MD32810 $MA_EQUIV_SPEEDCTRL_TIME, 4-2
MD32910 $MA_DYN_MATCH_TIME, 4-2
MD33050, 2-18
MD35130 $MA_AX_VELO_LIMIT, 4-1
MD35590, 2-16
MD35590 $MA_PARAMSET_CHANGE_ENABLE, 4-1
MD36060, 2-17, 2-18
MD36610, 2-14
MD36620, 2-14
MD9000, 2-23
MD9001, 2-23
MD9003, 2-23
MD9004, 2-24
MD9006, 2-5
Monitor type, 2-23
N
nact
|nact| < nmin, 2-22
|nact| < nx, 2-22
nact = nsetp, 2-22
NCK alarm is active, 2-4
NCK alarm with processing stop, 2-4
NCK battery alarm, 2-4
NCK CPU Ready, 2-3
P
Password, 2-34
resetting, 2-34
setting, 2-34
PLC/NCK interface, 2-1
Position controller active, 2-18
Position measuring system, 2-12
Protection levels, 2-36
R
Ramp-up function completed, 2-22
Read/write PLC variable, 2-28
Recall alarms, 2-5
S
Servo enable, 2-13
Signals
Alarm signals, 2-4
Axis/spindle-specific (DB31, ...), 2-2
Channel-specific (DB21, ...), 2-2
Ready signals, 2-3
Speed control loop active, 2-18
Spindle disable, 2-8
Spindle reset, 2-16
U
Undervoltage threshold, 2-23
V
Variable signaling function, 2-22
W
WCS, 2-6
Workpiece coordinate system, 2-6
Index-3
Index-4
1
Brief Description
______________
2
Detailed description
______________
SINUMERIK
840D sl/840Di sl/840D/840Di/810D
Axis monitoring, protection zones
(A3)
Function Manual
Valid for
Control
Software
Version
1.3
1.0
7.4
3.3
7.4
3
Supplementary conditions
______________
4
Examples
______________
5
Data lists
______________
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90437 NRNBERG
GERMANY
Table of contents
1
1.2
2.2
2.2.1
2.2.2
2.2.2.1
2.2.2.2
2.2.2.3
2.2.2.4
2.2.3
2.3
2.4
2.4.1
2.4.2
2.4.3
2.4.4
2.5
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
iii
Table of contents
4
Examples................................................................................................................................................ 4-1
4.1
5.2
5.2.1
5.3
5.3.1
5.3.2
5.3.3
Signals........................................................................................................................................ 5-4
Signals to channel...................................................................................................................... 5-4
Signals from channel.................................................................................................................. 5-4
Signals to axis/spindle................................................................................................................ 5-5
Index................................................................................................................................................ Index-1
iv
Brief Description
1.1
1.1
Function
Comprehensive monitoring functions are present in the control for protection of people and
machines:
Motion monitoring functions
Contour monitoring
Position monitoring
Zero-speed monitoring
Clamping monitoring
Speed-setpoint monitoring
Actual-velocity monitoring
Encoder Monitoring
Monitoring of static limits
Limit-switch monitoring
Working-area limitation
1-1
Brief Description
1.2 Protection zones
1.2
1.2
Protection zones
Function
With the help of protection zones, elements of the machine (e.g. spindle chuck, tool changer,
tool holder, tailstock, movable probe, etc.) and the workpiece can be protected against
collisions.
During automatic execution of part programs in the AUTOMATIC or MDI mode, the NC
checks at the start of every part-program block whether a collision between protection zones
can occur upon moving along the programmed path.
After manual deactivation of an active protection zone, the zone can be entered. After
leaving the protection zone, the protection zone automatically becomes active again.
The definition, activation and deactivation of protection zones takes place via part program
instructions.
1-2
Detailed description
2.1
2.1
2.1.1
Contour monitoring
2.1.1.1
Contour error
Contour errors are caused by signal distortions in the position control loop.
Signal distortions can be linear or nonlinear.
2-1
Detailed description
2.1 Motion monitoring functions
2.1.1.2
Function
In control engineering terms, traversing along a machine axis always produces a certain
following error, i.e., a difference between the set and actual position.
The following error that arises depends on:
Position control loop gain
MD32200 $MA_POSCTRL_GAIN (servo gain factor)
Maximum acceleration
MD32300 $MA_MAX_AX_ACCEL (Maximum axis acceleration)
Maximum velocity
MD32000 $MA_MAX_AX_VELO (maximum axis velocity)
With activated feedforward control: Precision of the path model and the parameters:
MD32610 $MA_VELO_FFW_WEIGHT (factor for the velocity feedforward control)
MD32800 $MA_EQUIV_CURRCTRL_TIME (Equivalent time constant current control loop
for feedforward control)
MD32810 $MA_EQUIV_SPEEDCTRL_TIME (equivalent time constant speed control loop
for feedforward control)
In the acceleration phase, the following error initially increases when traversing along a
machine axis. After a time depending on the parameterization of the position control loop,
the following error then remains constant in the ideal case. Due to external influences, more
or less large fluctuations in the following error always arise during a machining process. To
prevent these fluctuations in the following error from triggering an alarm, a tolerance range
within which the following error may change must be defined for the following-error
monitoring:
MD36400 $MA_CONTOUR_TOL (Contour monitoring tolerance range)
2-2
Detailed description
2.1 Motion monitoring functions
)ROORZLQJHUURU
7ROHUDQFHEDQG
GV
)LUVWFXW
0HDVXUHG
IROORZLQJHUURU
0'0$B&217285B72/
&DOFXODWHGIROORZLQJHUURU
PRGHO
%HJLQ
PDFKLQLQJ
W
Figure 2-1
Following-Error Monitoring
Effectivity
The following-error monitoring only operates with active position control and the following
axis types:
Linear axes with and without feedforward control
Rotary axes with and without feedforward control
Position-controlled spindles
Fault
If the configured tolerance limit is exceeded, the following alarm appears:
25050 "Axis <Axis identifier> Contour monitoring"
The affected axis/spindle is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
2-3
Detailed description
2.1 Motion monitoring functions
2.1.2
2.1.2.1
Overview
The following overview shows the correlation between the positioning, zero speed and
clamping monitoring functions:
9RUV
(IIHFWLYHWROHUDQFH
IRU]HURVSHHGDQG
FODPSLQJPRQLWRULQJ
$FWXDO
YDOXH
'%'%;FODPSLQJLQSURJUHVV
0'0$B&/$03B326B72/
6HWSRLQW
0'0$B67$1'67,//B326B72/
0'0$B6723B/,0,7B&2$56(
0'0$B6723B/,0,7B),1(
0'
0$B67$1'67,//
B'(/$<B7,0(
([DFWVWRSILQHVLJQDO
([DFWVWRSFRDUVHVLJQDO
0'0$B326,7,21,1*B7,0(
2-4
Detailed description
2.1 Motion monitoring functions
2.1.2.2
Positioning monitoring
Function
At the end of a positioning operation:
Set velocity = 0 AND
DB31, ... DBX64.6/64.7 (motion command minus/plus) = 0
checks the position monitoring to ensure that the following error of every participating
machine axis is smaller than the exact-stop fine tolerance during the delay time.
MD36010 $MA_STOP_LIMIT_FINE (exact stop fine)
MD36020 $MA_POSITIONING_TIME (delay time exact stop fine)
After reaching "Exact stop fine", the position monitoring is deactivated.
Note
The smaller the exact stop fine tolerance is, the longer the positioning operation takes and
the longer the time until block change.
MD36020 $MA_POSITIONING_TIME
large
small
MD32200 $MA_POSCTRL_GAIN
(servo gain factor)
MD36020 $MA_POSITIONING_TIME
small
large
Effectivity
The position monitoring only operates with active position control and the following axis
types:
Linear axes
Rotary axes
Position-controlled spindles
2-5
Detailed description
2.1 Motion monitoring functions
Fault
If the configured position-monitoring time is exceeded, the following alarm appears:
25080 "Axis <Axis identifier> Position monitoring"
The affected axis is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
2.1.2.3
Function
At the end of a positioning operation:
Set velocity = 0 AND
DB31, ... DBX64.6/64.7 (motion command minus/plus) = 0
checks the zero-speed monitoring to ensure that the following error of every participating
machine axis is smaller than the standstill tolerance during the delay time.
MD36040 $MA_STANDSTILL_DELAY_TIME (Zero-speed monitoring delay time)
MD36030 $MA_STANDSTILL_POS_TOL (standstill tolerance)
After reaching the required exact-stop state, the positioning operation is completed:
DB31, ... DBX60.6/60.7 (position reached with exact stop coarse/fine) = 1
The position-monitoring function is deactivated and is replaced by the zero-speed
monitoring.
Zero-speed monitoring monitors the adherence to the standstill tolerance. If no new travel
request is received, the machine axis must not depart from the standstill tolerance.
Effectivity
The zero-speed monitoring only operates with active position control and the following axis
types:
Linear axes
Rotary axes
Position-controlled spindles
2-6
Detailed description
2.1 Motion monitoring functions
Fault
If the delay time and/or the standstill tolerance is exceeded, the following alarm appears:
25040 "Axis <Axis identifier> Zero-speed monitoring"
The affected axis is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
2.1.2.4
2.1.2.5
Clamping monitoring
Clamping monitoring
For machine axes that are mechanically clamped upon completion of a positioning operation,
larger motions can result from the clamping process (> standstill tolerance). As a result,
zero-speed monitoring is replaced by clamping monitoring during the clamping process.
Clamping monitoring monitors the adherence to the configured clamping tolerance:
MD36050 $MA_CLAMP_POS_TOL (Clamping tolerance)
Activation
The clamping monitoring is activated by the following interface signal:
DB31, ... DBX2.3 (clamping in progress)
2-7
Detailed description
2.1 Motion monitoring functions
Note
The clamping monitoring is not active in "follow-up mode" (DB31, ... DBX1.4 = 1).
Fault
If the clamping tolerance is exceeded, the following alarm appears:
26000 "Clamping monitoring"
The affected axis is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
Note
The NC detects whether an axis is clamped based on the "servo enable" state of the axis:
DB31, ... DBX2.2 = 0: no servo enable axis is clamped
DB31, ... DBX2.2 = 1: servo enable axis is not clamped
2-8
Detailed description
2.1 Motion monitoring functions
5HOHDVHD[LVFODPSLI
0'0$B6723B21B&/$03,1*>@ +
0RWLRQFRPPDQG
&ODPSD[LV
$[LVFODPSLQJSUHVVXUH
)HHGVWRS
6HUYRHQDEOH
3DWKYHORFLW\
1
1
*=
*$7XUQURWDU\WDEOHGHJUHHV
W>PV@
Figure 2-2
The part-program blocks N310 and N410 refer to the following programming example:
N100
N101
N210
G1 X10
N220
G1 X5 Y20
N310
G0 Z50
N410
G0 A90
N510
G0 X100
; Approach
N520
G0 Z2
N610
G1 Z-4
N620
G1 X0 Y-20
; Edit
; Retract
; Edit
2-9
Detailed description
2.1 Motion monitoring functions
5HOHDVHD[LVFODPSLI
0'0$B6723B21B&/$03,1*>@ +
0RWLRQFRPPDQG
&ODPSD[LV
$[LVFODPSLQJSUHVVXUH
)HHGVWRS
6HUYRHQDEOH
3DWKYHORFLW\
1
1
1
*;
*=5HWUDFW
*$7XUQURWDU\WDEOH
W>PV@
Figure 2-3
2-10
Detailed description
2.1 Motion monitoring functions
2-11
Detailed description
2.1 Motion monitoring functions
6HWD[LVFODPSLI
0'0$B6723B21B&/$03,1*>@
+
0RWLRQFRPPDQG
&ODPSD[LV
$[LVFODPSLQJSUHVVXUH
)HHGVWRS
6HUYRHQDEOH
)HHGRYHUULGH
3DWKYHORFLW\
1
*$ 7XUQ
URWDU\
WDEOH
1
*;$SSURDFK
1
*=$SSURDFK
1
*=0DFKLQH
W>PV@
Figure 2-4
Constraints
Continuous-path mode
For the above-mentioned functions:
Automatic stopping for removal of the clamp
Optimized releasing of the axis clamp via travel command
Automatic stopping for setting of the clamp
the "Look Ahead" function must be active.
Part-program blocks without path motion (e.g., M82/M83) interrupt continuouspath mode and
thus also the "Look Ahead" function.
2-12
Detailed description
2.1 Motion monitoring functions
Example:
The part-program blocks N320 and N420 are inserted in the programming example used.
N100
N101
N210
G1 X10
N220
G1 X5 Y20
N310
G0 Z50
; Retraction
N320
M82
; no path motion
N410
G0 A90
N420
M83
; no path motion
N510
G0 X100
; Approach
N520
G0 Z2
N610
G1 Z-4
N620
G1 X0 Y-20
; Edit
; Edit
Note
MD36052 $MA_STOP_ON_CLAMPING = 'H01' or 'H04'
Both functions can be used irrespective of the clamping of axes:
MD36052 $MA_STOP_ON_CLAMPING = 'H01'
Generates a Look Ahead stop for the path motion if no servo enable signal is active
for the relevant axis.
MD36052 $MA_STOP_ON_CLAMPING = 'H04'
Generates a Look Ahead stop for the path motion if the feed rate overrate = 0% at the
transition from the part-program blocks with rapid traverse to part-program blocks
without rapid traverse.
Both functions ensure that the path motion in continuous-path mode is already stopped
before the start of the relevant part-program block and not just within the part-program
block.
2-13
Detailed description
2.1 Motion monitoring functions
Repositioning by interpolator
Note
The following interface signals can be evaluated by the PLC user program as the criterion for
activation of the "Follow-up mode":
DB31, ... DBX60.6 / 60.7 (position reached with exact stop coarse / fine)
2.1.3
Speed-setpoint monitoring
Function
The speed setpoint comprises:
Speed setpoint of the position controller
Speed setpoint portion of the feedforward control (with active feedforward control only)
Dift compensation (only for drives with analog setpoint interface)
2-14
Detailed description
2.1 Motion monitoring functions
)HHGIRUZDUGFRQWUROYDOXH
.9
'ULIWYDOXH
DSSOLHVRQO\WRDQDORJGULYHV
)ROORZLQJ
HUURU
3RVLWLRQFRQWUROOHU
Figure 2-5
7RVSHHG
FRQWUROOHU
6SHHG
VHWSRLQW
PRQLWRULQJ
The speed-setpoint monitoring ensures by limiting the control or output signal (10V for
analog setpoint interface or rated speed for digital drives) that the physical limitations of the
drives are not exceeded:
MD36210 $MA_CTRLOUT_LIMIT (Maximum speed setpoint)
6SHHGVHWSRLQW>@
(J
Figure 2-6
0'0$B&75/287B/,0,7>Q@
0'0$B&75/287B/,0,7>Q@
IRUWHVWPRGH
2-15
Detailed description
2.1 Motion monitoring functions
Effectivity
The speed-setpoint monitoring is only active for closed-loop position-controlled axes and
cannot be deactivated.
Fault
If the configured delay time is exceeded, the following alarm appears:
25060 "Axis <Axis identifier> Speed-setpoint monitoring"
The affected axis is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
Note
Upon reaching the speed-setpoint monitoring, the position feedback loop of the axis
becomes non-linear due to the limitation. Contour errors result if the axis is involved in
generating the contour.
2.1.4
Function
The actual-velocity monitoring checks that the current actual velocity of a machine
axis/spindle does not exceed the configured threshold:
MD36200 $MA_AX_VELO_LIMIT (velocity-monitoring threshold)
The threshold should be 10-15% above the configured maximum velocity.
For axes:
MD32000 $MA_MAX_AX_VELO (maximum axis velocity)
For spindles:
MD35110 $MA_GEAR_STEP_MAX_VELO_LIMIT[n] (maximum speed of gear stage)
If you use this setting the speed will not normally exceed the velocity-monitoring threshold
(exception: drive error).
Activation
The actual-velocity monitoring is activated as soon as the active measuring system returns
valid actual values (encoder limit frequency not exceeded):
DB31, ... DBX1.5/1.6 (position measuring system 1/2)
2-16
Detailed description
2.2 Measuring-system monitoring (systems with SIMODRIVE 611D)
Effectivity
The actual-velocity monitoring only operates with active position control and the following
axis types:
Linear axes
Rotary axes
Open loop controlled and position controlled spindles.
Fault
If the threshold is exceeded, the following alarm appears:
25030 "Axis <Axis identifier> Actual-velocity alarm limit"
The affected axis is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
2.2
2.2.1
2.2
Encoder-limit-frequency monitoring
Function
The encoder-limit-frequency monitoring checks that the encoder frequency does not exceed
the configured encoder limit frequency.
MD36300 $MA_ENC_FREQ_LIMIT (encoder limit frequency)
Encoder-limit-frequency monitoring always refers to the active measuring system selected in
the NC/PLC interface:
DB31, ... DBX1.5/1.6 (position measuring system 1/2)
Effectivity
The encoder limit frequency is operative for:
Linear axes
Rotary axes
Open loop controlled and position controlled spindles.
2-17
Detailed description
2.2 Measuring-system monitoring (systems with SIMODRIVE 611D)
Fault
Upon exceeding of the encoder limit frequency, the following occurs:
Message to the PLC:
DB31, ... DBX60.2 or 60.3 = 1 (encoder limit frequency exceeded 1 or 2)
Spindles
Spindles are not stopped but continue to turn with speed control.
If the spindle speed is reduced so much that the encoder frequency passes below the
encoder limit frequency, the actual value system of the spindle is automatically
resynchronized.
Axes
The following alarm is displayed:
21610 "Channel <Channel number> Axis <Axis identifier> Encoder <Encoder number >
Frequency exceeded"
The affected axis is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
Note
If the encoder limit frequency is exceeded, the position-controlled machine axis must be
re-referenced.
References:
/FB1/Function Manual, Basic Functions; Reference Point Approach (R1)
2-18
Detailed description
2.2 Measuring-system monitoring (systems with SIMODRIVE 611D)
2.2.2
Zero-mark monitoring
2.2.2.1
General
Function
Zero-mark monitoring serves as a plausibility check for the actual values of the relevant
machine axis.
Note
The zero-mark monitoring is only active beneath the configured encoder limit frequency:
MD36302 $MA_ENC_FREQ_LIMIT_LOW (encoder limit frequency for encoder
resynchronization)
Meaning
Simulation
Reserved
Activation/Deactivation
The function is activated/deactivated with machine data:
MD36310 $MA_ENC_ZERO_MONITORING (Zero-mark monitoring)
MD36310
Meaning
No zero-mark monitoring.
>0
100
2-19
Detailed description
2.2 Measuring-system monitoring (systems with SIMODRIVE 611D)
2.2.2.2
Function
Incremental encoders with one or more zero marks use the zero-mark signals to check the
plausibility of the actual values.
Monitoring starts with the first zero-mark signal once the encoder has been switched on
(fault counter = 0). The function checks whether the number of incremental signals is
plausible after each zero mark (if equidistant zero marks) or after every second zero mark (if
distance-coded zero marks). This is the case, for example, if the number of incremental
signals from straight-line axis motions matches the value required for the distance between
two relevant zero marks. In the event of a non-plausible deviation, the fault counter
increases by 1. The zero-mark monitoring is tripped (alarm) if several non-plausible
deviations occur in direct sequence and the fault counter exceeds the configured permissible
number of deviations:
MD36310 $MA_ENC_ZERO_MONITORING (Zero-mark monitoring)
If a plausible value is recorded before this threshold is reached, the fault counter is reset to
0. This ensures that the non-plausible deviations only trigger an alarm if they occur in direct
sequence and in a non-tolerable number.
Note
If using external zero marks (BERO) instead of encoder zero marks, you must deactivate
zero-mark monitoring:
MD36310 $MA_ENC_ZERO_MONITORING = 0
Fault
Alarm 25020
If zero-mark monitoring is tripped in the active measuring system, alarm 25020 appears:
"Axis <Axis identifier> Zero-mark monitoring of active encoder"
The affected axis is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
Alarm 25021
If zero-mark monitoring is tripped in the passive measuring system alarm 25021 appears:
"Axis <Axis identifier> Zero-mark monitoring of passive encoder"
There is no further alarm response.
2-20
Detailed description
2.2 Measuring-system monitoring (systems with SIMODRIVE 611D)
2.2.2.3
Function
Absolute encoders use the absolute values supplied by the measuring system to check the
plausibility of the actual value.
During the check, the NC compares the cyclic position value held in the position control cycle
clock based on the incremental information from the encoder with a new position value
generated directly from the absolute and incremental information and checks that the
calculated position difference does not exceed the configured permissible deviation.
MD36310 $MA_ENC_ZERO_MONITORING
The permissible deviation is indicated in 1/2 rough lines. It is generally sufficient to enter a
1/2 rough line.
Note
The "zero-mark monitoring" of absolute encoders specifically detects all deviations caused
by dirt on the absolute track or by faults when transferring the absolute value. However,
small errors in the incremental track (burst interference, impulse errors) are not detected. In
such instances the zero-mark monitoring only responds to deviations in the millimeter range.
This form of monitoring should therefore serve as additional monitoring to assist the
diagnosis of absolute-position faults.
Fault
Alarm 25020
If zero-mark monitoring is tripped in the active measuring system, alarm 25020 appears:
"Axis <Axis identifier> Zero-mark monitoring of active encoder"
The affected axis is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
Alarm 25021
If zero-mark monitoring is tripped in the passive measuring system alarm 25021 appears:
"Axis <Axis identifier> Zero-mark monitoring of passive encoder"
There is no further alarm response.
Alarm 25022
If the absolute value transfer is interrupted, alarm 25022 appears:
"Axis <Axis identifier> Encoder <Encoder number> Warning <Error fine identification>
There is no further alarm response.
2-21
Detailed description
2.2 Measuring-system monitoring (systems with SIMODRIVE 611D)
Note
In the event of a fault, the adjustment of the absolute encoder is lost and the axis is no
longer referenced. The absolute encoder must be readjusted.
References:
/FB1/Function Manual, Basic Functions; Reference Point Approach (R1);
Chapter: Referencing with absolute encoders
Notice
Errors in the incremental track that cannot be detected with amplitude monitoring can cause
position deviations in the millimeter range. The deviation depends on the lattice pitch/line
count and the traversing velocity of the axis when the error occurs.
Complete position monitoring is only possible through redundancy, i.e., through comparison
with an independent second measuring system.
2.2.2.4
2-22
Detailed description
2.2 Measuring-system monitoring (systems with SIMODRIVE 611D)
Effectivity
Customized monitoring can be activated in parallel to or as an alternative to standard zeromark monitoring, depending on the setting in machine data:
MD36310 $MA_ENC_ZERO_MONITORING (Zero-mark monitoring)
MD36310
Meaning
>0
100
If both monitoring functions are active (MD36310 > 0), you can perform cascaded
monitoring.
Example:
If a value falls below the threshold specified in MD36310, customized monitoring triggers a
prewarning; standard zero-marking monitoring will only detect a fault if the threshold is
exceeded and will then deactivate automatically.
System variables
You can implement customized error reactions using the following system variables:
Measuring systems with incremental encoders
System variable
Meaning
$VA_ENC_ZERO_MON_ERR_CNT[n,ax]
n:
Encoder number
ax:
Machine axis
Meaning
$VA_ENC_ZERO_MON_ERR_CNT[n,ax]
2-23
Detailed description
2.2 Measuring-system monitoring (systems with SIMODRIVE 611D)
System variable
Meaning
positions triggers a zero reset; reset does not reset
the counter.
$VA_ABSOLUTE_ENC_ERR_CNT[n,ax]
$VA_ABSOLUTE_ENC_STATE[n,ax]
2.2.3
n:
Encoder number
ax:
Machine axis
Function
This monitoring function monitors the measuring systems of a machine axis for hardware
faults (e.g., measuring system failure, open circuit).
Fault
Alarm 25000
If a hardware fault is detected in the active measuring system, alarm 25000 appears:
"Axis <Axis identifier> Hardware fault active encoder"
The affected axis is stopped via the configured braking ramp in follow-up mode:
MD36610 $MA_AX_EMERGENCY_STOP_TIME
(Maximum time for braking ramp when an error occurs)
Alarm 25001
If a hardware fault is detected in the passive measuring system alarm, 25001 appears:
"Axis <Axis identifier> Hardware fault passive encoder"
There is no further alarm response.
Notice
For hardware faults, the referencing status of the machine axis is reset:
DB31, ... DBX60.4 / 60.5 = 0 (referenced/synchronized 1 / 2)
2-24
Detailed description
2.3 Measuring-system monitoring (systems with PROFIBUS drives)
2.3
2.3
Encoder-limit-frequency monitoring
In the case of systems with PROFIBUS drives, encoder-limit-frequency monitoring is also
performed in the NCK.
Zero-mark monitoring
PROFIBUS drives with incremental encoders
Zero-mark monitoring is performed by the drive software.
PROFIBUS drives with absolute encoders
The drive software performs the monitoring function, while the plausibility check is carried
out in the NCK (as for SIMODRIVE 611D systems).
2.4
2.4.1
2.4
2-25
Detailed description
2.4 Monitoring of static limits
+:
OLPLWVZLWFK
6:
OLPLWVZLWFK
FDQEHDFWLYDWHG
YLD3/&
Figure 2-7
2.4.2
6:
OLPLWVZLWFK
0HFKDQLFDO
HQGRIWUDYHUVLQJUDQJH
(0(5*(1&<6723
Travel limits
Function
A hardware limit switch is normally installed at the end of the traversing range of a machine
axis. It serves to protect against accidental overtravelling of the maximum traversing range of
the machine axis while the machine axis is not yet referenced.
If the hardware limit switch is triggered, the PLC user program created by the machine
manufacturer sets the corresponding interface signal:
DB31, ... DBX12.0 / 12.1 = 1 (hardware limit switch minus / plus)
Braking behavior
The braking behavior of the machine axis upon reaching the hardware limit switch is
configurable via:
MD36600 $MA_BRAKE_MODE_CHOICE = (Braking behavior)
Braking behavior:
0: Braking with the configured axial acceleration
1: Rapid stop (set velocity = 0)
2-26
Detailed description
2.4 Monitoring of static limits
Effectivity
The hardware limit-switch monitoring is active after the control has ramped up in all modes.
Effect
Upon reaching the hardware limit switch, the following occurs:
Alarm: "21614 Channel <Channel number> Axis <Axis identifier> Hardware limit switch
<Direction>"
The machine axis is braked according to the configured braking behavior.
If the axis/spindle is involved in interpolation with other axes/spindles, these are also
braked according to their configured braking behavior.
The traversing keys of the affected machine axis are blocked based on the direction.
2-27
Detailed description
2.4 Monitoring of static limits
2.4.3
Function
Software limit switches serve to limit the traversing range of a machine axis. Per machine
axis and per traversing direction, two (1st and 2nd) software limit switches are available:
MD36110 POS_LIMIT_PLUS (1st software limit switch plus)
MD36110 POS_LIMIT_MINUS (1st software limit switch minus)
MD36130 POS_LIMIT_PLUS (2nd software limit switch plus)
MD36120 POS_LIMIT_MINUS (2nd software limit switch minus)
By default, the 1st software limit switch is active. The 2nd software limit switch can be
activated for a specific direction with the PLC user program.
DB31, ... DBX12.2 / 12.3 (2nd software limit switch minus / plus)
Effectivity
Immediately after the successful referencing of the machine axis.
In all operating modes.
Constraints
The software limit switches refer to the machine coordinate system.
The software limit switches must be inside the range of the hardware limit switches.
The machine axis can be moved to the position of the active software limit switch.
PRESET
After use of the function PRESET, the software limit-switch monitoring is no longer active.
The machine must first be re-referenced.
Endlessly rotating rotary axes
No software limit-switch monitoring takes place for endlessly rotating rotary axes:
MD30310 $MA_ROT_IS_MODULO == 1 (Modulo conversion for rotary axis and spindle).
2-28
Detailed description
2.4 Monitoring of static limits
Effect
Automatic operating modes (AUTOMATIC, MDI)
1. Without transformation, without overlaid movement, unchanged software limit switch:
A part program block with a programmed traversing motion that would lead to
overrunning of the software limit switch is not started.
2. With transformation:
Different reactions occur depending on the transformation type.
Behavior as under 1.
or
The part program block with a programmed traversing motion that would lead to
overrunning of the software limit switch is started. The affected machine axis stops at
the active software limit switch. The other machine axes participating in the traversing
motion are braked. The programmed contour is left during this process.
3. With overlaid motion
The part program block with a programmed traversing motion that would lead to
overrunning of the software limit switch is started. Machine axes that are traveling with
overlaid motion or have traveled with overlaid motion stop at the active software limit
switch in question. The other machine axes participating in the traversing motion are
braked. The programmed contour is left during this process.
Manual operating modes
1. JOG without transformation
The machine axis stops at the software limit switch position.
2. JOG with transformation
The machine axis stops at the software limit switch position. Other machine axes
participating in the traversing motion are braked. The preset path is left during this
process.
General
Changing of the software limit switch (1st 2nd software limit switch)
If the actual position of the machine axis after changing lies behind the software limit
switch, it is stopped with the maximum permissible acceleration.
Overrunning the software limit switch in JOG mode
If the position of the software limit switch is reached and renewed pressing of the
traversing button should cause further travel in this direction, an alarm is displayed and
the axis is not traversed farther:
Alarm: "10621 Channel <Channel number> Axis <Axis identifier> is at the software limit
switch <Direction>"
2-29
Detailed description
2.4 Monitoring of static limits
2.4.4
Function
Working-area limitation via setting data
The working-area limitation serves to limit the traversing range of a geometry or special axis
with respect to the basic coordinate system.
The dimensions of the working-area limitation are configured via immediately effective
setting data:
SD43420 $SA_WORKAREA_LIMIT_PLUS (Working-area limitation plus)
SD43430 $SA_WORKAREA_LIMIT_MINUS (Working-area limitation minus)
Programmable working-area limitation
The working-area limitation is programmable via the part program instructions G25 / G26
(lower / upper working-area limitation). The programmed working-area limitation has priority
over the working-area limitation set in the settings data. It overwrites the value entered in the
setting date and is retained even after NC-RESET and program end.
Working-area limitation and tool data
For traversing motions with an active tool, not only the position of the axis but also the
position of the tool tip P is monitored.
Consideration of the tool radius must be activated separately:
MD21020 $MC_WORKAREA_WITH_TOOL_RADIUS (Consideration of the tool radius in the
working-area limitation)
2-30
Detailed description
2.4 Monitoring of static limits
3URJUDPPDEOH
ZRUNLQJDUHDOLPLWDWLRQ
*
; PD[
0
=
:
*
; PLQ
Figure 2-8
*
= PLQ
*
= PD[
Working-area limitation
References:
/PG/Programming Manual Fundamentals
Effectivity
Immediately after the successful referencing of the machine axis.
In all operating modes.
Activation
Working-area limitation via setting data
The activation/deactivation of the working-area limitation takes place direction-specifically via
the immediately effective setting data:
SD43400 $SA_WORKAREA_PLUS_ENABLE (Working-area limitation active in the
positive direction)
SD43410 $SA_WORKAREA_MINUS_ENABLE (Working-area limitation active in the
negative direction)
2-31
Detailed description
2.4 Monitoring of static limits
Constraints
The working-area limitation refers to the basic coordinate system.
The working-area limitation must lie within the range of the software limit switch.
PRESET
After use of the function PRESET, the software limit-switch monitoring is no longer active.
The machine must first be re-referenced.
The RESET position with regard to WALIMON / WALIMOF is configurable via:
MD20150 $MC_GCODE_RESET_VALUES (RESET position of G groups)
Endlessly rotating rotary axes
No software limit-switch monitoring takes place for endlessly rotating rotary axes:
MD30310 $MA_ROT_IS_MODULO == 1 (Modulo conversion for rotary axis and spindle)
2-32
Detailed description
2.4 Monitoring of static limits
Effect
Automatic operating modes
1. With / without transformation
The part program block with a programmed traversing motion that would lead to
overrunning of the working-area limitation is not started.
2. With overlaid motion
The part program block with a programmed traversing motion that would lead to
overrunning of the working-area limitation is started. Axes that are traversed with overlaid
motion stop at the working-area limitation.
Manual operating modes
1. JOG with / without transformation
The axis is positioned at the working-area limitation and then stopped. Other machine
axes participating in the traversing motion are braked. The preset path is left during this
process.
General
Activation of the working-area limitation
If the actual position of an axis after activation is located outside of the working-area
limitation, it is stopped with the maximum permissible acceleration.
Overrunning of the working-area limitation in JOG mode
If the position of the working-area limitation is reached and renewed pressing of the
traversing button should cause further travel in this direction, an alarm is displayed and
the axis is not moved farther:
Alarm: "10631 Channel <Channel number> Axis <Axis identifier> is at the working-area
limitation <Direction>"
2-33
Detailed description
2.5 Protection zones
2.5
2.5.1
2.5
Protection zones
General
Function
Protection zones are static or moveable in 2- or 3-dimensional ranges within a machine to
protect machine elements against collisions.
The following elements can be protected:
Permanent parts of the machine and attachments (e.g. toolholding magazine, swiveling
probe). Only the elements that can be reached by possible axis constellations are
relevant.
Moving parts belonging to the tool (e.g. tool, toolholder)
Moving parts belonging to the workpiece (e.g. parts of the workpiece, clamping table,
clamping shoe, spindle chuck, tailstock).
Protection zones are defined via part program instructions or system variables so that they
completely surround the element to be protected. The activation and deactivation of
protection zones also takes place via part program instructions.
Protection-zone monitoring by the NC is channelspecific, i.e. all the active protection zones
of a channel monitor one another for collisions.
Coordinate system
The definition of a protection zone takes place with reference to the geometric axis of a
channel in the basic coordinate system.
2-34
Detailed description
2.5 Protection zones
Referenc
Tool-related protection zones
Coordinates for toolrelated protection zones must be given as absolute values referred to
the tool carrier reference point F.
Workpiece-related protection zones
Coordinates for workpiecerelated protection zones must be given as absolute values
referred to the zero point of the basic coordinate system.
Orientation
The orientation of the protection zones is determined by the plane definition
(abscissa/ordinate), in which the contour is described, and the axis perpendicular to the
contour (vertical axis).
The orientation of the protection zones must be the same for the tool and workpiecerelated
protection zones.
Note
During machining in operating modes JOG, MDI and AUTOMATIC, the control checks
whether the tool (or its protection zones) violate the protection zones of the workpiece.
2.5.2
2-35
Detailed description
2.5 Protection zones
Examples
Below are a few examples of protection zones
Toolrelated protection zone
Workpiece-related protection zone
3-dimensional protection zone
Relative protection zone
;
:RUNSLHFHUHODWHG
SURWHFWLRQ]RQHIRU
VSLQGOHFKXFN
7RROKROGHU
7RROUHODWHG
SURWHFWLRQ]RQH
IRUWRROKROGHU
'ULOO
3
=
;
Figure 2-9
2-36
Detailed description
2.5 Protection zones
<
7RROUHODWHG
SURWHFWLRQ]RQH
7RROUHODWHG
SURWHFWLRQ]RQH
6
;
:RUNSLHFHUHODWHG
SURWHFWLRQ]RQH
=
Figure 2-10
5HODWLYHZRUNSLHFHUHODWHG
SURWHFWLRQ]RQHIRU
WDLOVWRFN
0
:
Figure 2-11
2-37
Detailed description
2.5 Protection zones
2.5.3
General
A protection-zone definition must contain the following information:
Protection zone type (workpiece- or tool-related)
Orientation of protection zone
Type of limitation in the third dimension
Upper and lower limit of the protection zone in the third dimension
Activation type ("Protection zone immediately active": only possible via system variable)
Contour elements
2-38
Detailed description
2.5 Protection zones
Definition beginning
The definition start is defined by the corresponding subroutine:
CPROTDEF(n, t, applim, appplus, appminus)
NPROTDEF(n, t, applim, appplus, appminus)
Parameters Type
n
INT
Description
BOOL
applim
INT
appminus
REAL
appplus
REAL
2-39
Detailed description
2.5 Protection zones
([WHUQDOSURWHFWLRQ]RQH
;
,QWHUQDOSURWHFWLRQ
]RQH
0
=
,QWHUQDOSURWHFWLRQ]RQH
;
Figure 2-12
Toolrelated protection zones must be convex. If a concave protection zone is required, the
protection zone must be divided up into several convex protection zones.
&RQYH[SURWHFWLRQ]RQHV
&RQFDYHSURWHFWLRQ]RQHVQRWSHUPLVVLEOH
Figure 2-13
2-40
Detailed description
2.5 Protection zones
Contour elements
The following contour elements are permissible:
G0, G1 for straight contour elements
G2 for circle segments in the clockwise direction
Permissible only for workpiece-related protection zones.
Not permissible for tool-related protection zones because they must be convex.
G3 for circular segments in the counterclockwise direction
A protection zone cannot be described by a complete circle. A complete circle must be
divided into two half circles.
The sequence G2, G3 or G3, G2 is not permitted. A short G1 block must be inserted
between the two circular blocks.
Constraints
During the definition of a protection zone, the following functions must not be active or used:
Tool radius compensation (cutter radius compensation, tool nose radius compensation)
Transformation,
Reference point approach (G74)
Fixed point approach (G75)
Dwell time (G4)
Block search stop (STOPRE)
End of program (M17, M30)
M functions: M0, M1, M2
Programmable frames (TRANS, ROT, SCALE, MIRROR) and configurable frames (G54 to G57)
are ineffective.
Inch/metric switchovers with G70/G71 or G700/G710 are effective.
End of definition
The end of definition is defined by the following subroutine:
EXECUTE(NOT_USED)
Parameters Type
NOT_USED INT
Description
Error variable has no effect in protection zones with EXECUTE.
2-41
Detailed description
2.5 Protection zones
2.5.4
General
If the protection zones are defined with part program instructions (see Chapter: Definition by
means of part program instructions), the protection zone data are stored in system variables.
The system variables can also be written directly so that the definition of protection areas
can also be performed directly in the system variables.
The same supplementary conditions apply for the definition of the contour of a protection
zone as for a protection-zone definition via part program instructions.
System variable
The protection-zone definitions include the following system variables:
System variable
$SN_PA_ACTIV_IMMED[n]
$SC_PA_ACTIV_IMMED[n]
2-42
Type
BOOL
Meaning
Activation type
The protection zone is active immediately after power up of
the control and referencing of the axes.
FALSE: not immediately active
TRUE: immediately active
$SN_PA_T_W[n]
$SC_PA_T_W[n]
INT
$SN_PA_ORI[n]
$SC_PA_ORI[n]
INT
$SN_PA_LIM_3DIM[n]
$SC_PA_LIM_3DIM[n]
INT
$SN_PA_PLUS_LIM[n]
$SC_PA_PLUS_LIM[n]
REAL
$SN_PA_MINUS_LIM[n]
$SC_PA_MINUS_LIM[n]
REAL
$SN_PA_CONT_NUM[n]
$SC_PA_CONT_NUM[n]
INT
$SN_PA_CONT_TYP[n, i]
$SC_PA_CONT_TYP[n, i]
INT
Contour type[i], contour type (G1, G2, G3) of the nth contour
element
$SN_PA_CONT_ABS[n, i]
$SC_PA_CONT_ABS[n, i]
REAL
$SN_PA_CONT_ORD[n, i]
$SC_PA_CONT_ORD[n, i]
REAL
$SN_PA_CENT_ABS[n, i]
$SC_PA_CENT_ABS[n, i]
REAL
Detailed description
2.5 Protection zones
System variable
$SN_PA_CENT_ORD[n, i]
$SC_PA_CENT_ORD[n, i]
Type
REAL
Meaning
Center point of the circular contour[i], absolute ordinate
value
Note
The system variables of the protection-zone definitions are not restored with REORG.
Blocks
_N_NCK_PRO
_N_CHAN1_PRO
_N_CHAN2_PRO
Data backup
The protection-zone definitions are saved in the following files:
File
Blocks
_N_INITIAL_INI
_N_COMPLETE_PRO
_N_CHAN_PRO
2-43
Detailed description
2.5 Protection zones
2.5.5
General
The activation status of a protection zone is:
Preactivated
Preactivated with conditional stop
Enabled
Disabled
A protection zone is monitored for violation only when it is activated.
Activation
The activation of a protection zone can take place through:
Part program instruction
Automatically after the control powers up
PLC user program
For activation through the PLC user program, the protection zone must be first
preactivated via a part program.
The preactivation, deactivation and activation of all protection zones always takes place
channel-specifically. A protection zone can also be active in multiple channels
simultaneously (application example: Double-slide single-spindle machine with one quill and
two machining slides. Machine-related protection zones are automatically activated in all
channels after the control powers up.
An activated protection zone is only taken into account after the successful referencing of all
participating geometry axes.
Preactivation
Only preactivated protection zones can be activated from the PLC user program.
3UHDFWLYDWHGSURWHFWLRQ]RQH
0
=
:
Figure 2-14
2-44
Detailed description
2.5 Protection zones
Deactivation
A protection zone can be deactivated from a part program only.
RESET response
The activation status of a protection zone is retained even after NC-RESET and program end.
Memory requirements
The memory requirements with regard to protection zones are defined with the following
parameters:
Maximum number of protection zones that can be simultaneously activated in the
channel:
MD28210 $MC_MM_NUM_PROTECT_AREA_ACTIVE
Maximum number of contour elements that can be defined per protection zone:
MD28212 $MC_MM_NUM_PROTECT_AREA_CONTUR
Type
INT
Description
state
INT
Activation status
xMov,
REAL
yMov, zMov
Offset values of the previously defined protection zone in the geometry axes
Offsets
During preactivation or activation of the protection zone, an offset can be entered in 0 to 3
dimensions. The offset refers to:
Workpiece-specific protection zones: Machine zero
Tool-specific protection zones: Tool holder reference point F
Note
A protection zone cannot be activated in a single channel with different offsets
simultaneously.
2-45
Detailed description
2.5 Protection zones
Note
It follows from the rules listed above that protection zones that should be activated via the
PLC user program are intended specially for this. Preactivation in the part program is only
useful for these protection zones.
For protection zones that are known only in the part program and not in the PLC user
program, only activation in the part program makes sense.
2-46
Detailed description
2.5 Protection zones
Note
If no toolrelated protection zone is active, the tool path is checked against the workpiecerelated protection zones.
If no workpiece-oriented protection zone is active, protection-zone monitoring does not take
place.
Program test
In automatic modes, activated and preactivated protection zones are monitored even during
program control: PROGRAM TEST.
2-47
Detailed description
2.5 Protection zones
2.5.6
Function
Workpiece and toolrelated protection zones that are activated or deactivated are monitored
for collision. If a protection-zone violation is detected, behavior in the individual operating
modes is as follows.
Terminating temporary enabling
Temporary enabling of a protection zone is terminated after the following events:
after NC RESET
Operating modes AUTOMATIC or MDA End of block is outside the protection zone
Manual operating modes: End of movement is outside the protection zone
Activating a protection zone
On NC RESET all the enabled protection zones become active again. If the part program or
jog mode is started again, the protection zones must be reenabled. If the current position lies
within a protection zone that becomes active again after NC RESET, this protection zone
must be enabled again on the first path movement.
Preactivated protection zones
Protection zones can be preactivated with part programs. To make them fully operative, they
must also be set to the "operative" state by the PLC.
In contrast to AUTOMATIC mode, a change in the NC/PLC interface signals "Make
preactivated protection zones operative" only has an effect on stationary axes in the
geometry system. This means: If an inoperative protection zone is made "operative" once a
motion has been started, it is not evaluated until the axes have stopped, possibly resulting in
the output of an alarm.
If a preactivated protection zone is made "operative" during traversing, the alarm 10704
"Protection-zone monitoring is not guaranteed" and the PLC interface signal are set:
DB31, ... DBX39.0 (protection-zone monitoring not guaranteed).
Deactivation of toolrelated protection zones
Toolrelated protection zones can be deactivated only in the part program or, if they have
been preactivated, by being rendered "inoperative" by the PLC.
2-48
Detailed description
2.5 Protection zones
Geo-axis replacement
Machine data can be used to configure protection zones and working-area limitations for
geo-axis replacement:
Protection zones can be activated with:
MD10618 PROTAREA_GEOAX_CHANGE_MODE, Bit 1 = 1 (Protection zone for
switchover of geo axes).
Working-area limitations can be activated with:
MD10604 WALIM_GEOAX_CHANGE_MODE, Bit 0 = 1 (Working-area limitations for
switchover of geo axes).
If functions such as protection zone or working-area limitation are deactivated during
geometry axis replacement, the bits should be set to zero.
For information about frames for switchover of geo axes, see:
References:
/FB1/Function Manual Basic Functions; Axes, Coordinate Systems, Frames (K2)
Transformation changeover
Protection zones can also be activated during transformation changeover using machine
data:
MD10618 PROTAREA_GEOAX_CHANGE_MODE, Bit 0 = 1 (Protection zone for switchover
of geo axes).
Bit 0 = 0 deactivates this function.
Monitoring of overlaid motion
Axes that have been assigned to another channel are not taken into account. The last
position to be approached is taken to be the end position. It is not taken into account whether
the axis has traversed after changing channels.
2-49
Detailed description
2.5 Protection zones
1
3URWHFWLRQ]RQH
1
1
1
)RUSUHDFWLYDWHG
SURWHFWLRQ]RQH
QRWDFWLYDWHGE\3/&
FDVH
1
Figure 2-15
1
)RUSUHDFWLYDWHGSURWHFWLRQ]RQH
DFWLYDWHGE\3/&
RUIRUDFWLYDWHGSURWHFWLRQ]RQH
DIWHUUHOHDVHRISURWHFWLRQ]RQHFDVH
1
1
1
1
2-50
Detailed description
2.5 Protection zones
Note
The end position for positioning axes is taken to be a position in the whole block. This means
that the alarm 10704 "Protection zones not guaranteed" is output when the positioning axis
starts to move. The overlaid motions themselves are not limited, nor is there any intervention
in processing of the program.
2-51
Detailed description
2.5 Protection zones
(QGSRLQWRIWKHPRWLRQ
ZLWKFRQWLQXRXV-2*
0D[D[LDOSDWK
ZLWK-2*ZLWKD
VLQJOHD[LV
6WDUWSRLQW
Figure 2-16
When the geometry axes have completed their movements (end of interpolation), the alarm
is automatically reset and the final position checked to see whether it is within one or several
protection zones.
There are three possible situations in this case:
1. If the position is outside all active protection zones, the next traversing motion can be
started normally. The appropriate PLC interface signals "Machinespecific or channelspecific protection zone violated" are set for the protection zones that are enabled or just
preactivated, but not yet operative.
2. If the position is within an active protection zone, the alarm "Protection zone violated in
JOG" is generated, thereby disabling any traversing motions. The appropriate PLC
interface signals "Machinespecific or channelspecific protection zone violated" are also
set.
The alarm is reset by:
Temporary enabling of the affected protection zones
Deactivation of the relevant protection zones if they are preactivated
Deactivation of the protection zone in MDI
3. If the position is on the protection zone limitation (position is still valid), no alarm is
generated.
2-52
Detailed description
2.5 Protection zones
Note
While any one axis in the geometry system is still oscillating, the status "Motions of axes
in geometry system completed" cannot be reached.
The warning remains active, the other axes in the geometry system can continue to
traverse.
The alarm "Protection zone reached in JOG" is not output if the motion of the first axis to
be started is terminated by the limitation determined prior to the motion.
2-53
Detailed description
2.5 Protection zones
2.5.7
2-54
Detailed description
2.5 Protection zones
Positioning axes
For positioning axes, only the programmed block end point is monitored.
An alarm is displayed during the traversing motion of the positioning axes:
Alarm: "10704 Protection-zone monitoring is not guaranteed".
Axis exchange
If an axis is not active in a channel because of an axis replacement, the position of the axis
last approached in the channel is taken as the current position. If this axis has not yet been
traversed in the channel, zero is taken as the position.
2-55
Detailed description
2.5 Protection zones
2-56
Supplementary conditions
3.1
3.1
Settings
For correct operation of the monitoring, the following settings must be made or checked, in
addition to the machine data mentioned:
General
MD31030 $MA_LEADSCREW_PITCH (Leadscrew pitch)
MD31050 $MA_DRIVE_AX_RATIO_DENOM (Denominator load gearbox)
MD31060 $MA_DRIVE_AX_RATIO_NUMERA (Numerator load gearbox)
MD31070 $MA_DRIVE_ENC_RATIO_DENOM (Denominator measuring gearbox)
MD31080 $MA_DRIVE_ENC_RATIO_NUMERA (Numerator measuring gearbox)
MD32810 $MA_EQUIV_SPEEDCTRL_TIME (equivalent time constant speed control loop
for feedforward control)
Encoder resolution
The corresponding machine data is described in:
References:
/FB1/ Function Manual, Basic Functions; Velocities, Setpoint/Actual Value Systems,
Closed-Loop Control (G2)
Only drives with analog speed setpoint interface
MD32260 $MA_RATED_VELO (Nominal motor speed)
MD32250 $MA_RATED_OUTVAL (Nominal output voltage)
3-1
Supplementary conditions
3.1 Axis monitoring functions
3-2
Examples
4.1
4.1
Requirement
The following internal protection zones are to be defined for a turning machine:
One machine- and workpiecerelated protection zone for the spindle chuck, without
limitation in the third dimension
One channelspecific protection zone for the workpiece, without limitation in the third
dimension
One channelspecific, toolrelated protection zone for the toolholder, without limitation in
the third dimension
The workpiece zero is placed on the machine zero to define the protection zone for the
workpiece.
When activated, the protection zone is then offset by 100mm in the Z axis in the positive
direction.
4-1
Examples
4.1 Definition and activation of protection zones
6WDUWSRLQW
;
3URWHFWLRQ]RQHIRU
VSLQGOHFKXFN
7RROKROGHU
6WDUWSRLQW
6WDUWSRLQW
'ULOO
3
0
:
5
;
Figure 4-1
4-2
3URWHFWLRQ]RQH
IRUZRUNSLHFH
3URWHFWLRQ]RQH
IRUWRROKROGHU
Examples
4.1 Definition and activation of protection zones
DEF INT AB
G18
NPROTDEF(1,FALSE,0,0,0)
G01 X100 Z0
G01 X-100 Z0
G01 X100 Z0
EXECUTE(AB)
CPROTDEF(1,FALSE,0,0,0)
G01 X80 Z0
G01 X-80 Z0
G01 X80 Z0
EXECUTE(AB)
CPROTDEF(2,TRUE,0,0,0)
G01 X0 Z-50
G01 X0 Z50
G01 X0 Z-50
EXECUTE(AB)
NPROTDEF(0,FALSE,0,0,0)
4-3
Examples
4.1 Definition and activation of protection zones
4-4
System variable
Valu
e
Comment
$SN_PA_ACTIV_IMMED[0]
$SN_PA_T_W[0]
""
$SN_PA_ORI[0]
$SN_PA_LIM_3DIM[0]
$SN_PA_PLUS_LIM[0]
$SN_PA_MINUS_LIM[0]
$SN_PA_CONT_NUM[0]
$SN_PA_CONT_TYP[0,0]
$SN_PA_CONT_TYP[0,1]
$SN_PA_CONT_TYP[0,2]
$SN_PA_CONT_TYP[0,3]
$SN_PA_CONT_TYP[0,4]
$SN_PA_CONT_TYP[0,5]
$SN_PA_CONT_TYP[0,6]
$SN_PA_CONT_TYP[0,7]
$SN_PA_CONT_TYP[0,8]
$SN_PA_CONT_TYP[0,9]
$SN_PA_CONT_ORD[0,0]
-100
$SN_PA_CONT_ORD[0,1]
-100
$SN_PA_CONT_ORD[0,2]
100
$SN_PA_CONT_ORD[0,3]
100
$SN_PA_CONT_ORD[0,4]
$SN_PA_CONT_ORD[0,5]
$SN_PA_CONT_ORD[0,6]
Examples
4.1 Definition and activation of protection zones
; Protection zone for spindle chuck, contour element 6
$SN_PA_CONT_ORD[0,7]
$SN_PA_CONT_ORD[0,8]
$SN_PA_CONT_ORD[0,9]
$SN_PA_CONT_ABS[0,0]
$SN_PA_CONT_ABS[0,1]
110
$SN_PA_CONT_ABS[0,2]
110
$SN_PA_CONT_ABS[0,3]
$SN_PA_CONT_ABS[0,4]
$SN_PA_CONT_ABS[0,5]
$SN_PA_CONT_ABS[0,6]
$SN_PA_CONT_ABS[0,7]
$SN_PA_CONT_ABS[0,8]
$SN_PA_CONT_ABS[0,9]
$SN_PA_CENT_ORD[0,0]
$SN_PA_CENT_ORD[0.1]
$SN_PA_CENT_ORD[0,2]
$SN_PA_CENT_ORD[0,3]
$SN_PA_CENT_ORD[0,4]
$SN_PA_CENT_ORD[0,5]
$SN_PA_CENT_ORD[0,6]
$SN_PA_CENT_ORD[0,7]
$SN_PA_CENT_ORD[0,8]
$SN_PA_CENT_ORD[0,9]
$SN_PA_CENT_ABS[0,0]
4-5
Examples
4.1 Definition and activation of protection zones
$SN_PA_CENT_ABS[0.1]
$SN_PA_CENT_ABS[0,2]
$SN_PA_CENT_ABS[0,3]
$SN_PA_CENT_ABS[0,4]
$SN_PA_CENT_ABS[0,5]
$SN_PA_CENT_ABS[0,6]
$SN_PA_CENT_ABS[0,7]
$SN_PA_CENT_ABS[0,8]
$SN_PA_CENT_ABS[0,9]
Table 4-3
4-6
System variable
Valu
e
Comment
$SN_PA_ACTIV_IMMED[0]
$SN_PA_ACTIV_IMMED[1]
$SC_PA_TW[0]
""
$SC_PA_TW[1]
$SC_PA_ORI[0]
$SC_PA_ORI[1]
$SC_PA_LIM_3DIM[0]
$SC_PA_LIM_3DIM[1]
$SC_PA_PLUS_LIM[0]
$SC_PA_PLUS_LIM[1]
$SC_PA_MINUS_LIM[0]
$SC_PA_MINUS_LIM[1]
$SC_PA_CONT_NUM[0]
$SC_PA_CONT_NUM[1]
Examples
4.1 Definition and activation of protection zones
$SN_PA_CONT_TYP[0,0]
$SN_PA_CONT_TYP[0,1]
$SN_PA_CONT_TYP[0,2]
$SN_PA_CONT_TYP[0,3]
$SN_PA_CONT_TYP[0,4]
$SN_PA_CONT_TYP[0,5]
$SN_PA_CONT_TYP[0,6]
$SN_PA_CONT_TYP[0,7]
$SN_PA_CONT_TYP[0,8]
$SN_PA_CONT_TYP[0,9]
$SN_PA_CONT_TYP[1,0]
$SN_PA_CONT_TYP[1,1]
$SN_PA_CONT_TYP[1,2]
$SN_PA_CONT_TYP[1,3]
$SN_PA_CONT_TYP[1,4]
$SN_PA_CONT_TYP[1,5]
$SN_PA_CONT_TYP[1,6]
$SN_PA_CONT_TYP[1,7]
$SN_PA_CONT_TYP[1,8]
$SN_PA_CONT_TYP[1,9]
$SN_PA_CONT_ORD[0,0]
-80
$SN_PA_CONT_ORD[0,1]
-80
$SN_PA_CONT_ORD[0,2]
80
$SN_PA_CONT_ORD[0,3]
80
$SN_PA_CONT_ORD[0,4]
4-7
Examples
4.1 Definition and activation of protection zones
; Protection zone for workpiece, contour element 4
4-8
$SN_PA_CONT_ORD[0,5]
$SN_PA_CONT_ORD[0,6]
$SN_PA_CONT_ORD[0,7]
$SN_PA_CONT_ORD[0,8]
$SN_PA_CONT_ORD[0,9]
$SN_PA_CONT_ORD[1,0]
-190
$SN_PA_CONT_ORD[1,1]
-210
$SN_PA_CONT_ORD[1,2]
-210
$SN_PA_CONT_ORD[1,3]
$SN_PA_CONT_ORD[1,4]
$SN_PA_CONT_ORD[1,5]
$SN_PA_CONT_ORD[1,6]
$SN_PA_CONT_ORD[1,7]
$SN_PA_CONT_ORD[1,8]
$SN_PA_CONT_ORD[1,9]
$SN_PA_CONT_ABS[0,0]
$SN_PA_CONT_ABS[0,1]
40
$SN_PA_CONT_ABS[0,2]
40
$SN_PA_CONT_ABS[0,3]
$SN_PA_CONT_ABS[0,4]
-50
$SN_PA_CONT_ABS[0,5]
$SN_PA_CONT_ABS[0,6]
$SN_PA_CONT_ABS[0,7]
$SN_PA_CONT_ABS[0,8]
Examples
4.1 Definition and activation of protection zones
$SN_PA_CONT_ABS[0,9]
$SN_PA_CONT_ABS[1,0]
-50
$SN_PA_CONT_ABS[1,1]
-30
$SN_PA_CONT_ABS[1,2]
20
$SN_PA_CONT_ABS[1,3]
50
$SN_PA_CONT_ABS[1,4]
-50
$SN_PA_CONT_ABS[1,5]
$SN_PA_CONT_ABS[1,6]
$SN_PA_CONT_ABS[1,7]
$SN_PA_CONT_ABS[1,8]
$SN_PA_CONT_ABS[1,9]
$SN_PA_CENT_ORD[0,0]
$SN_PA_CENT_ORD[0.1]
-190
$SN_PA_CENT_ORD[0,2]
$SN_PA_CENT_ORD[0,3]
$SN_PA_CENT_ORD[0,4]
$SN_PA_CENT_ORD[0,5]
$SN_PA_CENT_ORD[0,6]
$SN_PA_CENT_ORD[0,7]
$SN_PA_CENT_ORD[0,8]
$SN_PA_CENT_ORD[0,9]
$SN_PA_CENT_ORD[1.0]
$SN_PA_CENT_ORD[1.1]
-190
$SN_PA_CENT_ORD[1.2]
$SN_PA_CENT_ORD[1.3]
4-9
Examples
4.1 Definition and activation of protection zones
; Protection zone for tool holder, contour element 3
4-10
$SN_PA_CENT_ORD[1.4]
$SN_PA_CENT_ORD[1.5]
$SN_PA_CENT_ORD[1.6]
$SN_PA_CENT_ORD[1.7]
$SN_PA_CENT_ORD[1.8]
$SN_PA_CENT_ORD[1.9]
$SN_PA_CENT_ABS[0,0]
$SN_PA_CENT_ABS[0.1]
-30
$SN_PA_CENT_ABS[0,2]
$SN_PA_CENT_ABS[0,3]
$SN_PA_CENT_ABS[0,4]
$SN_PA_CENT_ABS[0,5]
$SN_PA_CENT_ABS[0,6]
$SN_PA_CENT_ABS[0,7]
$SN_PA_CENT_ABS[0,8]
$SN_PA_CENT_ABS[0,9]
$SN_PA_CENT_ABS[1.0]
$SN_PA_CENT_ABS[1.1]
-30
$SN_PA_CENT_ABS[1.2]
$SN_PA_CENT_ABS[1.3]
$SN_PA_CENT_ABS[1.4]
$SN_PA_CENT_ABS[1.5]
$SN_PA_CENT_ABS[1.6]
$SN_PA_CENT_ABS[1.7]
Examples
4.1 Definition and activation of protection zones
$SN_PA_CENT_ABS[1.8]
$SN_PA_CENT_ABS[1.9]
Activation
Table 4-4
Part program excerpt for activating the three protection zones for spindle chuck,
workpiece, and toolholder:
NPROT(1, 2, 0, 0, 0)
CPROT(1, 2, 0, 0, 100)
CPROT(2, 2, 0, 0, 0)
4-11
Examples
4.1 Definition and activation of protection zones
4-12
Data lists
5.1
5.1.1
5.1
Machine data
Protection zones
Number
Identifier: $MN_
Description
10604
WALIM_GEOAX_CHANGE_MODE
10618
PROTAREA_GEOAX_CHANGE_MODE
18190
MM_NUM_PROTECT_AREA_NCK
5.1.2
Identifier: $MC_
Description
20150
GCODE_RESET_VALUES[n]
Reset G groups
21020
WORKAREA_WITH_TOOL_RADIUS
5-1
Data lists
5.1 Machine data
Protection zones
Number
Identifier: $MC_
Description
28200
MM_NUM_PROTECT_AREA_CHAN
28210
MM_NUM_PROTECT_AREA_ACTIVE
28212
MM_NUM_PROTECT_AREA_CONTUR
5.1.3
Identifier: $MA_
Description
30310
ROT_IS_MODULO
32200
POSCTRL_GAIN [n]
32250
RATED_OUTVAL
32260
RATED_VELO
32300
MAX_AX_ACCEL
Axis acceleration
32800
EQUIV_CURRCTRL_TIME
32810
EQUIV_SPEEDCTRL_TIME
32910
DYN_MATCH_TIME [n]
35160
SPIND_EXTERN_VELO_LIMIT
36000
STOP_LIMIT_COARSE
36010
STOP_LIMIT_FINE
36020
POSITIONING_TIME
36030
STANDSTILL_POS_TOL
36040
STANDSTILL_DELAY_TIME
36050
CLAMP_POS_TOL
36052
STOP_ON_CLAMPING
36060
STANDSTILL_VELO_TOL
36100
POS_LIMIT_MINUS
36110
POS_LIMIT_PLUS
36120
POS_LIMIT_MINUS2
36130
POS_LIMIT_PLUS2
36610
AX_EMERGENCY_STOP_TIME
36200
AX_VELO_LIMIT
36210
CTRLOUT_LIMIT
36220
CTRLOUT_LIMIT_TIME
36300
ENC_FREQ_LIMIT
5-2
Data lists
5.2 Setting data
Number
Identifier: $MA_
Description
36302
ENC_FREQ_LIMIT_LOW
36310
ENC_ZERO_MONITORING
Zero-mark monitoring
36400
CONTOUR_TOL
36500
ENC_CHANGE_TOL
36510
ENC_DIFF_TOL
36600
BRAKE_MODE_CHOICE
36620
SERVO_DISABLE_DELAY_TIME
Protection zones
Number
Identifier: $MA_
Description
30800
WORK_AREA_CHECK_TYPE
5.2
5.2.1
5.2
Setting data
Identifier: $SA_
Description
43400
WORKAREA_PLUS_ENABLE
43410
WORKAREA_MINUS_ENABLE
43420
WORKAREA_LIMIT_PLUS
43430
WORKAREA_LIMIT_MINUS
Protection zones
None
5-3
Data lists
5.3 Signals
5.3
5.3.1
5.3
Signals
Signals to channel
Protection zones
DB number
Byte.Bit
Description
21, ...
1.1
21, ...
4.7
Feed override
21, ...
6.0
Feed disable
21, ...
8.0
21, ...
8.7
21, ...
9.0
21, ...
9.1
21, ...
10.0
21, ...
10.7
21, ...
11.0
21, ...
11.1
5.3.2
Protection zones
DB number
Byte.Bit
Description
21, ...
272.0
21, ...
272.7
21, ...
273.0
21, ...
273.1
5-4
Data lists
5.3 Signals
DB number
Byte.Bit
Description
21, ...
274.0
21, ...
274.7
21, ...
275.0
21, ...
275.1
21, ...
276.0
21, ...
276.7
21, ...
277.0
21, ...
277.1
21, ...
278.0
21, ...
278.7
21, ...
279.0
21, ...
279.1
5.3.3
Signals to axis/spindle
Byte.Bit
Description
31, ...
1.4
Follow up operation
31, ...
1.5 / 1.6
31, ...
2.1
Servo enable
31, ...
2.3
Clamping in progress
31, ...
3.6
31, ...
4.3
Feed stop
31, ...
12.0 / 12.1
31, ...
12.2 / 12.3
31, ...
60.2 / 60.3
31, ...
60.4 / 60.5
Referenced/synchronized 1 / 2
31, ...
64.6 / 64.7
Protection zones
None
5-5
Data lists
5.3 Signals
5-6
Index
A
Activation of protection zones
Example, 4-11
Axis clamping
Operations, optimized, 2-7
Axis monitoring functions, 1-1
Actual velocity, 2-16
Axis/spindlespecific machine data, 5-2
Axis/spindlespecific setting data, 5-3
Channelspecific machine data, 5-1
Constraints, 3-1
Following error, 2-2
Speed setpoint, 2-14
Zero speed, 2-6
C
Contour error, 2-1
Coordinate system, 2-33
D
DB 31, ...
DBX1.4, 2-8, 2-14
DBX1.5, 2-16, 2-17
DBX1.6, 2-16, 2-17
DBX12.0, 2-27
DBX12.1, 2-27
DBX12.2, 2-28
DBX12.3, 2-28
DBX2.2, 2-8
DBX2.3, 2-8, 2-14
DBX39.0, 2-47, 2-49, 2-50, 2-51
DBX60.2, 2-18
DBX60.3, 2-18
DBX60.4, 2-25
DBX60.5, 2-25
DBX60.6, 2-6, 2-14
DBX60.7, 2-6, 2-14
DBX64.6, 2-6
DBX64.7, 2-6
DB21, ...
Axis monitoring, protection zones (A3)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
E
Encoder monitoring functions, 2-17
Encoder frequency, 2-17
Encoder type, 2-19
Zero marks, 2-19, 2-20
H
Hardware faults, 2-25
Hardware limit switches, 2-27
I
Interface signals|Table, 5-4
L
Limit switch monitoring, 2-26
Linear signal distortions, 2-1
M
MD10604, 2-48
MD10618, 2-48
MD18190, 2-35
MD20150, 2-32
MD21020, 2-30
MD28200, 2-35
MD28210, 2-44
MD28212, 2-44
MD30240, 2-19
MD30310, 2-28, 2-32
MD31030, 3-1
MD31050, 3-1
Index-1
Index
MD31060, 3-1
MD31070, 3-1
MD31080, 3-1
MD32000, 2-2
MD32200, 2-2
MD32200, 2-5
MD32250, 3-1
MD32260, 3-1
MD32300, 2-2
MD32610, 2-2
MD32800, 2-2
MD32810, 2-2, 3-1
MD36000, 2-7
MD36010, 2-5, 2-7
MD36012, 2-7
MD36020, 2-5
MD36030, 2-6, 2-7
MD36040, 2-6
MD36050, 2-7, 2-14
MD36052, 2-8, 2-10, 2-11, 2-13
MD36100, 2-28
MD36110, 2-28
MD36120, 2-28
MD36130, 2-28
MD36200, 2-16
MD36210, 2-15
MD36220, 2-15
MD36300, 2-17
MD36302, 2-19
MD36310, 2-19, 2-20, 2-21
MD36400, 2-2
MD36600, 2-27
MD36610, 2-3, 2-6, 2-7, 2-8, 2-16, 2-17, 2-18, 2-20,
2-22, 2-25
Monitoring of static limits, 2-26
O
Orientation, 2-34
P
Protection zone
Activate, 2-43
Deactivation, 2-43
Definition, 2-37, 2-41
Enable, 2-47
Restrictions, 2-53
Protection zones, 1-2, 2-33
Channelspecific machine data, 5-2
data storage, 2-42
General machine data, 5-1
Protection-zone definition
Example, 4-1
Protection-zone definition with system variables, 2-41
Protection-zone violation, 2-47
S
SD43400, 2-31
SD43410, 2-31
SD43420, 2-30
SD43430, 2-30
Servo gain factor, 2-1
Signal distortions, 2-1
Software limit switch, 2-28
Spindle speed
Control, 2-18
W
Working-area limitation, 2-30
Index-2
SINUMERIK 840D sl/840Di sl/840D/840Di/810D Continuouspath Mode, Exact Stop, LookAhead (B1)
1
Brief Description
______________
2
Detailed description
______________
SINUMERIK
840D sl/840Di sl/840D/840Di/810D
Continuouspath Mode, Exact Stop,
LookAhead (B1)
Function Manual
Valid for
Control
Software
03/2006 Edition
6FC5397-0BP10-1BA0
Version
1.3
1.0
7.4
3.3
7.4
3
Supplementary conditions
______________
4
Examples
______________
5
Data lists
______________
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90437 NRNBERG
GERMANY
Table of contents
1
2.1
2.1.1
2.1.2
2.1.3
2.2
2.3
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.4
2.5
3.2
Examples................................................................................................................................................ 4-1
4.1
5.2
5.2.1
5.3
5.3.1
5.3.2
Index................................................................................................................................................ Index-1
iii
Table of contents
iv
Brief Description
Continuous-path mode
In continuous-path mode, the NC attempts to keep the programmed path velocity as
constant as possible. In particular, deceleration of the path axes at the block limits of the part
program is to be avoided.
Look ahead
"Look ahead" is a function for optimizing continuous path mode.
Smooth machining of workpieces is necessary to ensure a high-quality surface finish. For
this reason, path velocity variations should be avoided during machining whenever possible.
Without "Look Ahead", the NC only takes into consideration the block immediately following
the current block to determine the possible path velocity. If the following block contains only
a short path, the NC must reduce the path velocity (decelerate in the current block) to be
able to stop in time at the end of the next block, if necessary.
When the NC "looks ahead" over an parameterizable number of blocks following the current
block, a much higher path velocity can be attained under certain circumstances because the
NC now has more blocks and more path available for calculation.
This results in the following advantages:
Machining with higher path velocities on average
Improved surface quality by avoiding deceleration and acceleration processes
1-1
Brief Description
NC block compressor
When a workpiece design is completed with a CAD/CAM system, the CAD/CAM system
generally also compiles the corresponding part program to create the workpiece surface. To
do so, most CAD/CAM systems use linear blocks to describe even curved sections of the
workpiece surface. Many interpolation points are generally necessary to maintain the
required contour accuracy. This results in many linear blocks, typically with very short paths.
The "NC block compressor" function uses polynomial blocks to perform a subsequent
approximation of the contour specified by the linear blocks. During this process, an
assignable number of linear blocks is replaced by a polynomial block. Furthermore, the
number of linear blocks that can be replaced by a polynomial block also depends on the
specified maximum permissible contour deviation and the contour profile.
Use of polynomial blocks provides the following advantages:
Fewer part program blocks to describe the workpiece contour
Higher maximum path velocities
1-2
Detailed description
2.1
2.1.1
2.1
General
2.1.2
2.1.3
2-1
Detailed description
2.2 Exact stop
Effects
If a block change cannot be executed in continuous path mode, all axes programmed in this
part program block (except cross-block traversing special axes) are stopped. In this case,
contour errors do not occur. The stopping of the path axes during machining can cause
undercuts on the workpiece surface.
2.2
2.2
Exact stop
Use
Exact stop mode should always be used when the programmed contour must be executed
exactly.
Exact stop criteria: "Exact stop coarse" and "Exact stop fine"
The two exact stop criteria "Exact stop coarse" and "Exact stop fine" are used to specify the
applicable tolerance window for reaching the state: "exact stop" of a machine axis.
Machine axis state
The state of a machine axis that refers to the position difference relative its setpoint position
at the end of a traversing motion is also designated as an exact stop. The machine axis
reaches the "exact stop" state as soon as its following error is less than the specified position
difference (exact stop criterion).
2-2
Detailed description
2.2 Exact stop
Parameterization
The tolerance windows of the exact stop criteria are specified with the following machine
data:
MD36010 STOP_LIMIT_FINE (exact stop fine)
MD36000 STOP_LIMIT_COARSE (exact stop coarse)
Note
Tolerance window
The tolerance windows of the exact stop criteria "Exact stop coarse" and "Exact stop fine"
should be assigned such that the following applies: "Exact stop coarse" > "Exact stop
fine"
([DFWVWRSILQH
$[LVBGLUHFWLR
QBQHJDWLYH
Figure 2-1
6(7326,7,21
([DFWBVWRSBF
RDUVH
$[LVBGLUHFWLRQBS
RVLWLYH
$&78$/326,7,21
2-3
Detailed description
2.2 Exact stop
)ROORZLQJHUURU
%ORFNFKDQJH
$FWXDO
YDOXH
ZLWK*
ZLWK*
ZLWK*
6HWSRLQW
Figure 2-2
2-4
Detailed description
2.2 Exact stop
Example
MD20550 $MC_EXACT_POS_MODE = 02
Ones position = 2:
With rapid traverse, exact stop criterion G602 (exact stop window coarse) is always active,
irrespective of any programming in the part program.
Tens digit = 0:
For traversing with all other part program commands of the first G-group, the exact stop
criterion programmed in the part program is active.
2-5
Detailed description
2.3 Continuous-path mode
Assignable exact stop criterion for rapid traverse transitions in continuous path mode
The behavior at the block transition of part program blocks before and after rapid traverse
blocks can be parameterized via the following channel-specific machine data:
MD20552 $MC_EXACT_POS_MODE_G0_TO_G1 = < value > (exact stop condition for G00G01 transition)
2.3
2.3.1
2.3
Value
Meaning
Stop at block change: response, as appropriate Behavior according to G601 (Exact stop
window fine)
Like 0; in addition, the override of the next non-G00 block is taken into account with Look
ahead in the G00 block during the transition from G00 to non-G00.
Like 0; in addition, the override of the next block is taken into account with Look ahead
during the transition from G00 to non-G00 and non-G00 to G00.
Continuous-path mode
General
Continuous-path mode
In continuouspath mode, the path velocity is not decelerated for the block change in order to
permit the fulfillment of an exact-stop criterion.
The objective of this mode is to avoid rapid deceleration of the path axes at the block-change
point so that the axis velocity remains as constant as possible when the program moves to
the next block.
To achieve this objective, the "LookAhead" function is also activated when continuouspath
mode is selected.
Continuouspath mode causes the smoothing and tangential shaping of angular block
transitions by local changes in the programmed contour. The extent of the change relative to
the programmed contour can be limited by specifying the overload factor or rounding criteria.
Continuouspath operation causes:
Contour rounding
Shorter machining times through elimination of braking and acceleration processes that
are required to comply with the exact-stop criterion
Improved cutting conditions because of the more constant velocity
2-6
Detailed description
2.3 Continuous-path mode
Continuouspath mode is suitable if:
A contour must be traversed as quickly as possible (e.g., with rapid traverse).
The exact contour may deviate from the programmed contour within a specific tolerance
for the purpose of obtaining a continuous contour.
Continuous-path mode is suitable if:
A contour is to be traversed precisely.
An absolutely constant velocity is required.
2-7
Detailed description
2.3 Continuous-path mode
The current block contains traversing commands for geometry axes and the following
block traversing commands for synchronized axes or, alternatively, the current block
contains traversing commands for synchronized axes and the subsequent block
traversing commands for geometry axes.
Synchronization is required
MD10110
The machine data is not evaluated:
MD10110 PLC_CYCLE_TIME_AVERAGE (average PLC acknowledgement time)
2-8
Detailed description
2.3 Continuous-path mode
2.3.2
Overload factor
The overload factor restricts step changes in the machine axis velocity at block ends. So that
the velocity jump does not exceed the maximum load on the axis, the jump is derived from
the acceleration of the axis.
The overload factor indicates the extent by which the acceleration of the machine axis, which
is set in machine data, may be exceeded for an IPO cycle:
MD32300 MAX_AX_ACCEL (axis acceleration).
The velocity jump is the product of the axial acceleration * (overload factor -1) * interpolator
cycle.
The factor is stored in the machine data:
MD32210 MAX_ACCEL_OVL_FACTOR (overload factor for axial jumps in velocity).
Factor 1.0 means that only tangential transitions with finite velocity can be traversed. For all
other transitions, the velocity is reduced to zero by changing the setpoint. This behavior is
equivalent to the function "Exact stop with interpolator end". This is undesirable for
continuouspath mode, so the factor must be set to greater than 1.0.
For startup and installation, please note that the factor must be reduced if the machine is
likely to be subject to vibrations during angular block transitions and rounding is not to be
used.
The block transitions are always rounded irrespective of the set overload factor by setting the
machine data:
MD20490 IGNORE_OVL_FACTOR_FOR_ADIS (G641/G642 irrespective of the overload
factor).
2-9
Detailed description
2.3 Continuous-path mode
<D[LV
%ORFNFKDQJH
;D[LV
3DWKYHORFLW\
%ORFNFKDQJH
9HORFLW\
RI;D[LV
/HDGD[
/HDGI2YHUO[
D[
$[LDO
YHORFLW\MXPS
I2YHUO[!
,32
F\FOH
9HORFLW\
RI<D[LV
/HDGD\
/HDGI2YHUO\
D\
$[LDOBYHORFLW\BMXPS
I2YHUO\!I2YHUO[!
,32
F\FOH
Figure 2-3
2-10
Detailed description
2.3 Continuous-path mode
2.3.3
Blending
Rounding means that an angular block transition is changed to a tangential block transition
by a local change to the programmed feedrate.
Rounding replaces the area in the vicinity of the original angular block transition (including
transitions between blocks inserted by the CNC) by a continuous contour. In this case, it is
not only the geometry axes that are taken into account, but all machine axes, which are
traversing synchronously. The rounding function therefore smoothes the traversing path of
orientation axes as well as general velocity step changes in synchronized axes.
Note
Rounding cannot and should not replace the functions for defined smoothing: RND, RNDM,
ASPLINE, BSPLINE, CSPLINE.
If a rounding movement initiated by G641, G642, G643, G644 is interrupted, the corner point
of the original contour will be used for subsequent repositioning, rather than the interruption
point.
Rounding is initiated by shortening discontinuously adjoining blocks and inserting one or two
intermediate blocks at this point. The original block boundary is removed and can no longer
be used for synchronization conditions (e.g., auxiliary function output parallel to motion, stop
at end of block).
With rounding, all synchronization conditions are best referred to the end of the shortened
first block and not to the end of the intermediate rounding block. The following block is thus
not started and with a stop at end of block, the contour of the following block can still be
changed.
Rounding is only performed if the block transition is to be traveled with finite velocity. The
maximum path speed is influenced by the curvature. The maximum acceleration values of
the axes are not exceeded. A block without traverse information for the path axes requires
velocity "zero" and therefore no rounding.
Rounding is also used if the traversal of the block transition requires a velocity that lies below
the permissible velocity at the end of the block according to G64 (see overload factor). This
means that very small knees in the contour (e.g., 0.5 degrees) can be overtraveled directly.
2-11
Detailed description
2.3 Continuous-path mode
The axis stops between the two blocks. This occurs when ...
1
The auxiliary function output is programmed before the movement in the following block.
An axis, which was previously a positioning axis traverses as a path axis for the first time
in the following block.
An axis, which was previously a path axis traverses as a positioning axis for the first time
in the following block.
The previous block moves geometry axes and the following block does not.
The following block moves geometry axes and the previous block does not.
Prior to thread cutting: The following block uses G33 as a preparatory function and the
previous block does not.
Axes involved in the transformation are not completely assigned to the path motion (e.g.,
for oscillation, positioning axes)
The rounding block would slow down part program execution. This occurs when ...
1
A rounding block is inserted between very short blocks. Since each block requires at
least one interpolation cycle, the added intermediate block would double the machining
time.
2-12
Detailed description
2.3 Continuous-path mode
Synchronized axes
If a number of paths need to be synchronized (e.g., contour, special axis), then every path
must always have its own rounding area.
There are no practical means of achieving this exactly. Therefore, on the basis of the specific
meaning of the contour (geometry axis), the following procedure is applied:
Rounding behavior with synchronized paths
Original path for
Result for
Geometry axes
Orientation axis/
synchronized axis
rounding path
Smooth
Smooth
Smooth
Angular path
Angular path
Smooth
Angular path
Angular path
Path criterion
The size of the rounding area can be controlled by path criteria ADIS and ADISPOS. These
are the precoincidences for the block change. ADIS and ADISPOS describe the distance,
which the rounding block may begin, at the earliest, before the end of the block or the
distance after the end of block within which the rounding block must be terminated.
3DWKFULWHULRQ
$',6
$',6326
3URJUDPPHGB
LQSXWBEORFN
Figure 2-4
3URJUDPPHGBEORFNB
LQWHUPHGLDWHBSRLQW
5RXQGLQJFRQWRXU
3URJUDPPHGB
RXWSXWBEORFN
Acute angles produce rounding curves with a large degree of curvature and therefore cause
a corresponding reduction in velocity.
2-13
Detailed description
2.3 Continuous-path mode
1RFRUQHUURXQGLQJ
1
YE UHPDLQLQJSDWK
1
1
$',6
YESDWK1
1
$',6
%HJLQQLQJRI
EORFN1
Figure 2-5
2-14
YESDWK1
$',6
YESDWK1
$',6
Detailed description
2.3 Continuous-path mode
Programming example
N1 G641Y50 F10 ADIS = 0.5
N2 X50
N3 X50.7
N4 Y50.7
N5 Y51.4
N6 Y51.0
N7 X52.1
In blocks with short distances (distance < 4*ADIS and < 4 * ADISPOS respectively), the
rounding distance is reduced so that a traversable part of the original block is retained. The
remaining length depends on the axis path and is approximately 60% of the distance still to
be traversed in the block.
ADIS or ADISPOS is therefore reduced to the remaining 40% of the distance to be traversed.
This algorithm prevents a rounding block being inserted for a very small change in contour.
In this case, switchover to continuouspath mode G64 is automatic until rounding blocks can
be inserted again.
2-15
Detailed description
2.3 Continuous-path mode
Extensions
G643 is not used to generate a separate rounding block, but axisspecific blockinternal
rounding movements are inserted.
The expansions described below refine the response with G642 and G643 and "rounding
with contour tolerance" is introduced.
When rounding with G642 and G643, the maximum permissible deviations of each axis are
normally specified.
Rounding with G642 and G643 can be configured with the following machine data such that
instead of the axis-specific tolerances, a contour tolerance and an orientation tolerance can
be specified.
MD20480 SMOOTHING_MODE (rounding behavior with G64x)
In this case, the tolerance of the contour and of the orientation is set using two independent
setting data, which can be programmed in the NC program. This means that different setting
data can be specified for each block transition.
Contour tolerance
A contour tolerance is specified using the setting data:
SD42465 SMOOTH_CONTUR_TOL (maximum contour tolerance when rounding)
This setting data defines the maximum rounding tolerance for the contour.
Orientation tolerance
To specify an orientation tolerance, the setting data:
SD42466 SMOOTH_ORI_TOL (max. tolerance of the tool orientation for rounding)
This setting data defines the maximum rounding tolerance for the tool orientation The data
determines the maximum permissible angular deviation of the orientation of the tool. This
data is only effective if an orientation transformation is active.
2-16
Detailed description
2.3 Continuous-path mode
Possible combinations
The following table indicates for G642 and G643 the effect of axis tolerances in the following
machine data:
MD33100 COMPRESS_POS_TOL (maximum tolerance with compression).
It also applies to the setting data given above.
MD20480 SMOOTHING_MODE must be loaded with two decimal places as follows:
G642
G643
SD42465 SMOOTH_CONTUR_TOL
(maximum contour tolerance when
rounding)
SD42465 SMOOTH_CONTUR_TOL
(maximum contour tolerance when
rounding).
Value
2-17
Detailed description
2.3 Continuous-path mode
G643
Constraints
Expansion to include contour tolerance and orientation tolerance exists only in systems with
options for polynomial interpolation. The orientation-transformation option is also required for
rounding orientations with angular tolerance specification.
Restriction for protection zones with active radius compensation and tool orientation:
Although tool radius compensation is applied for a tool orientation, which is not perpendicular
to one of the three datum planes of the basic coordinate system, the protection zones are
not rotated onto the corresponding plane.
For G643 the following must apply in the machine data:
MD28530 MM_PATH_VELO_SEGMENTS > 0 (Number of memory elements for limiting the
path velocity)
If this condition is met, the following machine data must apply to all the axes:
MD35240 ACCEL_TYPE_DRIVE = FALSE (acceleration characteristic line DRIVE for axes
ON/OFF)
Expansion
Rounding with G642 and G643 has been extended so that the length of the rounding
distance can be specified directly instead of entering the maximum tolerances.
As with G641, the language commands ADIS = ... for G01 and ADISPOS = ... for G00 are
used respectively for this purpose.
Whether or not G642, G643 are specified with the maximum tolerances or the rounding
length, is set with the machine data:
MD20480 SMOOTHING_MODE (rounding behavior with G64x)
The following applies:
2-18
SMOOTHING_MODE = x4
SMOOTHING_MODE = 4x
Detailed description
2.3 Continuous-path mode
A profile of the limit velocity is calculated within the rounding area, based on the
defined maximum values for acceleration and jerk on the participating axes or
path.
This can lead to an increase in the path velocity in the rounding area and
therefore to the acceleration of the participating axes.
100:
A profile of the limit velocity is not calculated for rounding blocks with
G641/G642. A constant velocity limit is specified instead.
This prevents the participating axes being accelerated into the rounding area
during rounding with G641/G642. However, in certain cases, this setting can
cause the rounding blocks to be traversed too slowly, especially in large
rounding areas.
1xx:
2xx:
Note
See also:
MD28530 MM_PATH_VELO_SEGMENTS (number of memory elements for limiting the path
velocity)
2.3.4
Activation
This type of rounding is activated by G code G644. Further information needs to be
programmed and/or entered in the machine data, depending on the setting.
Note
G644 is not available with an active kinematic transformation. The system switches internally
to G642.
2-19
Detailed description
2.3 Continuous-path mode
Configuration
The rounding is configured with G644 using the following machine data:
MD20480 SMOOTHING_MODE (comparison of the rounding with G64x)
The following options are available (the values should be entered in the thousand's place of
the machine data):
Thousand's place:
0xxx:
When rounding with G644, the maximum deviations of each axis specified with
the following machine data are used:
MD33100 COMPRESS_POS_TOL (maximum tolerance with compression).
1xxx:
2xxx:
Input the maximum possible frequencies of each axis in the rounding area using
the machine data:
MD32440 LOOKAH_FREQUENCY (smoothing frequency for Look Ahead)
The rounding area is defined so that no frequencies in excess of the specified
maximum can occur while the rounding motion is in progress.
3xxx:
Any axis that has a velocity jump at a corner traverses around the corner with the
maximum possible dynamic response (maximum acceleration and maximum
jerk).
SOFT: The jerk is limited.
BRISK: When BRISK is active, only the acceleration is limited to its maximum
value.
With this setting, neither the maximum deviations nor the rounding distance are
checked.
The resulting deviations or rounding distances are determined exclusively by the
dynamic limits of the respective axis and the current path velocity.
While, with 3xxx, the rounding distance results exclusively from the dynamic response data
of the respective axis, in the other cases the distance to the corner at which the rounding
motion begins is checked. In the first two cases, the possible rounding distance is limited to a
maximum value, which results either from the defined maximum deviation or a direct
programming command.
In contrast, in the case of 2xxx, the rounding distance is limited to a minimum value, which
results from the maximum permissible excitation frequency and the current path velocity.
Additional limitation
Any further limitations are also effective in addition to this rounding distance limitation. The
rounding distance cannot exceed half the length of the original participating blocks.
The smoothing of the velocity jump on each axis and thus the shape of the rounding path
depends on whether an interpolation is performed with or without jerk limitation.
Consequently, a different velocity characteristic is produced for each axis, depending on
whether BRISK or SOFT is active.
2-20
Detailed description
2.3 Continuous-path mode
BRISK
With BRISK, no jerk limitation is active; the acceleration of each axis reaches its maximum
value in the entire rounding area.
SOFT
With SOFT, the jerk of each axis is limited to its maximum value within the rounding area.
The rounding motion thus generally consists of 3 phases:
Phase 1
During phase 1, each axis builds up its maximum acceleration. The jerk is constant and
equal to the maximum possible jerk on the respective axis.
Phase 2
During phase 2, the maximum permissible acceleration is applied.
Phase 3
During phase 3, which is the last phase, the acceleration of each axis is reduced back to
zero with the maximum permissible jerk (see figure below).
2.3.5
Application
In some applications in mold making, especially in the case of high speed cutting, it is
desirable to achieve a constant path velocity.
Solution: Smoothing
In some cases, it can therefore be reasonable to sacrifice transient acceleration processes in
favor of a smoother tool path velocity. The following sections describe the conditions and
possible settings to avoid less effective accelerations/decelerations.
2-21
Detailed description
2.3 Continuous-path mode
Advantages
The following improvements are possible:
Avoidance of excitations of possible machine resonance due to continuous, transient
braking and acceleration processes (in the area of less IPO cycles).
Avoiding of constantly varying cutting rates due to acceleration which brings no significant
shortening of the program running time.
Decision-making criteria
The control system makes a decision based on:
Smoothing frequency for the tool path velocity (MD)
Tolerable loss in productivity when suppressing accelerations/decelerations (MD).
MD20460
A percentage value corresponding to the permissible extension must be specified in machine
data:
MD20460 LOOKAH_SMOOTH_FACTOR (smoothing factor for Look Ahead)
The percentage value defines how much longer a machining step without accelerations may
be than the corresponding step when performing the accelerations/decelerations.
This would be a "worst-case" value, if all accelerations within the part program, except the
initial approach motion, were smoothed.
2-22
Detailed description
2.3 Continuous-path mode
The actual extension will always be smaller, and may even be 0, if the criterion is not met by
any of the accelerations.
Values between 50 and 100% may also be entered without significantly increasing the
machining time.
MD20462
Whether the programmed feedrate should also be taken into consideration during the
smoothing is determined by the machine data:
MD20462 LOOKAH_SMOOTH_WITH_FEED (path smoothing with programmed feedrate)
If the MD is set to 1 (default), the smoothing factor is observed with particular precision if the
override is set to 100%.
MD32440
The following machine data contains a smoothing frequency for LookAhead:
MD32440 LOOKAH_FREQUENCY (smoothing frequency for Look Ahead)
Acceleration and braking processes running at a frequency higher than parameterized in this
MD are smoothed or reduced in their dynamic response depending on their parameterization
in the machine data:
MD20460 LOOKAH_SMOOTH_FACTOR (smoothing factor for Look Ahead)
MD20465 ADAPT_PATH_DYNAMIC (adaptation of the path dynamics)
The minimum value for all axes involved in the path is always calculated.
If vibration is excited in the mechanical system of this axis and if the corresponding
frequency is known, this MD should be set to a value smaller than this frequency.
The required resonance frequencies, for example, can be calculated using the built-in
measuring functions.
The minimum value for this MD32440 is calculated as fPath on the basis of the axis involved
in the path.
For the smoothing, only those acceleration processes in which the start and end velocity of
this motion are reached within the time below are taken into consideration:
t = t2-t1 = 2/fPath
Note
The smoothing of the path velocity does not lead to contour errors. Variations in axis velocity
due to curvatures in the contour at constant path velocity may continue to occur and are not
reduced at this point.
Variations in path velocity due to the input of a new feedrate are not changed either. This
remains the responsibility of the programmer of the subprogram.
2-23
Detailed description
2.3 Continuous-path mode
Activation
The smoothing of the path velocity is activated with machine data, which is active with
NewConfig:
MD20460 LOOKAH_SMOOTH_FACTOR
With the default value 0, the function is deactivated.
Example
The following parameters are assumed:
MD20460 LOOKAH_SMOOTH_FACTOR = 10% (smoothing factor for Look Ahead)
MD32440 LOOKAH_FREQUENCY[AX1] = 20Hz (smoothing frequency for Look Ahead)
MD32440 LOOKAH_FREQUENCY[AX2] = 20Hz
MD32440 LOOKAH_FREQUENCY[AX3] = 10Hz
The path involves the 3 axes X = AX1, Y = AX2, Z = AX3.
The minimum value of MD32440 for these 3 axes is thus 10 Hz. This means that any
acceleration, which is completed within a period of t2-t1 = 2/10Hz = 200 ms, is examined.
The time t2 is the time after which, following acceleration from velocity v1, the velocity
returns to this velocity v1. The extending of the execution time is also only considered within
this range.
A time t2-t1 in excess of 200 ms or additional program processing time t3-t2 greater than
10% (= MD20460) of t2-t1, produces the following time characteristic:
Y
Y
Y
W
Figure 2-6
W
However, a time t2-t1 below 200 ms and additional program processing time t3-t2 no greater
than 10% of t2-t1 produces this time characteristic:
2-24
Detailed description
2.3 Continuous-path mode
Y
Y
Y
W
W
Figure 2-7
2.3.6
W
Key statement
Highly dynamic acceleration and deceleration processes during machining can cause
excitation of mechanical vibrations of machine elements and consequently a reduction of the
surface quality of the workpiece. The function: "Dynamic response adaptation" therefore
provides the option of adapting the dynamic response of acceleration and deceleration
processes to the machine conditions by means of the following parameters:
Adaptation factor of the dynamic path response
Via the adaptation factor of the dynamic path response, temporary changes in the path
velocity are executed with smaller dynamic response limit values. This adaptation factor
can be set for each channel for traversing motions with acceleration without (BRISK) and
with (SOFT) jerk limiting:
Traversing motions with acceleration without jerk limiting:
MD20465 $MC_ADAPT_PATH_DYNAMIC[ 0 ] (adaptation of the dynamic path
response)
The adaptation factor acts on the acceleration.
Traversing motions with acceleration with jerk limiting:
MD20465 $MC_ADAPT_PATH_DYNAMIC[ 1 ]
The adaptation factor acts on the jerk.
Excitation frequency
The dynamic response limiting should only be active during deceleration and acceleration
processes that trigger mechanical vibrations larger than a specific limiting frequency, thus
causing excitation of machine resonances. This excitation frequency, after which the
dynamic response limiting activates, can be axis-specifically specified via the machine
data:
MD32440 $MA_LOOKAH_FREQUENCY (smoothing frequency for Look Ahead)
During the processing, the NC cyclically determines, for all the axes in the path, the
minimum value of their excitation frequencies as the limiting frequency for the adaptation
of the dynamic response.
Continuouspath Mode, Exact Stop, LookAhead (B1)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-25
Detailed description
2.3 Continuous-path mode
Constraints
The dynamic response adaptation considers only the resulting path and not the deceleration
and acceleration processes of the individual axes involved in the path. For this reason,
critical deceleration and acceleration processes of the axes with respect to the excitation of
mechanical vibrations can occur due to discontinuous contour profiles or kinematic
transformations, even with a constant path velocity profile.
Activation
The dynamic response adaptation is only active during path motions:
Continuous-path mode (G64, G64x)
In continuous-path mode, the optimal effect of the dynamic response adaptation is
attained with an active 100% override. Considerable deviations from this value or
functions that cause the path axes to decelerate (e.g. auxiliary function outputs to the
PLC) greatly reduce the desired action.
Exact stop (G60)
In addition, the dynamic response adaptation is not active under the following boundary
conditions:
Programmed rapid traverse (G0)
Changes in the override value
Stop requests during motion, e.g NC-STOP, NC-RESET
Active function: "Velocity-related path acceleration" (DRIVE)
Activation
The dynamic response adaptation is activated by an adaptation factor greater than 1:
MD20465 $MC_ADAPT_PATH_DYNAMIC > 1 (adaptation of the dynamic path response)
Automatic activation of the "Smoothing the path velocity" function
When the dynamic response adaptation is activated in continuous path mode, the
"Smoothing the path velocity" function is always activated as well. For a parameterized
smoothing factor of 0% (presetting: deactivated), a smoothing factor of 100% is used. For a
smoothing factor other than 0%, the parameterized value is used:
MD20460 $MC_LOOKAH_SMOOTH_FACTOR (smoothing factor for Look Ahead)
2-26
Detailed description
2.3 Continuous-path mode
Adaptations
In order to clarify the adaptation processes sketched below, please note the following basic
principles:
The size of the time window is tadapt = 1 / f.
1. The time needed to change the velocity is less than tadapt:
The acceleration rates are reduced by a factor greater than 1 and less than the value
written in machine data:
MD20465 ADAPT_PATH_DYNAMIC (adaptation of the path dynamics)
The reduction in acceleration rate increases the time taken to change the velocity.
The following cases are different:
The acceleration rate is reduced with a value less than MD20465 so that the process
lasts for tadapt [s]. The permitted reduction does not need to be fully utilized.
The acceleration time is reduced with the value written in MD20465. The process lasts
less than tadapt despite the reduced acceleration. The permitted reduction was fully
utilized.
2. The time needed to change the velocity is greater than tadapt:
No dynamic response adaptation is required.
See note
$MA_LOOKAH_FREQUENCY[AX1] = 20 Hz
TAX1 = 1/20 Hz = 50 ms
$MA_LOOKAH_FREQUENCY[AX2] = 10 Hz
$MA_LOOKAH_FREQUENCY[AX3] = 20 Hz
TAX3 = 1/20 Hz = 50 ms
Note
A smoothing factor other than 0% prevents the default value of 100% from being used to
smooth the path velocity. To illustrate this effect, in contrast to Example 2 the smoothing of
the path velocity is practically deactivated.
AX2
For path motions in which axis AX2 is involved, all deceleration and acceleration processes
that would last less than TAX2 are adapted.
AX1, AX3
If only axes AX1 and/or AX3 are involved in path motions, all deceleration and acceleration
processes that would last less than TAX1 = TAX3 are adapted. This time is designated tadaptxy in
the following diagrams:
2-27
Detailed description
2.3 Continuous-path mode
%
WDGDSW
WDGDSW
Y
WDGDSW
W
WDGDSW
W
Figure 2-8
W
W
W
W
W
W
Path velocity profile optimized for time without smoothing or dynamic adaptation
response
Y
%
WDGDSW
Y
WDGDSW
WDGDSW
W
Figure 2-9
W
W
W
W
W
W
W
Interval: t0 - t1 and t2 - t3
The acceleration process between t0 - t1 and the deceleration process between t2 - t3
are lengthened in time due to an adaptation of the acceleration to time tadapt01 or tadapt23.
Interval: t4 - t5
The acceleration process between t4 - t5 is executed with an acceleration reduced by the
maximum adaptation factor of 1.5. However, the acceleration process is completed
before time tadapt45.
Interval: t6 - t7
The deceleration process between t6 - t7 remains unchanged, as it lasts longer than
tadapt67.
2-28
Detailed description
2.3 Continuous-path mode
Example 2: Effect of smoothing the path velocity and dynamic response adaptation: acceleration
mode: BRISK
Parameter assignment
Machine data
$MC_ADAPT_PATH_DYNAMIC[0] = 3
$MC_LOOKAH_SMOOTH_FACTOR = 80%
$MA_LOOKAH_FREQUENCY[AX1] = 20 Hz
TAX1 = 1/20 Hz = 50 ms
$MA_LOOKAH_FREQUENCY[AX2] = 20 Hz
TAX2 = 1/20 Hz = 50 ms
$MA_LOOKAH_FREQUENCY[AX3] = 20 Hz
TAX3 = 1/20 Hz = 50 ms
Y
Y
Figure 2-10
W
W
W
W
W
Path velocity profile optimized for time without smoothing or dynamic adaptation
response
Y
%
Y
W
Figure 2-11
W
W
W
W
Path velocity profile with path smoothing and adaptation of dynamic response
2-29
Detailed description
2.3 Continuous-path mode
Effects of path smoothing
Interval: t1 - t2
The acceleration and deceleration process between t1 - t2 does not take place because
the lengthening of the machining time without the acceleration process to v12 is less than
the resulting time if a smoothing factor of 80% is applied.
Interval: t3 - t5
The acceleration and braking profile between t3 and t5 does not fulfill this condition or
takes longer the parameterized smoothing time: TAXn = 2/20 Hz = 100 ms.
Effects of the dynamic response adaptation
Interval: t3 - t4
The acceleration process between t3 - t4 is shorter than MIN(TAXn) =1/20 Hz = 50 ms and
is therefore executed with an acceleration reduced by an adaptation factor of 3.
Interval: up to t1
The acceleration up to t1 left over after path smoothing is stretched to the time period up
to t1' by the dynamic response adaptation.
Conclusion
This example shows the interaction of path smoothing and dynamic response adaptation in
continuous-path mode. Only those acceleration or deceleration processes that were not
eliminated by the path smoothing are subsequently optimized by the dynamic response
adaptation. For this reason, both functions should always be activated, if possible.
2-30
Detailed description
2.3 Continuous-path mode
Example 3: Effect of adaptation and smoothing the path velocity; acceleration mode: BRISK
Parameter assignment
$MC_ADAPT_PATH_DYNAMIC[1] = 4
$MC_LOOKAH_SMOOTH_FACTOR = 100%
$MA_LOOKAH_FREQUENCY[AX1] = 10 Hz
$MA_LOOKAH_FREQUENCY[AX2] = 10 Hz
$MA_LOOKAH_FREQUENCY[AX3] = 20 Hz
TAX3 = 1/20 Hz = 50 ms
/LPLWLQJRISDWKYHORFLW\BEDVHGRQ
G\QDPLFD[LVUHVSRQVHBRUSURJUDPPHG
IHHG
3DWKYHORFLW\FKDUDFWHULVWLF
7LPHLQLQWHUSRODWLRQF\FOHV
%ORFNFKDQJHPDUNHUV
The path-velocity characteristic has been obtained through deselection of path dynamic
response adaptation and path smoothing.
This corresponds to the following parameter settings:
$MC_ADAPT_PATH_DYNAMIC[1] = 1
$MC_LOOKAH_SMOOTH_FACTOR = 0%
2-31
Detailed description
2.3 Continuous-path mode
6PRRWKHUSDWKYHORFLW\GXHWRORZHUSDWKMHUN
7LPHLQLQWHUSRODWLRQF\FOHV
The path-velocity characteristic has been obtained through selection of path dynamic
response adaptation with minimum, and thus virtually inactive, path smoothing.
The following parameter settings were made:
$MC_ADAPT_PATH_DYNAMIC[1] = 4
$MC_LOOKAH_SMOOTH_FACTOR = 1%
6PRRWKHUSDWKYHORFLW\BGXHWR
UHGXFHGSDWKMHUN
1RDFFHOHUDWLRQRUEUDNLQJBHIIHFWRISDWKVPRRWK
LQJ
7LPHLQLQWHUSRODWLRQ
F\FOHV
The path-velocity characteristic has been obtained through selection of path dynamic
response adaptation and path smoothing.
The standard path rounding parameter settings for deselected path smoothing and active
path dynamic response adaptation were selected:
2-32
Detailed description
2.3 Continuous-path mode
$MC_ADAPT_PATH_DYNAMIC[1] = 4
$MC_LOOKAH_SMOOTH_FACTOR = 0%
(same meaning as $MC_LOOKAH_SMOOTH_FACTOR = 100%)
2-33
Detailed description
2.3 Continuous-path mode
2.3.7
Technology G group
Technology G group
Five dynamic response settings are available in G code group 59 technology:
DYNORM for standard dynamic response
DYNPOS for positioning mode, tapping
DYNROUGH for roughing
DYNSEMIFIN for finishing
DYNFINISH for smooth-finishing
For further information about programming, please refer to
References:
/PG/ Programming Guide Fundamentals, Path traversing behavior.
2-34
Detailed description
2.3 Continuous-path mode
Notice
Writing the machine data without an index places the same value in all field elements of the
machine data in question.
Reading the machine data without an index always supplies the value of the field with index
0.
These constellations can occur:
1. Write from part program MD32300: MAX_AX_ACCEL[AX1]=1 sets all five field elements to
value 1 (unit of measurement metric or inch depending on axis type and reference system).
2. Read in archive files from software versions earlier than SW 7.2.
2-35
Detailed description
2.3 Continuous-path mode
DYNNORM
DYNPOS
DYNROUGH
DYNSEMIFIN
DYNFINISH
Note
We recommend suppressingG codes that are not used
with MD10712: NC_USER_CODE_CONF_NAME_TAB[n]. This will prevent these G codes
from being programmed accidentally and activating unconfigured machine data.
2-36
Detailed description
2.4 LookAhead
2.4
2.4
LookAhead
Function
LookAhead is a procedure in continuouspath mode (G64, G641) that achieves velocity
control with LookAhead over several NC part program blocks beyond the current block.
If the program blocks only contain very small paths, a velocity per block is achieved that
permits deceleration of the axes at the block end point without violating acceleration limits.
This means that the programmed velocity was not actually reached although a sufficient
number of prepared blocks with virtually tangential path transitions was available.
With the LookAhead function it is possible to plan the acceleration and deceleration phase
with approximately tangential path transitions in order to achieve a higher feedrate with
shorter distances. Deceleration to velocity limits is possible with LookAhead such that
violation of the acceleration and velocity limit is prevented.
)HHG
)
SURJUDPPHG
*/RRN$KHDGYHORFLW\FRQWURO
*&RQVWDQWYHORFLW\SKDVHFDQQRWEHDFKLHYHG
1
Figure 2-12
1
1 1
1 1
%ORFNSDWK
Comparison of velocity response with exact stop G60 and continuouspath mode G64
with LookAhead with short traversing paths.
2-37
Detailed description
2.4 LookAhead
Scope
The LookAhead function is only available for path axes and not for spindles and positioning
axes.
LookAhead carries out a block-specific analysis of velocity limits and specifies the required
brake ramp profile based on this information. LookAhead is adapted automatically to block
length, braking capacity and permissible path velocity.
For safety reasons, the velocity at the end of the last prepared block must initially be
assumed to be zero because the next block might be very small or be an exact-stop block
and the axes must have been stopped by the end of the block.
With a series of blocks with high set velocity and very short paths, the speed can be
increased in each block depending on the velocity value currently calculated by the
LookAhead function in order to achieve the required set velocity. After this it can be reduced
so that the velocity at the end of the last block considered by the LookAhead function can be
zero.
This results in a serrated velocity profile (see the following fig.) which can be avoided by
reducing the set velocity or increasing the number of blocks considered by the LookAhead
function.
Number of blocks
To achieve reliable axis traversal in continuouspath mode, the feedrate must be adapted
over several blocks. The number of blocks considered by the LookAhead function is
calculated automatically and can, if required, be limited by a machine data. The standard
setting is 1, which means that LookAhead only considers the following block for velocity
control.
Because LookAhead is especially important for short blocks (relative to the deceleration
path), the number of blocks required is of interest for LookAhead braking (see fig. below). It
is enough to consider the path length to be equal to the deceleration path that is required to
brake from maximum velocity to standstill.
For a machine with a low axial acceleration of a = 1m/s2 and a high feedrate of vpath = 10
m/min, the following number of blocks for the control is obtained with an attainable block
cycle time of the control of TB = 10 ms.
nLookAhead= Deceleration path/Block length = ( vpath2 / (2a)) / (vpath * TB) = 9
Considering these aspects, it is advisable to adapt the feedrate over 10 blocks. The number
of blocks entered for the LookAhead function forecast does not change the LookAhead
algorithm and memory requirement.
As, in a program, the machining velocity is very often set to a lower value than the maximum
velocity, more blocks than are required would be predicted, overloading the processor
unnecessarily. The number of blocks required is therefore derived from the velocity, which is
calculated by multiplying the programmed speed by the value of machine data:
MD12100 OVR_FACTOR_LIMIT_BIN
(limit of binary-coded override switch)
or by the 31st override value of machine data:
MD12030 OVR_FACTOR_FEEDRATE
(analysis of path feedrate override switch).
2-38
Detailed description
2.4 LookAhead
The 31st override value must tally with the override factor most frequently used.
The number of blocks considered by the LookAhead function is limited by the possible
number of NC blocks in the IPO buffer.
YVHW
Y DFW
1
Figure 2-13
1
1
1
1 1
Example for modal velocity control (number of blocks considered by the LookAhead
function = 2)
Velocity profiles
In addition to the fixed, plannable velocity limitations, LookAhead can also take account of
the programmed velocity. This makes it possible to achieve a lower velocity by applying
LookAhead beyond the current block.
2-39
Detailed description
2.4 LookAhead
Override points
If the velocity profile of the following block velocity is not sufficient because, for example,
very high override values, e.g., 200%, or constant cutting rate G96/G961 are being used,
with the result that the velocity must be further reduced in the following block, LookAhead
provides a way of reducing the programmed velocity over several NC blocks.
By defining override points, LookAhead then calculates a limiting velocity profile for each
value. The required velocity reductions for the current override are derived from these
profiles.
The calculated maximum value of the velocity profile is limited by the maximum path velocity.
The higher value must take account of the velocity range reached by the maximum value of
machine data:
MD12030 OVR_FACTOR_FEEDRATE
(analysis of path feedrate override switch)
or the value of machine data:
MD12100 OVR_FACTOR_LIMIT_BIN
(limit of binary-coded override switch)
respectively.
In this way, a reduction of the velocity continuing into the block in which it is programmed
can be avoided. If velocity reductions across block boundaries are required already at 100%
override, a point must be set in the lower override range as well.
The number of override points used for each channel is specified in machine data:
MD20430 LOOKAH_NUM_OVR_POINTS
(number of override switch points for LookAhead).
The corresponding points are written to machine data:
MD20440 LOOKAH_OVR_POINTS
(override switch points for LookAhead).
A combination of both procedures can be used to calculate the velocity profile and is
generally recommended, because the preset machine data for these functions already takes
the widest range of override-specific velocity limits into account.
Plannable velocity limits restrict override-specific velocity limits.
If neither of the two procedures has been activated, the setpoint velocity is always applied in
the current block.
2-40
Detailed description
2.4 LookAhead
9HORFLW\SURJUHVVLRQZLWKDQGRYHUULGH
Y PD[
3URJUDPPHG
VHWSRLQW
9HORFLW\SURILOHDQG
1
Figure 2-14
1
1
1
1
2-41
Detailed description
2.4 LookAhead
2-42
Detailed description
2.5 NC block compressor COMPON, COMPCURV, -CAD
2.5
2.5
COMPON, COMPCURV
The modal G code COMPON or COMPCURV can be used to activate an "NC block
compressor".
This function collects a series of linear blocks during linear interpolation (the number is
limited to 10) and approximates them within a tolerance specified in machine data via a 3rd
degree (COMPON) or 5th degree (COMPCURV) polynomial.
One larger traversing block is processed by the NC instead of a large number of small
blocks.
COMPCAD
The COMPCAD G code can be used to select a further compression, which optimizes the
surface quality and velocity. The interpolation accuracy can again be specified in machine
data.
COMPCAD is processor and memoryintensive. It should only be used if surface quality
enhancement measures cannot be incorporated in the CAD/CAM program.
The programming procedure is described in:
References:
/PGA/ Programming Guide, Advanced.
The compressor for orientation transformation is described in:
References:
/FB3/ Description of Functions, Special Functions; 3 to 5-axis transformation (F2).
The following three machine data are available for the compressor function:
MD20170 COMPRESS_BLOCK_PATH_LIMIT
MD33100 COMPRESS_POS_TOL
MD20172 COMPRESS_VELO_TOL
2-43
Detailed description
2.5 NC block compressor COMPON, COMPCURV, -CAD
Recommended value
MD18360 MM_EXT_PROG_BUFFER_SIZE
100
MD28520 MM_MAX_AXISPOLY_PER_BLOCK
MD28530 MM_PATH_VELO_SEGMENTS
MD28540 MM_ARCLENGTH_SEGMENTS
10
MD28070 MM_NUM_BLOCKS_IN_PREP
60
MD28060 MM_IPO_BUFFER_SIZE
100
SD42470 CRIT_SPLINE_ANGLE
36
MD20170 COMPRESS_BLOCK_PATH_LIMIT
20
MD20172 COMPRESS_VELO_TOL
100
MD32310 MAX_ACCEL_OVL_FACTOR[AX1]
MD32310 MAX_ACCEL_OVL_FACTOR[AX2]
MD32310 MAX_ACCEL_OVL_FACTOR[AX3]
MD20490 IGNORE_OVL_FACTOR_FOR_ADIS
A tolerance can be specified for each axis: This value specifies the maximum deviation of
the generated spline curve from the programmed end points. The higher the values, the
more blocks can be compressed.
Experience has shown that a value of 0.01 is suitable for most applications:
MD33100 COMPRESS_POS_TOL[AX1] = 0.01
MD33100 COMPRESS_POS_TOL[AX2] = 0.01
MD33100 COMPRESS_POS_TOL[AX3] = 0.01
2-44
Detailed description
2.5 NC block compressor COMPON, COMPCURV, -CAD
2-45
Detailed description
2.5 NC block compressor COMPON, COMPCURV, -CAD
2-46
Supplementary conditions
3.1
3.1
RMN
Example
Two traversing blocks N10 and N20 with programmed rounding G641. In the rounding area,
the traversing motion is interrupted and the axes are subsequently traversed, e.g., manually
to the REPOS starting point. Repositioning on the contour takes place differently, depending
on the active REPOS mode.
3-1
Supplementary conditions
3.2 Smoothing the path velocity
5(326VWDUWLQJSRLQW
5(326PRGH50%
,QWHUUXSWLRQSRLQW
5(326PRGH
50,50(501
1
<
3URJUDPPHG
WUDYHUVLQJGLUHFWLRQ
5RXQGLQJDUHD
1
Figure 3-1
3.2
3.2
3-2
Examples
4.1
4.1
; Straight
N1011 G3 X0 Y0 J10
N1020 G2 X5 Y5 I5
4-1
Examples
4.1 Example of jerk limitation on the path
4-2
Data lists
5.1
5.1.1
5.1
Machine data
Number
Identifier: $MN_
Description
10110
PLC_CYCLE_TIME_AVERAGE
18360
MM_EXT_PROG_BUFFER_SIZE
5.1.2
Number
Identifier: $MC_
Description
20170
COMPRESS_BLOCK_PATH_LIMIT
20400
LOOKAH_USE_VELO_NEXT_BLOCK
20430
LOOKAH_NUM_OVR_POINTS
20440
LOOKAH_OVR_POINTS
20450
LOOKAH_RELIEVE_BLOCK_CYCLE
20460
LOOKAH_SMOOTH_FACTOR
20462
LOOKAH_SMOOTH_WITH_FEED
20465
ADAPT_PATH_DYNAMIC
20480
SMOOTHING_MODE
20490
IGNORE_OVL_FACTOR_FOR_ADIS
20550
EXACT_POS_MODE
20602
CURV_EFFECT_ON_PATH_ACCEL
20603
CURV_EFFECT_ON_PATH_JERK
28060
MM_IPO_BUFFER_SIZE
28070
MM_NUM_BLOCKS_IN_PREP
28520
MM_MAX_AXISPOLY_PER_BLOCK
5-1
Data lists
5.1 Machine data
Number
Identifier: $MC_
Description
28530
MM_PATH_VELO_SEGMENTS
28540
MM_ARCLENGTH_SEGMENTS
5.1.3
Number
Identifier: $MA_
Description
32310
MAX_ACCEL_OVL_FACTOR
32431
MAX_AX_JERK
32432
PATH_TRANS_JERK_LIM
32433
SOFT_ACCEL_FACTOR
32434
G00_ACCEL_FACTOR
32435
G00_JERK_FACTOR
32440
LOOKAH_FREQUENCY
33100
COMPRESS_POS_TOL
36000
STOP_LIMIT_COARSE
36010
STOP_LIMIT_FINE
36012
STOP_LIMIT_FACTOR
36020
POSITIONING_TIME
5-2
Data lists
5.2 Setting data
5.2
5.2
5.2.1
Setting data
Number
Identifier: $SC_
Description
42465
SMOOTH_CONTUR_TOL
42466
SMOOTH_ORI_TOL
42470
CRIT_SPLINE_ANGLE
5.3
5.3.1
5.3
Signals
DB number
Byte.Bit
Description
21, ...
36.3
5.3.2
Signals to axis/spindle
DB number
Byte.Bit
Description
31, ...
60.6
31, ...
60.7
5-3
Data lists
5.3 Signals
5-4
Index
Following block velocity, 2-39
Number of blocks, 2-38
Override, 2-40
Selection and deselection, 2-41
Velocity profiles, 2-39
A
Adaptation
Dynamic Response, 1-2
Auxiliary function output, 2-8
M
B
Blending, 2-11
Block-change point, 2-6
C
COMPCAD, 2-43
COMPCURV, 2-43
COMPON, 2-43
Compressor for orientation transformation, 2-43
Continuous-path mode, 2-6
E
Exact stop criteria, 2-2, 2-3, 2-4
Exact-stop criteria
Exact stop coarse, 2-4
Exact stop fine, 2-4
Exact-stop criterion, 2-6
G
Geometry axes, 2-7, 2-11
I
Implicit continuouspath mode, 2-10
Implicit exact stop, 2-7
Interpolator end, 2-4
L
LookAhead, 2-6, 2-37
Block cycle problem, 2-41
Continuouspath Mode, Exact Stop, LookAhead (B1)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
MD settings
NC block compressor, 2-44
MD10110, 2-8
MD12030, 2-39, 2-40
MD12100, 2-39, 2-40
MD18360, 2-44
MD20150, 2-1, 2-34
MD20170, 2-43, 2-44
MD20172, 2-43, 2-44
MD20400, 2-39
MD20430, 2-40
MD20440, 2-40
MD20450, 2-41
MD20460, 2-22, 2-23, 2-24, 2-26
MD20462, 2-22, 2-23
MD20465, 2-23, 2-25, 2-26, 2-27, 2-33
MD20480, 2-16, 2-17, 2-18, 2-19, 2-20
MD20490, 2-9, 2-44
MD20550, 2-5
MD20552, 2-5
MD28060, 2-44
MD28070, 2-44
MD28520, 2-44
MD28530, 2-18, 2-19, 2-44
MD28540, 2-44
MD32210, 2-9
MD32300, 2-9
MD32310, 2-44
MD32431, 2-33
MD32440, 2-20, 2-22, 2-23, 2-24, 2-25, 2-33
MD33100, 2-15, 2-17, 2-20, 2-43, 2-44
MD35240, 2-18
MD36000, 2-3
MD36010, 2-3
MD36012, 2-4
Index-1
Index
NC block compressor
COMPON, COMPCURV, COMCAD, 2-43
O
Orientation axes, 2-11
Overload factor, 2-9
P
Path criterion, 2-13
POS, 2-7
Index-2
S
SD42465, 2-16, 2-17
SD42466, 2-16, 2-17
SD42470, 2-44
SPOS, 2-7
Synchronized axes, 2-7, 2-13
V
Velocity reduction according to overload factor, 2-9
1
Brief description
______________
2
Functions
______________
SINUMERIK
840D sl/840Di sl/840D/840Di/810D
Acceleration (B2)
Valid for
Control
03/2006 Edition
6FC5397-0BP10-1BA0
4
Examples
______________
5
Data lists
______________
Function Manual
Software
3
Supplementary conditions
______________
Version
1.3
1.0
7.4
3.3
7.4
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90437 NRNBERG
GERMANY
Table of contents
1
1.2
1.3
Requirements............................................................................................................................. 1-2
2.2
2.2.1
2.2.1.1
2.2.2
2.2.2.1
2.2.3
2.3
2.3.1
2.3.1.1
2.3.2
2.3.3
2.4
2.4.1
2.4.1.1
2.4.2
2.4.2.1
2.4.3
2.5
2.5.1
2.5.1.1
2.5.2
2.5.2.1
2.5.3
2.5.3.1
2.5.3.2
2.6
2.6.1
2.6.1.1
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
iii
Table of contents
iv
2.6.2
2.6.3
Activation.................................................................................................................................. 2-12
Programming............................................................................................................................ 2-12
2.7
2.7.1
2.7.1.1
2.7.2
2.7.2.1
2.7.3
2.8
2.8.1
2.8.1.1
2.8.2
2.8.2.1
2.8.3
2.9
2.9.1
2.9.1.1
2.9.2
2.9.2.1
2.9.3
2.10
2.10.1
2.10.1.1
2.10.2
2.10.3
2.11
2.11.1
2.11.1.1
2.11.1.2
2.11.1.3
2.11.2
2.11.2.1
2.11.3
2.12
2.12.1
2.12.1.1
2.12.2
2.12.2.1
2.12.3
2.13
2.13.1
2.13.1.1
2.13.2
2.13.2.1
2.13.3
2.13.3.1
2.13.3.2
2.14
2.14.1
2.14.1.1
2.14.2
2.14.3
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Table of contents
2.15
2.15.1
2.15.1.1
2.15.2
2.15.2.1
2.15.3
2.16
2.16.1
2.16.1.1
2.16.2
2.16.2.1
2.16.3
Excessive jerk for block transitions without constant curvature (axis-specific) ....................... 2-29
Detailed Description................................................................................................................. 2-29
General Information ................................................................................................................. 2-29
Activation.................................................................................................................................. 2-29
Parameterization ...................................................................................................................... 2-29
Programming............................................................................................................................ 2-30
2.17
2.17.1
2.17.1.1
2.17.2
2.17.2.1
2.17.3
2.18
2.18.1
2.18.1.1
2.18.1.2
2.18.1.3
2.18.2
2.18.2.1
2.18.2.2
2.18.3
2.18.3.1
2.18.3.2
3.2
3.2.1
Examples................................................................................................................................................ 4-1
4.1
4.1.1
4.2
4.2.1
4.3
4.4
4.4.1
5.2
5.2.1
5.3
Index................................................................................................................................................ Index-1
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Table of contents
vi
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Brief description
1.1
1.1
Customer benefit
Scope of functions
The Description of Functions covers the following sub-functions:
Acceleration
Jerk
Kneeshaped acceleration characteristic
Acceleration and jerk
The effective acceleration and jerk can be optimally matched to the machine and machining
situation concerned using axis- and channel-specific programmable maximum values,
programmable acceleration profiles in part programs and synchronized actions, and dynamic
adaptations and limitations.
Kneeshaped acceleration characteristic
The knee-shaped acceleration characteristic means that, in the case of machine axes
featuring a motor (in particular stepper motors) with a torque characteristic that is highly
dependent upon speed, acceleration can be set at the level required to ensure optimum
utilization of the motor whilst at the same time protecting it against overload.
1.2
1.2
Features
Acceleration
Axis-specific functions:
Programmable maximum acceleration value
Acceleration profile that can be selected via part-program instruction:
Acceleration without jerk limitation (BRISKA)
Setting of maximum value using part-program instruction (ACC)
Specific maximum value for programmed rapid traverse (G00).
Specific maximum value for traverse with active jerk limitation
Excessive acceleration for non-tangential block transitions
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
1-1
Brief description
1.3 Requirements
Channel-specific functions:
Acceleration profile that can be selected via part-program instruction:
Acceleration without jerk limitation (BRISK)
Programmable constant travel time for the purpose of avoiding extreme sudden
acceleration
Programmable acceleration margin for overlaid traversing
Adjustable acceleration limitation
Adjustable acceleration for specific real-time events
Programmable acceleration margin for radial acceleration
Jerk
Axis-specific functions:
Acceleration profile that can be selected via part-program instruction:
Acceleration with jerk limitation (SOFTA)
Programmable maximum jerk value for single-axis interpolation
Programmable maximum jerk value for path interpolation
Channel-specific functions:
Acceleration profile that can be selected via part-program instruction:
Acceleration with jerk limitation (SOFT)
Adjustable jerk limitation
Adjustable path jerk for specific real-time events
Specific maximum value for programmed rapid traverse (G00)
Excessive jerk for block transitions without constant curvature
1.3
1.3
Requirements
There are no specific requirements to be met.
1-2
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.1
2.1
2.1.1
Detailed Description
2.1.1.1
General Information
General Information
In the case of acceleration without jerk limitation (jerk = infinite) the maximum value is
applied for acceleration immediately. As regards acceleration with jerk limitation, it differs in
the following respects:
Advantages
Shorter processing times with the same maximum values for velocity and acceleration.
Disadvantages
Increased load on the machine's mechanical components and risk of inducing highfrequency and difficult-to-control mechanical vibrations.
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-1
Functions
2.1 Acceleration without jerk limitation (BRISK/BRISKA) (channel-/axis-specific)
Acceleration profile
D
DPD[
DPD[
Y
YPD[
W
Figure 2-1
amax:
W
W
vmax:
t:
Time
The following features of the acceleration profile can be identified from the figure above:
Time: t0
Sudden acceleration from 0 to +amax
Interval: t0 - t1
Constant acceleration with +amax; linear increase in velocity
Time: t1
Sudden acceleration from 2 * amax with immediate switchover from acceleration to braking
Note
The sudden acceleration can normally be avoided by specifying a constant velocity time
(see Section: "Sudden acceleration with constant velocity phase").
Interval: t1 - t2
Constant acceleration with -amax; linear decrease in velocity
2-2
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.1 Acceleration without jerk limitation (BRISK/BRISKA) (channel-/axis-specific)
2.1.1.2
Function
The maximum acceleration value can be set for each specific machine axis:
MD32300 $MA_MAX_AX_ACCEL (maximum axis acceleration)
The path parameters are calculated by the path planning component during preprocessing
so that the programmed maximum values of the machine axes that are of relevance for the
path are not exceeded.
2.1.2
Activation
2.1.2.1
Parameterization
Programming
The maximum values are parameterized for specific axes using machine data:
MD32300 $MA_MAX_AX_ACCEL (maximum axis acceleration)
2.1.3
Programming
2.1.3.1
Syntax
BRISK
Functionality
The BRISK part-program instruction is used to select the "without jerk limitation" acceleration
profile for the purpose of path acceleration.
G group: 21
Effective: Modal
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-3
Functions
2.1 Acceleration without jerk limitation (BRISK/BRISKA) (channel-/axis-specific)
Reset response
The channel-specific initial setting is activated via a reset:
MD20150 $MC_GCODE_RESET_VALUES[20]
Supplementary conditions
If the acceleration profile is changed in a part program during machining (BRISK/SOFT) an
exact stop is performed at the end of the block.
2.1.3.2
Syntax
BRISKA (axis{,axis})
Function
The BRISKA part-program instruction is used to select the "without jerk limitation"
acceleration profile for single-axis movements (JOG, JOG/INC, positioning axis,
reciprocating axis, etc.).
G group: Effective: Modal
Axis:
Value range: Axis identifier for channel axes
Reset response
The axis-specific initial setting is activated via a reset:
MD32420 $MA_JOG_AND_POS_ENABLE
2-4
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.2 Constant travel time (channel-specific)
2.2
2.2
2.2.1
Detailed Description
2.2.1.1
General Information
Overview
In the case of acceleration without jerk limitation, sudden acceleration of 2 * amax occurs on
switchover between acceleration and braking. In order to avoid this sudden acceleration, a
channel-specific constant travel time can be programmed. The constant travel time defines
the time taken to traverse between the acceleration and braking phases at constant velocity:
MD20500 $MC_CONST_VELO_MIN_TIME (minimum time with constant velocity)
Note
The constant travel time is ineffective:
Active function: Look Ahead
In traversing blocks with a travel time that is less or equal to the interpolation cycle time.
D
DPD[
W
DPD[
Y
YPD[
W
Figure 2-2
W
W
W
W
W
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-5
Functions
2.2 Constant travel time (channel-specific)
1:
2:
amax:
vmax:
t:
Time
The effect of the constant travel time can be seen from the figure above:
Time: t1
End of acceleration phase with sudden acceleration 1 * amax
Interval: t1 - t2
Acceleration 0; constant velocity using the parameterized constant travel time
Time: t2
Start of braking phase with sudden acceleration 1 * amax
The times t0, t1' and t2' indicate the characteristic that would have been produced had no
constant travel time been defined.
2.2.2
Activation
2.2.2.1
Parameterization
Function
The constant travel time is parameterized for specific channels using machine data:
MD20500 $MC_CONST_VELO_MIN_TIME
(minimum time with constant velocity)
2.2.3
Programming
Key statement
The function is not programmable.
2-6
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.3 Acceleration matching (ACC) (axis-specific)
2.3
2.3
2.3.1
Detailed Description
2.3.1.1
General Information
Function
A part-program instruction (ACC) can be used to match the acceleration of specific axes to
the current machining situation. The range used for this purpose is anywhere between
greater than 0% and less than or equal to 200% of the maximum value programmed in the
machine data.
Effective
Effective
Ineffective
2.3.2
Activation
Function
The function does not need to be activated.
2.3.3
Programming
Syntax
ACC[axis] = adjustment factor
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-7
Functions
2.4 Acceleration margin (channel-specific)
Functionality
The ACC part-program instruction is used to adjust the maximum acceleration value of a
machine axis.
Axis:
Value range: Axis identifier for the channel's machine axes
Adjustment factor:
Value range: 0 < adjustment factor 200
Unit: Per cent
Deactivate: ACC[axis] = 100
Effective: Modal
Reset response
The behavior during channel RESET or M30 can be controlled via MD 32320
DYN_LIMIT_RESET_MASK:
Bit 0: 0 The programmed ACC value is reset to 100% with channel RESET/M30.
Bit 0: 1 The programmed ACC value is retained beyond channel RESET/M30.
2.4
2.4
2.4.1
Detailed Description
2.4.1.1
General Information
General information
Under normal circumstances, preprocessing makes maximum use of the parameterized
maximum values of the machine axes for the purpose of path acceleration. In order that an
acceleration margin may be set aside for overlaid movements, e.g., within the context of the
"Rapid lift away from the contour" function, path acceleration can be reduced by a
programmable factor. When, for example, a factor of 0.2 is applied, preprocessing will only
use 80% of the maximum possible path acceleration. 20% is set aside as an acceleration
margin for overlaid movements.
2-8
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.5 Path-acceleration limitation (channel-specific)
2.4.2
Activation
2.4.2.1
Parameterization
Parameterization
Parameters for the acceleration margin are assigned for each channel by means of machine
datum:
MD20610 $MC_ADD_MOVE_ACCEL_RESERVE
(acceleration margin for overlaid motions)
2.4.3
Programming
2.5
2.5
2.5.1
Detailed Description
2.5.1.1
General Information
General Information
To enable a flexible response to the machining situations concerned, setting data can be
used to limit the path acceleration calculated during preprocessing for specific channels:
SD42500 $SC_SD_MAX_PATH_ACCEL (maximum path acceleration)
The value specified in the setting data is only taken into account if it is smaller than the path
acceleration calculated during preprocessing.
The limitation must be activated for specific channels using setting data:
SD42502 $SC_IS_SD_MAX_PATH_ACCEL = TRUE
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-9
Functions
2.5 Path-acceleration limitation (channel-specific)
2.5.2
Activation
2.5.2.1
Parameterization
Parameterization
Parameterization is carried out for specific channels using setting data:
SD42500 $SC_SD_MAX_PATH_ACCEL (maximum path acceleration)
SD42502 $SC_IS_SD_MAX_PATH_ACCEL (activation of path-acceleration limitation)
2.5.3
Programming
2.5.3.1
Limit value
Syntax
$SC_SD_MAX_PATH_ACCEL = limit value
Functionality
The path-acceleration limitation can be adjusted for the situation by programming the setting
data.
Limit value:
Value range: 0
Unit: m/s2
Application:
Part program
Static synchronized action
2.5.3.2
Switch ON/OFF
Syntax
$SC_IS_SD_MAX_PATH_ACCEL = value
2-10
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.6 Path acceleration for real-time events (channel-specific)
Functionality
The path-acceleration limitation can be activated/deactivated by programming the setting
data.
Parameter: Value
Value range: TRUE, FALSE
Application:
Part program
Static synchronized action
2.6
2.6
2.6.1
Detailed Description
2.6.1.1
General Information
General Information
So that no compromise has to be made between machining-optimized acceleration on the
one hand and time-optimized acceleration in connection with the following real-time events
on the other:
NC-STOP/NC-START
Feedrate override modifications
Modification of the velocity default for "safely reduced velocity" within the context of the
"Safely Integrated" function
the path acceleration can be set for the real-time events specified above using a channelspecific system variable:
$AC_PATHACC = path acceleration
Real-time event acceleration will only be active for the duration of the change in velocity in
respect of one of the real-time events specified above.
Limitation
If the specified path acceleration exceeds the capabilities of the machine axes that are of
relevance for the path, a limit will be imposed on the path acceleration within the control so
that the resulting axial acceleration (ares) is restricted to less than 2x the parameterized
maximum axial value (amax).
ares = 2 * amax, mit amax = MD32300 $MA_MAX_AX_ACCEL
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-11
Functions
2.6 Path acceleration for real-time events (channel-specific)
Note
Real-time-event path acceleration is enabled, irrespective of the radial acceleration.
Effective
Effective
Ineffective
Path acceleration for real-time events is ineffective for changes in path velocity that
are attributable to path planning during preprocessing for the channel, such as
contour curvatures, corners, kinematic transformation limitations, etc.
Real-time-event path acceleration is ineffective if the programmed value is smaller
than the path acceleration calculated during preprocessing for the path section
concerned.
Programming
For information about programming system variables in the part program or synchronized
actions, see Chapter: Programming.
2.6.2
Activation
Start-up (commissioning)
The function does not need to be activated.
2.6.3
Programming
Syntax
$AC_PATHACC = path acceleration
2-12
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.7 Acceleration with programmed rapid traverse (G00) (axis-specific)
Functionality
Real-time-event path acceleration is set via the channel-specific system variables.
Parameter: Path acceleration
Value range: Path acceleration 0
Unit: m/s2
Deactivation: $AC_PATHACC = 0
Application:
Part program
Static synchronized action
Reset response
Real-time-event path acceleration is deactivated on reset.
Supplementary conditions
Programming $AC_PATHACC in the part program automatically triggers a preprocessing
stop with REORG (STOPRE).
2.7
2.7
2.7.1
Detailed Description
2.7.1.1
General Information
Frequently, the acceleration for the machine axes involved in the machining process must be
set lower than the machine's performance capability officially allows because of the
supplementary conditions associated with the specific process concerned.
For time-optimized traversing of the machine axes with programmed rapid traverse (partprogram instruction G00), a specific maximum value can be programmed for the axis-specific
acceleration.
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-13
Functions
2.8 Acceleration with active jerk limitation (SOFT/SOFTA) (axis-specific)
2.7.2
Activation
2.7.2.1
Parameterization
The maximum value for axis-specific acceleration with programmed rapid traverse is
parameterized (G00) using the axis-specific machine data:
MD32434 $MA_G00_ACCEL_FACTOR
(scaling of the acceleration limitation with G00)
This is used to generate the maximum value for axis-specific acceleration with programmed
rapid traverse (G00) that is taken into account by the path planning component during
preprocessing:
Acceleration[axis] =
MD32300 $MA_MAX_AX_ACCEL * MD32434 $MA_G00_ACCEL_FACTOR
2.7.3
Programming
2.8
2.8
2.8.1
Detailed Description
2.8.1.1
General Information
Function
Compared with acceleration without jerk limitation, acceleration with jerk limitation results in
a certain degree of time loss, even when the same maximum acceleration value is used. To
compensate for this time loss, a specific maximum value can be programmed for the axisspecific acceleration as far as traversing of the machine axes with active jerk limitation
(SOFT/SOFTA) is concerned.
2-14
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.8 Acceleration with active jerk limitation (SOFT/SOFTA) (axis-specific)
The maximum value for acceleration with active jerk limitation is parameterized using a
factor calculated in relation to the axis-specific maximum value. This is used to generate the
maximum value for axis-specific acceleration with active jerk limitation that is taken into
account by the path planning component during preprocessing:
Acceleration[axis] =
MD32300 $MA_MAX_AX_ACCEL * MD32433 $MA_SOFT_ACCEL_FACTOR
2.8.2
Activation
2.8.2.1
Parameterization
Function
The maximum value for acceleration with active jerk limitation (SOFT/SOFTA) is
parameterized using the axis-specific machine data:
MD32434 $MA_SOFT_ACCEL_FACTOR
(scaling of the acceleration limitation with SOFT)
2.8.3
Programming
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-15
Functions
2.9 Excessive acceleration for non-tangential block transitions (axis-specific)
2.9
2.9
2.9.1
Detailed Description
2.9.1.1
General Information
Function
In the case of non-tangential block transitions (corners), the programmable controller may
have to decelerate the geometry axes significantly in order to ensure compliance with the
parameterized axis dynamics. For the purpose of reducing/avoiding deceleration in
connection with non-tangential block transitions, a higher level of axis-specific acceleration
can be enabled.
Excessive acceleration is parameterized using a factor calculated in relation to the axisspecific maximum value. This is used to generate the maximum value for axis-specific
acceleration with non-tangential block transitions that is taken into account by the path
planning component during preprocessing:
Acceleration[axis] =
MD32300 $MA_MAX_AX_ACCEL * MD32310 $MA_MAX_ACCEL_OVL_FACTOR
2.9.2
Activation
2.9.2.1
Parameterization
Function
Excessive acceleration for non-tangential block transitions is parameterized using the axisspecific machine data:
MD32310 $MA_MAX_ACCEL_OVL_FACTOR
(overload factor for velocity jumps)
2-16
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.10 Acceleration margin for radial acceleration (channel-specific)
2.9.3
Programming
Programmability
The function is not programmable.
2.10
2.10
2.10.1
Detailed Description
2.10.1.1
General Information
Overview
In addition to the path acceleration (tangential acceleration), radial acceleration also has an
effect on curved contours. If this is not taken into account during parameterization of the path
parameters, the effective axial acceleration during acceleration and deceleration on the
curved contour can, for a short time, reach 2x the maximum value.
Effective axial acceleration =
Path acceleration + radial acceleration =
2 * ( MD32300 $MA_MAX_AX_ACCEL )
1
1
DSDWK
DUDGLDO
1
Figure 2-3
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-17
Functions
2.10 Acceleration margin for radial acceleration (channel-specific)
When, for example, a value of 0.75 is applied, 75% of the axis-specific acceleration will be
made available for radial acceleration and 25% for path acceleration.
The corresponding maximum values are generally calculated as follows:
Radial acceleration =
MD20602 $MC_CURV_EFFECT_ON_PATH_ACCEL * MD32300 $MA_MAX_AX_ACCEL
Path acceleration =
(1 - MD20602 $MC_CURV_EFFECT_ON_PATH_ACCEL) * MD32300
$MA_MAX_AX_ACCEL
Example
The following machine parameters apply:
MD32300 $MA_MAX_AX_ACCEL for all geometry axes: 3 m/s
Maximum path velocity with a path radius of 10 mm due to mechanical constraints of the
machine: 5 m/min.
The radial acceleration is calculated as follows:
D UDGLDO
Y SDWK >PPLQ@
U>PP@ >PV @
PV
0'0$B0$;B$;B$&&(/ >PV @
Linear motions
The acceleration margin referred to above is ineffective in the case of linear motions (linear
interpolation) without active kinematic transformation.
2-18
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.11 Jerk limitation with path interpolation (SOFT) (channel-specific)
2.10.2
Activation
2.10.3
Programming
Programmability
The function is not programmable.
2.11
2.11
2.11.1
Detailed Description
2.11.1.1
General Information
Overview
As far as the functionality described in the rest of this document is concerned, constant
acceleration, i.e., acceleration with jerk limitation (jerk = infinite value), is the assumed
acceleration profile. In the case of acceleration with jerk limitation, linear interpolation is
applied in respect of acceleration from 0 to the maximum value.
Advantages
Minimal load on the machine's mechanical components and low risk of high-frequency and
difficult-to-control mechanical vibrations thanks to constant excessive acceleration.
Disadvantages
Longer machining times compared with stepped acceleration profile when the same
maximum velocity and acceleration values are used.
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-19
Functions
2.11 Jerk limitation with path interpolation (SOFT) (channel-specific)
Acceleration profile
U
UPD[
W
UPD[
D
DPD[
W
DPD[
Y
YPD[
W
Figure 2-4
W
W
W
W
W
W
Jerk, acceleration and velocity schematic with jerk limitation acceleration profile
rmax:
amax:
vmax:
t:
Time
The following features of the acceleration profile can be identified from the figure above:
Interval: t0 - t1
Constant jerk with +rmax; linear increase in acceleration; quadratic increase in velocity
Interval: t1 - t2
Constant acceleration with +amax; linear increase in velocity
Interval: t2 - t3
Constant jerk with -rmax; linear decrease in acceleration; quadratic decrease in excessive
velocity until maximum value +vmax is reached
Interval: t3 - t4
Constant jerk with +rmax; linear increase in braking acceleration; quadratic decrease in
velocity
2-20
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.11 Jerk limitation with path interpolation (SOFT) (channel-specific)
Interval: t4 - t5
Constant braking acceleration with -amax; linear decrease in velocity
Interval: t5 - t6
Constant jerk with -rmax; linear decrease in braking acceleration; quadratic decrease in
velocity reduction until zero velocity is reached v = 0
2.11.1.2
Function
The maximum jerk value can be set for each specific machine axis using the following
machine data:
MD32431 $MA_MAX_AX_JERK (maximum axis jerk)
The path parameters are calculated by the path planning component during preprocessing
so that the programmed maximum values of the machine axes that are of relevance for the
path are not exceeded.
2.11.1.3
Function
As well as it being possible to set the maximum jerk value for specific axes, it can also be
assigned as a channel-specific path parameter using the following machine data:
MD20600 $MC_MAX_PATH_JERK (path-related maximum jerk)
To prevent the axis and channel-specific maximum jerk values interfering with one another,
the channel-specific value must be set to a value greater then the maximum axial values.
2.11.2
Activation
2.11.2.1
Parameterization
Function
The axis- and channel-specific maximum values are parameterized using the following
machine data:
MD32431 $MA_MAX_AX_JERK (maximum axis jerk)
MD20600 $MC_MAX_PATH_JERK (path-related maximum jerk)
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-21
Functions
2.12 Jerk limitation with single-axis interpolation (SOFTA) (axis-specific)
2.11.3
Programming
Syntax
SOFT
Functionality
The SOFT part-program instruction is used to select the acceleration profile with jerk
limitation for the traversing operations of geometry axes in the channel.
G group: 21
Effective: Modal
Reset response
The channel-specific initial setting is activated via a reset:
MD20150 $MC_GCODE_RESET_VALUES[20]
Supplementary conditions
If the acceleration mode is changed in a part program during machining (BRISK SOFT), a
block change is performed at the point of transition with an exact stop at the end of the block,
even in continuous-path mode.
2.12
2.12
2.12.1
Detailed Description
2.12.1.1
General Information
Overview
The maximum jerk value can be set for each specific machine axis for single-axis
movements (setup modes e.g. JOG, JOG/INC, positioning axis, reciprocating axis, etc.):
MD32430 $MA_JOG_AND_POS_MAX_JERK (maximum axis jerk)
Initial setting
Acceleration with jerk limitation can be set as the axial initial setting:
MD32420 $MA_JOG_AND_POS_JERK_ENABLE
(initial setting of axial jerk limitation)
2-22
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.12 Jerk limitation with single-axis interpolation (SOFTA) (axis-specific)
2.12.2
Activation
2.12.2.1
Parameterization
Function
The function's initial setting and the maximum values are parameterized for specific axes
using machine data:
MD32420 $MA_JOG_AND_POS_JERK_ENABLE
(initial setting of axial jerk limitation)
MD32430 $MA_JOG_AND_POS_MAX_JERK (maximum axis jerk)
2.12.3
Programming
Syntax
SOFTA (axis{,axis})
Functionality
The SOFTA part-program instruction is used to select acceleration with jerk limitation for
single-axis movements (positioning axis, reciprocating axis, etc.)
G group: Effective: Modal
Axis:
Value range: Axis identifier for channel axes
Reset response
The axis-specific initial setting is activated via a reset:
MD32420 $MA_JOG_AND_POS_ENABLE
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-23
Functions
2.13 Path-jerk limitation (channel-specific)
2.13
2.13
2.13.1
Detailed Description
2.13.1.1
General Information
Overview
To enable a flexible response to the machining situations concerned, setting data can be
used to limit the path jerk calculated during preprocessing for specific channels:
SD42510 $SC_SD_MAX_PATH_JERK (maximum path jerk)
The value specified in the setting data is only taken into account in the channel if it is smaller
than the path jerk calculated during preprocessing.
The limitation must be activated for specific channels using setting data:
SD42512 $SC_IS_SD_MAX_PATH_JERK = TRUE
2.13.2
Activation
2.13.2.1
Parameterization
Function
Parameterization is carried out for specific channels using setting data:
SD42510 $SC_SD_MAX_PATH_JERK (maximum path jerk)
SD42512 $SC_IS_SD_MAX_PATH_JERK
(activation of path-jerk limitation)
2-24
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.13 Path-jerk limitation (channel-specific)
2.13.3
Programming
2.13.3.1
Syntax
$SC_SD_MAX_PATH_JERK = jerk value
Functionality
The path-jerk limitation can be adjusted for the situation by programming the setting data.
Jerk value:
Value range: 0
Unit: m/s3
Application:
Part program
Static synchronized action
2.13.3.2
Switch ON/OFF
Syntax
$SC_IS_SD_MAX_PATH_JERK = value
Functionality
The path-jerk limitation can be activated/deactivated by programming the setting data.
Parameter: Value
Value range: TRUE, FALSE
Application:
Part program
Static synchronized action
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-25
Functions
2.14 Path jerk for real-time events (channel-specific)
2.14
2.14
2.14.1
Detailed Description
2.14.1.1
General Information
Overview
So that no compromise has to be made between machining-optimized jerk on the one hand
and time-optimized jerk in connection with the following real-time events on the other:
NC-STOP/NC-START
Feedrate override modifications
Modification of the velocity default for "safely reduced velocity" within the context of the
"Safely Integrated" function
the path jerk can be set for the real-time events specified above using a channel-specific
system variable:
$AC_PATHJERK = path jerk
Path jerk for real-time events will only be active for the duration of the change in velocity in
respect of one of the real-time events specified above.
Limitation
As the jerk is not a physical variable of any relevance to the drive, no limit is imposed on the
jerk set.
Effective
Effective
Path jerk for real-time events is only enabled in AUTOMATIC and MDA operating
modes in conjunction with the following real-time events:
NC-STOP/NC-START
Override modifications
Modification of the velocity default for "safely reduced velocity" within the context
of the "Safely Integrated" function
Ineffective
Path jerk for real-time events is ineffective for changes in the path velocity that are
attributable to path planning during preprocessing for the channel, such as contour
curvatures, corners, kinematic transformation limitations, etc.
Path jerk for real-time events is ineffective if the programmed value is smaller than
the path jerk calculated during preprocessing for the path section concerned.
2-26
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.14 Path jerk for real-time events (channel-specific)
Programming
For the purpose of setting the jerk for real-time events in accordance with the acceleration,
the system variables can be set as follows:
$AC_PATHJERK = $AC_PATHACC/smoothing time
$AC_PATHACC: Path acceleration [m/s2]
Smoothing time: Freely selectable, e.g., 0.02 s
For information about programming system variables in the part program or synchronized
actions, see Chapter: Programming.
2.14.2
Activation
Function
The function does not need to be activated.
2.14.3
Programming
Syntax
$AC_PATHJERK = path jerk
Functionality
The path jerk for real-time events is set via the channel-specific system variables.
Jerk value:
Value range: Path jerk 0
Unit: m/s3
Application:
Part program
Static synchronized action
Reset response
The function is deactivated on reset.
Supplementary conditions
Programming $AC_PATHJERK in the part program automatically triggers a preprocessing
stop with REORG (STOPRE).
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-27
Functions
2.15 Jerk with programmed rapid traverse (G00) (axis-specific)
2.15
2.15
2.15.1
Detailed Description
2.15.1.1
General Information
Overview
Frequently, the maximum jerk for the machine axes involved in the machining process must
be set lower than the machine's performance capability officially allows because of the
supplementary conditions associated with the specific process concerned.
For time-optimized traversing of the machine axes with programmed rapid traverse (partprogram instruction G00), a specific maximum value can be programmed for the axisspecific jerk.
2.15.2
Activation
2.15.2.1
Parameterization
Function
The maximum value for axis-specific jerk with programmed rapid traverse is parameterized
(G00) using the axis-specific machine data:
MD32434 $MA_G00_ACCEL_FACTOR
(scaling of the acceleration limitation with G00)
This is used to generate the maximum value for axis-specific jerk with programmed rapid
traverse (G00) that is taken into account by the path planning component during
preprocessing:
Jerk[axis] =
MD32431 $MA_MAX_AX_JERK * MD32435 $MA_G00_JERK_FACTOR
2-28
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.16 Excessive jerk for block transitions without constant curvature (axis-specific)
2.15.3
Programming
Programmability
The function is not programmable.
2.16
2.16
2.16.1
Detailed Description
2.16.1.1
General Information
Overview
In the case of block transitions without constant curvature (e.g. straight line > circle), the
programmable controller has to decelerate movement of the geometry axes significantly in
order to ensure compliance with the parameterized axis dynamics. For the purpose of
reducing/avoiding deceleration in connection with block transitions without constant
curvature, a higher level of axis-specific jerk can be enabled.
The excessive jerk is parameterized using a dedicated axis-specific maximum value.
2.16.2
Activation
2.16.2.1
Parameterization
Function
The excessive jerk for block transitions without constant curvature is parameterized using
the axis-specific machine data:
MD32432 $MA_PATH_TRANS_JERK_LIM
(excessive jerk for block transitions without constant curvature)
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-29
Functions
2.17 Jerk filter (axis-specific)
2.16.3
Programming
Programmability
The function is not programmable.
2.17
2.17
2.17.1
Detailed Description
2.17.1.1
General Information
Overview
In certain application scenarios, e.g.,when milling free-form surfaces, it may be beneficial to
smooth the position setpoint characteristics of the machine axes. This enables surface
quality to be improved by reducing the mechanical vibrations generated in the machine.
For the purpose of smoothing the position setpoint characteristic of a machine axis, a jerk
filter can be activated at position controller level, independently of the channel- and axisspecific jerk limitations taken into account at interpolator level.
The effect of the jerk filter must be as strong as possible without having an unacceptable
impact on contour accuracy. The filter should also have as "balanced" a smoothing effect as
possible, i.e., if the same contour is traversed forwards and backwards, the contour
smoothed by the filter should be as similar as possible in both directions.
To enable the jerk filter to be optimally matched to the machine conditions, various filter
modes are available:
2nd-order filter (PT2)
Sliding mean value generation
Bandstop filter
2-30
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.17 Jerk filter (axis-specific)
+V
V
I=
V
I1
V
' =
I=
V
' 1
I1
where:
fZ:
fN:
DZ:
Numerator damping
DN:
Denominator damping
Since a vibration-capable filter setting is not expected to yield useful results in any case, as
with the jerk filter's "2nd-order filter" (PT2) low-pass filter (PT2) mode there is no setting
option for the denominator damping DN. The denominator damping DN is permanently set to
1.
The bandstop filter can be parameterized in 2 different ways:
Real bandstop filter
Bandstop filter with additional amplitude response increase/decrease at high frequencies
Real bandstop filter
The real bandstop filter is applied when identical numerator and denominator natural
frequencies are selected:
fZ = fN = fblock (blocking frequency)
If numerator damping setting = 0 is selected, the blocking frequency is equivalent to
complete attenuation. In this case the 3 dB bandwidth is calculated as follows:
f3 dB bandwidth = 2 * fblock
If instead of complete attenuation, a reduction by a factor of k is all that is required, then
numerator damping should be selected in accordance with k. In this case the above formula
for calculating the 3 dB bandwidth no longer applies.
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-31
Functions
2.17 Jerk filter (axis-specific)
Bandstop filter with additional amplitude response increase/decrease at high frequencies
In this case, the numerator and denominator natural frequencies are set to different values.
The numerator natural frequency determines the blocking frequency.
By selecting a lower/higher denominator natural frequency than the numerator natural
frequency, you can increase/decrease the amplitude response at high frequencies. An
amplitude response increase at high frequencies can be justified in most cases, as the
controlled system generally possesses a lowpass characteristic itself, i.e., the amplitude
response drops at high frequencies anyway.
Supplementary conditions
If too high a numerator natural frequency is selected, the filter is disabled. In this case the
limiting frequency fZmax depends on the position-control cycle:
I =PD[
7
=PLQ
6KDQQRQ7KHRUHP
7
3RVLWLRQFRQWUROF\FOH
MD32402 AX_JERK_MODE = 2
MD32402 AX_JERK_MODE = 3
Modus 2 requires a bit more computation time, but with the same smoothing effect, it results
in lower contour errors or, with the same accuracy, in a smoother contour with smoother
movements. Mode 2 is recommended. Mode 1 is the default mode in SW 1 to SW 4.4 for
compatibility reasons.
For more information about how the jerk filter available with SW 5.1 and higher works
(balancing filter for improving the position setpoints of the position controller), please refer to:
References:
/FB1/ Manual of Functions, Basic Functions; Velocities, Setpoint/Actual-Value Systems,
Regulatory Control (G2), Chapter: "Control Optimization"
2-32
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.17 Jerk filter (axis-specific)
Mode 3
There are 2 parameterization options for the bandstop filter:
"Real bandstop filter":
When identical numerator and denominator natural frequencies are selected (=blocking
frequency). If you select (numerator) damping setting zero, the blocking frequency is
equivalent to complete attenuation.
In this case the 3 dB bandwidth is determined on the following basis:
fbandwidth = 2 * fblock.
If instead of complete attenuation, a reduction by a factor of k is all that is required, then
the numerator damping should be selected in accordance with k.
"Bandstop filter with additional amplitude response increase/decrease at high
frequencies":
In this case, the numerator and denominator natural frequencies are set to different
values. The numerator natural frequency determines the blocking frequency. By selecting
a lower (higher) denominator natural frequency than the numerator natural frequency,
you can increase (decrease) the amplitude response at high frequencies. An amplitude
response increase at high frequencies can be justified in most cases, as the controlled
system generally possesses a lowpass characteristic itself, i.e., the amplitude response
drops at high frequencies anyway.
2.17.2
Activation
2.17.2.1
Parameterization
Activation
The jerk filter is activated using the machine data:
MD32400 $MA_AX_JERK_ENABLE = TRUE
The jerk filter is active in all operating modes and with all types of interpolation.
Filter mode
The mode is selected using the machine data:
MD32402 $MA_AX_JERK_MODE = mode
Mode = 1
(2nd-order filter)
Mode = 2
Mode = 3
(Bandstop filter)
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-33
Functions
2.18 Kneeshaped acceleration characteristic curve
2.17.3
Programming
Programmability
The function is not programmable.
2.18
2.18
2.18.1
Detailed Description
2.18.1.1
Function
Various types of motor, particularly stepper motors, have a torque characteristic that is highly
dependent upon speed and shows a steep decrease in torque in the upper speed range. To
ensure optimum utilization of the motor characteristic curve, it is necessary to reduce the
acceleration once a certain speed is reached.
0>1P@
0PD[
0UHG
Figure 2-5
2-34
QUHG
QPD[
Q>@
Torque characteristic curve of a motor with torque characteristic that is highly dependent
upon speed
1:
nred:
nmax:
Maximum speed
Mmax:
Max. torque
Mred:
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.18 Kneeshaped acceleration characteristic curve
= Constant characteristic
= Hyperbolic characteristic
= Linear characteristic
The following figures show typical velocity and acceleration characteristic curves for the
respective types of characteristic:
Constant characteristic
YPD[
DPD[
YUHG
DUHG
YUHG
Figure 2-6
YPD[
Hyperbolic characteristic
YPD[
DPD[
YUHG
DUHG
YUHG
Figure 2-7
YPD[ Y
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-35
Functions
2.18 Kneeshaped acceleration characteristic curve
Linear characteristic
Y
YPD[
DPD[
YUHG
DUHG
YUHG
Figure 2-8
YPD[ Y
2.18.1.2
= $MA_MAX_AX_VELO
vred
= $MA_ACCEL_REDUCTION_SPEED_POINT * $MA_MAX_AX_VELO
amax
= $MA_MAX_AX_ACCEL
ared
= (1 - $MA_ACCEL_REDUCTION_FACTOR) * $MA_MAX_AX_ACCEL
Function
The path acceleration characteristic curve is generated on the basis of the types of
characteristic for the axes that are of relevance for the path. If axes with different types of
characteristic curve are interpolated together, the acceleration profile for the path
acceleration will be determined on the basis of the reduction type that is most restrictive.
The following order of priorities applies, whereby 1 = top priority:
1. Acceleration reduction: 0 = constant characteristic
2. Acceleration reduction: 1 = hyperbolic characteristic
3. Acceleration reduction: 2 = linear characteristic
4. No acceleration reduction effective
A situation, whereby no acceleration reduction is active, arises for example when:
MD35220 $MA_ACCEL_REDUCTION_SPEED_POINT = 1
and/or
MD35230 $MA_ACCEL_REDUCTION_FACTOR = 0
2-36
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.18 Kneeshaped acceleration characteristic curve
Note
Machine axes featuring stepper motor and DC drive can be interpolated together.
2.18.1.3
Function
If the programmed path cannot be traversed using the parameterized acceleration
characteristic curve (e.g., active kinematic transformation), a substitute characteristic curve
is generated by reducing the dynamic limit values. The dynamic limit values are calculated to
ensure that the substitute characteristic curve provides the best possible compromise
between maximum velocity and constant acceleration.
DHUV
D
/RFNHG]RQH
DUHG
YUHG
Figure 2-9
YSURJ
YD
YPD[
aers:
a15%:
vers:
vprog:
Programmed velocity
v15%a:
Velocity at a15%
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-37
Functions
2.18 Kneeshaped acceleration characteristic curve
DHUV
Y
U
$[LDOFKDUDFWHULVWLFDY
DUHG
YUHG
Figure 2-10
YHUV
YPD[
aN:
Normal acceleration
aers:
vers:
r:
Path radius
2-38
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.18 Kneeshaped acceleration characteristic curve
YPD[
YUHG
1
Figure 2-11
1
2:
3:
vred:
Creep velocity
vmax:
Maximum velocity
Nxy:
Activation
2.18.2.1
Parameterization
1
1
1
1:
2.18.2
1
Function
The knee-shaped acceleration characteristic curve is parameterized for specific axes using
the following machine data:
MD32000 $MA_MAX_AX_VELO (maximum axis velocity)
MD35220 $MA_ACCEL_REDUCTION_SPEED_POINT
(speed for reduced acceleration)
MD35230 $MA_ACCEL_REDUCTION_FACTOR (reduced acceleration)
MD32300 $MA_MAX_AX_ACCEL (Maximum axis acceleration)
MD35242 $MA_ACCEL_REDUCTION_TYPE
(type of acceleration reduction: 0 = constant, 1 = hyperbolic, 2 = linear)
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-39
Functions
2.18 Kneeshaped acceleration characteristic curve
2.18.2.2
Commissioning
Function
The knee-shaped acceleration characteristic curve is activated for a specific machine axis
using the machine data:
MD35240 $MA_ACCEL_TYPE_DRIVE = TRUE
Single-axis interpolation
As soon as the knee-shaped acceleration characteristic curve is activated, in the case of
single-axis interpolations (positioning axis, reciprocating axis, manual travel, etc.), traversing
is performed exclusively in DRIVEA mode.
Switching of the acceleration profile via the part-program instructions:
Abrupt acceleration changes (BRISKA)
Acceleration with jerk limitation (SOFTA)
is not possible.
Path interpolation
If the knee-shaped acceleration characteristic curve is parameterized for a machine axis that
is of relevance for a programmed path, but the DRIVE part-program instruction has not
been activated, then a substitute characteristic curve with lower dynamic limit values is
generated for the path.
2.18.3
Programming
2.18.3.1
Syntax
DRIVE
Functionality
The knee-shaped characteristic curve is activated for path acceleration using the DRIVE
part-program instruction.
G group: 21
Effective: Modal
Reset response
The channel-specific default setting is activated via a reset:
MD20150 $MC_GCODE_RESET_VALUES[20]
2-40
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Functions
2.18 Kneeshaped acceleration characteristic curve
Dependencies
If the knee-shaped acceleration characteristic curve is parameterized for a machine axis,
then this becomes the default acceleration profile for all traversing operations.
If the effective acceleration profile is changed for a specific path section using the SOFT or
BRISK part-program instructions, then an appropriate substitute characteristic curve with
lower dynamic limit values is used in place of the knee-shaped acceleration characteristic
curve.
The knee-shaped acceleration characteristic curve can be reactivated by reprogramming
DRIVE.
2.18.3.2
Syntax
DRIVEA (axis{,axis})
Functionality
The knee-shaped characteristic curve is activated for all single-axis interpolations
(positioning axis, reciprocating axis, etc.) for specific axes using the part-program instruction.
G group: Effective: Modal
Axis:
Value range: Axis identifier for the channel axes
Reset response
The channel-specific default setting is activated via a reset:
MD20150 $MC_GCODE_RESET_VALUES[20]
Dependencies
If the knee-shaped acceleration characteristic curve is parameterized for a machine axis,
then this becomes the default acceleration profile for all traversing operations.
If the effective acceleration profile is changed for a specific axis using the SOFTA or BRISKA
part-program instructions, then an appropriate substitute characteristic curve is used in place
of the knee-shaped acceleration characteristic curve.
It is possible to switch back to the knee-shaped acceleration characteristic curve for a
specific axis by programming DRIVEA.
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
2-41
Functions
2.18 Kneeshaped acceleration characteristic curve
2-42
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Supplementary conditions
3.1
3.1
3.2
3.2.1
3.2
Key statement
The knee-shaped acceleration characteristic curve is not taken into account in connection
with an active kinematic transformation. The control switches to acceleration without jerk
limitation (BRISK) and a substitute characteristic curve is adopted for path acceleration.
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
3-1
Supplementary conditions
3.2 Kneeshaped acceleration characteristic curve
3-2
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Examples
4.1
4.1.1
4.1
Acceleration
Key statement
An excerpt from a part program is provided below, together with the associated acceleration
characteristic, by way of an example. These are used to illustrate how the path velocity can
be adapted to take account of various events and the resulting change in acceleration.
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
4-1
Examples
4.2 Jerk
Y>PV@
$&B295
$&B295
W>PV@
1
Figure 4-1
1
Switching between path acceleration specified during preprocessing and real-time acceleration
Accelerate to 100% of path velocity (F10000) in accordance with acceleration default: ACC (N2200...)
2:
Brake to 10% of path velocity as a result of override modification ($AC_OVR) in accordance with real-time
acceleration $AC_PATHACC (N53/N54...)
3:
Accelerate to 100% of path velocity as a result of override modification ($AC_OVR) in accordance with real-time
acceleration $AC_PATHACC (N53/N55...)
4:
Brake to block end velocity for intermediate smoothing block in accordance with acceleration default: ACC
(N2200...)
5:
6:
Accelerate to 100% of path velocity ($AC_OVR) in accordance with acceleration default: ACC (N2300...)
7:
Decelerate as a result of override modification at a rate of acceleration that is in accordance with real-time
acceleration $AC_PATHACC (N53/N54...)
8:
Accelerate to 100% of path velocity as a result of override modification ($AC_OVR) in accordance with real-time
acceleration $AC_PATHACC (N53/N55...)
9:
Intermediate block inserted within the control as a result of the programmed smoothing (RNDM) (N2200...)
4.2
4.2.1
4.2
Jerk
Key statement
An excerpt from a part program is provided below, together with the associated acceleration
characteristic, by way of an example. These are used to illustrate how the path velocity can
be adapted to take account of various events and the resulting change in jerk.
4-2
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Examples
4.2 Jerk
Y>PV@
295
295
295
W>PV@
1
1
51'0
Figure 4-2
51'0
2:
3:
4:
5:
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
4-3
Examples
4.3 Acceleration and jerk
4.3
4.3
Key statement
In the following example a short part program is used to illustrate the velocity and
acceleration characteristic for the X-axis. It also shows the connection between specific
velocity and acceleration-related machine data and the contour sections they influence.
Part program
N90 F5000 SOFT G64
N100 G0 X0 Y0 Z0
; Rapid traverse
N110 G1 X10
;Straight line
N200 M30
\
1
1
1
Figure 4-3
4-4
1
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Examples
4.4 Kneeshaped acceleration characteristic curve
0$;B$;B$&&(/>;@
62)7B$&&(/B)$&725>;@
0'0$;B$&&(/B29/B)$&725>;@
0'0$;B$;B-(5.>;@
1
1
1
1
$[LVDFFHOHUDWLRQ
$[LVYHORFLW\
Figure 4-4
4.4
4.4.1
0'3$7+B75$16B-(5.B/,0>;@
4.4
Activation
Key statement
The example given illustrates how the knee-shaped acceleration characteristic curve is
activated on the basis of:
Machine data
Part program instruction
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
4-5
Examples
4.4 Kneeshaped acceleration characteristic curve
Machine data
Parameterizing the characteristic curve (example only)
X axis
MD35220 $MA_ACCEL_REDUCTION_SPEED_POINT[X] = 0.4
MD35230 $MA_ACCEL_REDUCTION_FACTOR[X] = 0.85
MD35242 $MA_ACCEL_REDUCTION_TYPE[X] = 2
MD35240 $MA_ACCEL_TYPE_DRIVE[X] = TRUE
Y axis
MD35220 $MA_ACCEL_REDUCTION_SPEED_POINT[Y] = 0.0
MD35230 $MA_ACCEL_REDUCTION_FACTOR[Y] = 0.6
MD35242 $MA_ACCEL_REDUCTION_TYPE[Y] = 1
MD35240 $MA_ACCEL_TYPE_DRIVE[Y] = TRUE
Z axis
MD35220 $MA_ACCEL_REDUCTION_SPEED_POINT[Z] = 0.6
MD35230 $MA_ACCEL_REDUCTION_FACTOR[Z] = 0.4
MD35242 $MA_ACCEL_REDUCTION_TYPE[Z] = 0
MD35240 $MA_ACCEL_TYPE_DRIVE[Z] = FALSE
N15 Z20
N20 BRISK
Switchover to BRISK
N30 Z100
N40 BRISKA(Z)
N45 DRIVEA(Z)
N55 BRISKA(X)
...
4-6
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Data lists
5.1
5.1.1
5.1
Machine data
Number
Identifier: $MC_
Description
20150
GCODE_RESET_VALUES
20500
CONST_VELO_MIN_TIME
20600
MAX_PATH_JERK
20602
CURV_EFFECT_ON_PATH_ACCEL
20610
ADD_MOVE_ACCEL_RESERVE
5.1.2
Number
Identifier: $MA_
Description
32000
MAX_AX_VELO
32300
MAX_AX_ACCEL
32310
MAX_ACCEL_OVL_FACTOR
32320
DYN_LIMIT_RESET_MASK
32400
AX_JERK_ENABLE
32402
AX_JERK_MODE
32410
AX_JERK_TIME
32420
JOG_AND_POS_JERK_ENABLE
32430
JOG_AND_POS_MAX_JERK
32431
MAX_AX_JERK
32432
PATH_TRANS_JERK_LIM
32433
SOFT_ACCEL_FACTOR
32434
G00_ACCEL_FACTOR
32435
G00_JERK_FACTOR
35220
ACCEL_REDUCTION_SPEED_POINT
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
5-1
Data lists
5.2 Setting data
Number
Identifier: $MA_
Description
35230
ACCEL_REDUCTION_FACTOR
35240
ACCEL_TYPE_DRIVE
35242
ACCEL_REDUCTION_TYPE
5.2
5.2
5.2.1
Number
Setting data
Description
42500
SD_MAX_PATH_ACCEL
42502
IS_SD_MAX_PATH_ACCEL
42510
SD_MAX_PATH_JERK
42512
IS_SD_MAX_PATH_JERK
5.3
5.3
System variables
Identifier
Description
$AC_PATHACC
$AC_PATHJERK
5-2
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
Index
$
A
ACC[axis], 2-7
B
BRISK, 2-3
BRISKA, 2-4
D
DRIVE, 2-40
DRIVEA, 2-41
J
Jerk limiting
Smoothing method, 2-32
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
S
SD42500, 2-9, 2-10
SD42502, 2-9, 2-10
SD42510, 2-24
SD42512, 2-24
SOFT, 2-22
SOFTA, 2-23
Index-1
Index
Index-2
Acceleration (B2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
1
Brief description
______________
2
Detailed description
______________
SINUMERIK
840D sl/840Di sl/840D/840Di/810D
Diagnostic tools (D1)
Valid for
Control
4
Examples
______________
5
Data lists
______________
Function Manual
Software
3
Constraints
______________
Version
1.3
1.0
7.4
3.3
7.4
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90437 NRNBERG
GERMANY
Table of contents
1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
Examples................................................................................................................................................ 4-1
5.2
5.2.1
5.3
5.3.1
5.3.2
Index................................................................................................................................................ Index-1
iii
Table of contents
iv
Brief description
Diagnostic tools
Integrated and external diagnostic tools are available for operating the SINUMERIK control.
In addition, the NC assists with error delimitation for drive problems by providing the option
of simulating the drive interface of machine axes.
1-1
Brief description
References
A detailed description of the 611D commissioning software can be found in:
/FBA/ Function Manual, Drive Functions, Speed Control Loop (DD2)
A detailed description of the circularity test can be found in:
/FB2/ Function Manual, Extended Functions, Compensations (K3)
1-2
Detailed description
2.1
2.1
Scope
The Function Manual deals with displays of the user interface, system functions, procedures
for determining system statuses and, if necessary, measures for avoiding undesirable
conditions for the NC control, PLC and drives.
General
Alarm and signal status displays
The currently active or not yet acknowledged alarms and messages are displayed in the
Diagnostics operating area.
Alarm log
The alarm log contains the alarms that have occurred and the time. Detailed information on
the individual alarms can be found in:
References: /DA/ Diagnostics Manual, or in the case of systems with HMI Advanced see
Online Help.
Note
The corresponding explanations for alarms and messages which the machine tool
manufacturer issues (range of values ......),
can be found in the machine tool manufacturer's documentation.
2-1
Detailed description
2.1 Description of diagnostic tools
Alarm handler
Application
The alarm handler provides an infrastructure for activating and managing alarms on the
NCK.
Functions
Buffering of a maximum of 16 alarms that have been activated since system powerup and
which have not yet been reset.
Alarm reactions can be programmed as channelspecific, modegroupspecific or NCKspecific reactions.
The "NoReady" alarm reaction can also be programmed as a channelspecific reaction.
Activation
The alarm handler is activated when an error status is detected in the NCK, causing an
alarm to be output.
It is possible to trigger an alarm in a part program using the SETAL command.
Reference: /PGA/Programming Manual Advanced
Note
The currently active alarms in the NCK are read via the operator panel interface.
It is not possible to set alarms externally in the NCK.
Alarms with an alarm ID in the 60000 to 60999 range can be activated in a part program.
Data backup
On Power ON , the alarm-handler data are reinitialized completely, since they are not
stored in the buffered SRAM.
2-2
Detailed description
2.1 Description of diagnostic tools
Compatibility
As of SW 4
As of SW 4.1 and later, it is possible to set the channelspecific signal CHANNEL_NOREADY
in the VDI interface in response to alarms.
Up to SW 3.x
Machine data:
MD11412 $MN_ALARM_REACTION_CHAN_NOREADY
controls whether the channel-specific signal CHANNEL_NOREADY function is used. This
ensures that earlier PLC versions remain compatible.
Default setting: CHANNEL_NOREADY signal is not used.
Alarms that have specified a channelspecific NOREADY signal are reconfigured to the
modegroupspecific NOREADY signal.
Clearing criterion
For each alarm, you must specify how the alarm can be cleared again. The following clearing
criteria are possible:
POWERONCLEAR
The alarm is cleared by switching the control off and then on again.
RESETCLEAR
When the Reset key is pressed, the alarm is cleared in the channel in which it occurred.
CANCELCLEAR
The alarm is cleared in any channel when the Cancel key is pressed. The alarm can also
be cleared by means of an NC start or Reset.
NCSTARTCLEAR
The alarm is cleared in the channel in which the alarm occurred by starting a program.
The alarm can also be cleared by means of a Reset.
CLEARHIMSELF
The alarm is not cleared by an operator input or action, but explicitly by a "clearAlarm"
programmed in the NCK source code.
BAGRESETCLEAR
The alarm is cleared by a "BAGRESETCLEAR" command or by executing a Reset in
every channel of this mode group.
NCKRESETCLEAR
The alarm is cleared by an "NCKRESETCLEAR" command or by executing a Reset in
every channel.
2-3
Detailed description
2.2 Service displays
2.2
2.2
Service displays
Conditions of use
Conditions for the use of service displays are specified. Service displays are differentiated
between in terms of axis/spindle, drive and profibus DP
Operation
For how to operate the service displays see:
References:
/BAD/ "HMI Advanced Operator's Guide"
/BEM/ "HMI Embedded Operator's Guide"
Note
On HMI Advanced, it is possible to switch between the displays using the vertical soft key for
Part view/Overall view. The data in the partial view are updated at significantly shorter
intervals.
General
In principle, the following service displays are available:
Axis/spindle service displays
Drive service displays
Profibus-DP service displays
Note
System dependencies
The availability of individual service displays depends on the particular system, e.g.:
Drive service displays: for digital drives only
Profibus-DP service displays: for SINUMERIK 840Di only
2-4
Detailed description
2.3 Axis/spindle service display
2.3
2.3
2-5
Detailed description
2.3 Axis/spindle service display
Figure 2-1
Following error
The difference between the position setpoint and the actual position value of active
measuring system 1 or 2.
Unit: mm, inch or degrees
Error signal
The difference between the position setpoint at the position controller input and the actual
position value of active measuring system 1 or 2.
Unit: mm, inch or degrees
Contour deviation
The current contour deviation is displayed with this value (variations of the following error
caused by settling operations on the speed controller due to load changes).
The contour deviation results from the difference between an actual position pre-calculated
from the position setpoint and the actual position value of active measuring system 1 or 2.
Unit: mm, inch or degrees
2-6
Detailed description
2.3 Axis/spindle service display
6HUYRJDLQIDFWRU
6SHHGVHWSRLQW
)ROORZLQJHUURU
8QLWZLWKVWDQGDUGVHWWLQJ
>PPLQ@
>PP@
2-7
Detailed description
2.3 Axis/spindle service display
Speed setpoint
Speed setpoint transferred to the drive (= speed setpoint from position controller and feed
forward control).
Unit: %
100% corresponds to the maximum speed setpoint (10 V for an analog interface, maximum
speed for SIMODRIVE 611 digital).
Override
The effective correction factor of the feed or spindle correction switch is displayed.
Unit: %
2-8
Detailed description
2.3 Axis/spindle service display
Controller mode
Displays the current controller modes.
0:
Position Control
1:
Speed Control
2:
Stopping
3:
Parking
4:
Followup
5:
Braking
2-9
Detailed description
2.3 Axis/spindle service display
Bit0=Status 1:
Bit1=Status 0:
Bit1=Status 1:
2-10
Detailed description
2.3 Axis/spindle service display
2-11
Detailed description
2.3 Axis/spindle service display
6SLQGOH
VSHHG
VHWSRLQW
SURJ
6SLQGOHVSHHGVHWSRLQW
FXUUHQW
)HHG
IRUZDUG
FRQWURO
3RVLWLRQVHWSRLQW
VSHHGVHWSRLQW
6SHHGVHWSRLQW>@
(UURUVLJQDO
,QWHUSRODWRU
,32
)LQH
LQWHUSRODWRU
-HUNOLPLWDWLRQ
'\QDPLF
UHVSRQVH
DGDSWDWLRQ
&RQWURO
ORRS
PRGHO
&RQWRXU
GHYLDWLRQ
)ROORZLQJHUURU
$FWLYH
PHDVXULQJ
V\VWHP
$FWXDOSRVLWLRQYDOXHRIPHDVXULQJV\VWHP
3RVLWLRQ
FRQWURO
OHU
&RQWURO
SDUDPHWHUVHW
&RPSHQVDWLRQ
%DFNODVK/(&
3RZHU
VHFWLRQ
$FWXDOVSHHGYDOXH>@
$FWXDOVSHHG
YDOXH
VSHFLILFDWLRQ
$FWXDOYDOXH
SURFHVVLQJ
$FWXDOYDOXH
SURFHVVLQJ
6SHHGVHWSRLQW
)ROORZLQJHUURU
&XUUHQW
FRQWURO
OHU
$EVFRPSHQVDWLRQYDOXH
0HDVXULQJV\VWHP
$FWXDOSRVLWLRQYDOXHRIPHDVXULQJV\VWHP
6HUYRJDLQIDFWRUFDOFXODWHG
6SHHG
FRQW
UROOHU
&RPSHQVDWLRQ
%DFNODVK/(&
HJIURP
GLUHFW
PHDVXULQJ
V\VWHP
$EVFRPSHQVDWLRQYDOXH
0HDVXULQJV\VWHP
,WDOLFIRQW 9DOXHLVGLVSOD\HGLQXVHULQWHUIDFH
Figure 2-2
2-12
Detailed description
2.3 Axis/spindle service display
Checks
Check of the position controller setting
The position controller settings can be easily managed via the service axis display.
The number 1 (corresponds to servo gain = 1) should be entered in machine data:
MD32200 $MA_POSCTRL_GAIN [n] (servo gain factor).
The change takes effect immediately.
Because the servo gain factor is defined as
6HUYRJDLQIDFWRU
6SHHGVHWSRLQW
)ROORZLQJHUURU
>PPLQ@
>PP@
'HIDXOW
2-13
Detailed description
2.3 Axis/spindle service display
"Positioning monitoring"
following error >
MD36010 $MA_STOP_LIMIT_FINE
(exact stop fine)
"Measuring system changeover not available
difference between actual position value measuring system 1 and 2 >
MD36500 $MA_ENC_CHANGE_TOL
(maximum tolerance for actual position value measurement)
"Clamping monitoring"
following error >
MD36050 $MA_CLAMP_POS_TOL
(clamping tolerance for "Clamping active" interface signal)
For details on the behavior of the NC control in response to individual alarms, and remedial
action, please refer to:
References:
/DA/ Diagnostics Manual
2-14
Detailed description
2.4 Drive service display (for digital drives only)
2.4
2.4
Displays
Displays on the control's user interface that show values and statuses allow for evaluation of
the operating statuses of the digital drives.
Access
Accessing diagnostic options:
For the purposes of commissioning and diagnosing
feed drives (FDD) and
main spindle drives (MSD)
the information shown in the following figure can be called up for each axis/spindle in the
"Diagnostics" operating area via the operator panel.
Note
The parameters in the "Drive" service display are not necessary for connecting drives via the
PROFIBUS DP. For SINUMERIK 840Di, the drives are defined as PROFIBUS nodes. The
appropriate service data is displayed in 840DiStartup in the menu Diagnostics -->
PROFIBUS.
Application
The diagnostic options are used for:
checking the status of enabling and control signals
(e.g. pulse enable, drive enable, motor selection, setpoint parameter set)
checking the status of FDD/MSD operating modes
(e.g. setup mode, parking axis)
displaying temperature warnings
checking the current setpoint/actual value display
(e.g. actual position value measuring system 1/2, speed setpoint, actual speed value)
checking the drive status (drive ready)
displaying the current ramp-up phase
displaying the group error message (message status class 1)
displaying the drive status messages
(e.g. threshold torque not reached, minimum speed not reached, actual speed = set
speed)
2-15
Detailed description
2.4 Drive service display (for digital drives only)
Explanations/Terms
Drive enable (terminal 64/63)
The display corresponds to the status of terminal 64/63 on the SIMODRIVE611 digital
infeed/regenerative feedback unit.
State 1: Central drive enable
State 0 : Central drive disable
Display corresponds to machine datum:
MD1700 $MD_TERMINAL_STATE
(status of binary inputs).
2-16
Detailed description
2.4 Drive service display (for digital drives only)
Ramp-up function generator quick stop is not active for the drive.
State 0:
Ramp-up function generator quick stop is active. The drive is stopped without
a ramp function with speed setpoint = 0 and without pulse suppression.
2-17
Detailed description
2.4 Drive service display (for digital drives only)
Enable pulses
Message indicating whether the drive pulses have been enabled.
State 0:
The drive module pulses are suppressed. The axis/spindle can therefore not
be traversed.
State 1:
The drive module pulses are enabled. The axis/spindle can now be traversed.
Drive ready
Display of the current status of the selected drive.
State 0: The drive is not ready.
State 1: The drive is ready.
Display corresponds to IS DB31, ... DBX93.5 ("Drive Ready").
References:
/FB1/ Function Manual, Basic Functions; Various Interface Signals (A2)
Display indicating the current rampup phase of the selected drive.
Meaning:
CRC error
Display of communications errors detected in hardware between NC and drive.
Note
If the display shows a value other than "0", please contact your SIEMENS Regional Office!
2-18
Detailed description
2.4 Drive service display (for digital drives only)
ZK1 Messages
Display indicates whether messages of status class 1 are active.
State 0: No status class 1 message is active.
State 1: One or several status class 1 messages are active.
Status class 1 messages are alarms with the following characteristics:
They cause internal responses
(e.g. regenerative braking, immediate pulse suppression)
They are modal.
DC link voltage
Indicates the current DC link voltage level within the drive grouping.
Unit: Volts
Speed setpoint
The displayed speed setpoint represents the unfiltered total setpoint value. It is made up of
the position controller output component and the speed feed forward branch.
Unit: rpm
Display corresponds to machine datum:
MD1706 $MD_DESIRED_SPEED (desired speed).
Motor temperature
Display of motor temperature measured via temperature sensors.
Unit: Degrees Celsius
Display corresponds to machine datum:
MD1702 $MD_MOTOR_TEMPERATURE (motor temperature).
2-19
Detailed description
2.4 Drive service display (for digital drives only)
State 1:
Smoothing of the speed setpoint as requested by the PLC using IS DB31, ...
DBX20.3
("Speed setpoint smoothing") takes effect because speed setpoint filter 1 is
configured as the low pass.
Display corresponds to IS DB31, ... DBX92.3 ("Speed setpoint smoothing active") and is
shown in an updated form as of software version 6.3 and later.
References:
/FB1/ Function Manual, Basic Functions; Various Interface Signals (A2)
2. Torque Limit
Display of active torque limit
State 0: Torque limit 1 is active.
State 1: Torque limit 2 is active.
Display corresponds to IS DB31, ... DBX92.2
("Torque limit 2 active").
References:
/FB1/ Function Manual, Basic Functions; Various Interface Signals (A2)
Integrator disabling
This display indicates whether the speed controller integrator is active.
State 0:
State 1:
2-20
Detailed description
2.4 Drive service display (for digital drives only)
Setup mode
Mode display of the SIMODRIVE 611 digital.
State 0: Normal mode is active for the drive.
State 1: Setup mode is active for the drive.
Display corresponds to IS DB31, ... DBX92.0
("Setup mode active").
References:
/FB1/ Function Manual, Basic Functions; Various Interface Signals (A2)
Parking axis
Mode display of the SIMODRIVE 611 digital.
State 0:
State 1:
Operating mode
Display indicating whether the motor is operating as a feed drive or main spindle drive.
2-21
Detailed description
2.4 Drive service display (for digital drives only)
Application
Coding
Motor 1
Motor 2
Motor 3
Reserved
Motor 4
Reserved
Application
Coding
Motor 1
Motor 2
Motor 3
Reserved
Motor 4
Reserved
2-22
Detailed description
2.4 Drive service display (for digital drives only)
2-23
Detailed description
2.4 Drive service display (for digital drives only)
The ramp-up function has not yet been completed after a new speed setpoint
was defined.
State 1:
The actual speed value has reached the speed tolerance band after a new
speed setpoint was defined.
State 1:
In the stationary condition, the torque setpoint has not reached the threshold
torque.
2-24
Detailed description
2.4 Drive service display (for digital drives only)
The actual speed value is outside the speed tolerance band after a
new speed setpoint was defined.
State 1:
The actual speed value has reached the speed tolerance band after a new
speed setpoint was defined.
Variable signal 1
Status display of 611D variable signaling function.
With the variable signaling function, any memory location can be monitored to see whether a
definable threshold is exceeded. In addition to the threshold, a tolerance band can be
defined which is also taken into account when scanning for violation of the threshold value.
The signal can be combined with an ON delay or OFF delay time.
State 0: Threshold value not reached
State 1: Threshold value exceeded
Parameters for the variable signal function are set using the following 611D machine data:
2-25
Detailed description
2.4 Drive service display (for digital drives only)
MD1620 $MD_PROG_SIGNAL_FLAGS
MD1621 $MD_PROG_SIGNAL_NR
MD1622 $MD_PROG_SIGNAL_ADDRESS
MD1623 $MD_PROG_SIGNAL_THRESHOLD
MD1624 $MD_PROG_SIGNAL_HYSTERESIS
MD1625 $MD_PROG_SIGNAL_ON_DELAY
MD1626 $MD_PROG_SIGNAL_OFF_DELAY
2-26
Detailed description
2.5 Service display PROFIBUS DP 840Di
2.5
2.5
The user interface 840Di StartUp provides diagnostic screen forms for PROFIBUS DP and
its nodes. . These diagnostic screens are only intended for information. You cannot modify
them.
The following detailed information is displayed:
PROFIBUS configuration
Information on the slaves regarding their assignment to PLC/NC
Detailed information on the slaves and the corresponding slots
Information on the axes.
To obtain a quick overview, the current states of certain functions are represented by
colored lamps. The following general conventions are used for the meaning of the individual
colors:
Green: Function is OK.
Red: Failure or no communication at the moment
Gray: Function is not available for the present communication.
Diagnostic screen PROFIBUS DP Configuration
The diagnostic screen PROFIBUS Configuration provides general information on PROFIBUS
DP.
The following parameters are displayed:
2-27
Detailed description
2.5 Service display PROFIBUS DP 840Di
Table 2-1
Function/subfunction
Explanation/meaning
Bus configuration
Baud rate in MBd
Configured bus cycle time; also defines the position controller cycle
Synchronous portion
(TDX) in msec
Status
Configuration OK.
Status of configuration
Green lamp: DP master has powered up.
Red lamp: Failure or no communication.
Bus status
Current bus status is displayed in this field. Each bus status is explained in the screen form in
brief. Possible states are:
POWER_ON
OFFLINE
CLEAR
OPERATE
ERROR
Function/subfunction
Explanation/meaning
Assignment
Sync. with NC
Number of slots
Details
Pressing this button will open another diagnostic screen that provides detailed information on
the corresponding DP slave.
2-28
Detailed description
2.5 Service display PROFIBUS DP 840Di
Function/subfunction
Explanation/meaning
Slaves
Slave No. [DP address]
Assignment
Synchr.
Slots
No.
I/O address
I/O address in the I/O address space of the PLC assigned to this slot. For NC axes, setpoint and
actual value must always be configured using the same I/O address.
Drive number assigned for the appropriate axis in the NC machine data.
Length [bytes]
Length of the I/O area in the STEP7 I/O address space, which is reserved for the slot
Type
Specification whether the slot is an input, output or diagnostic slot. If the slot is assigned to an
NC axis, an output is always designated as a setpoint and an input always as an actual value.
Machine axes
Display of the name defined for this slot in the machine data. If the slot is not assigned to any
NC axis, "No NC axis" is displayed.
Message frame type configured in the NC machine data. If the slot is not assigned to any NC
axis, the message frame type will not be occupied (-).
Status
2-29
Detailed description
2.6 Communication log
Table 2-4
Function/subfunction
Explanation/meaning
Machine axes
Output
Slave/slot
Configured assignment
Status
The display shows the number of message frame failures since the NC was booted.
This value indicates the quality (fault susceptibility) of the PROFIBUS DP line.
Encoder 1
Slave/slot
Configurable assignment
Status
The display shows the number of message frame failures since the NC was booted.
This value indicates the quality (fault susceptibility) of the PROFIBUS DP line.
Display of encoder type configured in the NC machine data
ABS: Absolute encoder
INC: Incrementalvalue encoder
Encoder 2
2.6
2.6
Communication log
Log assistance
In event of a fault and when developing OEM applications, control logs may assist with the
analysis.
2-30
Detailed description
2.7 PLC status
Logbook
The logbook display selected by means of soft key Logbook in the "Diagnostics" operating
area automatically lists details of all alterations to the control that are relevant for the system
(e.g., changes in access level).
For SINUMERIK 840Di, the logbook is displayed in 840Di StartUp.
Version
The version of the MMC or NC software installed can be read from this display
("Diagnostics" operating area via soft key Version) by service personnel.
The software version of each software module is also displayed in a list.
2.7
2.7
PLC status
PLC status signals can be checked and altered via the operator panel in the "Diagnostics"
operating area.
Application
The end customer or service personnel can use this function on site without a programming
device to do the following:
Check the input and output signals of the PLC I/Os.
Carry out limited troubleshooting
Check the interface signals for diagnostic purposes.
Operation
For information about status display operation and changing PLC signals, refer to the
Operator's Guide for the relevant HMI software.
2-31
Detailed description
2.8 Other diagnostics tools
Status display
The status of the following data can be displayed on the operator panel.
Interface signals from the machine control panel
Interface signals to the machine control panel
Interface signals between the NCK and PLC
Interface signals between the HMI and PLC
Data blocks (DB 0-127)
Flags (FB 0-255)
Timers (T 0-127)
Counters (C 0-63)
Inputs (IB 0-127)
Outputs (QB 0-127)
For a breakdown of the interface signals (DBx, DBBy), refer to:
References:
/LIS2/ Lists (Manual 2)
Change in status
The status of the above signals can be changed for test purposes. Signal combinations are
also possible. A maximum of ten operands can be altered at any one time.
2.8
2.8
2-32
Detailed description
2.9 Identifying defective drive modules
Archiving of data
The PCIN software package can be used to archive machine data, setting data, part
programs, etc.
A description of how to use this can be found in the associated documentation:
References:
/PI/ PCIN 4.3
840Di StartUp
For diagnosing the SINUMERIK 840Di, the WINDOWS program 840Di StartUp can be used.
This provides information, e.g. on the current operating mode and the nodes of PROFIBUS
DP.
2.9
2.9
Deactivate drives
Drives can be removed from the NC configuration using a piece of machine data.
Troubleshooting may involve a situation where a drive module (SIMODRIVE 611 digital)
displayed in an alarm text needs to be removed from the bus in order to determine whether
this module has caused the displayed error.
With machine datum:
MD13030 $MN_DRIVE_MODULE_TYPE
individual modules can be removed from the NC-side drive bus configuration (the affected
axes are switched to simulation).
Note
You must remove the desired module from the drive bus configuration (SIMODRIVE 611
digital) before you activate the function. To do this, connect the drive so as to exclude the
module.
Since this internal modification to the machine configuration can result in damage to the
machine if implemented incorrectly, the axes are prevented from moving.
If Safety Integrated has been activated for the modules concerned, you must disable it
manually (safety, logged, EMERGENCY STOP scheme).
2-33
Detailed description
2.9 Identifying defective drive modules
Example
The 2axis module with drive numbers "1" and "2" must be removed from a drive grouping.
Note
Before activating the function, the module in question must be removed from the drive bus
configuration
(SIMODRIVE 611 digital). To do this, connect the drive bus so as to exclude the module.
If Safety Integrated has been activated for the modules concerned, you must disable it
manually (safety, logged, EMERGENCY STOP scheme).
2-34
Detailed description
2.9 Identifying defective drive modules
Table 2-5
Module
Drive no.
Active
Type
Module type
10
ARM/MSD
Axis
Left
SRM/FDD
Axis
14
14
Right
SRM/FDD
Axis
Left
HLA
Axis
Right
ANA
Axis
12
SLM
Axis
11
PER
DMPC
11
Note
If alarm 300003 "Axis xx drive yy incorrect module type zz" appears, then you have removed
only one part of a 2axis module. In this case, you should check the module type in the drive
configuration display. "NO" axis type is shown for removed modules.
2-35
Detailed description
2.9 Identifying defective drive modules
2-36
Constraints
3-1
Constraints
3-2
Examples
No examples are available.
4-1
Examples
4-2
Data lists
5.1
5.1.1
5.1
Machine data
Number
Identifier: $MD_
Description
1401
MOTOR_MAX_SPEED
1417
SPEED_THRESHOLD_X
1418
SPEED_THRESHOLD_MIN
1426
SPEED_DES_EQ_ACT_TOL
1428
TORQUE_THRESHOLD_X
Threshold torque
1602
MOTOR_TEMP_WARN_LIMIT
1604
LINK_VOLTAGE_WARN_LIMIT
1620
PROG_SIGNAL_FLAGS
1621
PROG_SIGNAL_NR
1622
PROG_SIGNAL_ADDRESS
1623
PROG_SIGNAL_THRESHOLD
1624
PROG_SIGNAL_HYSTERESIS
1625
PROG_SIGNAL_ON_DELAY
1626
PROG_SIGNAL_OFF_DELAY
1700
TERMINAL_STATE
1702
MOTOR_TEMPERATURE
Motor temperature
1706
DESIRED_SPEED
Speed setpoint
1707
ACTUAL_SPEED
1708
ACTUAL_CURRENT
5-1
Data lists
5.2 Setting data
5.1.2
Number
Identifier: $MN_
Description
11410
SUPPRESS_ALARM_MASK
11411
ENABLE_ALARM_MASK
11412
ALARM_REACTION_CHAN_NOREADY
11413
ALARM_PAR_DISPLAY_TEXT
11420
LEN_PROTOCOL_FILEX
13030
DRIVE_MODULE_TYPE
5.1.3
Number
Description
32200
POSCTRL_GAIN [n]
32250
RATED_OUTVAL
32260
RATED_VELO
36010
STOP_LIMIT_FINE
36030
STANDSTILL_POS_TOL
36050
CLAMP_POS_TOL
Clamping tolerance
36210
CTRLOUT_LIMIT
36300
ENC_FREQ_LIMIT[n]
36400
CONTOUR_TOL
36500
ENC_CHANGE_TOL
37010
FIXED_STOP_TORQUE_DEF
Clamping torque
43510
FIXED_STOP_TORQUE
5.2
5.2.1
5.2
Setting data
Number
Identifier: $SA_
Description
43510
FIXED_STOP_TORQUE
5-2
Data lists
5.3 Signals
5.3
5.3.1
5.3
Signals
Signals to axis/spindle
DB number
Byte.Bit
Description
31, ...
16.0 - 16.2
31, ...
21.0 - 21.2
31, ...
21.3 - 21.4
Motor selection A, B
31, ...
21.7
Pulse enable
5.3.2
DB number
Byte.Bit
Description
31, ...
60.4
Referenced/synchronized 1
31, ...
60.5
Referenced/synchronized 2
31, ...
62.5
31, ...
92.0
31, ...
92.1
31, ...
92.2
31, ...
92.3
31, ...
93.0 - 93.2
31, ...
93.3 - 93.4
Active motor A, B
31, ...
93.5
Drive Ready
31, ...
93.6
31, ...
93.7
Pulses enabled
31, ...
94.0
31, ...
94.1
31, ...
94.2
31, ...
94.3
_'Md_'< Mdx
31, ...
94.4
_'nact_'< nmin
31, ...
94.5
_'nact_'< nx
31, ...
94.6
_'nact_'= nset
5-3
Data lists
5.3 Signals
5-4
Index
6
611D commissioning tool, 2-31
A
Axis/spindle service display, 2-5
C
Communication log, 2-29
D
DB31, ...
DBX16.0, 2-9
DBX16.1, 2-9
DBX16.2, 2-9
DBX20.3, 2-20
DBX21.0, 2-21
DBX21.1, 2-21
DBX21.2, 2-21
DBX21.3, 2-22
DBX21.4, 2-22
DBX21.7, 2-17
DBX60.4, 2-10
DBX60.5, 2-10
DBX62.5, 2-10
DBX92.0, 2-21
DBX92.1, 2-17
DBX92.2, 2-20
DBX92.3, 2-20
DBX93.0, 2-21
DBX93.1, 2-21
DBX93.2, 2-21
DBX93.3, 2-22
DBX93.4, 2-22
DBX93.5, 2-18
DBX93.6, 2-20
DBX93.7, 2-18
DBX94.0, 2-23
DBX94.1, 2-23
DBX94.2, 2-23
DBX94.3, 2-24
DBX94.4, 2-24
DBX94.5, 2-24
DBX95.7, 2-23
DB31, ... DBX94.6, 2-25
Diagnostic tools (D1), 1-1
Interrupts, 2-1
Diagnostics, 2-5
Drive service display, 2-15
L
Logbook, 2-30
M
MD11412, 2-3
MD13030, 2-32, 2-33, 2-34
MD1401, 2-8
MD1417 $MD_SPEED_THRESHOLD_X, 2-24
MD1418 $MD_SPEED_THRESHOLD_MIN, 2-24
MD1426 $MD_SPEED_DES_EQ_ACT_TOL, 2-23, 225
MD1428 $MD_TORQUE_THRESHOLD_X, 2-24
MD1604, 2-18
MD1620 $MD_PROG_SIGNAL_FLAGS, 2-25
MD1621 $MD_PROG_SIGNAL_NR, 2-25
MD1622 $MD_PROG_SIGNAL_ADDRESS, 2-25
MD1623 $MD_PROG_SIGNAL_THRESHOLD, 2-25
MD1624 $MD_PROG_SIGNAL_HYSTERESIS, 2-25
MD1625 $MD_PROG_SIGNAL_ON_DELAY, 2-25
MD1626 $MD_PROG_SIGNAL_OFF_DELAY, 2-25
MD1700, 2-16, 2-17
MD1702 $MD_MOTOR_TEMPERATURE, 2-19
MD1706, 2-19
MD1707, 2-19
MD1708, 2-19
MD20700, 2-10
MD32200, 2-13
MD34110, 2-10
MD36010 $MA_STOP_LIMIT_FINE, 2-14
MD36030 $MA_STANDSTILL_POS_TOL, 2-13
MD36050 $MA_CLAMP_POS_TOL, 2-14
Index-1
Index
MD36210 $MA_CTRLOUT_LIMIT, 2-13
MD36300 $MA_ENC_FREQ_LIMIT, 2-14
MD36400 $MA_CONTOUR_TOL, 2-13
MD36500 $MA_ENC_CHANGE_TOL, 2-14
MD37010 $MA_FIXED_STOP_TORQUE_DEF, 2-10
R
Ramp-up phase, 2-25
S
Service display PROFIBUS DP, 2-26
Servo gain factor (Kv), 2-13
V
O
of defective drive modules
Identification, 2-32
Version, 2-30
Z
ZK1 Messages, 2-25
PCIN, 2-32
PLC status, 2-30
Index-2
1
Brief Description
______________
2
Detailed Description
______________
SINUMERIK
840D sl/840Di sl/840D/840Di/810D
Travel to fixed stop (F1)
Valid for
Control
4
Examples
______________
5
Data lists
______________
Function Manual
Software
3
Supplementary conditions
______________
Version
1.3
1.0
7.4
3.3
7.4
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90437 NRNBERG
GERMANY
Table of contents
1
2.2
2.2.1
2.2.2
2.3
2.3.1
2.3.2
2.3.3
Examples................................................................................................................................................ 4-1
5.2
5.2.1
5.3
5.3.1
5.3.2
Index................................................................................................................................................ Index-1
iii
Table of contents
iv
Brief Description
Customer benefit
The "Travel to fixed stop" function can be used for operations such as traversing tailstocks or
sleeves to an end limit position in order to clamp workpieces.
Features
The clamping torque and a fixed stop monitoring window can be programmed in the parts
program and can also be altered via setting data once the fixed stop has been reached.
The "travel to fixed stop" function can be implemented for axes as well as for spindles
with axistraversing capability.
The function can be implemented for several axes simultaneously and parallel to the
motion of other axes.
Torques or the power can be adjusted to a specific setting.
Travel with limited torque/power (Force Control, FOC) can be activated.
The "travel to fixed stop" functions can be enabled from synchronized actions.
Block search with calculation, multichannel (SERUPRO).
Move axes with FXS and FOC in simulation mode.
Vertical axes can also be moved with FXS to a fixed stop.
With SW 6.4 and higher, VDI signals can be used to set a REPOS offset for each axis and
display the FXS status currently active on the machine after the search target has been
located.
1-1
Brief Description
1-2
Detailed Description
2.1
2.1.1
2.1
General functionality
Programming
Travel to fixed stop is selected or deselected with the following commands:
FXS[Machine axis identifier]=1 (selected)
FXS[Machine axis identifier]=0 (deselected)
The commands are modal.
The clamp torque is set with the command:
FXST[Machine axis identifier] = <torque>
.
It is entered in % of the static torque for feed spindle drives:
(MD1118 MOTOR_STANDSTILL_CURRENT)
or in % of motor torque for main spindle drives:
(MD1103 MOTOR_NOMINAL_POWER)
.
The command is used for setting the width of the fixed stop monitoring window.
FXSW[machine axis identifier] = monitoring window
The unit is dependent on the default setting: mm, inch or degrees.
2-1
Detailed Description
2.1 General functionality
The FXST and FXSW commands are optional.
The travel path and the command which activates that function must be programmed in one
block (exception: Synchronized actions).
Examples
With machine axis identifiers:
X250 Y100 F100 FXS[X1]=1
X250 Y100 F100 FXS[X1]=1 FXST[X1]=12.3
X250 Y100 F100 FXS[X1]=1 FXST[X1]=12.3 FXSW[X1]=2
; mm
; mm
References:
/PG/ "Programming Guide: Fundamentals"
; Selecting X1
FXST[X1] = 10
FXSW[X1] = 5
; Selecting X1 ->X1
FXST[X] = 10
FXSW[X] = 5
All four of the following programming lines have the same effect when the channel axis X is
imaged on the machine axis AX1, X1:
Z250 F100 FXS[AX1]=1 FXST[AX1]=12.3 FXSW[AX1]=2000
Z250 F100 FXS[X1]=1 FXST[X1]=12.3 FXSW[X1]=2000
Z250 F100 FXS[X]=1 FXST[X]=12.3 FXSW[X]=2000
Z250 F100 FXS[X]=1 FXST[X1]=12.3 FXSW[AX1]=2000
2-2
Detailed Description
2.1 General functionality
Functional sequence
The function is explained by the example below (sleeve is pressed onto workpiece).
$FWXDOSRVLWLRQDIWHUBWUDYHO
WRIL[HGVWRS
3URJU(QG
SRVLWLRQ
Figure 2-1
)L[HGVWRS
6WDUWSRVLWLRQ
PRQLWRULQJZLQGRZ
Selection
The NC recognizes the "Travel to fixed stop" function selection using command FXS[x]=1
and reports to the PLC using IS DB31, ... DBX62.4 ("Activate travel to fixed stop") to indicate
that the function has been selected.
If the machine data:
MD37060 FIXED_STOP_ACKN_MASK
(observation of PLC acknowledgements for travel to fixed stop)
is set accordingly, PLC acknowledgement via IS DB31, ... DBX3.1 ("Enable travel to fixed
stop") is waited for.
The programmed target position is then approached from the start position at the
programmed velocity. The fixed stop must be located between the start and target positions
of the axis/spindle. A programmed torque limit is effective from the start of the block, i.e. the
fixed stop is also approached with reduced torque. Allowance for this limitation is made in
the NC through an automatic reduction in the acceleration rate.
If no torque has been programmed in the block or has not been programmed since the start
of the program, the value entered in the axis-specific machine data:
MD37010 $MA_FIXED_STOP_TORQUE_DEF
(presetting for terminal torque)
applies.
2-3
Detailed Description
2.1 General functionality
Internal processes
Once the NC has detected the "Fixed stop reached" status, it deletes the distancetogo and
the position setpoint is made to follow. The controller enabling command remains active.
The PLC is then informed using IS DB31, ... DBX62.5 ("Fixed stop reached").
If the machine data:
MD37060 $MA_FIXED_STOP_ACKN_MASK
is set accordingly, PLC acknowledgement using IS DB31, ... DBX1.1 ("Acknowledge fixed
stop reached") is waited for.
The NC then executes a block change or considers the positioning motion to be completed,
but still leaves a setpoint applied to the drive actuator to allow the clamping torque to take
effect.
The fixed stop monitoring function is activated as soon as the stop position is reached.
2-4
Detailed Description
2.1 General functionality
Monitoring window
If a fixed stop monitoring window has not been programmed in the block or has not been
programmed since the start of the program, the value entered in the machine data:
MD37020 $MA_FIXED_STOP_WINDOW_DEF
(presetting for fixed stop monitoring window)
applies.
If the axis leaves the position it was in when the fixed stop was detected, then alarm 20093
"Fixed stop monitoring has responded" is displayed and the "Travel to fixed stop" function
deselected.
The window must be selected by the user such that the alarm is activated only when the axis
leaves the fixed stop position.
MD 37050 = 2
Fixed stop not reached (suppress alarm 20091) and fixed stop aborted
(suppress alarm 20094)
MD 37050 = 3
Function abort
If the "Travel to fixed stop" function is aborted due to the occurence of a pulse disable,
cancelation of PLC acknowledgements or a reset in the starting block, alarm 20094 can be
controlled (display or suppression) using machine data:
MD37050m $MA_FIXED_STOP_ALARM_MASK
2-5
Detailed Description
2.1 General functionality
Interrupts
If the fixed stop position is not reached when the function is active, alarm 20091 "Fixed stop
not reached" is output and a block change executed.
If a travel request (e.g. from the part program, the PLC, from compile cycles or from the
operator panel) is provided for an axis after the fixed stop has been reached, the alarm
20092 "Travel to fixed stop still active" is output and the axis is not moved.
If after reaching the fixed stop an axis is pushed out of position more than the indicated value
in
SD FIXED_STOP_WINDOW (fixed stop monitoring window)
, the alarm 20093 "fixed stop monitoring has responded" is output; the "travel to fixed stop"
function is then deselected for this axis and system variable $AA_FXS[x] is set to 2.
2-6
Detailed Description
2.1 General functionality
Deselection
The NC recognizes the function deselection via programming of the command FXS[x]=0.
Then an advance stop (STOPRE) is internally released, since it can't be forseen where the
axis will be after deselection.
The torque limitation and the monitoring of the fixed stop monitoring window is cancelled.
The IS DB31, ... DBX62.4 ("Activate travel to fixed stop") and DB31, ... DBX62.5 ("Fixed stop
reached") are reset.
Depending on machine data:
MD37060 $MA_FIXED_STOP_ACKN_MASK
, PLC acknowledgement is waited for by resetting the IS
DB31, ... DBX3.1 ("Enable travel to fixed stop") and/or
DB31, ... DBX1.1 ("Acknowledge fixed stop reached").
The axis will then change to position control. The followup mode of the position setpoints is
ended and a synchronization to the new actual position is carried out.
A programmed traverse motion can then be executed. This motion must lead away from the
fixed stop or else the stop or even the machine may sustain damage.
A block change is executed after the target position has been reached.
Multiple selection
A selection may only be carried out once. If the function is called once more due to faulty
programming (FXS[Axis]=1) the alarm 20092 "Travel to fixed stop still active" is initiated.
2-7
Detailed Description
2.1 General functionality
2.1.2
Response to RESET
During selection (fixed stop not yet reached) the function FXS can be aborted with RESET.
The termination is carried out such that an "almost achieved" fixed stop (setpoint already
beyond the fixed stop, but still within the threshold for the fixed stop detection) will not result
in damage.
This is achieved by synchronizing the position setpoint to the new actual position. As soon
as the fixed stop is reached, the function remains operative even after RESET.
2-8
Detailed Description
2.1 General functionality
Function abort
A function abort can be triggered by the following events:
EMERGENCY STOP:
With an 840D control, the NC and drive are disconnected from the supply after
EMERGENCY STOP, i.e. the PLC must react.
With an 840Di control, the NC and drive are disconnected from the supply after
EMERGENCY STOP, i.e. the PLC must react.
Caution
Make sure that after canceling the function
"travel to fixed stop" by "EMERGENCY STOP," no dangerous machine situation
(MD37002 $MA_FIXED_STOP_CONTROL e.g. canceling pulse disable) can arise.
2.1.3
2-9
Detailed Description
2.1 General functionality
FOC
FOCON/FOCOF is activated modally. It is already active in the approach block.
SERUPRO
Block search with calculation, multichannel
The block search in program test mode is designated SERUPRO and is derived from the
"Search-Run by Program test." This search mode allows the user a multichannel block
search with calculation of all required status data from the previous history.
The PLC interface is updated in this block search and matching processes, which cover the
interaction of several channels executed within the framework of this block search correctly.
Caution
SERUPRO approach does not really take the statementFXS into account. The approach to
the programmed end position of the FXS block is only simulated without torque limitation.
The user can log the turning on and turning off of FXS in the parts program. If necessary, the
user can start an ASUB in order to activate or deactivate FXS in this SERUPRO-ASUP.
2-10
Detailed Description
2.1 General functionality
NCK Variables
Course of values
Course of values of system variables $VA_FXS[ ] with values 1 to 5
'HVHOHFWEORFNZLWK);6>[@
,6$FWLYDWHWUDYHOWRIL[HGHQGVWRS
7HUPLQDOFODPSDFWLYH
,6(QDEOHWUDYHOWRIL[HGVWRS
,6)L[HGVWRSUHDFKHG
7HUPLQDOFODPSDFWLYH
,6$FNQRZOHGJHIL[HGVWRSUHDFKHG
6HWYHORFLW\
7DUJHWSRVLWLRQGHVHOHFWHGUHFRUG
5HFRUGFKDQJH
DFFHOHUDWLRQDFFRUGLQJWR0'0$;B$;B$&&(/
7HUPLQDOFODPSLVVWLOODFWLYHZLWKRXWFKDQJHRYHURIWHUPLQDOFODPS
Figure 2-2
2-11
Detailed Description
2.1 General functionality
Example:
If in the SERUPRO process axis Y traversal is simulated with FXS[Y]=1, then $AA_FXS has
a value of 3.
If in the SERUPRO process axis Y traversal is simulated with FXS[Y]=0, then $AA_FXS has
a value of 0.
During simulation with SERUPRO, $AA_FXS cannot have the values 1, 2, 4, 5, since the
actual status of $VA_FXS "travel to fixed stop" can never be detected.
Note
The state $AA_FXS = 1 is never reached during the SERUPRO operation. This means that
other program branches can be processed which will produce different results due to the
simulation.
If after the SERUPRO process axis Y is traversed again, then variables $AA_FXS and
$VA_FXS are assigned the same values again.
2-12
Detailed Description
2.1 General functionality
Example:
If the machine is at the fixed stop and the block search has reached a block after deselection
of FXS , the new target position is displayed via IS DB31, ... DBX62.5 ("Fixed stop reached")
as the REPOS offset.
Note
A SERUPRO-ASUP without FXS handling or no SERUPRO-ASUP results in fully
automatic FXS-REPOS.
2-13
Detailed Description
2.1 General functionality
Caution
FXS-REPOS moves all path axes in a path grouping to the target position. Axes with and
without FXS treatment thus traverse together with the G code and feedrate valid at the
time the target block is processed. As a result, the fixed stop may be approached in rapid
traverse(G0) or higher velocity.
Note
A continuously changing torque characteristic cannot be implemented with FOC-REPOS.
Example:
A program moves axis X from 0 to 100 and activates FOC every 20 millimeters for 10
millimeters at a time. This torque characteristic is generated with nonmodal FOC and
therefore cannot be traced by FOC-REPOS. FOC-REPOS will traverse axis X from 0 to 100
with or without FOC.
For programming examples of FXS "travel to fixed stop," please see:
References:
/FB1/ Function Manual Basic Functions; Mode Group, Channel, Program Operation (K1);
Section: Program test
2.1.4
Miscellaneous
Setting data
The following axisspecific setting data are provided for the "Travel to fixed stop" function:
SD43500 $SA_FIXED_STOP_SWITCH (selection of travel to fixed stop)
SD43510 $SA_FIXED_STOP_TORQUE (clamping torque for travel to fixed stop)
SD43520 $SA_FIXED_STOP_WINDOW (fixed stop monitoring window)
The setting data are effective only when the axis has reached the fixed stop.
The status of the setting data is displayed via the operator panel in the "Parameters" area.
The commands FXS[x], FXST[x] and FXSW[x] effect a blocksynchronous change in
these setting data.
2-14
Detailed Description
2.1 General functionality
If FXST[x] and FXSW[x] are not programmed, the default settings from the machine data:
MD37010 $MA_FIXED_STOP_TORQUE_DEF
and
MD37020 $MA_FIXED_STOP_WINDOW_DEF
are taken over in the corresponding setting dates if "travel to fixed stop" is activated.
The setting data for clamping torque and fixed stop monitoring window can be changed by
the operator and via the PLC. It is thus possible to specify a higher or lower clamping torque
or a modified fixed stop monitoring window after the fixed stop has been reached.
Changing the clamping torque using the ramp and values greater than 100%
A clamping torque change is transferred to the drive steplike. It is possible to specify a ramp
for always reaching a changed torque limit via the machine data:
MD37012 $MA_FIXED_STOP_TORQUE_RAMP_TIME
.
$AA_FXS=1
$AA_FXS=2
$AA_FXS=3
$AA_FXS=4
$AA_FXS=5
2-15
Detailed Description
2.1 General functionality
Query of the system variable in the parts program initiates a block search stop.
As a result of the status query in the parts program, it is possible, for example, to react to an
erroneous operational sequence of the "Travel to fixed stop" function.
The following example applies:
MD37050 $MA_FIXED_STOP_ALARM_MASK = 0
an alarm is not generated in the error scenario, and a block change therefore takes place
and the error scenario can be evaluated via the system variable.
Example
X300 Y500 F200 FXS[X1]=1 FXST[X1]=25 FXSW[X1]=5
IF $AA_FXS[X1]=2 GOTOF FXS_ERROR
G01 X400 Y200
Inoperative IS signals
The following IS signals (PLC ! NCK) are inoperative for axes at the fixed stop until the
function is deselected (incl. traversing motion):
IS DB31, ... DBX1.3 ("axis/spindle disable")
IS DB31, ... DBX2.1 ("controller enable")
Contour monitoring
The axis contour monitoring function is inoperative while "Travel to fixed stop" is active.
Positioning axes
When "Travel to fixed stop" is applied toPOSA axes, block changes are made independently
of the fixed stop motion.
2-16
Detailed Description
2.1 General functionality
Vertical axes
The "Travel to fixed stop" function can be used for vertical axes even when alarms are
active.
Should the traversal of vertical axes be aborted as a result of an FXS alarm, the relevant
drives are not disconnected from the supply via the VDI interface.
This functionality has the same effect on vertical axes as an electronic weight compensation
and can be configured via machine data:
MD37052 $MA_FIXED_STOP_ALARM_REACTION
.
Note
For further details about adaptations for SIMODRIVE 611 digital or digital (HLA module),
please see:
References:
/FB2/ Function Manual Extension Functions; Compensation (K3); Section: Electronic weight
compensation
MD37052
The machine data:
MD37052 $MA_FIXED_STOP_ALARM_REACTION
the drive is not disconnected from the power supply by setting the bits, even when an alarm
is generated, while IS DB11, ... DBX6.3 ("Mode group ready") remains active.
Bit value=0:
The alarms have an effect on FXS (drive becomes disconnected as previously).
IS DB11, ... DBX6.3 ("Mode group ready") is canceled.
Bit value=0:
The alarms have no effect on FXS. IS DB11, ... DBX6.3
("Mode group ready") remains active.
Bit 0: Alarm 20090
2-17
Detailed Description
2.1 General functionality
2.1.5
Bit 0 = 1
Once the pulse blocking is canceled again, the drive will press at the limited torque again.
The torque is actuated steplike.
At the fixed stop, the drive can be controlled either via:
IS DB31, ... DBX21.7 ("Pulse enable")
Or
Drive monitor 663 pulse enable
The NC evaluates IS DB31, ... DBX21.7 ("Pulse enable") itself.
Depending on the drive machine data:
MD1012 $MD_FUNC_SWITCH
the NC reacts with FXS to a change in the status of terminal 663 as follows:
Bit 2 = 0
Bit 2 = 1
Terminal 663
When pulse enabling is canceled by terminal 663, the drive is deenergized and coasts to a
standstill immediately.
With:
MD1012 $MD_FUNC_SWITCH, Bit 2 = 0
, this is not signaled to NC.
The status can be checked in the line "Pulse enable" (terminal 663) in service display service
drive.
2-18
Detailed Description
2.1 General functionality
Note
Travel to fixed stop can be canceled by disabling pulses from IS " DB31, ... DBX21.7 ("Pulse
enable") or Terminal 663, if:
MD37002 $MA_FIXED_STOP_CONTROL, Bit 0 = 0
and
MD1012 $MD_FUNC_SWITCH, Bit 2 = 1
are fulfilled.
Both interrupting FXS and stopping "travel to fixed stop" is achieved by the following settings:
MD37002 $MA_FIXED_STOP_CONTROL, Bit 0 = 0
and
MD1012 $MD_FUNC_SWITCH, Bit 2 = 0.
Without ramp
The torque limit is changed without taking into account the ramp if:
FXS is activated with (FXS[]=1), to make sure that the reduction is activated
immediately (especially for synchronized actions).
The drive needs to be de-energized as quickly as possible in the event of a fault.
2-19
Detailed Description
2.1 General functionality
2.1.6
Function
For applications in which torque or force are to be changed dynamically depending on the
travel or on the time or on other parameters (e.g. pressing), the following functionalityFOC
(Force Control) is provided.
Force/travel or force/time profiles are thus possible using the "Interpolation cycle" resolution.
The function allows torque/force to be modified at any time using synchronized actions.
The function can be activated modally or blockrelated.
Value
0
Effect
FOCOF
FOCON
FOCOF
FOCON
2-20
Detailed Description
2.1 General functionality
Programming
The programming of the axis is carried out in square brackets.
The following are permissible:
Geometry axis identifiers
Channel axis identifiers
Machine axis identifiers
Example:
N10 FOCON[X]
N40 FOCOF[X]
Priority FXS/FOC
An activation of FXS with FOC active has priority, i.e. FXS is executed.
A deselection of FXS will cancel the clamping.
A modal torque/force limitation remains active.
After PowerOn, the machine data:
MD37010 $MA_FIXED_STOP_TORQUE_DEF. is in effect in an activation.
This torque can be modified at any time by programmingFXST.
Synchronized actions
The language commands FOC, FOCON, FOCOF can also be programmed in synchronized
actions as the commands for "travel to fixed stop."
1:
2:
2-21
Detailed Description
2.1 General functionality
1:
Restrictions
The function FOC is subject to the following restrictions:
The change of the torque/force limitation representing itself as an acceleration limitation
is only taken into account in the traversing movement at block limits (see command ACC).
Only FOC:
No monitoring is possible from the VDI interface to check that the active torque limit has
been reached.
If the acceleration limitation is not adapted accordingly, an increase of the drag distance
during the traversing motion occurs.
If the acceleration limitation is not adapted accordingly, the end-of-block position is
possibly reached later than specified in:
MD36040 $MA_STANDSTILL_DELAY_TIME
.
The machine data:
MD36042 $MA_FOC_STANDSTILL_DELAY_TIME
is introduced for this and monitored in this status.
2-22
Detailed Description
2.2 Travel to fixed stop with analog drives
2.2
2.2.1
2.2
Selection
The NC recognizes the "Travel to fixed stop" function selection using command FXS[x]=1
and reports to the PLC using interface signal DB31, ... DBX62.4 ("Activate travel to fixed
stop") to indicate that the function has been selected.
If the machine data:
MD37050 FIXED_STOP_ACKN_MASK
is set accordingly, PLC acknowledgement using IS
DB31, ... DBX3.1 ("Enable travel to fixed stop") is waited for
and the function is then started.
This acknowledgment is not required by the NC for digital drives.
The axis now traverses to the target position at the programmed velocity. At the same time,
the clamping torque (specified via FXST[x]) is transferred to the drive via the digital
interface, and this limits its effective torque. In addition, the acceleration is reduced
accordingly in the NC automatically acc. to FXST[x]).
2-23
Detailed Description
2.2 Travel to fixed stop with analog drives
Deselection
The NC recognizes the function deselection via programming of the command FXS[x]=0.
Then an advance stop (STOPRE) is internally released, since it can't be forseen where the
axis will be after deselection.
The torque limitation and monitoring of the fixed stop monitoring window are canceled.
IS DB31, ... DBX62.4 ("Activate travel to fixed stop") and DB31, ... DBX62.5 ("Fixed stop
reached") are reset.
Depending on machine data:
MD37060 FIXED_STOP_ACKN_MASK
, PLC acknowledgement is waited for by resetting the IS
DB31, ... DBX3.1 ("Enable travel to fixed stop") and/or
DB31, ... DBX1.1 ("Acknowledge fixed stop reached").
The axis will then change to position control. The followup mode of the position setpoints is
ended and a synchronization to the new actual position is carried out.
A programmed traverse motion can then be executed. This motion must lead away from the
fixed stop or else the stop or even the machine may sustain damage.
A block change is executed after the target position has been reached.
MD 37050 = 2
Fixed stop not reached ( suppress alarm 20091) and fixed stop aborted
(suppress alarm 20094)
MD 37050 = 3
2-24
Detailed Description
2.2 Travel to fixed stop with analog drives
Diagram
The following diagram shows the progress of the motor current, the following error and IS
signals for DB31, ... DBX62.4 ("Activate travel to fixed stop") and DB31, ... DBX62.5 ("Fixed
stop reached") with digital drive (SIMODRIVE 611 digital).
2-25
Detailed Description
2.2 Travel to fixed stop with analog drives
6HOHFWUHFRUGZLWK);6>[@
,6$FWLYDWHWUDYHOWRIL[HGHQGVWRS
7HUPLQDOFODPSDFWLYHFXUUHQWOLPLWDWLRQ
,6(QDEOHWUDYHOWRIL[HGVWRS
6HWYHORFLW\
W &KDQJHRYHU
*
7UDFNLQJHUURU
0'),;('B6723B7+5(6+2/'
,6)L[HGVWRSUHDFKHG
7HUPLQDOFODPSDFWLYH
W &KDQJHRYHU
,6)L[HGVWRSUHDFKHG
DFNQRZOHGJH
5HFRUGFKDQJH
* acceleration appropriate
0'0$;B$;B$&&(/
0'),;('B6723B$1$B72548(
7HUPLQDOFODPSLVVWLOODFWLYHZLWKRXWVKLIWLQJRIWHUPLQDOFODPS
t Changeover
Figure 2-3
2-26
Detailed Description
2.3 Travel to fixed stop with analog drives
2.2.2
Travel to fixed stop with hydraulic drives SIMODRIVE 611 digital (HLA module)
Velocity/force control
If the function FXS (FXS[x]=1) is activated for the hydraulic module 611 digital (HLA
module), only a change from velocity control to force control takes place. Positioning from
the NC is no longer possible in this case.
NC
When traveling to fixed stop, the NC evaluates a torque/force limit acting in addition to the
limits set on the drive:
Current
Force/torque,
Power, pullout power
Setup mode
Note
For a description of velocity and force control and special information about the
adjustments on SIMODRIVE 611 digital or digital (HLA module), please refer to:
References:
/FBHLA/, Function Manual HLA Module; Drive Functions Firmware
/FB2/, Description of Functions Extension Functions; Compensation (K3); Section:
Electronic weight compensation
2.3
2.3.1
2.3
Current/torque control
With the 611 analog (FDD), the torque control and torque limitation
611 analog (VSA) has been realized as a current control/current limitation.
2-27
Detailed Description
2.3 Travel to fixed stop with analog drives
Selection
The NC detects that the function "travel to fixed stop" is selected via the command
FXS[x]=1 and signals the PLC via the IS "Activate travel to fixed stop" (DB31, ... DBX62.4)
that the function has been selected.
The PLC must then activate the current limitation on the actuator (terminal 96).
If the machine paramete:
MD37060 FIXED_STOP_ACKN_MASK
is set accordingly, then the IS waits for acknowledgment by the PLC in the form of IS
"Activate travel to fixed stop" (DB31, ... DBX3.1)
and then the function is started.
Note
(This acknowledgment should always be programmed for analog drives for safety reasons,
i.e. so that the motion is not started before the torque has been limited).
The NC then internally sets the torque limit to the value specified via the machine parameter:
MD37070 FIXED_STOP_ANA_TORQUE
(torque limit on fixed stop approach for analog drives)
.
This value must correspond to the torque limit value activated via terminal 96.
In addition, the acceleration is automatically reduced in the NC according to the value in the
machine parameter:
MD37070 FIXED_STOP_ANA_TORQUE
The axis now traverses to the target position at the programmed velocity.
2-28
Detailed Description
2.3 Travel to fixed stop with analog drives
2-29
Detailed Description
2.3 Travel to fixed stop with analog drives
Deselection
The NC detects that the function has been deselected on the basis of commandFXS[x]=0
and specifies a speed or current setpoint of "0," i.e. zero clamping torque.
The NC then resets IS "Activate travel to fixed stop" (DB31, ... DBX62.4) and "Fixed stop
reached" (DB31, ... DBX62.5).
If currentcontrolled operation is activated, the PLC must first switch on the current limitation
(terminal 96) and switch the drive over to speedcontrolled operation (terminal 22) (a speed
setpoint of "0" is applied by NC).
Then current limitation must then be deactivated (terminal 96).
Depending on the machine parameter:
MD37060 FIXED_STOP_ACKN_MASK
the NC waits for the PLC to acknowledge by resetting IS
"Activate travel to fixed stop" (DB31, ... DBX3.1) and/or
"Acknowledge fixed stop reached" (DB31, ... DBX1.1).
The axis then switches over to position control mode (followup mode is terminated) and
synchronization with the new actual position takes place.
The programmed travel motion is then executed.
A block change is executed after the target position has been reached.
2.3.2
Caxis operation
The control system has to switch the spindle into C-axis mode before the "Travel to fixed
stop" function is selected. The PLC does this by activating one of the programmable
terminals E1-D9 (e.g. terminal E1) of the drive actuator.
2-30
Detailed Description
2.3 Travel to fixed stop with analog drives
Selection
The NC detects that the function "travel to fixed stop" is selected via the command
FXS[x]=1 and signals the PLC via the IS "Activate travel to fixed stop" (DB31, ... DBX62.4)
that the function has been selected.
As a result, the PLC activates the unassigned gear stage, in which the torque limitation is
effective, by means of programmable terminals E1 - E9 of the drive actuator. It then switches
the speed controller monitor off (one terminal (E1-E9) to deactivate error F11 of drive
actuator).
If the machine paramete:
MD37060 FIXED_STOP_ACKN_MASK
is set accordingly, then the IS waits for acknowledgment by the PLC in the form of IS
"Activate travel to fixed stop" (DB31, ... DBX3.1) and then the function is started.
Note
(This acknowledgment should always be programmed for analog drives for safety reasons,
i.e. so that the motion is not started before the torque has been limited).
The NC then internally sets the torque limit to the value specified via the machine parameter:
MD37070 FIXED_STOP_ANA_TORQUE
(torque limit on fixed stop approach for analog drives)
This value must correspond to the torque limit value set in the actuator.
In addition, the acceleration is automatically reduced in the NC according to the value in the
machine parameter:
MD37070 FIXED_STOP_ANA_TORQUE
The rotary axis now traverses to the target position at the programmed velocity.
2-31
Detailed Description
2.3 Travel to fixed stop with analog drives
If a programmable clamping torque input (via FXST[x] or setting parameter) is required
from the NC, then the PLC must switch the drive over from speed controlled to current
controlled operation. To do so, it activates one of the programmable terminals E1 - E9 (e.g.
terminal E5) and switches off the torque limitation after a period of 80 ms by selecting the
preceding gear stage.
As a result, the torque now takes effect on the drive from the machine parameter:
MD37070 FIXED_STOP_ANA_TORQUE
If the machine parameter:
MD37060 FIXED_STOP_ACKN_ASK
is set accordingly, then the IS waits for acknowledgment by the PLC in the form of IS
"Acknowledge fixed stop reached" (DB31, ... DBX1.1) and then suddenly transfers the
required clamping torque from the selection block to the drive.
A block change is executed. The clamping torque continues to be applied.
Deselection
The NC detects that the function has been deselected on the basis of command FXS[x]=0
and specifies a speed or torque setpoint of "0," i.e. zero clamping torque.
The NC then resets IS "Activate travel to fixed stop"
(DB31, ... DBX62.4) and "Fixed stop reached" (DB31, ... DBX62.5).
If torquecontrolled operation is activated, the PLC must first select the unassigned gear
stage in which the torque limitation is effective and switch the drive over to speedcontrolled
operation (a speed setpoint of "0" is applied by NC). The PLC must also deactivate the
speed controller monitoring function.
The PLC then activates the preceding gear stage, thus deactivating the torque limitation. It
also switches on the speed control monitoring function again.
2-32
Detailed Description
2.3 Travel to fixed stop with analog drives
2.3.3
6HOHFWUHFRUGZLWK);6>[@
,6$FWLYDWHWUDYHOWRIL[HGHQGVWRS
7HUPLQDOFODPSDFWLYHFXUUHQWOLPLWDWLRQ
,6(QDEOHWUDYHOWRIL[HGVWRS
W &KDQJHRYHU
6HWYHORFLW\
7UDFNLQJHUURU
7DUJHWSRVLWLRQ
5HFRUGFKDQJH
Figure 2-4
!PVZLWK$96$
!PVZLWK$+6$
Diagram for FXS selection (fixed stop is reached) with analog drive
2-33
Detailed Description
2.3 Travel to fixed stop with analog drives
)L[HGVWRSFRUUHFWO\DSSURDFKHG
9$B);6
7UDFNLQJHUURU
5HFRUGZLWK);6>[@
167$FWLYDWH);6
9$B);6
)L[HGVWRSGHWHFWHG
0'),;('B6723B7+5(6+2/'
9$B);6
3UHYLRXVKLVWRU\
9$B);6
:DLWIRUGHOHWHGLVWDQFHWRJR
)L[HGVWRSQRWFRUUHFWO\DSSURDFKHG
9$B);6
7UDFNLQJHUURU
5HFRUGZLWK);6>[@
,6$FWLYDWH);6
9$B);6
$[LVQRWDWIL[HGVWRS
9$B);6
$FWLYDWHSRVLWLRQFRQWUROOHU
Figure 2-5
2-34
Diagram for FXS selection (fixed stop is not reached) with analog drive
Detailed Description
2.3 Travel to fixed stop with analog drives
FXS deselection
The following diagram shows the sequence of the following error and interface signals for
"FXS Deselection" on analog drives.
);67>[@RU0'),;('B6723B72548(B'()
0RWRUFXUUHQW
7UDFNLQJHUURU
0'),;('B6723B7+5(6+2/'
5HFRUGZLWK);6>[@
,6$FWLYDWH);6
,6);6UHDFKHG
5HFRUGFKDQJH
Figure 2-6
2-35
Detailed Description
2.3 Travel to fixed stop with analog drives
2-36
Supplementary conditions
3-1
Supplementary conditions
3-2
Examples
Static synchronized actions
Travel to fixed stop (FXS), initiated by a synchronized action.
N10 IDS=1 WHENEVER
(($R1==1) AND
($AA_FXS[Y]==0)) DO
; for
$R1=0 FXS[Y]=1
FXST[Y]=10
FA[Y]=200
POS[Y]=150
($AA_FXS[Y]==4) DO
FXST[Y]=30
; increased to 30%
($AA_FXS[Y]==1) DO
FXST[Y]=$R0
; on R0 controlled
; deselection in dependence
(($R3==1) AND
; on R3 and
($AA_FXS[Y]==1)) DO
; reverse
FXS[Y]=0
FA[Y]=1000 POS[Y]=0
N20 FXS[Y]= 0
G0 G90 X0 Y0
N30 RELEASE(Y)
N50 ......
N60 GET(Y)
4-1
Examples
Multiple selection
A selection may only be carried out once. If the function is called once more due to faulty
programming (FXS[Axis]=1) the alarm 20092 "Travel to fixed stop still active" is initiated.
Programming code that scans $AA_FXS[] or a separate flag (here R1) in the condition will
ensure that the function is not activated more than once.
4-2
Data lists
5.1
5.1.1
5.1
Machine data
Number
Identifier: $MA_
Description
36042
FOC_STANDSTILL_DELAY_TIME
37000
FIXED_STOP_MODE
37002
FIXED_STOP_CONTROL
37010
FIXED_STOP_TORQUE_DEF
37012
FIXED_STOP_TORQUE_RAMP_TIME
37020
FIXED_STOP_WINDOW_DEF
37030
FIXED_STOP_THRESHOLD
37040
FIXED_STOP_BY_SENSOR
37050
FIXED_STOP_ALARM_MASK
37052
FIXED_STOP_ALARM_REACTION
37060
FIXED_STOP_ACKN_MASK
37070
FIXED_STOP_ANA_TORQUE
37080
FOC_ACTIVATION_MODE.
5-1
Data lists
5.2 Setting data
5.2
5.2
5.2.1
Setting data
Number
Identifier: $SA_
Description
43500
FIXED_STOP_SWITCH
43510
FIXED_STOP_WINDOW
43520
FIXED_STOP_TORQUE
5.3
5.3.1
5.3
Signals
Signals to axis/spindle
DB number
Byte.Bit
Description
31, ...
1.1
31, ...
1.2
31, ...
1.3
Axis/spindle disable
31, ...
2.1
Controller enable
31, ...
3.1
5-2
Data lists
5.3 Signals
5.3.2
DB number
Byte.Bit
Description
31, ...
60.4
Referenced/synchronized 1
31, ...
60.5
Referenced/synchronized 2
31, ...
62.5
31, ...
92.0
31, ...
92.1
31, ...
92.2
31, ...
92.3
31, ...
93.0 - 93.2
31, ...
93.3 - 93.4
Active motor A, B
31, ...
93.5
Drive Ready
31, ...
93.6
31, ...
93.7
Pulses enabled
31, ...
94.0
31, ...
94.1
31, ...
94.2
31, ...
94.3
_'Md_'< Mdx
31, ...
94.4
_'nact_'< nmin
31, ...
94.5
_'nact_'< nx
31, ...
94.6
_'nact_'= nset
5-3
Data lists
5.3 Signals
5-4
Index
B
SD43500, 2-14
SD43510, 2-14
SD43520, 2-14
SERUPRO, 2-9
SERUPRO ASUP, 2-12
C
Channel axis identifiers with FXS, 2-1
F
FXS REPOS, 2-13
M
MD1012, 2-17, 2-18
MD1103, 2-15
MD1104, 2-15
MD1105, 2-15
MD1118, 2-1
MD1130:, 2-1
MD1230/1231, 2-15
MD36040:, 2-21
MD36042, 2-21
MD37002, 2-7, 2-8, 2-17, 2-18, 2-24
MD37010, 2-3, 2-14, 2-20
MD37012, 2-8, 2-14, 2-19
MD37020, 2-4, 2-14
MD37030, 2-4, 2-22, 2-28, 2-30
MD37040, 2-4
MD37050, 2-5, 2-15, 2-22, 2-23
MD37052, 2-6, 2-16
MD37060, 2-3, 2-4, 2-6, 2-7, 2-18, 2-19, 2-23, 2-27,
2-28, 2-29, 2-30, 2-31
MD37070, 2-27, 2-28, 2-30, 2-31
MD37080, 2-19
Modal activation (FOCON/FOCOF), 2-19
T
Travel to fixed stop
Analog drives, 2-26
Analog drives, diagrams, 2-32
Analog drives, FXS deselection, 2-34
Analog drives, FXS selection, 2-32
analog drives, SIMODRIVE 611A (FDD), 2-26
analog drives, SIMODRIVE 611A (MSD), 2-29
Block search, 2-9
Contour monitoring, 2-16
Customer benefit, 1-1
Deselection, 2-6
Function abort, 2-8
Functional sequence, 2-3
Monitoring window, 2-4
Positioning axes, 2-16
Programming, 2-1
RESET, 2-8
Selection, 2-3
Setting data, 2-14, 2-23
Status query, 2-15
Travel to fixed stop (F1)
Interrupts, 2-6
Setting data, 2-5
V
Vertical axes, 2-16
R
REPOS Offset, 2-12
Index-1
Index
Index-2
SINUMERIK 840D sl/840Di sl/840D/840Di/810D Velocities, Setpoint/Actual-Value Systems, Closed-Loop Control (G2)
1
Brief description
______________
2
Detailed description
______________
SINUMERIK
840D sl/840Di sl/840D/840Di/810D
Velocities, Setpoint/Actual-Value
Systems, Closed-Loop Control (G2)
Function Manual
Valid for
Control
Software
03/2006 Edition
6FC5397-0BP10-1BA0
Version
1.3
1.0
7.4
3.3
7.4
3
Supplementary conditions
______________
4
Examples
______________
5
Data lists
______________
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Automation and Drives
Postfach 48 48
90437 NRNBERG
GERMANY
Table of contents
1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.3
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.4
2.4.1
2.4.2
2.4.3
2.5
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
Examples................................................................................................................................................ 4-1
Index................................................................................................................................................ Index-1
Velocities, Setpoint/Actual-Value Systems, Closed-Loop Control (G2)
Function Manual, 03/2006 Edition, 6FC5397-0BP10-1BA0
iii
Table of contents
iv
Brief description
The description of functions explains how to parameterize a machine axis in relation to:
Actual-value/measuring systems
Setpoint system
Operating accuracy
Travel ranges
Axis velocities
Control parameters
1-1
Brief description
1-2
Detailed description
2.1
2.1.1
2.1
Velocities
,QWHUQDOLQFUHPHQWVPP
(QFRGHULQFUHPHQWVPP
(1&B5(62/>Q@
LQWHUQDOPXOWLSOLFDWLRQ
'5,9(B(1&B5$7,2B180(5$>Q@
'5,9(B(1&B5$7,2B'(120>Q@
'5,9(B$;B5$7,2B'(120>Q@
'5,9(B$;B5$7,2B180(5$>Q@
/($'6&5(:B3,7&+
,17B,1&5B3(5B00
2-1
Detailed description
2.1 Velocities, traversing ranges, accuracies
For setting the interpolation cycle, see:
References:
/FB3/ Function Manual, Special Functions; Cycle Times (G3)
With a high feedrate (resulting from programmed feedrates and feedrate override), the
maximum path velocity is limited to Vmax.
This automatic feedrate limiting can lead to a drop in velocity over several blocks with
programs generated by CAD systems with extremely short blocks.
Example:
Interpolation cycle = 12 ms
N10 G0 X0 Y0; [mm]
N20 G0 X100 Y100; [mm]
Path length programmed in block = 141.42 mm
Vmax = (141.42 mm/12 ms) * 0.9 = 10606.6 mm/s = 636.39 m/min
The following restriction applies to the minimum path or axis velocity:
9PLQ
&RPSXWDWLRQDOUHVROXWLRQ>
,QFU
@
LQWHUSRODWLRQF\FOH>V@
PPRUGHJUHHV
,QWHUQDOLQFUHPHQWVPP
(QFRGHULQFUHPHQWVPP
2-2
(1&B5(62/>Q@
LQWHUQDOPXOWLSOLFDWLRQ
'5,9(B(1&B5$7,2B180(5$>Q@
'5,9(B(1&B5$7,2B'(120>Q@
'5,9(B$;B5$7,2B'(120>Q@
'5,9(B$;B5$7,2B180(5$>Q@
/($'6&5(:B3,7&+
,17B,1&5B3(5B00
Detailed description
2.1 Velocities, traversing ranges, accuracies
Example:
MD10200 $MN_INT_INCR_PER_MM = 1000 [incr. /mm];
Interpolation cycle = 12 ms;
Vmin = 10 -3/(1000 incr/mm x 12 ms) = 0.005 mm/min;
The value range of the feed rates depends on the selected computational resolution
When the machine data:
MD10200 $MN_INT_INCR_PER_MM
(computational resolution for linear positions) (1000 incr./mm)
or
MD10210 $MN_INT_INCR_PER_DEG
(computational resolution for angular positions) (1000 incr./degree)
is assigned its default values, the following range of values can be programmed with the
specified resolution:
Range of values for path feedrate F and geometry axes:
Metric system:
Inch system:
0.001 F 999,999.999
Inch system:
0.001 FA 999,999.999
0.001 FA 399,999.999
[inch/min, inch/rev]
2.1.2
Traversing ranges
2-3
Detailed description
2.1 Velocities, traversing ranges, accuracies
Table 2-1
Range
Range
999.999,999
399.999,999
999.999,999
999.999,999
Interpolation parameters I, J, K
999.999,999
399.999,999
2.1.3
2-4
Detailed description
2.1 Velocities, traversing ranges, accuracies
2.1.4
,QSXWGLVSOD\UHVROXWLRQ
HQWHUHGYLDWKHRSHUDWRU
SDQHOXVHG
,QSXWRXWSXWXQLW
<HV
0'
6&$/,1*B6<67(0
B,6B0(75,&
1R
0'
6&$/,1*B)$&7256B86(5B'()
VHOHFWHGZLWK
0'
6&$/,1*B86(5B'()B0$6.
RQO\HIIHFWLYHRQPDFKLQHDQG
VHWWLQJGDWD
0'
6&$/,1*B)$&7256B86(5B'()>Q@
VHOHFWHGZLWK
0'
6&$/,1*B86(5B'()B0$6.
RQO\HIIHFWLYHRQPDFKLQHDQG
VHWWLQJGDWD
0'
6&$/,1*B6<67(0B,6B0(75,&
0'
6&$/,1*B)$&7256B86(5B'()>@
0'
6&$/,1*B86(5B'()B0$6. +
ELWQRDVKH[YDOXH
0'6&$/,1*B9$/8(B,1&+
,QWHUQDOXQLW
>PPRUGHJUHHV@
PP
0',17B,1&5B3(5B00
RU
0',17B,1&5B3(5B'(*
FRPSXWDWLRQDOUHVROXWLRQ
0'17B,1&5B3(5B00
,QWHUQDOLQFUHPHQWVPPRUGHJUHHV
SODFHVDIWHUGHFLPDOSRLQWORVW
6SHHGVHWSRLQW
UHVROXWLRQ
$FWXDOYDOXHUHVROXWLRQ
HQFRGHULQFUHPHQWV
PPRUGHJUHHV
7ULJJHUGHYLFH
0RWRU
IRUWKH'
IRUWKH'
(QFRGHU
PXOWLSOLFDWLRQ
2-5
Detailed description
2.1 Velocities, traversing ranges, accuracies
This diagram shows how input values are converted into internal units.
It also shows the following conversion to internal increments/(mm or degrees), which can
cause loss of decimal places if the computational resolution was selected to be coarser than
the input resolution.
In addition, it provides an overview of the following topics:
Selection of measuring system (metric/inch)
Scaling of physical quantities of machine and setting data
Conversion of basic system
Setting of computational resolution
One example is the conversion of a physical quantity
(MD36110 $MA_POS_LIMIT_PLUS)
depending on the machine data parameterization
(MD10230 $MN_SCALING_FACTORS_USER_DEF,
MD10220 $MN_SCALING_USER_DEF_MASK).
2.1.5
Resolutions: Differences
Resolutions, e.g. resolutions of linear and angular positions, velocities, accelerations and
jerk, must be differentiated as follows:
Input resolution
Data is input via the control panel or parts programs.
Display resolution
Data is displayed via the control panel.
Computational resolution
Data input via the control panel or parts program is displayed internally.
The input and display resolution is defined via the control panel being used, whereby the
display resolution of position values can be changed with machine data:
MD9004 $MM_DISPLAY_RESOLUTION
.
Machine data:
MD9011 $MM_DISPLAY_RESOLUTION_INCH
can be used to configure the display resolution of position values using the inch system.
This allows you to display up to six decimal places with the inch setting.
For the programming of parts programs, the input resolutions listed in the Programming
Guide apply.
The desired computational resolution is defined via machine data:
MD10200 $MN_INT_INCR_PER_MM (computational resolution for linear positions)
or
MD10210 $MN_INT_INCR_PER_DEG (computational resolution for angular positions).
2-6
Detailed description
2.1 Velocities, traversing ranges, accuracies
It is independent of the input/display resolution but should have at least the same resolution.
The maximum number of places after the decimal point for position values, velocities, etc., in
the parts program and the number of places after the decimal point for tool offsets, zero
offsets, etc. (and therefore also for the maximum possible accuracy). is defined by the
computational resolution.
The accuracy of angle and linear positions is limited to the computational resolution by
rounding the product of the programmed value with the computational resolution to an
integer number.
To make the rounding clear, powers of 10 should be used for the computational resolution.
Example of rounding:
Computational resolution: 1000 increments/mm
Programmed path: 97.3786 mm
Effective value = 97.379 mm
2.1.6
Input/output units
Machine and setting data that possess a physical quantity are interpreted in the input/output
units below depending on whether the metric or inch system is selected:
Physical quantity:
Inch
Linear position
1 mm
1 inch
Angular position
1 degree
1 degree
Linear velocity
1 mm/min
1 inch/min
Angular velocity
1 rpm
1 rpm
2-7
Detailed description
2.1 Velocities, traversing ranges, accuracies
Physical quantity:
Inch
Linear acceleration
m/s2
1 inch/s2
Angular acceleration
1 rev./s2
1 rev./s2
Linear jerk
1 m/s3
1 inch/s3
rev./s3
Angular jerk
1 rev./s3
<