Home
Siemens
Control Systems
SINUMERIK 828D
Siemens SINUMERIK 828D Function Manual
5
of 1
of 1 rating
1799 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
P3: Basic PLC Program for S
INUMERIK 840D sl
13.10 Assignment overview
Basic Functions
908
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
13.10.4
Assignment: Timers
Timer No.
Significance
T0 ... T512
1)
User area
1)
The
actual
upper
limit
of
the
timer
number
(DB)
depends
on
the
PLC
CPU
on
which
the
selected
NCU
is located.
907
909
Table of Contents
Preface
3
Table of Contents
9
A2: Various NC/PLC Interface Signals and Functions
35
Brief Description
35
NC/PLC Interface Signals
36
General
36
Ready Signal to PLC
38
Status Signals to PLC
38
Signals To/From Panel Front
39
Signals to Channel
41
Signals to Axis/Spindle
41
Signals from Axis/Spindle
50
Signals to Axis/Spindle (Digital Drives)
51
Signals from Axis/Spindle (Digital Drives)
53
Functions
55
Screen Settings
55
Settings for Involute Interpolation - Only 840D Sl
56
Activate DEFAULT Memory
59
Read/Write PLC Variable
59
Access Protection Via Password and Keyswitch
63
Password
64
Keyswitch Settings (DB10, DBX56.4 to 7)
65
Parameterizable Protection Levels
66
Examples
67
Data Lists
69
Machine Data
69
Display Machine Data
69
NC-Specific Machine Data
70
Channelspecific Machine Data
70
Axis/Spindlespecific Machine Data
71
System Variables
72
Signals
72
Signals to NC
72
Signals from NC
72
Signals to Operator Panel Front
73
Signals from Operator Panel Front
73
Signals to Channel
73
Signals from Channel
74
Signals to Axis/Spindle
74
Signals from Axis/Spindle
74
A3: Axis Monitoring, Protection Zones
77
Brief Description
77
Axis Monitoring Functions
77
Protection Zones
77
Axis Monitoring
78
Contour Monitoring
78
Contour Error
78
Following Error Monitoring
78
Positioning, Zero Speed and Clamping Monitoring
81
Correlation between Positioning, Zero-Speed and Clamping Monitoring
81
Positioning Monitoring
81
Zero Speed Monitoring
83
Exact Stop and Standstill Tolerance Dependent on the Parameter Set
84
Clamping Monitoring
84
Speed-Setpoint Monitoring
91
Actual Velocity Monitoring
93
Measuring-System Monitoring (Systems with PROFIBUS Drives)
94
Limit Switches-Monitoring
95
Hardware Limit Switches
95
Software Limit Switch
96
Monitoring of the Working Area Limitation
98
General
98
Working Area Limitation in BKS
100
Working Area Limitation in WKS/ENS
102
Deactivating All Monitoring Functions: "Parking
106
Protection Zones
107
General
107
Types of Protection Zone
108
Definition Via Part Program Instruction
111
Definition Via System Variable
114
Activation and Deactivation of Protection Zones
116
Protection-Zone Violation and Temporary Enabling of Individual Protection Zones
120
Restrictions in Protection Zones
125
Supplementary Conditions
127
Axis Monitoring Functions
127
Examples
128
Axis Monitoring
128
Working Area Limitation in WKS/ENS
128
Protection Zones
130
Definition and Activation of Protection Zones
130
Data Lists
141
Machine Data
141
NC-Specific Machine Data
141
Channelspecific Machine Data
141
Axis/Spindlespecific Machine Data
142
Setting Data
143
Axis/Spindlespecific Setting Data
143
Signals
144
Signals to Channel
144
Signals from Channel
144
Signals to Axis/Spindle
145
B1: Continuouspath Mode, Exact Stop, Lookahead
147
Brief Description
147
Exact Stop Mode
150
Continuous-Path Mode
154
General Functionality
154
Velocity Reduction According to Overload Factor
156
Blending
158
Rounding According to a Path Criterion (G641)
161
Rounding in Compliance with Defined Tolerances (G642/G643)
163
Rounding with Maximum Possible Axial Dynamic Response (G644)
166
Rounding of Tangential Block Transitions (G645)
169
Lookahead
171
Standard Functionality
171
Free-Form Surface Mode: Extension Function
176
Dynamic Adaptations
180
Smoothing the Path Velocity
180
Adaptation of the Dynamic Path Response
183
Determination of the Dynamic Response Limiting Values
187
Interaction between the "Smoothing of the Path Velocity" and "Adaptation of the Path Dynamic Response" Functions
188
Dynamic Response Mode for Path Interpolation
191
Free-Form Surface Mode: Basic Functions
193
Compressor Functions
197
NC Block Compression
197
Combining Short Spline Blocks (Option for 828D)
201
Contour/Orientation Tolerance
203
Tolerance and Compression of G0 Blocks
206
RESET Response
209
Supplementary Conditions
210
Block Change and Positioning Axes
210
Block Change Delay
210
Rounding and Repositioning (REPOS)
210
Data Lists
212
Machine Data
212
General Machine Data
212
Channelspecific Machine Data
212
Axis/Spindlespecific Machine Data
213
Setting Data
213
Channelspecific Setting Data
213
Signals
214
Signals from Channel
214
Signals from Axis/Spindle
214
B2: Acceleration
215
Brief Description
215
General
215
Features
215
Functions
217
Acceleration and Jerk for Positioning Motion to Fixed Points
217
General Information
217
Parameterization
217
Acceleration Without Jerk Limitation (BRISK/BRISKA) (Channel-/Axis-Specific)
218
General Information
218
Programmable Maximum Value (Axis-Specific)
219
Parameterization
219
Programming
220
Constant Travel Time (Channel-Specific)
221
General Information
221
Parameterization
222
Acceleration Matching (ACC) (Axis-Specific)
223
General Information
223
Programming
223
Acceleration Margin (Channel-Specific)
224
General Information
224
Parameterization
224
Path-Acceleration Limitation (Channel-Specific)
224
Programming
225
Path Acceleration for Real-Time Events (Channel-Specific)
226
General Information
226
Programming
227
Acceleration with Programmed Rapid Traverse (G00) (Axis-Specific)
228
General Information
228
Parameterization
228
Acceleration with Active Jerk Limitation (SOFT/SOFTA) (Axis-Specific)
229
General Information
229
Parameterization
229
Excessive Acceleration for Non-Tangential Block Transitions (Axis-Specific)
229
Parameterization
230
Acceleration Margin for Radial Acceleration (Channel-Specific)
230
General Information
230
Parameterization
231
Jerk Limitation with Path Interpolation (SOFT) (Channel-Specific)
232
General Information
232
Maximum Jerk Value (Axis-Specific)
234
Maximum Jerk Value (Channel-Specific)
234
Parameterization
234
Programming
234
Jerk Limitation with Single-Axis Interpolation (SOFTA) (Axis-Specific)
235
General Information
235
Parameterization
235
Programming
236
Path-Jerk Limitation (Channel-Specific)
236
General Information
236
Parameterization
237
Programming
237
Path Jerk for Real-Time Events (Channel-Specific)
238
General Information
238
Programming
239
Jerk with Programmed Rapid Traverse (G00) (Axis-Specific)
240
General Information
240
Parameterization
240
Excessive Jerk for Block Transitions Without Constant Curvature (Axis-Specific)
240
Parameterization
241
Velocity-Dependent Jerk Adaptation (Axisspecific)
241
Jerk Filter (Axis-Specific)
243
General Information
243
Parameterization
246
Kneeshaped Acceleration Characteristic Curve
247
Adaptation to the Motor Characteristic Curve
247
Effects on Path Acceleration
249
Substitute Characteristic Curve
249
Parameterization
252
Programming
253
Boundary Conditions
254
Examples
256
Acceleration
256
Path Velocity Characteristic
256
Jerk
258
Path Velocity Characteristic
258
Acceleration and Jerk
259
Kneeshaped Acceleration Characteristic Curve
261
Activation
261
Data Lists
263
Machine Data
263
Channelspecific Machine Data
263
Axis/Spindlespecific Machine Data
263
Setting Data
264
Channelspecific Setting Data
264
System Variables
264
D1: Diagnostics Tools
265
Brief Description
265
Description of Diagnostic Tools
266
Service Overview
269
Axis/Spindle Service Display
269
Drive Service Display (for Digital Drives Only)
276
Service Display PROFIBUS DP 840Di
287
Communication Log
291
PLC Status
292
Identifying Defective Drive Modules
293
Data Lists
296
Machine Data
296
Drive-Specific Machine Data
296
NC-Specific Machine Data
296
Axis/Spindlespecific Machine Data
297
Setting Data
297
Axis/Spindle-Specific Setting Data
297
Signals
297
Signals to Axis/Spindle
297
Signals from Axis/Spindle
297
F1: Travel to Fixed Stop
299
Product Brief
299
General Functionality
300
Functional Sequence, Programming, Parameterization
300
Response to RESET and Function Abort
307
Block Search Response
308
Miscellaneous
312
Supplementary Conditions for Expansions
315
Travel with Limited Torque/Force FOC (Option for 828D)
317
Travel to Fixed Stop
320
Examples
324
Data Lists
326
Machine Data
326
Axis/Spindlespecific Machine Data
326
Setting Data
326
Axis/Spindle-Specific Setting Data
326
Signals
326
Signals to Axis/Spindle
326
Signals from Axis/Spindle
327
G2: Velocities, Setpoint / Actual Value Systems, Closed-Loop Control
329
Brief Description
329
Velocities, Traversing Ranges, Accuracies
330
Velocities
330
Traversing Ranges
332
Positioning Accuracy of the Control System
333
Block Diagram of Resolutions and Scaling Values
333
Input/Display Resolution, Computational Resolution
335
Scaling of Physical Quantities of Machine and Setting Data
336
Metric/Inch Measuring System
340
Conversion of Basic System by Parts Program
340
Manual Switchover of the Basic System
344
FGROUP and FGREF
349
Setpoint/Actual-Value System
353
General
353
Setpoint and Encoder Assignment
356
Adapting the Motor/Load Ratios
359
Speed Setpoint Output
361
Actual-Value Processing
363
Adjustments to Actual-Value Resolution
366
Closed-Loop Control
374
General
374
Parameter Sets of the Position Controller
377
Optimization of the Control
380
Position Controller, Position Setpoint Filter: Balancing Filter
380
Position Controller, Position Setpoint Filter: Jerk Filter
383
Position Control with Proportional-Plus-Integral-Action Controller
386
Data Lists
388
Machine Data
388
Displaying Machine Data
388
NC-Specific Machine Data
388
Channelspecific Machine Data
388
Axis/Spindlespecific Machine Data
389
H2: Auxiliary Function Outputs to PLC
391
Brief Description
391
Function
391
Definition of an Auxiliary Function
392
Overview of Auxiliary Functions
393
Predefined Auxiliary Functions
400
Overview: Predefined Auxiliary Functions
400
Overview: Output Behavior
412
Parameter Assignment
415
Group Assignment
415
Type, Address Extension and Value
416
Output Behavior
417
Userdefined Auxiliary Functions
422
Parameter Assignment
423
Maximum Number of User-Defined Auxiliary Functions
423
Group Assignment
423
Type, Address Extension and Value
424
Output Behavior
425
Associated Auxiliary Functions
426
Type-Specific Output Behavior
428
Priorities of the Output Behavior for Which Parameters Have Been Assigned
430
Programming an Auxiliary Function
431
Programmable Output Duration
433
Auxiliary Function Output to the PLC
435
Auxiliary Functions Without Block Change Delay
436
M Function with an Implicit Preprocessing Stop
437
Response to Overstore
438
Block-Search Response
439
Auxiliary Function Output During Type 1, 2, and 4 Block Searches
439
Assignment of an Auxiliary Function to a Number of Groups
440
Time Stamp of the Active M Auxiliary Function
442
Determining the Output Sequence
442
Output Suppression of Spindle-Specific Auxiliary Functions
444
Auxiliary Function Output with a Type 5 Block Search (SERUPRO)
447
ASUB at the End of the SERUPRO
452
Implicitly Output Auxiliary Functions
459
Information Options
460
Group-Specific Modal M Auxiliary Function Display
460
Querying System Variables
461
Supplementary Conditions
464
General Constraints
464
Output Behavior
465
Examples
467
Extension of Predefined Auxiliary Functions
467
Defining Auxiliary Functions
469
Data Lists
473
Machine Data
473
NC-Specific Machine Data
473
Channelspecific Machine Data
473
Signals
474
Signals to Channel
474
Signals from Channel
474
Signals to Axis/Spindle
476
Signals from Axis/Spindle
476
K1: Mode Group, Channel, Program Operation, Reset Response
477
Product Brief
477
Mode Group (MG)
480
Mode Group Stop
482
Mode Group RESET
483
Mode Types and Mode Type Change
484
Monitoring Functions and Interlocks of the Individual Modes
490
Mode Change
490
Channel
492
Global Start Disable for Channel
495
Program Test
496
Program Execution Without Setpoint Outputs
496
Program Execution in Singleblock Mode
498
Program Execution with Dry Run Feedrate
500
Skip Part-Program Blocks
501
Workpiece Simulation
503
Block Search
504
Sequence for Block Search of Type 1, 2 and 4
505
Block Search in Connection with Other NCK Functions
507
ASUB after and During Block Search
507
PLC Actions after Block Search
508
Spindle Functions after Block Search
509
Reading System Variables for a Block Search
510
Automatic Start of an ASUB after a Block Search
510
Cascaded Block Search
512
Examples of Block Search with Calculation
514
Block Search Type 5 SERUPRO
518
Repos
524
Continue Machining after SERUPRO Search Target Found
525
Repositioning on Contour with Controlled REPOS
534
Acceleration Measures Via MD
537
Serupro Asup
538
Selfacting SERUPRO
541
Inhibit Specific Part of the Program in the Part Program for SERUPRO
542
Special Features in the Part-Program Target Block
546
STOPRE in the Part-Program Target Block
546
SPOS in Target Block
547
Behavior During POWER ON, Mode Change and RESET
547
Special Features of Functions Supported During SERUPRO
548
Travel to Fixed Stop (FXS)
548
Force Control (FOC)
549
Synchronous Spindle
549
Couplings and Master-Slave
550
Axis Functions
553
Gear Stage Change
554
Superimposed Motion
554
REPOS Offset in the Interface
555
Making the Initial Settings more Flexible
555
System Variables and Variables for SERUPRO Sequence
556
Restrictions
557
Program Operation Mode
558
Initial Settings
558
Selection and Start of Part Program or Part-Program Block
561
Part-Program Interruption
563
RESET Command
564
Program Status
565
Channel Status
566
Responses to Operator or Program Actions
567
Part-Program Start
568
Example of Timing Diagram for a Program Run
569
Program Jumps
570
Jump Back to Start of Program
570
Program Section Repetitions
572
Overview
572
Individual Part Program Block
572
A Part Program Section after a Start Label
573
A Part Program Section between a Start Label and End Label
574
A Part Program Section between a Start Label and the Key Word: ENDLABEL
575
Eventdriven Program Calls
576
Function
576
Parameter Assignment
581
Programming
585
Boundary Conditions
586
Examples
586
Influencing the Stop Events through Stop Delay Area
588
Asynchronous Subroutines (Asubs), Interrupt Routines
591
Function
591
General Functionality
591
Sequence of an Interrupt Routine in Program Operation
593
Interrupt Routine with REPOSA
594
NC Response
595
Parameter Assignment
596
Programming
601
Restrictions
603
Examples
603
User-Specific ASUB for RET and REPOS
604
Function
604
Parameter Assignment
604
Programming
605
Single Block
607
Decoding Single Block SBL2 with Implicit Preprocessing Stop
608
Single Block Stop: Suppression Using SBLOF
608
Single Block Stop: Inhibit According to Situation
611
Single-Block Behavior in Mode Group with Type A/B
612
Program Control
614
Function Selection (Via Operator Panel Front or PLC)
614
Activation of Skip Levels
615
Adapting the Size of the Interpolation Buffer
616
Program Display Modes Via an Additional Basic Block Display
618
Basic Block Display for Shopmill/Shopturn
619
Structure for a DIN Block
621
Execution from External
624
Execution from External Subroutines
625
System Settings for Power-Up, Reset/Part-Program End and Part-Program Start
628
Tool Withdrawal after POWER off with Orientation Transformation
633
Replacing Functions by Subprograms
636
Overview
636
Replacement of M, T/TCA and D/DL Functions
637
Replacement of M Functions
637
Replacing T/TCA and D/DL Functions
639
System Variable
641
Example: Replacement of an M Function
643
Example: Replacement of a T and D Function
645
Behavior in the Event of a Conflict
647
Replacement of Spindle Functions
648
General
648
Replacement of M40 - M45 (Gear Stage Change)
650
Replacement of SPOS, SPOSA, M19 (Spindle Positioning)
651
System Variable
652
Example: Gear Stage Change
653
Example: Spindle Positioning
655
Properties of the Subprograms
658
Restrictions
660
Program Runtime / Part Counter
661
Program Runtime
661
Workpiece Counter
668
Data Lists
673
Machine Data
673
General Machine Data
673
Channelspecific Machine Data
674
Axis/Spindlespecific Machine Data
677
Setting Data
677
Channelspecific Setting Data
677
Signals
678
Signals to NC
678
Signals to NC
679
Signals from Channel
679
Signals to NC
681
Signals from Axis/Spindle
681
K2: Axis Types, Coordinate Systems, Frames
683
Brief Description
683
Axes
683
Coordinate Systems
685
Frames
687
Axes
691
Overview
691
Machine Axes
692
Channel Axes
693
Geometry Axes
693
Replaceable Geometry Axes
694
Special Axes
698
Path Axes
699
Positioning Axes
699
Main Axes
700
Synchronized Axes
701
Axis Configuration
703
Link Axes
705
Zeros and Reference Points
706
Reference Points in Working Space
706
Position of Coordinate Systems and Reference Points
708
Coordinate Systems
709
Overview
709
Machine Coordinate System (MCS)
712
Basic Coordinate System (BCS)
713
Additive Offsets
715
Basic Zero System (BZS)
718
Settable Zero System (SZS)
720
Workpiece Coordinate System (WCS)
721
Frames
722
Frame Types
722
Frame Components
723
Translation
723
Fine Offset
724
Rotations for Geometry Axes
725
Scaling
729
Mirroring
729
Chain Operator
730
Programmable Axis Identifiers
730
Coordinate Transformation
731
Frames in Data Management and Active Frames
731
Overview
731
Activating Data Management Frames
733
NCU Global Frames
734
Frame Chain and Coordinate Systems
735
Overview
735
Relative Coordinate Systems
736
Configurable SZS
738
Manual Traverse in the SZS Coordinate System
739
Suppression of Frames
740
Frame Chain Frames
742
Overview
742
Settable Frames $P_Uifr[N]
742
Channel Basic Frames $P_Chbfr[N]
743
NCU Global Basic Frames $P_Ncbfr[N]
744
Complete Basic Frame $P_ACTBFRAME
745
Programmable Frame $P_PFRAME
746
Channelspecific System Frames
748
Implicit Frame Changes
752
Frames and Switchover of Geometry Axes
752
Frame for Selection and Deselection of Transformations
755
Adapting Active Frames
771
Mapped Frames
772
Predefined Frame Functions
776
Inverse Frame
776
Additive Frame in Frame Chain
779
Functions
781
Setting Zeros, Workpiece Measuring and Tool Measuring
781
Zero Offset External Via System Frames
781
Toolholder
782
Subprograms with SAVE Attribute (SAVE)
793
Data Backup
794
Positions in the Coordinate System
794
Control System Response
795
1Power on
795
2Mode Change
795
3RESET, End of Part Program
796
4Part Program Start
799
5Block Search
799
6Repos
799
Workpiecerelated Actualvalue System
800
Overview
800
Use of Workpiecerelated Actual-Value System
800
Special Reactions
802
Restrictions
804
Examples
804
Axes
804
Coordinate Systems
807
Frames
808
Data Lists
811
Machine Data
811
Displaying Machine Data
811
NC-Specific Machine Data
811
Channelspecific Machine Data
812
Axis/Spindlespecific Machine Data
813
Setting Data
813
Channelspecific Setting Data
813
System Variables
813
Signals
815
Signals from Channel
815
Signals to Axis/Spindle
815
Signals from Axis/Spindle
815
N2: Emergency Stop
817
Brief Description
817
Relevant Standards
818
Emergency Stop Control Elements
819
Emergency Stop Sequence
820
Emergency Stop Acknowledgement
822
Data Lists
824
Machine Data
824
Drive-Specific Machine Data
824
Axis/Spindlespecific Machine Data
824
Signals
824
Signals to NC
824
Signals from NC
824
Signals to BAG
824
P1: Transverse Axes
825
Brief Description
825
Defining a Geometry Axis as Transverse Axis
828
Dimensional Information for Transverse Axes
830
Data Lists
836
Machine Data
836
Channelspecific Machine Data
836
Axis/Spindlespecific Machine Data
836
P3: Basic PLC Program for SINUMERIK 840D Sl
837
Brief Description
837
Key Data of the PLC-Cpus for 840D Sl and 840Di Sl
839
Reserve Resources (Timers, Counters, FC, FB, DB, I/O)
846
Startup Hardware Configuration of the PLC-Cpus
847
Starting up the PLC Program
852
Installation of the Basic Program
852
Application of Basic Program
852
Version Codes
853
Machine Program
853
Data Backup
854
PLC-Series Startup, PLC Archive
854
Software Upgrade
856
I/O Modules (FM, CP Modules)
857
Troubleshooting
858
Coupling of the PLC Cpus
859
General
859
Features of PLC Cpus
859
Interface with Integrated PLC
859
Diagnostic Buffer on PLC
861
Interface Structure
862
PLC/NCK Interface
862
Interface PLC/HMI
868
PLC/MCP/HHU Interface
873
Structure and Functions of the Basic Program
875
Startup and Synchronization of NCK PLC
877
Cyclical Mode (ob 1)
877
Time-Interrupt Processing (ob 35)
879
Process Interrupt Processing (ob 40)
879
Diagnostic Interrupt, Module Failure Processing (ob 82, ob 86)
880
Response to NCK Failure
880
Functions of the Basic Program Called from the User Program
881
Symbolic Programming of User Program with Interface DB
884
M Decoding Acc. to List
886
PLC Machine Data
890
Configuration Machine Control Panel, Handheld Unit, Direct Keys
894
Switchover of Machine Control Panel, Handheld Unit
902
SPL for Safety Integrated
905
Assignment Overview
906
Assignment: NCK/PLC Interface
906
Assignment: FB/FC
906
Assignment: DB
907
Assignment: Timers
908
Memory Requirements of the Basic PLC Program
909
Basic Conditions and NC VAR Selector
912
Supplementary Conditions
912
1Programming and Parameterizing Tools
912
2SIMATIC Documentation Required
913
3Relevant SINUMERIK Documents
914
NC VAR Selector
914
1Overview
914
2Description of Functions
916
3Startup, Installation
924
Block Descriptions
925
FB 1: RUN_UP Basic Program, Startup Section
925
FB 2: Read GET NC Variable
933
FB 3: PUT Write NC Variables
940
FB 4: PI_SERV PI Services
946
1Overview of Available PI Services
948
2General PI Services
950
3PI Services of Tool Management
954
FB 5: GETGUD Read GUD Variable
970
FB 7: PI_SERV2 PI-Services
977
FB 9: Mton Control Unit Switchover
981
FB 10: Safety Relay (si Relay)
986
FB 11: Brake Test
989
13.13.10 FB 29: Signal Recorder and Data Trigger Diagnostics
994
13.13.11 FC 2: GP_HP Basic Program, Cyclic Section
998
13.13.12 FC 3: GP_PRAL Basic Program, Interruptdriven Section
999
13.13.13 FC 5: GP_DIAG Basic Program, Diagnostic Alarm, and Module Failure
1001
13.13.14 FC 6: TM_TRANS2 Transfer Block for Tool Management and Multitool
1004
13.13.15 FC 7: TM_REV Transfer Block for Tool Change with Revolver
1005
13.13.16 FC 8: TM_TRANS Transfer Block for Tool Management
1008
13.13.17 FC 9: ASUB Startup of Asynchronous Subprograms
1015
13.13.18 FC 10: AL_MSG Error and Operating Messages
1017
13.13.19 FC 12: AUXFU Call Interface for User with Auxiliary Functions
1019
13.13.20 FC 13: Bhgdisp Display Control for Handheld Unit
1020
13.13.21 FC 17: Ydelta Star-Delta Changeover
1025
13.13.22 FC 18: Spinctrl Spindle Control
1028
13.13.23 FC 19: MCP_IFM Transmission of MCP Signals to Interface
1039
13.13.24 FC 21: Transfer PLC NCK Data Exchange
1045
13.13.25 FC 22: TM_DIR Direction Selection for Tool Management
1053
13.13.26 FC 24: MCP_IFM2 Transmission of MCP Signals to Interface
1055
13.13.27 FC 25: MCP_IFT Transfer of MCP/OP Signals to Interface
1059
13.13.28 FC 26: HPU_MCP Transmission of HT8 Signals to Interface
1061
1Overview of the NC/PLC Interface Signals of HT 8
1066
2Overview of the NC/PLC Interface Signals of HT 8
1067
13.13.29 FC 19, FC 24, FC 25, FC 26 Source Code Description
1067
13.13.30 FC 1005: AG_SEND Transfers Data to Ethernet CP
1069
13.13.31 FC 1006: AG_RECV Receives Data from the Ethernet CP
1070
Signal/Data Descriptions
1072
Interface Signals NCK/PLC, HMI/PLC, MCP/PLC
1072
Decoded M Signals
1072
G Functions
1073
Message Signals in DB 2
1075
Programming Tips with STEP 7
1076
Copying Data
1076
ANY and POINTER
1076
1Use of POINTER and any in FC
1077
2Use of POINTER and any in FB
1078
3POINTER or any Variable for Transfer to FC or FB
1079
Multiinstance DB
1082
Strings
1083
Determining Offset Addresses for Data Block Structures
1083
FB Calls
1084
Data Lists
1086
Machine Data
1086
1NC-Specific Machine Data
1086
2Channelspecific Machine Data
1086
P4: PLC for SINUMERIK 828D
1087
Overview
1087
PLC Firmware
1087
PLC User Interface
1087
Data that Are Cyclically Exchanged
1089
Alarms and Messages
1089
Retentive Data
1089
Non-Retentive Data
1089
PLC Machine Data
1090
PLC Key Data
1090
PLC I/O, Fast Onboard Inputs/Outputs
1091
PLC Toolbox
1091
Star/Delta Changeover
1091
Programming Tool PLC828
1092
Programming
1093
Introduction
1093
Important Terms
1093
Create/Open a Project
1096
Program Organization Using the the Programming Tool
1097
Fast Onboard Inputs and Outputs
1099
Target System Memory
1099
Type of Memory
1099
Addressing Range of the Target System
1100
Addressing
1102
Data Types
1104
Constants
1106
Data Blocks
1108
Special Bit Memories and Their Functions
1118
Operation Set
1119
Data Classes
1119
Defining Data Classes
1119
Assigning a Block to a Data Class
1121
Load Data Class(Es) into the CPU
1123
Load Data Class(Es) from CPU
1125
Comparison between Online and Offline Projects
1126
Delete in the Target System
1127
Rewire Addresses
1127
Test and Diagnostic Functions
1131
Program Status
1131
Status Definition
1131
Preconditions of the Status Update
1132
Influence of the Operating State on the Target System
1132
Communication and Cycle
1132
Status Update
1133
Simulating Process Conditions
1133
Checking Cross References and the Elements Used
1133
Program Status in the LAD Program Editor
1134
Display Program Status
1134
Display Properties
1136
Restrictions
1137
Adapting the Program Status Display
1137
Displaying the Status in a Status Chart
1138
Properties of a Status Chart
1138
Open Status Chart
1140
Working with Several Status Charts
1140
Creating a Status Chart
1141
Editing the Status Chart
1142
Data Formats
1143
Enabling the Status Table
1144
Working with Test Functions in the Status Chart
1145
Execute Cycles
1145
Data Interface
1147
PLC-NCK Interface
1147
Mode Signals
1147
NC Channel Signals
1148
Axis and Spindle Signals
1149
General NCK Signals
1150
Fast Data Exchange PLC-NCK
1151
PLC-HMI Interface
1152
Function Interface
1153
Read/Write NC Variables
1153
User Interface
1153
Operable Variables
1157
Program Instance Services (PI Services)
1163
User Interface
1163
PI Services
1166
PLC User Alarms
1168
User Interface
1168
PLC Axis Control
1171
Overview
1171
User Interface
1172
Spindle Positioning
1175
Rotate Spindle
1176
Oscillate Spindle
1178
Indexing Axis
1180
Positioning Axis Metric
1182
Positioning Axis Inch
1184
Positioning Axis Metric with Handwheel Override
1185
10Positioning Axis Inch with Handwheel Override
1187
11Rotate Spindle with Automatic Gear Stage Selection
1189
12Rotate Spindle with Constant Cutting Rate [M/Min]
1190
13Rotate Spindle with Constant Cutting Rate [Feet/Min]
1192
14Error Messages
1193
Starting Asubs
1195
The ASUB up Interface
1196
Signal Flow
1197
R1: Reference Point Approach
1199
Brief Description
1199
Axisspecific Referencing
1200
Channelspecific Referencing
1203
Reference Point Appraoch from Part Program (G74)
1205
Referencing with Incremental Measurement Systems
1206
Zero Mark Selection with BERO
1206
Chronological Sequence
1207
Phase 1: Traversing to the Reference Cam
1208
Phase 2: Synchronization with the Zero Mark
1210
Phase 3: Traversing to the Reference Point
1216
Restoration of Position after POWER off
1218
Buffered Actual Value
1219
Position Restoration with POWER on
1220
Referencing with Distancecoded Reference Marks
1222
General Overview
1222
Basic Parameter Assignment
1222
Chronological Sequence
1224
Phase 1: Travel Across the Reference Marks with Synchronization
1224
Phase 2: Travel to Fixed Stop
1226
Referencing by Means of Actual Value Adjustment
1229
Actual Value Adjustment to the Referencing Measurement System
1229
Actual Value Adjustment to the Referenced Measurement System
1229
Actual Value Adjustment for Measuring Systems with Distance-Coded Reference Marks
1230
Referencing in Followup Mode
1232
Referencing with Absolute Value Encoders
1235
Information about Calibration
1235
Calibration by Entering a Reference Point Offset
1237
Adjustment by Entering a Reference Point Value
1238
Automatic Calibration with Probe
1239
Calibration with BERO
1241
Reference Point Approach with Absolute Encoders
1242
Reference Point Approach in Rotary Absolute Encoders with External Zero Mark
1242
Automatic Encoder Replacement Detection
1245
Enabling the Measurement System
1246
Referencing Variants that Are Not Supported
1247
Supplementary Conditions
1248
Large Traverse Range
1248
Data Lists
1250
Machine Data
1250
1NC-Specific Machine Data
1250
2Channelspecific Machine Data
1250
3Axis/Spindlespecific Machine Data
1250
Signals
1251
1Signals to BAG
1251
2Signals from BAG
1251
3Signals to Channel
1252
4Signals from Channel
1252
5Signals to Axis/Spindle
1252
6Signals from Axis/Spindle
1252
S1: Spindles
1253
Brief Description
1253
Operating Modes
1254
Overview
1254
Mode Change
1255
Control Mode
1256
Oscillation Mode
1259
Positioning Mode
1259
General Functionality
1259
Positioning from Rotation
1267
Positioning from Standstill
1271
Spindle in Position" Signal for Tool Change
1275
Axis Mode
1276
General Functionality
1276
Implicit Transition to Axis Mode
1280
Initial Spindle State
1283
Reference / Synchronize
1284
Configurable Gear Adaptation
1289
Gear Steps for Spindles and Gear Step Change
1289
Spindle Gear Stage 0
1300
Determining the Spindle Gear Stage
1303
Parameter Set Selection During Gear Step Change
1304
Intermediate Gear
1306
Nonacknowledged Gear Step Change
1307
Gear Step Change with Oscillation Mode
1308
Gear Step Change at Fixed Position
1315
Configurable Gear Step in M70
1320
Suppression of the Gear Stage Change for Dryrun, Program Test and SERUPRO
1322
Additional Adaptations to the Spindle Functionality that Can be Configured
1325
Selectable Spindles
1326
Programming
1330
Programming from the Part Program
1330
Programming Via Synchronized Actions
1334
Programming Spindle Controls Via PLC with FC18 - Only 840D Sl
1334
Special Spindle Movements Via PLC Interface
1335
External Programming (PLC, HMI)
1339
Spindle Monitoring
1341
Permissible Speed Ranges
1341
Axis/Spindle Stationary
1342
Spindle in Setpoint Range
1342
Minimum / Maximum Speed of the Gear Stage
1344
Diagnosis of Spindle Speed Limitation
1345
Maximum Spindle Speed
1347
Maximum Encoder Limit Frequency
1348
End Point Monitoring
1349
M40: Automatic Gear Stage Selection for Speeds Outside the Configured Switching Thresholds
1351
Spindle with SMI 24 (Weiss Spindle)
1353
General Information
1353
Sensor Data
1353
Clamped State
1355
Additional Drive Parameters
1356
Examples
1357
Automatic Gear Step Selection (M40)
1357
Data Lists
1358
Machine Data
1358
1NC-Specific Machine Data
1358
2Channelspecific Machine Data
1358
3Axis/Spindlespecific Machine Data
1358
Setting Data
1360
1Channelspecific Setting Data
1360
2Axis/Spindle-Specific Setting Data
1360
Signals
1361
1Signals to Axis/Spindle
1361
2Signals from Axis/Spindle
1361
V1: Feedrates
1363
Brief Description
1363
Path Feedrate F
1366
General
1366
Type of Feedrate G93, G94, G95
1368
Type of Feedrate G96, G961, G962, G97, G971
1370
Feedrate with G33, G34, G35 (Thread Cutting)
1374
General
1374
Programmable Run-In and Run-Out Path for G33, G34 and G35
1376
Linear Progressive/Degressive Thread-Lead Change with G34 and G35
1378
Stop for Thread Cutting
1381
Feedrate for G331/G332, Rigid Tapping
1385
Feedrate for G63, Tapping with Compensation Chuck
1386
Feedrate FA for Positioning Axes
1387
Feedrate Control
1389
General
1389
Feedrate Disable and Feedrate/Spindle Stop
1390
Feedrate Override on Machine Control Panel
1391
Programmable Feedrate Override
1395
Dry Run Feedrate
1396
Multiple Feedrate Values in One Block
1398
Fixed Feedrate Values
1402
Feedrate for Chamfer/Rounding FRC, FRCM
1404
Non-Modal Feedrate FB
1405
Programmable Singleaxis Dynamic Response
1406
Supplementary Conditions
1411
General Boundary Conditions
1411
Supplementary Conditions for Feedrate Programming
1411
Examples
1413
Feedrate Programming for Chamfer/Rounding FRC, FRCM
1413
Data Lists
1415
Machine Data
1415
NC-Specific Machine Data
1415
Channelspecific Machine Data
1415
Axis/Spindle-Specific Machine Data
1416
Setting Data
1416
Channelspecific Setting Data
1416
Axis/Spindle-Specific Setting Data
1416
Signals
1417
Signals to Channel
1417
Signals from Channel
1417
Signals to Axis/Spindle
1417
Signals from Axis/Spindle
1418
W1: Tool Offset
1419
Short Description
1419
Tool
1422
General
1422
Compensation Memory Structure
1424
Calculating the Tool Compensation
1426
Address Extension for NC Addresses T and M
1426
Free Assignment of D Numbers
1428
Compensation Block in Case of Error During Tool Change
1434
Definition of the Effect of the Tool Parameters
1437
Flat D Number Structure
1438
General
1438
Creating a New D Number (Compensation Block)
1438
D Number Programming
1439
Programming the T Number
1441
Programming M6
1441
Program Test
1442
Tool Management or "Flat D Numbers
1442
Tool Cutting Edge
1444
General
1444
Tool Parameter 1: Tool Type
1446
Tool Parameter 2: Cutting Edge Position
1449
Tool Parameters 3 - 5: Geometry - Tool Lengths
1450
Tool Parameters 6 - 11: Geometry - Tool Shape
1452
Tool Parameters 12 - 14: Wear - Tool Lengths
1454
Tool Parameters 15 - 20: Wear - Tool Shape
1454
Tool Parameters 21 - 23: Tool Base Dimension/Adapter Dimension
1454
Tool Parameter 24: Undercut Angle
1456
Tools with a Relevant Tool Point Direction
1457
Tool Radius Compensation 2D (TRC)
1458
General
1458
Selecting the TRC (G41/G42)
1459
Approach and Retraction Behavior (NORM/KONT/KONTC/KONTT)
1460
Smooth Approach and Retraction
1464
Function
1464
Parameters
1465
Velocities
1472
System Variables
1474
Supplementary Conditions
1475
Examples
1476
Deselecting the TRC (G40)
1479
Compensation at Outside Corners
1479
Compensation at Inside Corners
1483
Collision Detection and Bottleneck Detection
1485
Blocks with Variable Compensation Value
1487
Keep Tool Radius Compensation Constant
1489
Alarm Behavior
1492
Intersection Procedure for Polynomials
1493
G461/G462 Approach/Retract Strategy Expansion
1493
Toolholder with Orientation Capability
1497
General
1497
Kinematic Interaction and Machine Design
1504
Oblique Machining with 3 + 2 Axes
1511
Machine with Rotary Work Table
1512
Procedure When Using Toolholders with Orientation Capability
1516
Programming
1520
Supplementary Conditions and Control System Response for Orientation
1521
Cutting Data Modification for Tools that Can be Rotated
1524
Function
1524
Determination of Angle of Rotation
1524
Cutting Edge Position, Cut Direction and Angle for Rotary Tools
1525
Modifications During the Rotation of Turning Tools
1527
Cutting Edge Position for Milling and Tapping Tools
1530
Modifications During Rotation of Milling and Tapping Tools
1531
Parameter Assignment
1531
Programming
1532
Example
1536
Incrementally Programmed Compensation Values
1538
G91 Extension
1538
Machining in Direction of Tool Orientation
1539
Basic Tool Orientation
1541
Special Handling of Tool Compensations
1545
Relevant Setting Data
1545
Mirror Tool Lengths (SD42900 $SC_MIRROR_TOOL_LENGTH)
1546
Mirror Wear Lengths (SD42920 $SC_WEAR_SIGN_CUTPOS)
1547
Tool Length and Plane Change (SD42940 $SC_TOOL_LENGTH_CONST)
1548
Tool Type (SD42950 $SC_TOOL_LENGTH_TYPE)
1549
Temperature Offsets in Tool Direction (SD42960 $SC_TOOL_TEMP_COMP)
1550
Tool Lengths in the WCS, Allowing for the Orientation
1550
Tool Length Offsets in Tool Direction
1551
Sum Offsets and Setup Offsets
1556
General
1556
Description of Function
1557
Activation
1560
Examples
1565
Upgrades for Tool Length Determination
1566
18.11.5.2Functionality of the Individual Wear Values
1570
Working with Tool Environments
1574
General
1574
Saving with TOOLENV
1574
Delete Tool Environment
1576
How Many Environments and Which Ones Are Saved
1578
Read T, D, DL from a Tool Environment
1578
Read Tool Lengths, Tool Length Components
1579
Changing Tool Components
1585
Tool Lengths L1, L2, L3 Assignment: LENTOAX
1591
Supplementary Conditions
1594
Flat D Number Structure
1594
SD42935 Expansions
1594
Examples
1595
Toolholder with Orientation Capability
1595
1Example: Toolholder with Orientation Capability
1595
2Example of Toolholder with Orientation Capability with Rotary Table
1596
3Basic Tool Orientation Example
1598
4Calculation of Compensation Values on a Location-Specific and Workpiece-Specific Basis
1599
Examples 3-6: SETTCOR Function for Tool Environments
1601
Data Lists
1608
Machine Data
1608
1NC-Specific Machine Data
1608
2Channelspecific Machine Data
1608
3Axis/Spindlespecific Machine Data
1609
Setting Data
1610
1Channelspecific Setting Data
1610
Signals
1610
1Signals from Channel
1610
Z1: NC/PLC Interface Signals
1611
Various Interface Signals and Functions (A2)
1611
Signals from PLC to NC (DB10)
1611
Selection/Status Signals from HMI to PLC (DB10)
1611
Signals from the NC to the PLC (DB10)
1612
Signals to Operator Panel (DB19)
1616
Signals from Operator Control Panel (DB19)
1620
Signals to Channel (DB21
1623
Signals from Channel (DB21
1624
Signals to Axis/Spindle (DB31
1625
Signals from Axis/Spindle (DB31
1637
Axis Monitoring, Protection Zones (A3)
1652
Signals to Channel (DB21
1652
Signals from Channel (DB21
1653
Signals to Axis/Spindle (DB31
1654
Signals from Axis/Spindle (DB31
1656
Continuouspath Mode, Exact Stop and Lookahead (B1)
1657
Signals from Channel (DB21
1657
Signals from Axis/Spindle (DB31
1657
Travel to Fixed Stop (F1)
1659
Signals to Axis/Spindle (DB31
1659
Signals from Axis/Spindle (DB31
1660
Help Function Output to PLC (H2)
1662
Signals to Channel (DB21
1662
Signals from Channel (DB21
1662
Signals from Axis/Spindle (DB31
1666
Mode Group, Channel, Program Operation, Reset Response (K1)
1667
Signals to Mode Group (DB11)
1667
Signals from the Mode Group (DB11)
1671
Signals to Channel (DB21
1675
Signals from Channel (DB21
1679
Signals to Axis/Spindle (DB31
1692
Signals from Axis/Spindle (DB31
1692
Axis Types, Coordinate Systems, Frames (K2)
1695
Signals to Axis/Spindle (DB31
1695
Emergency Stop (N2)
1696
Signals to NC (DB10)
1696
Signals from NC (DB10)
1697
PLC Basic Program (P3)
1697
Reference Point Approach (R1)
1698
Signals to Channel (DB21
1698
Signals from Channel (DB21
1699
Signals to Axis/Spindle (DB31
1699
Signals from Axis/Spindle (DB31
1700
Spindles (S1)
1702
Signals to Axis/Spindle (DB31
1702
Signals from Axis/Spindle (DB31
1708
Feeds (V1)
1718
Signals to Channel (DB21
1718
Signals to Axis/Spindle (DB31
1727
Signals from Axis/Spindle (DB31
1733
Signals from Axis/Spindle (DB31
1742
Appendix
1743
List of Abbreviations
1743
Overview
1751
Glossary
1753
Other manuals for Siemens SINUMERIK 828D
Operating Manual
926 pages
Programming Manual
822 pages
Commissioning Manual
1167 pages
Training Manual
476 pages
Manual
280 pages
Service Manual
218 pages
Connection Instructions
16 pages
5
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?
Ask a question
Siemens SINUMERIK 828D Specifications
General
Brand
Siemens
Model
SINUMERIK 828D
Category
Control Systems
Language
English
Related product manuals
Siemens Sinumerik 801
105 pages
Siemens SINUMERIK 802S
174 pages
Siemens SINUMERIK 810M
312 pages
Siemens SINUMERIK 802C
142 pages
Siemens SINUMERIK 810DE
370 pages
Siemens SINUMERIK 840D sl
940 pages
Siemens SINUMERIK 840D pl
100 pages
Siemens SINUMERIK 804D sl
940 pages
Siemens SINUMERIK 840DE SL
940 pages
Siemens SINUMERIK 840D sl Series
1002 pages
Siemens SINUMERIK MC
408 pages
SINUMERIK ONE MCP 2400.4c
940 pages