Indramat MT - CNC - Ref - Rev - 10 - 97 PDF
Indramat MT - CNC - Ref - Rev - 10 - 97 PDF
Indramat MT - CNC - Ref - Rev - 10 - 97 PDF
IAE 74768
QUICK REFERENCE GUIDE
4GX %
KK
NOTE:
This reference guide is based on the MT-CNC software version
0x.17/XX.
Later MT-CNC software versions may contain functionality that
deviates from the one described in this manual!
CAUTION:
Life threatening voltages present on amplifier and servo motor
connectors. Do not connect or disconnect while power is on.
Unexpected and dangerous machine movements may result if service is
attempted by unqualified personnel.
IAE 74768
QUICK REFERENCE GUIDE
FOREWORD
Special Notations:
Special notations are used in this manual to assist the reader in
identifying unique conditions or information that is important.
Three categories of notations are listed below in ascending order
of importance.
to
the
version
of
4GX %
(14'914&
KKK
IAE 74768
QUICK REFERENCE GUIDE
RECORD OF REVISIONS
Revision
Date
Rev A
Rev B
Jan.1995
Oct.1995
Rev C
Oct.1997
KX
Description of Change
4'%14& 1( 4'8+5+105
4GX %
IAE 74768
QUICK REFERENCE GUIDE
CONTENTS
FOREWORD ................................................................................................................................................................... III
RECORD OF REVISIONS..............................................................................................................................................IV
1. MUI FLOW CHARTS ................................................................................................................................................1-1
1.1 MT-CNC USER PROGRAMS & DATA - BACKUP...........................................................................................................1-1
1.2 MT-CNC USER PROGRAMS & DATA - RESTORE .........................................................................................................1-3
1.3 DIGITAL DRIVE PARAMETER (SERVO, SPINDLE) - ARCHIVE .........................................................................................1-5
1.4 ACTIVE USER DATA (EVENTS, VARIABLES, D-CORRECTIONS, ACTIVE TOOL LIST, OFFSET TABLE DATA) - ARCHIVE 1-6
1.5 NC PROGRAM (INCLUDING TOOL SETUP LIST) - ARCHIVE ..........................................................................................1-7
1.6 MACHINE PARAMETER (SYSTEM, PROCESS, AXIS) - ARCHIVE ....................................................................................1-8
1.7 SPS (PLC) PROGRAM - ARCHIVE (1),(2),(3) .....................................................................................................................1-9
1.8 SPS (PLC) PROGRAM - ARCHIVE (4) ...........................................................................................................................1-10
1.9 SPS (PLC) PROGRAM - ARCHIVE (5) ...........................................................................................................................1-11
1.10 DIGITAL DRIVE PARAMETER (SERVO, SPINDLE) - EDITING ......................................................................................1-12
1.11 MACHINE PARAMETER (SYSTEM, PROCESS, AXIS) - EDITING ..................................................................................1-13
1.12 SPS (PLC) EDITING (1),(2),(3) ............................................................................................................................... .......1-15
1.13 SPS (PLC) EDITING (4),(5) ............................................................................................................................... ...........1-16
1.14 USER MESSAGE - EDITING ........................................................................................................................................1-17
1.15 DIGITAL DRIVE PARAMETER (SERVO, SPINDLE) - PRINT OUT ..................................................................................1-18
1.16 MACHINE PARAMETER (SYSTEM, PROCESS, AXIS) - PRINT OUT ..............................................................................1-19
1.17 NC PROGRAM - PRINT OUT ......................................................................................................................................1-20
1.18 SPS DOCUMENTATION - COMPLETE AND PARTIAL PRINTOUTS (1),(2),(3 ......................................................................1-21
1.19 SPS DOCUMENTATION - COMPLETE AND PARTIAL PRINTOUTS ................................................................................1-22
1.20 GLOBAL DOCUMENTATION - PRINTING USER ...........................................................................................................1-23
1.21 FURTHER INFORMATION (HELP) - NC STATUS AND DIAGNOSTICS ...........................................................................1-24
1.22 NC PROGRAM VARIABLES .......................................................................................................................................1-25
1.23 OFFSET TABLE DATA ...............................................................................................................................................1-26
1.24 SPS LOGIC DISPLAY SETUP ......................................................................................................................................1-27
1.25 SPS LOGIC ANALYSIS (1),(2),(3) ............................................................................................................................... ....1-28
1.26 SPS LOGIC ANALYSIS...............................................................................................................................................1-29
1.27 PASSWORD SETUP ( FOR MT-CNC MUI SOFTWARE) ..............................................................................................1-30
1.28 SELECTION OF ONLINE / OFFLINE MODE (FOR MUI SOFTWARE) ..............................................................................1-31
1.29 SELECTION OF ONLINE / OFFLINE MODE (FOR MUI SOFTWARE) ..............................................................................1-32
1.30 EXITING (FROM ANY SCREEN BACK TO THE MUI MAIN MENU)................................................................................1-33
1.31 OSCILLOSCOPE - SETUP, RECORD, VIEW, SAVE .......................................................................................................1-34
1.32 SOT MESSAGE - DOWNLOADING .............................................................................................................................1-36
1.33 CURRENT NC PROGRAM - VIEWING .........................................................................................................................1-37
2. GUI FLOW CHARTS.................................................................................................................................................2-1
2.1 SETUP, GUI (INDRAMAT DEFAULT)..............................................................................................................................2-2
2.1.1 Online / Off-line Mode, GUI (Indramat default) ..................................................................................................2-2
2.1.2 Password Setup, GUI (Indramat default) .............................................................................................................2-3
2.1.3 Exiting Menus, GUI (Indramat default) ...............................................................................................................2-4
2.1.4 Load SOT Messages, GUI (Indramat default)......................................................................................................2-5
2.2 BACKUP, GUI (INDRAMAT DEFAULT)........................................................................................................................2-6
2.2.1 Total MT-CNC User Programs & Data Backup, GUI (Indramat default) ...........................................................2-6
2.2.2 Digital Drive Parameter Archive, GUI (Indramat default) ..................................................................................2-7
2.2.3 Active User Data Archive, GUI (Indramat default)..............................................................................................2-8
2.2.4 SPS (PLC) Project Archive, GUI (1),(2),(3) (Indramat default)................................................................................2-9
4GX %
%106'065
IAE 74768
QUICK REFERENCE GUIDE
2.2.5 SPS (PLC) Project Archive, GUI (4) (Indramat default)..................................................................................... 2-10
2.2.6 SPS (PLC) Project Archive, GUI (5) (Indramat default)..................................................................................... 2-11
2.2.7 Machine Parameter Archive, GUI (Indramat default)....................................................................................... 2-12
2.2.8 NC-program (w. Tool Setup List) Archive, GUI (Indramat default).................................................................. 2-13
2.2.9 Tool List Archive, GUI (Indramat default) ........................................................................................................ 2-14
2.3 RESTORE, GUI (INDRAMAT DEFAULT)....................................................................................................................... 2-15
2.3.1 Total MT-CNC User Programs & Data Restore, GUI (Indramat default) ........................................................2-15
2.4 TROUBLESHOOTING AND DIAGNOSTICS, GUI (INDRAMAT DEFAULT) ........................................................................ 2-16
2.4.1 Further Information to Diagnostics, GUI (Indramat default) ........................................................................... 2-16
2.4.2 Offset Table Data, GUI (Indramat default) ....................................................................................................... 2-17
2.4.3 Active NC-Program, GUI (Indramat default) .................................................................................................... 2-18
2.4.4 NC-Variables, GUI (Indramat default).............................................................................................................. 2-19
2.4.5 Oscilloscope, GUI (Indramat default) ............................................................................................................... 2-20
2.4.6 PLC (SPS) Logic Display Setup, GUI (Indramat default) ................................................................................. 2-22
2.4.7 PLC (SPS) Logic Analysis, GUI (1),(2),(3) (Indramat default)............................................................................... 2-23
2.4.8 PLC (SPS) Logic Analysis, GUI (4),(5) (Indramat default) .................................................................................. 2-24
2.5 EDITING, GUI (INDRAMAT DEFAULT) ........................................................................................................................ 2-25
2.5.1 Machine Parameter Editing, GUI (Indramat default) ....................................................................................... 2-25
2.5.2 Diagnostic Messages Editing, GUI (Indramat default) ..................................................................................... 2-27
2.5.3 SPS (PLC) Program Editing, GUI (1),(2),(3) (Indramat default) ........................................................................... 2-28
2.5.4 SPS (PLC) Program Editing, GUI (4),(5) (Indramat default)............................................................................... 2-29
2.5.5 Digital Drive Parameter Editing, GUI (Indramat default)................................................................................ 2-30
2.6 DOCUMENTATION, GUI (INDRAMAT DEFAULT) ......................................................................................................... 2-31
2.6.1 Global Documentation, GUI (Indramat default) ............................................................................................... 2-31
2.6.2 NC-Program Print Out, GUI (Indramat default)............................................................................................... 2-32
2.6.3 Machine Parameter Print Out, GUI (Indramat default).................................................................................... 2-33
2.6.4 Digital Drive Parameter Print Out, GUI (Indramat default) ............................................................................ 2-34
2.6.5 SPS (PLC) Documentation Print Out, GUI (1),(2),(3) (Indramat default).............................................................. 2-35
2.6.6 SPS (PLC) Documentation Print Out, GUI (4),(5) (Indramat default) ................................................................. 2-36
3. PARAMETERS .................................................................................................................. ........................................ 3-1
3.1 SYSTEM PARAMETERS ................................................................................................................................................. 3-1
3.2 PROCESS PARAMETERS ................................................................................................................................................ 3-2
3.3 AXIS PARAMETERS ...................................................................................................................................................... 3-4
3.3.1 Linear and Rotary Axes ....................................................................................................................................... 3-4
3.3.2 Main Spindle Axis Parameters............................................................................................................................. 3-9
3.3.3 Digital Comb. Turret Axis / Main Spindle, C-Axis Parameters *D ................................................................... 3-11
4. NC PROGRAMMING ............................................................................................................................................... 4-1
4.1 NC PROGRAM STRUCTURE .......................................................................................................................................... 4-1
4.2 NC MEMORY ............................................................................................................................................................... 4-1
4.3 ADVANCE PROGRAM ................................................................................................................................................... 4-1
4.4 REVERSE PROGRAM..................................................................................................................................................... 4-1
4.5 PART PROGRAM ........................................................................................................................................................... 4-2
4.6 PROCESS PROGRAM ..................................................................................................................................................... 4-2
4.7 NC-BLOCK ELEMENTS ................................................................................................................................................ 4-2
4.7.1 NC-Block Numbers .............................................................................................................................................. 4-2
4.7.2 NC-block which can be Skipped .......................................................................................................................... 4-2
4.7.3 NC-Labels ............................................................................................................................................................ 4-2
4.7.4 NC Message for MUI ........................................................................................................................................... 4-2
4.7.5 NC Message for SOT ........................................................................................................................................... 4-3
4.7.6 NC-Block Comment ............................................................................................................................................. 4-3
4.8 G-CODES ..................................................................................................................................................................... 4-3
4.9 AUXILIARY FUNCTIONS ............................................................................................................................................. 4-11
4.10 PROCESS CONTROL COMMANDS .............................................................................................................................. 4-14
XK
%106'065
4GX %
IAE 74768
QUICK REFERENCE GUIDE
4.11 PROGRAM CONTROL NC COMMANDS ......................................................................................................................4-15
4.12 SUBROUTINES ...........................................................................................................................................................4-16
4.13 REVERSE VECTOR ....................................................................................................................................................4-16
4.14 RE-POSITIONING AND NC-BLOCK RESTART (GUI)....................................................................................................4-17
4.15 5 BRANCH COMMANDS ............................................................................................................................................4-17
4.16 NC-EVENTS..............................................................................................................................................................4-18
4.17 INTERRUPTING NC-EVENTS......................................................................................................................................4-18
4.18 MATHEMATICAL EXPRESSIONS.................................................................................................................................4-19
4.19 NC-FUNCTIONS ........................................................................................................................................................4-20
4.20 TIME FUNCTIONS ......................................................................................................................................................4-22
4.21 POSITION STROBE .....................................................................................................................................................4-22
4.22 FUNCTIONS FOR DIGITAL DRIVES .............................................................................................................................4-22
4.23 NC-VARIABLES ........................................................................................................................................................4-22
4.24 SPINDLE SELECTIONS................................................................................................................................................4-23
4.25 OFFSET TABLES ........................................................................................................................................................4-23
4.26 AXIS SWITCHING ......................................................................................................................................................4-24
4.27 PATH ACCELERATION ...............................................................................................................................................4-25
4.28 MACHINE DATA .......................................................................................................................................................4-26
4.29 TOOL DATA ..............................................................................................................................................................4-27
4.30 MODAL FUNCTIONS ..................................................................................................................................................4-27
4.31 NC-BLOCK LOOK AHEAD FUNCTION ........................................................................................................................4-27
4.31.1 Global Variable Definitions .............................................................................................................................4-27
5. SPS INSTRUCTION SET...........................................................................................................................................5-1
5.1 ELEMENTARY DATA TYPES ..........................................................................................................................................5-1
5.2 DERIVED DATA TYPES .................................................................................................................................................5-1
5.2.1 Structures (STRUCT)............................................................................................................................................5-1
5.2.2 Arrays ...................................................................................................................................................................5-1
5.3 INSTRUCTION LIST INSTRUCTIONS ................................................................................................................................5-2
5.3.1 Load and save instructions ...................................................................................................................................5-2
5.3.2 Set and reset instructions......................................................................................................................................5-2
5.3.3 Logic Instructions .................................................................................................................................................5-3
5.3.4 Jumps, Calls, Return (conditional and unconditional).........................................................................................5-4
5.3.4.1 Return from Function Blocks or Functions .......................................................................................................................5-4
4GX %
%106'065
XKK
IAE 74768
QUICK REFERENCE GUIDE
5.10 STANDARD FUNCTION BLOCKS ................................................................................................................................ 5-39
5.10.1 Flip-Flops ........................................................................................................................................................ 5-39
5.10.2 Edge evaluation for rising and falling edges R_TRIG, F_TRIG ................................................................ 5-40
5.10.3 Up and down counters ..................................................................................................................................... 5-41
5.10.4 Time stages for pulses; ON/OFF delay............................................................................................................ 5-43
5.10.5 Function blocks for date and time ................................................................................................................... 5-44
5.10.6 Function blocks for serial interfaces ............................................................................................................... 5-45
5.10.6.1 Standard data type COM ............................................................................................................................................5-45
5.10.6.2 Error handling of the function blocks for serial interfaces ............................................................................................5-52
XKKK
%106'065
4GX %
IAE 74768
QUICK REFERENCE GUIDE
6.17 GATEWAY SIGNAL LISTING (STRUCTURED DATA TYPE)...........................................................................................6-52
6.17.1 Axis Status Signals (iAXIS)...............................................................................................................................6-52
6.17.2 Process Status Signals (iPROC) .......................................................................................................................6-52
6.17.3 Local Inputs Signals (iDEA).............................................................................................................................6-53
6.17.4 External Mechanism Status Signals (iMECH)..................................................................................................6-54
6.17.5 Axis Control Signals (qAXIS) ...........................................................................................................................6-55
6.17.6 Process Control Signals (qPROC) ...................................................................................................................6-55
6.17.7 Local Output Signals (qDEA)...........................................................................................................................6-56
6.17.8 External Mechanism Control Signals (qMECH) ..............................................................................................6-56
7. TOOL MANAGEMENT.............................................................................................................................................7-1
7.1 INTRODUCTION TO TOOL MANAGEMENT ......................................................................................................................7-1
7.2 TOOL SETUP LIST .........................................................................................................................................................7-1
7.2.1 Tool Lists and Setup Lists .....................................................................................................................................7-1
7.2.2 Basic Tool Data of Setup List ...............................................................................................................................7-1
7.2.2.1 Tool Name (ID) .................................................................................................................................................................7-1
7.2.2.2 T-Number (T) ....................................................................................................................................................................7-1
7.2.2.3 Amount of Tool Edges ......................................................................................................................................................7-1
7.2.2.4 Time Unit ..........................................................................................................................................................................7-2
7.2.2.5 Length Unit .......................................................................................................................................................................7-2
7.2.2.6 Comment ...........................................................................................................................................................................7-2
4GX %
%106'065
KZ
IAE 74768
QUICK REFERENCE GUIDE
7.6 NC TOOL MANAGEMENT CONTROL FUNCTIONS ....................................................................................................... 7-18
7.6.1 Requirements ..................................................................................................................................................... 7-18
7.6.1.1 Defined Plane..................................................................................................................................................................7-18
7.6.1.2 Tool Selection .................................................................................................................................................................7-19
7.6.1.3 Tool Edge Selection (E) ..................................................................................................................................................7-19
7.6.1.4 Tool Change....................................................................................................................................................................7-20
7.6.1.5 Spindle Selection for Tool Mgmt....................................................................................................................................7-20
%106'065
4GX %
IAE 74768
QUICK REFERENCE GUIDE
8.11.1 Automatic Start.................................................................................................................................................8-16
8.11.2 Data Access Function Commands ....................................................................................................................8-17
4GX %
%106'065
ZK
IAE 74768
QUICK REFERENCE GUIDE
List Of Appendices
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
Appendix
%106'065
4GX %
IAE 74768
QUICK REFERENCE GUIDE
Main Menu
Yes
refer tp
'Digital Drive Parameter Archive'
chart.
No
return from
'Digital Drive Parameter Archive'
Do you want to include
Active User Data
on this backup?
[Ex., SPS retentative data, NC Events,
NC Variables, D-Corrections,
Offset table data].
Yes
refer to
'Active Users Data Archive'
chart.
No
<F1> Archive Administration
return from
'Active User Data Archive'
chart.
Rev C, 10/97
1-1
IAE 74768
QUICK REFERENCE GUIDE
Figure 1-2 MT-CNC User Programs & Data - Backup (Sheet 2 of 2)
1-2
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Yes
No
<Shift><F1> Setup
<F2> English Language
<Down cursor>MT-CNC Definition List
<ENTER> to select
<F2> Define MT-CNC
follow instructions at bottom
of screen to define Slave MT-CNC's.
<F8> Setup Menu
<Up cursor> Exit Setup
<ENTER>
<F1> Archive Administration
<F3> MT-CNC Archive
Insert BACKUP diskette
in the appropriate drive and
<Right cursor> to RESTORE
<ENTER> to select RESTORE option
WARNING
appears alerting that all existing programs and date on the harddrive will be overwritten!
<ESC> to ABORT
or
<Y> to continue
Rev C, 10/97
1-3
IAE 74768
QUICK REFERENCE GUIDE
Figure 1-4 MT-CNC User Programs & Data - Restore - (Sheet 2 of 2)
1-4
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
1.3 Digital Drive Parameter (Servo, Spindle) - Archive
Figure 1-5 Digital Drive Parameter (Servo, Spindle) - Archive
the option to save only current drive data or all drive data will be given
NOTE: Saving all drive data gathers data from all drives and saves it
to one file.
All drives must connected when downloading file back to drives.
Yes
archive another axis?
No
MUI Main Menu
<F10>
or
<F8>, <F8>
Rev C, 10/97
1-5
IAE 74768
QUICK REFERENCE GUIDE
1.4 Active User Data (Events, Variables, D-Corrections, Active Tool List, Offset Table Data) - Archive
Figure 1-6 Active User Data (Events, Variables, D-Corrections, Active Tool List, Offset Table
Data) - Archive
1-6
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
<F1> NC-Archive
Rev C, 10/97
1-7
IAE 74768
QUICK REFERENCE GUIDE
1-8
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
(1),(2),(3)
(1),(2),(3)
<ENTER>
to select 'File' menu item.
<ENTER>
to select 'Load' menu item.
<ENTER>
to select 'Program' menu item.
- Load new Workfile type name of SPS program you wish to modify
or
<ENTER> to display directory of available files.
<Alt><J> Project
<Up/Down Cursor> to highlight 'Archive'
<ENTER> to select.
Rev C, 10/97
1-9
IAE 74768
QUICK REFERENCE GUIDE
(4)
(4)
<F3>
to select 'Load' menu item.
<Alt><J> Project
<Up/Down Cursor> to highlight 'Archive'
<ENTER> to select.
1-10
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
(5)
(5)
<F3>
to select 'Load' menu item.
<Alt><J> Project
<Up/Down Cursor> to highlight 'Archives'
<ENTER> to select.
Rev C, 10/97
1-11
IAE 74768
QUICK REFERENCE GUIDE
<F3> Modify
or
<ENTER>
to begin modification
Yes
modify more?
No
<F1> Change Mode
<F8> Param Index
<F8> To Main Menu
1-12
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
select
<F1> System Parameter
or
<F2> Process Parameter
or
<F3> Axis Parameter
Rev C, 10/97
1-13
IAE 74768
QUICK REFERENCE GUIDE
Yes
more Parameters
to modify within this same
group?
No
<F8> Select Parameter
Yes
modify any
of the other parameter sets
(System, Process, Axis)?
No
<F8> To Param Index
<F10>
or
<F8> To Main Menu
to return to MUI Main Menu
1-14
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
(1),(2),(3)
(1),(2),(3)
<ENTER>
to select 'File' menu item.
<ENTER>
to select 'Load' menu item.
<ENTER>
to select 'Program' menu item.
- Load new Workfile type name of SPS program you wish to modify
or
<ENTER> to display directory of available files.
Rev C, 10/97
1-15
IAE 74768
QUICK REFERENCE GUIDE
(4),(5)
(4),(5)
Yes
No
<F3>
to select 'Load' menu item.
No
1-16
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Main Menu
<Up/Down Cursors> to move cursor to 'User messages (generated in programmable controller pgm)
<ENTER> to select.
use menu items listed at bottom of screen to edit, add and/or delete messages.
Main Menu
Rev C, 10/97
1-17
IAE 74768
QUICK REFERENCE GUIDE
1-18
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
select
<F1> System Parameter
or
<F2> Process Parameter
or
<F3> Axis Parameter
Rev C, 10/97
1-19
IAE 74768
QUICK REFERENCE GUIDE
1-20
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
(1),(2),(3
(1),(2),(3)
<ENTER>
to select 'File' menu item.
<ENTER>
to select 'Load' menu item.
<ENTER>
to select 'Program' menu item.
- Load new Workfile type name of SPS program you wish to modify
or
<ENTER> to display directory of available files.
Yes
<Alt>+<J> to select 'Project' menu item.
Complete
printout?
No
Rev C, 10/97
1-21
IAE 74768
QUICK REFERENCE GUIDE
(4),(5)
<F3>
to select 'Load' menu item.
Yes
<Alt>+<J> to select 'Project' menu item.
Complete
printout?
No
1-22
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
<Alt>+<L> Selection
<Space Bar>
to select or de-select from Program list.
<Alt>+<O> Options
<Alt>+<V> View
<Alt>+<P> Print
<P> Print
Rev C, 10/97
1-23
IAE 74768
QUICK REFERENCE GUIDE
Main Menu
Main Menu
1-24
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Main Menu
Main Menu
Rev C, 10/97
1-25
IAE 74768
QUICK REFERENCE GUIDE
Main Menu
Select a menu option listed at the bottom of the screen and follow instructions.
Main Menu
1-26
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
<Alt>+<O> Options
<ENTER> to select
Rev C, 10/97
1-27
IAE 74768
QUICK REFERENCE GUIDE
(1),(2),(3)
(1),(2),(3)
<ENTER>
to select 'File' menu item.
<ENTER>
to select 'Load' menu item.
<ENTER>
to select 'Program' menu item.
- Load new Workfile type name of SPS program you wish to modify
or
<ENTER> to display directory of available files.
- Load Variable List enter filename for a new variable list (list of selected IO points to monitor)
or
<ENTER> to display a directory of existing files.
Use items listed at bottom of screen to edit parameters for this screen.
<O> to EDIT existing variable or add to variable list.
<ENTER> begin modification.
1-28
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
(4),(5)
<F3>
to select 'Load' menu item.
- Load Variable List enter filename for a new variable list (list of selected IO points to monitor)
or
<ENTER> to display a directory of existing files.
Use items listed at bottom of screen to edit parameters for this screen.
<O> to EDIT existing variable or add to variable list.
<ENTER> begin modification.
Rev C, 10/97
1-29
IAE 74768
QUICK REFERENCE GUIDE
<SHIFT><F1> SETUP
Select a menu option listed at the bottom of the screen and follow instructions.
1-30
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
<SHIFT><F1> SETUP
Rev C, 10/97
1-31
IAE 74768
QUICK REFERENCE GUIDE
<SHIFT><F1> SETUP
1-32
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
1.30 Exiting (from any screen back to the MUI Main Menu)
Figure 1-33 Exiting (from any screen back to MUI Main Menu)
Rev C, 10/97
1-33
IAE 74768
QUICK REFERENCE GUIDE
<Alt><S> Setup
<Alt><S> Setup
<F2> Start
to begin oscilloscope readings
1-34
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Figure 1-35 Oscilloscope - Setup, Record, View, Save - (Sheet 2 of 2)
<Alt><D> Diagram
to view charts
select 'Display'
<ENTER>
<Alt><M> Measurements
to save
<Alt>+<x> to exit
<F8>
<F8>
Rev C, 10/97
1-35
IAE 74768
QUICK REFERENCE GUIDE
Place the SOT,s in the receive mode. This is done at the SOT screen.
<Y> to continue
1-36
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Main Menu
Main Menu
Rev C, 10/97
1-37
IAE 74768
QUICK REFERENCE GUIDE
This chapter contains flowcharts to perform commonly used functions with the standard Indramat softkey
menu of the MT-CNC Graphical User Interface Software. Since the user or OEM can customized the
softkey levels in the GUI, the flowcharts listed here may not or only partially be compatible with the used
GUI. In this case refer to the flowchart provided by the user or OEM.
Rev C, 10/97
2-1
IAE 74768
QUICK REFERENCE GUIDE
2.1 Setup, GUI (Indramat default)
2.1.1 Online / Off-line Mode, GUI (Indramat default)
Figure 2-1: GUI Online/Off-line Mode
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
<F8>
<F7> Setup/Config
<F7> MUI
<SHIFT><F1> SETUP
2-2
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.1.2 Password Setup, GUI (Indramat default)
Figure 2-2 GUI Password Setup
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
<F8>
<F7> Setup Config
<F7> MUI
<SHIFT><F1> SETUP
Select a menu option listed at the bottom of the screen and follow instructions.
Rev C, 10/97
2-3
IAE 74768
QUICK REFERENCE GUIDE
2.1.3 Exiting Menus, GUI (Indramat default)
Figure 2-3 GUI Exiting Menus - from any screen back to GUI Menu
GUI Menu
GUI Menu
2-4
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.1.4 Load SOT Messages, GUI (Indramat default)
Figure 2-4 GUI Load SOT Messages
GUI Menus
Place the SOT,s in the receive mode. This is done at the SOT screen.
<Y> to continue
Main Menu
Rev C, 10/97
2-5
IAE 74768
QUICK REFERENCE GUIDE
2.2 BACKUP, GUI (Indramat default)
2.2.1 Total MT-CNC User Programs & Data Backup, GUI (Indramat default)
Figure 2-5 GUI Total MT-CNC Users Programs & Data Backup
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
Yes
refer to
'Digital Drive Parameter Archive'
chart.
No
return from
'Digital Drive Parameter Archive'
Do you want to include
Active User Data
on this backup?
[Ex., SPS retentative data, NC Events,
NC Variables, D-Corrections,
Offset table data].
Yes
refer to
'Active Users Data Archive'
chart.
No
return from
'Active User Data Archive'
chart.
<F8>
<F1> Mach. Operation
2-6
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.2.2 Digital Drive Parameter Archive, GUI (Indramat default)
Figure 2-6 GUI Digital Drive Parameter Archive
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
the option to save only current drive data or all drive data will be given
NOTE: Saving all drive data gathers data from all drives and saves it
to one file.
All drives must connected when downloading file back to drives
Yes
archive another axis?
No
<F10>
or
<F8>, <F8>
<F8>
<F1> Mach Operation
Rev C, 10/97
2-7
IAE 74768
QUICK REFERENCE GUIDE
2.2.3 Active User Data Archive, GUI (Indramat default)
Figure 2-7 GUI Active User Data Archive
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
<F8>
<F7> Setup/Conf
<F8>
<F1> Mach. Operation
2-8
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.2.4 SPS (PLC) Project Archive, GUI
(1),(2),(3)
(Indramat default)
(1),(2),(3)
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
<F2> SPS Administration
<ENTER>
to select 'File' menu item.
<ENTER>
to select 'Load' menu item.
<ENTER>
to select 'Program' menu item.
- Load new Workfile type name of SPS program you wish to modify
or
<ENTER> to display directory of available files.
<Cursor arrows> to highlight desired file.
<ENTER> to load file into computer memory.
<Alt><J> Project
<F8>
<F1> Mach. Operation
Rev C, 10/97
2-9
IAE 74768
QUICK REFERENCE GUIDE
(4)
(Indramat default)
(4)
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
<F2> SPS Administration
<F3>
to select 'Load' menu item.
<Alt><J> Project
<Up/Down Cursor> to highlight 'Archive'
<ENTER> to select.
<F8>
<F1> Mach. Operation
2-10
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
(5)
(Indramat default)
(5)
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
<F2> SPS Administration
<F3>
to select 'Load' menu item.
<Alt><J> Project
<Up/Down Cursor> to highlight 'Archives'
<ENTER> to select.
<F8>
<F1> Mach. Operation
Rev C, 10/97
2-11
IAE 74768
QUICK REFERENCE GUIDE
2.2.7 Machine Parameter Archive, GUI (Indramat default)
Figure 2-11 GUI Machine Parameter Archive
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
<F8>
<F7> Setup/Config
<F8>
<F1> Mach. Operation
2-12
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.2.8 NC-program (w. Tool Setup List) Archive, GUI (Indramat default)
Figure 2-12 GUI Online/Off-line Mode
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
<F1> NC-Archive
<F8>
<F1> Mach. Operation
Rev C, 10/97
2-13
IAE 74768
QUICK REFERENCE GUIDE
2.2.9 Tool List Archive, GUI (Indramat default)
Figure 2-13 GUI Tool List Archive
<F8>
<F7> Setup/Config
<F8>
<F1> Mach. Operation
2-14
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.3 Restore, GUI (Indramat default)
2.3.1 Total MT-CNC User Programs & Data Restore, GUI (Indramat default)
Figure 2-14 GUI Online/Off-line Mode
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
<F8>
<F7> Setup/Config
Yes
<F7> MUI
<Shift><F1> Setup
<F2> English Language
<Down cursor>MT-CNC Definition List
<ENTER> to select
No
WARNING
appears alerting that all existing programs
and date on the harddrive will be overwritten!
<ESC> to ABORT
or
<Y> to continue
<F8>
<F1> Mach. Operation
Rev C, 10/97
2-15
IAE 74768
QUICK REFERENCE GUIDE
2.4 Troubleshooting and Diagnostics, GUI (Indramat default)
2.4.1 Further Information to Diagnostics, GUI (Indramat default)
Figure 2-15 GUI Further Information to Diagnostics
GUI Menu
<ESC>
2-16
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.4.2 Offset Table Data, GUI (Indramat default)
Figure 2-16 GUI Offset Table Data
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
Rev C, 10/97
2-17
IAE 74768
QUICK REFERENCE GUIDE
2.4.3 Active NC-Program, GUI (Indramat default)
Figure 2-17 GUI Active NC-Program Viewing
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
2-18
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.4.4 NC-Variables, GUI (Indramat default)
<F2> Variable
<F8>
Rev C, 10/97
2-19
IAE 74768
QUICK REFERENCE GUIDE
Oscilloscope, GUI (Indramat default)
2.4.5
<F8>
<F7> Setup/Config
<F1> Service
<Alt><S>
<Alt><S>
<F2> Start
to begin oscilloscope readings
2-20
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Figure 2-20 GUI Oscilloscope (Sheet 2 of 2)
<Alt><D> Diagram
to view charts
select 'Display'
<ENTER>
<Alt><M> Measurements
to save
<Alt>+<x> to exit
<F8>
<F8>
<F1> Mach. Operation
Rev C, 10/97
2-21
IAE 74768
QUICK REFERENCE GUIDE
PLC (SPS) Logic Display Setup, GUI (Indramat default)
2.4.6
<F8>
<F7> Setup/Config
<F2> SPS Administration
<Alt>+<O> Options
<ENTER> to select
<F8>
<F1> Mach. Operation
2-22
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.4.7
(1),(2),(3)
(Indramat default)
(1),(2),(3)
<ENTER>
to select 'File' menu item.
<ENTER>
to select 'Load' menu item.
<ENTER>
to select 'Program' menu item.
- Load new Workfile type name of SPS program you wish to modify
or
<ENTER> to display directory of available files.
- Load Variable List enter filename for a new variable list (list of selected IO points to monitor)
<ENTER> to display a directory of existing files.
Use items listed at bottom of screen to edit parameters for this screen.
<O> to EDIT existing variable or add to variable list.
<ENTER> begin modification.
Rev C, 10/97
2-23
IAE 74768
QUICK REFERENCE GUIDE
(4),(5)
(Indramat default)
(4),(5)
<F3>
to select 'Load' menu item.
- Load Variable List enter filename for a new variable list (list of selected IO points to monitor)
<ENTER> to display a directory of existing files.
Use items listed at bottom of screen to edit parameters for this screen.
<O> to EDIT existing variable or add to variable list.
<ENTER> begin modification.
2-24
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.5 Editing, GUI (Indramat default)
2.5.1 Machine Parameter Editing, GUI (Indramat default)
Figure 2-24 GUI Machine Parameter Editing (Sheet 1 of 2)
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
<F4> Machine Parameter
select
<F1> System Parameter
or
<F2> Process Parameter
or
<F3> Axis Parameter
Rev C, 10/97
2-25
IAE 74768
QUICK REFERENCE GUIDE
Figure 2-25 GUI Machine Parameter Editing (Sheet 2 of 2)
Yes
more Parameters
to modify within this same
group?
No
<F8> Select Parameter
Yes
modify any
of the other parameter sets
(System, Process, Axis)?
No
<F8> To Param Index
<F10>
or
<F8> To Main Menu
<F8>
<F1> Setup/Config
2-26
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.5.2 Diagnostic Messages Editing, GUI (Indramat default)
Figure 2-26 GUI Diagnostic Message Editing
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
<F8>
<F7> Setup/Config
<F1> Service
<F3> Global Diag.
<Up/Down Cursors> to move cursor to 'User messages (generated in programmable controller pgm)
<ENTER> to select.
use menu items listed at bottom of screen to edit, add and/or delete messages.
<F8>
<F1> Mach. Operation
Rev C, 10/97
2-27
IAE 74768
QUICK REFERENCE GUIDE
2.5.3 SPS (PLC) Program Editing, GUI
(1),(2),(3)
(Indramat default)
(1),(2),(3)
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
<ENTER>
to select 'Load' menu item.
<ENTER>
to select 'Program' menu item.
- Load new Workfile type name of SPS program you wish to modify
or
<ENTER> to display directory of available files.
2-28
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.5.4
(4),(5)
(Indramat default)
(4),(5)
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
<F2> SPS Administration
Yes
No
<F3>
to select 'Load' menu item.
No
Rev C, 10/97
2-29
IAE 74768
QUICK REFERENCE GUIDE
2.5.5 Digital Drive Parameter Editing, GUI (Indramat default)
Figure 2-29 GUI Digital Drive Editing
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
<F4> Machine Parameter
<F3> Modify
or
<ENTER>
to begin modification
Yes
modify more?
No
<F1> Change Mode
<F8> Param Index
<F8> To Main Menu
<F8>
<F1> Mach. Operation
2-30
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.6 Documentation, GUI (Indramat default)
2.6.1 Global Documentation, GUI (Indramat default)
Figure 2-30 GUI Global Documentation
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
<F1> Service
<F4> Global
<Alt>+<L> Selection
<Space Bar>
to select or de-select from Program list.
<Alt>+<O> Options
<Alt>+<V> View
<Alt>+<P> Print
<P> Print
<F8>
<F1> Mach. Operation
Rev C, 10/97
2-31
IAE 74768
QUICK REFERENCE GUIDE
2.6.2 NC-Program Print Out, GUI (Indramat default)
Figure 2-31 GUI NC-Program Print Out
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F3> Preparation
<F1> Program Administration
<F8>
<F1> Mach. Operation
2-32
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.6.3 Machine Parameter Print Out, GUI (Indramat default)
Figure 2-32 GUI Machine Parameters Print Out
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F3> Preparation
<F1> Program Administration
<F8>
<F1> Mach. Operation
Rev C, 10/97
2-33
IAE 74768
QUICK REFERENCE GUIDE
2.6.4 Digital Drive Parameter Print Out, GUI (Indramat default)
Figure 2-33 GUI Digital Drive Parameters Print Out
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
GUI Default Main Menu
<F8>
<F7> Setup/Config
<F4> Machine Parameter
Yes
print another axis?
No
MUI Main Menu
<F10>
or <F8>, <F8>
<F8>
<F1> Mach. Operation
2-34
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
2.6.5 SPS (PLC) Documentation Print Out, GUI
(1),(2),(3)
(Indramat default)
(1),(2),(3)
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
<F8>
<F7> Setup/Config
<F1> SPS Administration
<ENTER>
to select 'File' menu item.
<ENTER>
to select 'Load' menu item.
<ENTER>
to select 'Program' menu item.
- Load new Workfile type name of SPS program you wish to modify
or
<ENTER> to display directory of available files.
Yes
<Alt>+<J> to select 'Project' menu item.
Complete
printout?
No
<F8>
<F1> Mach. Operation
Rev C, 10/97
2-35
IAE 74768
QUICK REFERENCE GUIDE
(4),(5)
(Indramat default)
(4),(5)
(this chart is only valid for the default GUI screens supplied with the installation diskettes)
<F8>
<F7> Setup/Config
<F1> SPS Administration
<F3>
to select 'Load' menu item.
Yes
<Alt>+<J> to select 'Project' menu item.
Complete
printout?
No
<F8>
<F1> Mach. Operation
2-36
Rev C, 10/97
QUICK
IAE 74768
REFERENCE GUIDE
3. PARAMETERS
3.1 System Parameters
A00.000
Management Process
This parameter describes the Management process. This is the default parameter set and
MUST ALWAYS BE DEFINED. This process can be used to control all other processes.
A00.001-A00.006
Process (16)
These parameters define internal motion processes. Internal processes must have one or more
axes directly controlled by the MT-CNC.
A00.007-A00.031
A00.032-A00.51
Axis (120)
These parameters are used and type of axis connected to the to assign the number MT-CNC
axis processors (APR). The axis can be defined as Linear, Rotary, Main Spindle or Turret,
however upon transfer of the parameter set to the MT-CNC the correct hardware must be
installed or a system fault will be initiated.
A00.052
Tool Management
This parameter selects the tool management functions for a process requiring the ability to use
multiple tools, monitor and/or correct for tool wear, or monitor number of cycles. If set to
yes further system parameters A00.053 - A00.083 appear which configure tool data sets.
A00.087
A00.088
A00.089
S-function Mode(4),(5)
This process parameter defines the output and acknowledge mode of all S-functions globally
over all processes.
A00.090
T/E-function Mode(4),(5)
This parameter defines the output and acknowledge mode of all T-functions (Tool) and Efunctions (Tool Edge) globally over all processes.
Rev C, 10/97
Parameters
3-1
IAE 74768
QUICK REFERENCE GUIDE
3.2 Process Parameters
xx
Bxx.001
Bxx.002
Bxx.003
Bxx.004
Bxx.005
Bxx.006
Bxx.007
Path Acceleration
Defines the path acceleration above the velocity programmed in Bxx.006.
Bxx.012
Bxx.013
Diameter Programming
Determines whether diameter G16 or radius G15 programming is chosen for the main axis of that
process.
Bxx.029
D-Correction(3),(4),(5)
Allows the use of D-Correction D00 - D99 in the process NC-program and provides parameters
Bxx.033 - Bxx.031 for entry limit definitions.
Bxx.030
Bxx.031
Bxx.032
Bxx.033
Reverse Required
Determines if a G74 is needed in the reverse section of a NC program under the .HOME label.
3-2
Parameters
Rev C, 10/97
QUICK
CAUTION:
IAE 74768
REFERENCE GUIDE
If Bxx.032 and Bxx.033 are both set to NO in a process with at least one
incremental servo axis, all axes in the process are able to execute a forward program
without homing!
Bxx.034
Bxx.035
Bxx.036
Bxx.037
Bxx.038
Bxx.039
Bxx.040
Bxx.041
Bxx.042
Bxx.044
Bxx.046
Deviating M-functions(4),(5)
Through the use of this parameter up to 40 M-functions whose mode deviates from the setting in
parameter (A00.087) can be defined for this process. The mode can be defined individually in form of
list entry for each of the 40 M-functions.
Rev C, 10/97
Parameters
3-3
IAE 74768
QUICK REFERENCE GUIDE
Bxx.047
Deviating Q-functions(4),(5)
Through the use of this parameter up to 40 Q-functions whose mode deviates from the setting in
parameter (A00.088) can be defined for this process. The mode can be defined individually in form of
list entry for each of the 40 Q-functions.
Bxx.048
Bxx.049
Bxx.050
Bxx.051
Bxx.052
Bxx.053
Bxx.054
Bxx.055
Bxx.056
Cxx.000
Associated Processes
Assigns the axis to one or more (up to 4) processes.
3-4
Parameters
Rev C, 10/97
QUICK
IAE 74768
REFERENCE GUIDE
Cxx.001
Axis Designation 1
Assigns a programming name to the axis. Axis designation 1 represents primary axis name used when
programming in NC-programs.
Cxx.003
Cxx.004
Cxx.005
Cxx.006
Cxx.007
Cxx.008
Cxx.009
Cxx.010
Kv Factor *A
Is used to adjust the response of the servo axis. A low Kv Factor will cause the axis to react sluggish,
and a high Kv Factor will cause the axis to oscillate.
Cxx.011
Cxx.012
Cxx.013
Reference Position *A
Rev C, 10/97
Parameters
3-5
IAE 74768
QUICK REFERENCE GUIDE
Specifies the value displayed and used by the NC program as the machine coordinate reference. After
homing the axis, this value is loaded into the actual position register.
Cxx.014
Position Polarity *A
Designates the polarity (sign) of the coordinate system or the axis. A value of 0 signifies a normal
coordinate polarity, while a 1 signifies a reverse polarity.
Cxx.015
Homing Direction *A
Specifies the direction the axis will search for the home switch. If set to 0 the axis will search in same
direction as Cxx.014, if set to 1 the axis will search in the opposite direction.
Cxx.016
Maximum Feedrate
Sets the limited velocity of the axis. This is the velocity that the axis will try to achieve when a G0 is
programmed without the F-word.
Cxx.017
Cxx.018
Cxx.019
Homing Speed *A
Specifies the speed the axis will home. This value will be used when a G74 is programmed without the
F-word, or the axis is sent home manually using the AXC.HOME gateway signal.
Cxx.020
Jogging Speed
Specifies the speed the axis will jog using the AXC.JGPOS or AXC.JGNEG gateway signals.
Cxx.021
Cxx.022
Cxx.023
In Position Window
Sets the maximum position loop deviation allowed. If axis is not within this value at block end, the
block will not be completed, and NO ERROR WILL BE PRESENT.
3-6
Parameters
Rev C, 10/97
QUICK
IAE 74768
REFERENCE GUIDE
Cxx.024
Monitoring Window *A
Defines the percentage of position error allowed before a fault is issued. A value of zero disables the
monitoring window.
Cxx.025
Cxx.032
Waypoints 0 - 7
Are used to set actual axis positions to be monitored by the SPS program. If the absolute actual position
is equal to or greater than the value set in one of the parameters 25 - 32, the associated SPS signal
AxxS.WPn (n = 0 - 7) will become 1.
CAUTION:
Waypoints are valid only after reference has been established for incremental axis.
Cxx.033
Cxx.034
Cxx.040
Cxx.041
Cxx.042
Cxx.043
Cxx.044
If using DDS digital servo drives the Bipolar Torque Limit (S-0-0092) is preset
at 400%, therefor the value must be divide by 4 before being entered into
parameter CXX.044
Cxx.045
Cxx.053
Cxx.060
Rev C, 10/97
Parameters
3-7
IAE 74768
QUICK REFERENCE GUIDE
Defines whether the motor or external feedback device is used for position control. The scaling
parameters must be entered in the digital drive itself.
Cxx.075
Cxx.076
Cxx.077
Cxx.078
Cxx.079
Cxx.080
Cxx.081
Cxx.082
Cxx.083
Cxx.085
3-8
Parameters
Rev C, 10/97
QUICK
IAE 74768
REFERENCE GUIDE
Cxx.086
Associated Processes
Assigns the axis to one or more processes. The first process named will be the default process.
Cxx.001
Axis Designation
Assigns a programming name for the spindle axis.
Cxx.002
Mode of Operation *A *O
Selects the type of spindle that will be connected to the axis. The MUI selects relevant parameters
needed for a particular mode. (Open Loop, Positioning)
Cxx.004
Cxx.009
Cxx.010
Kv Factor *A
Defines the position loop gain for the spindle when the position loop control mode is active. This
parameter is only active when the speed is over the value set in Cxx.035.
Cxx.020
Cxx.057
Jogging Speed(1)
Jogging Speed(2),(3),(4),(5)
Specifies the speed at which the spindle will jog when using the AXC.JGPOS or AXC.JGNEG (SPS)
Gateway signals.
Cxx.021
Cxx.058
Cxx.022
Cxx.059
Cxx.024
Monitoring Window *A
Defines the percentage of position error allowed before a fault is issued. A value of zero disables the
monitoring window.
CAUTION:
Cxx.035
Rev C, 10/97
Parameters
3-9
IAE 74768
QUICK REFERENCE GUIDE
Specifies minimum speed that the spindle will be able to run in open loop mode. This value also
specifies the changeover speed for the normal and low speed Kv-Factors Cxx.010. When the speed
falls below the minimum open loop speed parameter, the MT-CNC switches over to position control
when a speed is specified.
Cxx.036
Cxx.037
Cxx.038
Cxx.039
Cxx.040
Cxx.041
Cxx.047
Cxx.048
Cxx.049
Cxx.050
Cxx.051
Orient Speed *A
If the spindle is stopped and a M19 is programmed the axis will orient at this value. If the spindle is
moving and a M19 is programmed, it will orient using the last programmed S word.
Cxx.052
In Position Window
Specifies the angle in degrees that a spindle will be considered in position by the MT-CNC. If the
spindle is not within this position window at block end, the block will not be completed and NO
ERROR WILL BE PRESENT.
Cxx.056
3-10
Parameters
Rev C, 10/97
QUICK
IAE 74768
REFERENCE GUIDE
Indramats digital SERCOS main spindle drives can be used in C-axis mode applications. If high
power and torque is required in spindle mode, a separate geared (belts) spindle drive and motor is used
in this mode. A geared (gear box) servo drive to the spindle shaft is than used during C-axis mode.
Cxx.060
Cxx.061
Cxx.062, Cxx.065
Cxx.068, Cxx.071
Cxx.063, Cxx.066
Cxx.069, Cxx.072
Cxx.064, Cxx.067
Cxx.070, Cxx.073
Cxx.074
Cxx.084
Rev C, 10/97
Associated Processes
Assigns the turret to one or more processes. The first process named will be the default process.
Parameters
3-11
IAE 74768
QUICK REFERENCE GUIDE
Cxx.001
Cxx.054
Axis Designation(1)
Axis Designation 1(2),(3),(4),(5)
Assigns a programming name for the spindle axis. Axis designation 1 represents primary axis name
used when programming in NC-programs.
Cxx.006
Cxx.007
Cxx.008
Cxx.013
Reference Position(1)
Reference Position, Rotary Mode(2),(3),(4),(5)
Specifies the value displayed and used by the NC program as the machine coordinate reference. After
homing the turret, this value is loaded into the actual position register.
Cxx.014
Cxx.016
Maximum Feedrate(1)
Maximum Feedrate, Rotary Mode(2),(3),(4),(5)
Sets the limited velocity of the turret. This is the velocity that the turret will try to achieve when a G0 is
programmed without the F-word.
Cxx.017
Cxx.018
Cxx.019
Homing Speed(1)
Homing Speed, Rotary Mode(2),(3),(4),(5)
Specifies the speed the turret will home. This value will be used when a G74 is programmed without
the F-word, or the axis is sent home manually using the AXC.HOME gateway signal.
Cxx.020
Jogging Speed(1)
Jogging Speed, Rotary Mode(2),(3),(4),(5)
Specifies the speed at which the spindle will jog when using the AXC.JGPOS or AXC.JGNEG (SPS)
Gateway signals. This parameter is only used in spindle mode, because the turret can only be jogged
from pocket to pocket using the parametric jog mode.
Cxx.021
3-12
Parameters
Rev C, 10/97
QUICK
IAE 74768
REFERENCE GUIDE
Specifies the speed at which the spindle will jog when using the AXC.JGPOS or AXC.JGNEG (SPS)
Gateway signals along with the AxC.RAPID Gateway signal. This parameter is only used in spindle
mode, because the turret can only be jogged from pocket to pocket using the parametric jog mode.
Cxx.022
Cxx.023
In Position Window(1)
In Position Window, Rotary Mode(2),(3),(4),(5)
Sets the maximum position loop deviation allowed. If axis is not within this value at block end, the
block will not be completed, and NO ERROR WILL BE PRESENT.
Cxx.025
Cxx.032
Waypoints 0 - 7(2),(3),(4),(5)
Are used to set actual axis positions to be monitored by the SPS program. If the absolute actual position
is equal to or greater than the value set in one of the parameters 25 - 32, the associated SPS signal
AxxS.WPn (n = 0 - 7) will become 1.
Cxx.037
Cxx.038
Cxx.047
Cxx.048
Cxx.049
Cxx.050
Rev C, 10/97
Parameters
3-13
IAE 74768
QUICK REFERENCE GUIDE
Cxx.051
Cxx.052
In Position Window(1)
In Position Window, Main Spindle Mode(2),(3),(4),(5)
Sets the maximum position loop deviation allowed. If axis is not within this value at block end, the
block will not be completed, and NO ERROR WILL BE PRESENT.
Cxx.053
Cxx.055
Cxx.057
Cxx.058
Cxx.059
Cxx.060
Cxx.061
Cxx.062, Cxx.065
Cxx.068, Cxx.071
Cxx.063, Cxx.066
Cxx.069, Cxx.072
3-14
Parameters
Rev C, 10/97
QUICK
Cxx.064, Cxx.067
Cxx.070, Cxx.073
IAE 74768
REFERENCE GUIDE
Cxx.074
Cxx.075
Cxx.076
Cxx.084
Cxx.086
Rev C, 10/97
Parameters
3-15
IAE 74768
QUICK REFERENCE GUIDE
4. NC Programming
4.1 NC Program Structure
The NC program must be generated as a clean ASCII file (no control characters e.g., character
format, etc.).
An NC program package contains all of the necessary part and/or process NC programs and
tool setup lists for each specified process. NC programs 1...99 and NC cycles (program 0) can
be contained for each process.
Each NC program (1...99) may contain an advance and reverse program and is assigned to one
of the available processes (0...6).
Up to 12 NC program package slots are immediately available in the MUI. All packages can be
(1),(2),(3)
archived on either the Hard Disk, Floppy Disk, or a Host computer.
Up to 99 NC program package slots are immediately available in the MUI. All packages can be
(1),(2),(3)
archived on either the Hard Disk, Floppy Disk, or a Host computer.
(1)
(4),(5)
4.2 NC Memory
The MT-CNC has 2 NC memories to store user data. Each can store the data of one NC program
package. They are referred to as NC-memory A and NC-memory B. The user can activate either
memory with functions of the MUI software or via the programmable controller program.
4.3 Advance Program
The advance program starts with the label with the NC-block number N0000, usually contains
the label .START, and ends with the NC-block that contains the NC-command BST (branch to
.START and stop) or the NC-command RET, program end with reset.
4.4 Reverse Program
The reverse program starts at the NC-block that contains the label .HOME and ends with NCcommand BST, usually to the label that marks the beginning of the advance program .START.
The reverse program can be programmed in program 0 or 99, so it can be used as a subroutine.
A reverse program may also be started at labels which have been specified as reverse vectors.
Reverse vectors are programmed in the advance program (see Reverse Vector) and are executed
first when starting a reverse program. The CNC will continue program execution at the label of the
last active reverse vector.
Rev C, 10/97
NC Programming
4-1
IAE 74768
QUICK REFERENCE GUIDE
NC-Block Number
Syntax: Nxxxx :x = 0000...9999
Each NC-block begins with the letter N. The block numbers are automatically generated
by the MUI when entered, and regenerated when a block is deleted.
4-2
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
G99
G48, G49
G09
G07
G51
G64
Rev C, 10/97
Grou
p
1
2
3
4
5
6
7
8
9
10
11
Active
Description
model
modal
modal
modal
modal
modal
modal
modal
modal
modal
modal
12
13
14
15
16
16
16
16
16
modal
modal
modal
modal
block
block
block
block
block
Type of Interpolation
Plane selection
Tool path compensation
Workpiece zero points and offsets
Diameter programming
Input dimensioning style, absolute/incremental
Feed programming
Spindle speed programming
Measuring Units (inch/metric)
Transition element of tool path correction
Block transition selection
(with/without lag finishing)
Feed definition for tool path correction
Tool length correction
Contouring mode (optimize feedrate changes)
Interpolation method
Dwell time
Thread cutting
Programmable zero offsets
Rigid tapping
Home axes
NC Programming
4-3
IAE 74768
QUICK REFERENCE GUIDE
Preparatory function
(G-code)
G75, G76
G77
G92
G93
G30, G31, G32
G72, G73
G78, G79
Note:
Grou
p
16
16
16
16
17
18
19
Active
Description
block
block
block
block
modal
modal
modal
It is possible to program more than one G-code in the same NC-block, provided they are NOT
of the same group and are compatible with each other. Leading zeros are omitted, i.e., G00
may be programmed as G0 or G00.
NC-block active G-codes can be read into a NC-variable only if programmed in the NC-block
together with the block active G-code. A value of -1 will be read otherwise.
G0
G1
G2
G3
Syntax:
G02 <endpoint><interpolation
parameters [I,J,K] or <radius [R]>
The coordinates following the G2/G3 define the end positions of the main axes (X,Y,Z), and
the interpolation parameters (I,J,K) specify the center of the circle in the active plane. The
circular movement to the arc endpoint is performed clockwise if G2 is active and
counterclockwise if G3 is active.
Circles may also be programmed by specifying the end point and radius value following the
letter R.
G4
Dwell Time*B
Syntax:
G04 F<time in seconds>
Specifies a programmed dwell time using an F word. The value following the letter F
specifies the time duration in seconds. (0.01...600 seconds). The F-word programmed
together with G04 can be programmed with three places to the left of the decimal point
and two places to the right. Only M, S, and Q functions can be programmed in the same
NC-block.
G6
4-4
NC Programming
G06
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Activates an algorithm for positioning with minimized lag (following error). Path velocity is
reduced to O before NC-block is completed. A following error only occurs within the 2ms
limits of the interpolation clock.
Rev C, 10/97
NC Programming
4-5
IAE 74768
QUICK REFERENCE GUIDE
G7
G8
G9
G15
Radius Programming*D[G16]
Syntax:
G15
For NC programs that involve turning applications, the programmed values will represent
the radius of the part.
G16
Diameter Programming*R[G15]
Syntax:
G16
For NC programs that involve turning applications, the programmed values will represent
the diameter of the part.
G17
XY Plane *P
Syntax:
G17
The Z-axis is perpendicular to the XY plane. Process parameter Bxx.004 specifies the
default plane activated on MT-CNC power on.
G18
ZX Plane*P
Syntax:
G18
The Y-axis is perpendicular to the ZX plane. Process parameter Bxx.004 specifies the
default plane activated on MT-CNC power on.
G19
YZ Plane*P
Syntax:
G19
The X-axis is perpendicular to the YZ plane. Process parameter Bxx.004 specifies the
default plane activated on MT-CNC power on.
G20
4-6
(4),(5)
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
(2),(3),(4),(5)
G30
G31
G32
G33
Thread Cutting*B
Syntax:
G33<end point><lead><starting angle>
Is used to machine cylindrical, face and taper threads with a constant pitch. The thread
lead is entered in addresses I, J and K however, no more than one interpolation
parameter can be programmed in a single thread NC-block. The interpolation parameters
I, J and K are programmed as unsigned incremental values. The interpolation
parameters I, J and K are assigned to axes X, Y and Z. The thread starting angle may
be programmed as a value from 0 to 360 degrees. in address P.
G36
G37
G38
(2),(3),(4),(5)
(4),(5)
(4),(5)
(4),(5)
Rev C, 10/97
(4),(5)
NC Programming
4-7
IAE 74768
QUICK REFERENCE GUIDE
4-8
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
G40
G41
G42
G43
G44
G47
G48
G49
G50
Rev C, 10/97
NC Programming
4-9
IAE 74768
QUICK REFERENCE GUIDE
G51
G52
G53
G54G59
Workpiece Zero Point *R[G52,G53]
Syntax:
G54-G59
Activates the coordinate offsets for one of up to six defined Workpiece Zero Points. The
coordinate offset G59 values (retentive) can be entered via the MUI or SOT.
G61
G62
G63
G64
G65
Floating Tapping*B
Syntax:
G65 <feed per spindle revolution[F]>
The feed axis follows the spindle with following error. This following error is not
compensated for when changing spindle direction. This function can only be used with a
floating tap. A spindle with a closed position loop is required (tension/compression).
G66
4-10
(4),(5)
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
This grinding specific function keeps the wheels surface speed (programmed in [m/s] or
[feet/sec]) constant, even though the wheel diameter defined in the tool data changes. The
spindle speed driving the wheel is immediately adjusted when the user modifies the data
that specifies the wheel diameter in the Active Tool data set via the MUI or SPS program.
Rev C, 10/97
NC Programming
4-11
IAE 74768
QUICK REFERENCE GUIDE
G70
G71
G72
G73
G74
Homing Cycle
Syntax:
G74 <axis name> <coordinate value> <feed>
All axes programmed in the NC-block will simultaneously (not interpolating) move to their
home position. If axis is being homed for the first time the feedrate is the value programmed
in parameter Cxx.019 (analog) and S-0-0041 (digital). If axis has been homed before the
CNC uses the currently active feedrate. the coordinate values of the programmed axes in a
G74 NC-block must be 0.
G75
G76
G77
NC-Block Restart/Re-Positioning
Syntax:
G77 <axis name> <coordinate value[0[>
G77 directs the CNC to establish for the programmed axis the original state. The sequence
and the velocity that is used to establish the state prior to the NC-program interruption is
contained in the NC-subroutine REPOS (similar to the homing NC-subroutine) that can be
executed in the operating mode automatic, semi automatic and manual.
(2),(3),(4),(5)
(2),(3),(4),(5)
4-12
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
N0036
location
N0037
G77 W0
N0038
N0039
N0040
G78
G79
(2),(3),(4),(5)
Scaling
The scaling factor can be used to modify dimensions to be moved of all machine axes via
programmable scaling factors. The activation and deactivation of the scaling function can
be programmed via G-functions in the NC-program.
Scaling can be switched on via G79 and remains modal active until canceled via G78 or at
the NC-program (RET, M2, M30 or BST) or via Control Reset. G78 cancels the scaling of all
axes.
Syntax:
G79 <Axis designation><scaling factor>
G78
;Scaling, OFF (all axes)
;Scaling, ON
G91
G92
G93
Rev C, 10/97
NC Programming
4-13
IAE 74768
QUICK REFERENCE GUIDE
G94
4-14
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
G95
G96
G97
G98
G99
The status of auxiliary functions is set to 1 in the SPS at the end of NC block
execution. The CNC stops execution for the process until the SPS acknowledges
(resets) the auxiliary function.
Rev C, 10/97
NC Programming
4-15
IAE 74768
QUICK REFERENCE GUIDE
The following describes how the user can define auxiliary M and Q-function acknowledgment from
the SPS:
At the end of motion (NC-block)
At the beginning of motion (NC-block)
At a later time (quick auxiliary functions) in the System and Process parameters
Auxiliary M and Q-functions can be programmed with an optional appended Q (for quick
i.e.,MQ806) as quick auxiliary functions if defined in the System and Process parameters as
acknowledged at a later time. Quick aux. functions can be checked later in the NC-program for
acknowledgment by appending the letter W (for wait, i.e., MW806). The NC stops NC-program
execution until the quick aux. function is acknowledged and continues if already acknowledged.
Spindles can be asynchronously accelerated/decelerated while continuing NC-block execution if
the OEM defined acknowledgment of the spindle control M-functions (Mj03, Mj04 and Mj05;
j=(1,2,3) as at a later time and the end user programs them with appended Q (MQj03, MQj04 and
MQj05).
Types of auxiliary NC-functions available
(1),(2),(3)
Auxiliary S-function
Syntax: Sx :x = 0...9999
Defined as auxiliary NC-function if NO main spindle is specified for that process. The
processes that control a main spindle are specified in the spindle axis parameter Cxx.000.
Only one S-function per NC-block, and integer numbers only.
Auxiliary M-function
Syntax: Mx :x = 0...399
M-function
M000, M001, M002, M030
M3 M4 M5 M13 M14
M103 M104 M105 M113 M114
M203 M204 M205 M213 M214
M303 M304 M305 M313 M314
M7 M8 M9 M107 M108 M109
M207 M208 M209
M307 M308 M309
M10 M11 M110 M111
M210 M211
M310 M311
M40 M41 M42 M43 M44
M140 M141 M142 M143 M144
M145
4-16
Group
1
2
Active
modal
modal
User Specific
yes
no
Description
Program control
Spindle 1 (S, S1) commands
3
4
5
6
7
8
9
10
11
modal
modal
modal
modal
modal
modal
modal
modal
modal
no
no
yes
yes
yes
yes
yes
yes
no if Cxx.74
= yes
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
M-function
M240 M241 M242 M243 M244
M245
M340 M341 M342 M343 M344
M345
M46 M47
M48 M49
M19 M119 M219 M319
Group
12
Active
modal
13
modal
14
15
16
modal
modal
block
User Specific
no if Cxx.74
= yes
no if Cxx.74
= yes
yes
yes
no
16
block
yes
Description
gear range selection
spindle 2 (S2)
gear range selection
spindle 3 (S3)
spindle (1-3) override
feedrate override
position spindle 1, 2, 3
(S, S1), (S2), (S3)
user specific usage
(M000,M001,M002,
(M046,M047)
(M048,M049)
(M103,M104,M105,
(M203,M204,M205,
(M303,M304,M305,
M107,M108,M109)
(M207,M208,M209)
(M307,M308,M309)
Rev C, 10/97
M030)
M113,M114)
M213,M214)
M313,M314)
Program Control
Spindle Override
Feedrate Override
Spindle S and S1 control commands
Spindle S2 control commands
Spindle S3 control commands
Spindle S and S1 coolant/lubricant
Spindle S2 coolant /lubricant
Spindle S3 coolant/lubricant
NC Programming
4-17
IAE 74768
QUICK REFERENCE GUIDE
10. (M110,M111)
11. (M210,M211)
12. (M310,M311)
13. (M140...M145)
14. (M240...M245)
15. (M340...M345)
16. (M119)
NOTE:
All user defined M-functions that do not belong to a specific functional group are
defined under group 16.
Auxiliary Q-Function
Syntax: Qx :x = 0...9999 Allows the user to specify 10000 more auxiliary functions. The Qfunctions are all user defined. Q-functions Q9000 to Q9999 are reserved for Indramat
specific functions starting with version 15VRS. Only one Q-function can be programmed
per NC-block.
Define Process
Syntax: DP_x :x = process/external mechanism number Informs the SPS that the specified
process will be needed during the NC program execution and used to initialize the specific
signals of the selected process. All other process control commands will be accepted by the
CNC only if the process has been defined first.
SP
Select Process
Syntax: SP_x_y :x = process/external mechanism number
: y = NC-program number 0...99
Selects the defined NC-program (0...99) for the specified process (0..31). NC-programs can
be selected while another NC-program is still executing. The last selected NC-program will
be executed with the next process advance or reverse.
RP
Reverse Process
Syntax: RP_x :x = process/external mechanism number The active advance program of the
specified process (0...31) is stopped immediately and the reverse program is executed when
this NC-command is used. The reverse program starts at the active reverse vector or
.HOME label.
AP
Advance Process
Syntax: AP_x :x = process/external mechanism number The currently selected advance
program is started immediately at NC-block number 0 .HOME label if no other program is
active in process (0...31). The management program will wait until an active NC-program is
finished and then start the selected program.
WP
4-18
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Lock Process
Syntax: LP_x :x = process/external mechanism number (0..31). Used in the management
program to hold or bypass operation of scheduled processes. This status must be held until
the management program is finished.
NOTE:
Rev C, 10/97
An error with immediate stop occurs if a process is defined and locked within the
same program. The PLC program contains USER logic that locks the
process/mechanism.
NC Programming
4-19
IAE 74768
QUICK REFERENCE GUIDE
POK
BST
The NC-command RET resets the active reverse vector to the label .HOME and
resets the NC-subroutine levels. The CNC will assume it is in the main NCprogram level, therefore the RET command is not allowed to be used in
subroutines.
HLT
Programmed Halt
Syntax: HLT
Interrupts the NC-program execution and the process waits for a new start signal. NCprogram execution will continue from this point once a new start signal is issued and no
reverse program has been executed.
BRA
Branch Absolute
Syntax: BRA_.label :refer to the NC-labels section
Once issued the NC-program branches to the defined label and continues the NC-program
execution.
JMP
Jump to NC-program
Syntax: JMP_x :x = NC-program number 0...99 or NC-variable
4-20
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Once issued the NC-program continues execution with the first NC-block of the defined NCprogram. The NC-program number can be programmed as a 2 digit decimal number or be
the integer contents (1...99) of a NC-variable.
NOTE:
4.12 Subroutines
The NC-program number 99 of each process can be used to store global NC-subroutines. These
global NC-subroutines can be then called via NC-command BSR in any NC-program of the process.
The CNC will first search the active NC-program for the NC-subroutines label and if not found the
CNC will search NC-program 99 of the same process for the NC-subroutine label.
NOTE:
JSR
BSR
Branch to Subroutine
Syntax: BSR_.label :refer to the NC-labels section
Identifies the NC-block where the NC-subroutine starts. The NC-command RTS is required
at the end of the NC-subroutine to return to the main NC-program.
RTS
Reverse Vectors
Syntax: REV_.label :refer to the NC-labels section
Each process of the MT-CNC has its own and independent reverse vector register. The label
identifies the NC-block where the NC-program execution continues if the reverse program is
started.
The NC-command REV loads the defined label as the active reverse vector, at the end of the
NC-block execution.
NOTE:
Each NC-program or NC-program 99 (if the same reverse program for all process
NC-programs) must contain the label .HOME to identify the beginning of the
basic reverse program.
The basic reverse vector .HOME is active after the MT-CNC power is switched on, NCprogram end (RET, BST) (M30, M02) and after a control reset for the process. In these cases
all other process reverse vectors and NC-subroutines levels are deleted.
Rev C, 10/97
NC Programming
4-21
IAE 74768
QUICK REFERENCE GUIDE
NOTE:
4-22
All labels defined with the NC-command REV must be available within the same
NC-program. The CNC does not search in the global NC-program 99 for a reverse
vector label.
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Branch if Referenced
Syntax: BRF.label :refer to the NC-labels section
A branch to the defined label is performed if all process axes are referenced (homed) and the
NC-command BRF is executed.
BES
BER
BEQ
Results may not always be zero because of the resolution. In such a case use
BMI and BPL.
BNE
BPL
BMI
Rev C, 10/97
NC Programming
4-23
IAE 74768
QUICK REFERENCE GUIDE
A branch to the NC-block starting with the defined label is performed if the result of the last
mathematical operation is less then zero.
4.16 NC-Events
NC-events are Boolean type variables that can be used in the NC-program, similar to markers in
SPS. NC-events can be set and reset in the NC-program, SPS program, MUI and SOT for each
process. NC-event status is retentive.
NC-events are identified by the process (optional) and the NC-event number. NC-events executed
without a process number default to the process in which they were programmed in a NC-program.
The character * can be used instead of a event number to denote all NC-events of the specified
process. Up to 244 NC-events are available in the MT-CNC. 32 local NC-events are allocated to
each process. When the process numbers are used for addressing, all 224 NC-events can be used
in a process.
Figure 5.16: Syntax for NC-Events
Syntax: event <process number>: <event number>
process number (1...6)
event number
(0...31, * (all))
SE
Set NC-Event
Sets the status of the specified NC-event to a binary status of 1. The event remains set
until reset with the NC-command RE. All events in a process can be set to 1 if the
character * is programmed for the NC-event number.
RE
NC-Event
Resets the status of the specified NC-event to a binary status of 0. The event remains
reset until it is set with the NC-command SE. MT-CNC power OFF does not reset NCevents. All events in a process can be set to 0 if the character * is programmed for the
NC-event number.
WES
WER
4-24
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
The control of and monitoring of interrupting NC-events is canceled at MT-CNC power off, end of
NC-program execution, jogging a process axis and if a control reset is performed for the process.
Rev C, 10/97
NC Programming
4-25
IAE 74768
QUICK REFERENCE GUIDE
DEV
EEV
BEV
JEV
Jump on Event
Syntax: JEV.labelx :refer to the NC-labels section
:x = event number
The defined process NC-event is monitored by the CNC after executing the NC-command
JEV. A NC-event status of 1 causes the CNC to continue execution at the NC-block with
the defined label. The JEV NC-command is not a NC-subroutine command and it is not
possible to return to the interrupted NC-block via the NC-command RTS.
CEV
(2),(3),(4),(5)
D-correction
nominal radius
G-codes (G)
M-codes (M)
Path acceleration limit (ACC)
Tool edge (E)
The character = must be used in the syntax to assign the result of a mathematical expression.
The assignment ends if the = is separated by one or more line feed or a space character (s).
4-26
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Constants
System
Constants
Operators
Commonly used symbols are used for the basic mathematical operations:
(+)
Addition
(-)
Subtraction
(*)
Multiplication
(/)
Division
(%)
Rest of integer division (Module)
4.19 NC-Functions
Mathematical functions can enclose their operands with parentheses,( and ). The operands of
functions can also be mathematical expressions, by which nesting of functions is possible.
ABS
Absolute value
Syntax: ABS(x) :x = number
The function ABS(x) provides the positive value of its operand.
INT
Integer
Syntax: INT(x) :x = number
The function INT(x) rounds off the value of the number.
SIN
Sine
Syntax: SIN(x) :x = number
The operand of the function SIN (X) depends on the active angle unit radians (NCcommand RAD) or degrees (NC-command DEG).
COS
Cosine
Syntax: COS(x) :x = number
The operand of the function COS (X) depends on the active angle unit radians (NCcommand RAD) or degrees (NC-command DEG).
TAN
Tangent
Syntax: TAN(x) :x = number
Rev C, 10/97
NC Programming
4-27
IAE 74768
QUICK REFERENCE GUIDE
NOTE:
4-28
The operand of the function TAN (X) depends on the active angle unit radians
(NC-command RAD) or degrees (NC-command DEG). The values (PI/2,-PI/2),
(+90,-90) are not defined and will result in a process error when used with TAN.
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
ASIN
Arc Sine
Syntax: ASIN(x) :x = number
NOTE:
The operand of the function ASIN (X) must be greater than -1 and less than 1
or a process error occurs.
The operand of the function ACOS (X) must be greater than -1 and less than
1 or a process error occurs.
10^
2^
LN
LG
The operand must be greater than 0 with function E^ to prevent a process error.
Rev C, 10/97
The operand of the function LG (X) must be greater than 0 to prevent a process
error.
NC Programming
4-29
IAE 74768
QUICK REFERENCE GUIDE
LD
The operand of the function LD (X) must be greater than 0 to prevent a process
error.
NMP
Digital drive parameter data can be read only into a NC-variable, and is written
to the drive at the end of NC-block execution. The assignment to a NC-variable
therefore can not be used as a branch condition. No additional operators besides
AXD are allowed in an NC-expression.
4.23 NC-Variables
A NC-variable represents a numerical value (Double REAL) which can be accessed in the NCprogram by using the NC-variable identifier @. The contents of NC-variables can be read from or
be written to using the NC-program , SPS program, the MUI and SOT. NC variable content is
retentive.
4-30
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
NOTE:
The NC-variables (100...255) are used in the standard Indramat NCsubroutines. Therefore they should not be used by the user, unless none of the
Indramat NC-subroutines are used.
Each MT-CNC process provides 256 NC-variables. A total of 1792 NC-variables are available in the
MT-CNC, which can be used independent on how many processes are defined.
The NC-variable is defined for the process it is programmed in, if the optional process number is
not defined.
Syntax: @x:p ;x = variable number 0..255
;p = process number 0..6
4.24 Spindle Selections
SPT
SPF
Rev C, 10/97
NC Programming
4-31
IAE 74768
QUICK REFERENCE GUIDE
If a new Offset Table is being activated, the active workpiece zero point is
canceled (G53 becomes active and all other offsets such as G50,G51,G52 are
deactivated).
The Offset Table number zero is activated by default. A selected Offset Table stays modal
(3),(4),(5)
active until the end of the NC-program (BST,RET) (M2, M30)
or until another Offset
Table is being activated.
NOTE: Preparatory functions are processed by the CNC before the NC-command O
however, the values for the preparatory functions (G54...G59) depend on the
active Offset Table. The NC-command O must be therefore be programmed in a
NC-block prior to these preparatory functions.
OTD
4-32
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
No data can be written to G50/G51, G52 and the Total offset shift, using the
NC-command OTD.
Axes cannot be associated and used in more than one process at any point of
time.
FAX
GAX
Rev C, 10/97
A process error is activated if ACC is programmed with a value that exceeds the
allowed range of (0...100%).
NC Programming
4-33
IAE 74768
QUICK REFERENCE GUIDE
The NC-command MTD (Machine Tool Data) can be used to read Machine Data elements in
the NC-program or to write data into Machine Data elements (if the element is not write
protected).
Page
Dim1
Dim2
Element
MTD([1..299],[-1000..+1000],[1000..+1000],[1..1000])
ElementNo.
Dimension
2
Dimension
1
Page-No.
Name
Symbol
Value
range
1..299
Page-No.
Page
Dimension 1
Dim1
min. value
..max.
value
Dimension 2
Dim2
min. value
..max.
value
Element-No.
Elemen
t
1..max.
value
Explanation
001 .. 099 Pages of Control Machine Data
100 .. 199 Pages of OEM-Machine Data
200 .. 299 Pages of User Machine Data
min. value: first value in the structure definition ( 1000)
max. value: second value in the structure definition
( +1000)
(max. value - min. value 1000)
min. value: first value in the structure definition ( 1000)
max. value: second value in the structure definition
( +1000)
(max. value - min. value 1000)
max. value 1000
4-34
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Rev C, 10/97
NC Programming
4-35
IAE 74768
QUICK REFERENCE GUIDE
S/T
L/D
TLD([0..6],[0],
[02]
[1999],[09],[135],[132])
TLD([0..6],[1],[19999999],[1999],[09],[135],[132])
Status
Data Element
Edge
Pocket / Index
No.
Storage [0..2] /
Tool Number
Addressing
Process
MODF_ON
MODF_OFF
(5)
LA_ON
LA_OFF
(5)
4-36
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
(5)
BBTPC
(5)
TL_RADIUS
Independent of the Tool Path correction of the extended Look Ahead function, the tool
path compensation of the MT-CNC should NOT be activated when executing polygon
courses.
(5)
[T-Nr., E-Nr.]
Value range: (1 T-Nr. 9999999, 1 E-Nr. 9)
With the help of the pre-defined fields TL_RADIUS[T-Nr., E-Nr.] the for the extended
Look Ahead function required tool radii can be defined centrally at the NC-program
begin. This allows to read the data from the Active Tool List at the time of NCprogram compilation and download.
In case that no T-Nr. or no E-Nr. is specified, the active T- or E-number in the active
tool spindle (SPTx) of the Active Tool List are used by the NC-compiler.
NOTE: In case the NC-compiler does not find in the NC-program definitions regarding
tool radii via T_RADIUS[T-Nr., E-Nr.], the NC-compiler accesses the maximum
and minimum tool radius of the corresponding tool in the Tool Setup List and
calculates the radius as follows:
Radius = * (R_min + R_max)
NOTE: If the tool radius path correction of the extended Look Ahead function is used
(TRC <> 0), the via the field TL_RADIUS[T-Nr., E-Nr.] specified tool radius must
exist at the time of processing when compiling the NC-program.
ADTRC
ACC_EFF
EFFective ACCeleration
Value range: (1..200%)
Rev C, 10/97
(5)
NC Programming
4-37
IAE 74768
QUICK REFERENCE GUIDE
In difference to the NC-command ACC, the command ACC_EFF does NOT limit the
maximum path acceleration specified in the process parameters, but modifies the
real path acceleration depending on the defined value.
4-38
NC Programming
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
ACD_COMP
Rev C, 10/97
(5)
NC Programming
4-39
IAE 74768
QUICK REFERENCE GUIDE
Bits
1
8
16
32
8
....
8
16
32
Initial value
0
0
0
0
(empty)
(empty)
0
0
0
8
16
32
0
0
0
REAL
32
0.0
TIME
Time value
32
T#0s
USINT
UINT
UDINT
Range
TRUE/FALSE, 1/0
Bit strings only,
numeric values cannot be
entered
Single character
String of 1 ... 255 characters
-128 127
-32768 32767
-2147483648 2147483647
0
255
0
65535
0
- 4294967295
Type:
:=
STR1
STR2
STRING
abc
STRING[10] abc
Reserved
number of bytes
256 byte
11 byte
Rev C, 10/97
5-1
IAE 74768
QUICK REFERENCE GUIDE
Names, element type, and sequence within a structure are defined by a declaration or the standard
library. The name of an element consists of the variable name and its own name, separated by a
period (.), (variablen_name.element_name).
The individual elements may belong to different data types. The following data element types are
employed:
Elementary data types
Structures.
Arrays can not yet be used as elements in a structure.
5.2.2 Arrays
#P CTTC[ EQPUKUVU QH UGXGTCN KPFKXKFWCN FCVC GNGOGPVU QH VJG UCOG FCVC V[RG VJCV CTG HWPEVKQPCNN[ EQTTGNCVGF HTQO VJG
EQPVTQNNGT OCPWHCEVWTGT U QT WUGT U RGTURGEVKXG
GI KPHQTOCVKQP CDQWV VJG UVQTCIG NQECVKQPU QH YQTMRKGEGU QP C RCNNGV
QT VJG VQQN OQWPVGF KP C VQQN EJCPIGT #EEQTFKPI VQ VJGKT FGUVKPCVKQP CTTC[U ECP DG WPKFKOGPUKQPCN QT OWNVK
FKOGPUKQPCN
OCZKOWO FKOGPUKQPCN 'CEJ FKOGPUKQP OC[ RQUUGUU C OCZKOWO QH GNGOGPVU 6JG OCZKOWO
Logic instructions
Jumps, calls,
return (cond. and
uncond.)
Comparison
instructions
Arithmetic
instructions
LD
LDN
ST
STN
AND
ANDN
OR
ORN
XOR
XORN
JMP
JMPC
JMPN
EQ
EQN
NE
NEN
GT
GE
LT
LE
ADD
SUB
MUL
DIV
MOD
SET
SETC
SETCN
RES
RESC
RESCN
AND(
ANDN(
OR(
ORN(
XOR(
XORN(
CAL
CALC
CALCN
RET
RETC
RETCN
EQ
EQN(
NE(
NEN(
GT(
GE(
LT(
LE(
ADD
SUB(
MUL(
DIV(
MOD(
5-2
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
LD
LDN
ST
STN
The 'AND function' operates bit by bit. Bit positions of the same significance are
interconnected if the AND function is applied to BYTE, WORD, DWORD data.
AND ANDing the current value and the operand value.
ANDN ANDing the current value and the bit-by-bit negated operand value.
AND( ANDing the current value and the value of the subsequent expression.
ANDN( ANDing the current value and the bit-by-bit negated value of the subsequent
expression.
)
Termination of an expression.
Example:
)%' RQO\
AND functions
,/
7\SH
/' ERRO
ERRO
$1' ERRO
ERRO
ERRO
67 ERRO
ERRO
ERRO
ERRO
ERRO %22/
ERRO %22/
ERRO %22/
OR functions
The 'OR function' operates bit by bit. Bit positions of the same significance are
interconnected if the OR function is applied to BYTE, WORD, DWORD data.
OR
ORing the current value and the operand value.
ORN ORing the current value and the bit-by-bit negated operand value.
OR(
ORing the current value and the value of the subsequent expression.
ORN( ORing the current value and the bit-by-bit negated value of the subsequent
expression.
)
Termination of an expression.
Rev C, 10/97
5-3
IAE 74768
QUICK REFERENCE GUIDE
Example:
OR functions
)%' RQO\
,/
7\SH
!
/' ERRO
ERRO
25 ERRO
ERRO
ERRO
67 ERRO
ERRO
ERRO
ERRO
XOR
ERRO %22/
ERRO %22/
ERRO %22/
The 'XOR function' operates bit by bit. Bit positions of the same significance are
interconnected if the XOR function is applied to BYTE, WORD, DWORD data.
XOR XORing the current value and the operand value.
XORN XORing the current value and the bit-by-bit negated operand value.
XOR( XORing the current value and the value of the subsequent expression.
XORN( XORing the current value and the bit-by-bit negated value of the subsequent
expression.
)
Termination of an expression.
Examples:
XOR functions
/$' )%'
,/
7\SH
N
/' ERRO
ERRO
;25 ERRO
ERRO
ERRO
67 ERRO
ERRO
ERRO
ERRO
ERRO %22/
ERRO %22/
ERRO %22/
Jumps are elementary instructions that are used for branching in the instruction
list. They always lead to a jump target, the label. In order to maintain compatibility
in converting instruction list, ladder diagram, and function block diagram into each
other, a label is only permitted at the beginning of a network, or before an 'LD' or
'LDN' instruction.
A jump can be executed 'conditionally' or 'unconditionally'.
JMP
mLabel
unconditional jump to the label mLabel
JMPC mLabel
Jump to the label mLabel if the current value is
'TRUE'.
JMPCN
Jump to the label mLabel if the current value is
mLabel
FALSE
NOTE: Ensure that using jumps within an instruction list does not lead to an endless
loop. Check the termination condition of upward jumps.
Function Block Calls Function block calls permit the previously declared assignment of an FB
type to be called within the instruction list. The call can be 'conditional' or
'unconditional'.
5-4
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
CAL
fb1
CALC
fb1
CALCN fb1
Rev C, 10/97
5-5
IAE 74768
QUICK REFERENCE GUIDE
The arithmetic instruction Addition - ADD enables numbers of the same type to
be added. The result is of the same type as the Summation.
]
]
Example:
/'
$''
67
]
]
]
]
] ]
] (UURU PHVVDJHV
SPD[6,17
WRWDO
SPD[ (UURU)OJ
SPD[,17
JUHDWHU WKDQRYHUIORZ (UURU1U
SPD[',17
SPD[
(UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
PPD[6,17
PPD[,17
PPD[',17
WRWDO
PPD[
(UURU)OJ
OHVV WKDQ RYHUIORZ (UURU1U
PPD[
(UURU7\S
SUB
The arithmetic instruction Subtraction - SUB permits numbers of the same type
to be subtracted. The result is of the same type as the input variables.
]
]
Example:
]
/'
68%
67
]
]
]
] ]
] (UURU PHVVDJHV
SPD[6,17
GLIIHUHQFH SPD[ (UURU)OJ
SPD[,17
JUHDWHU WKDQRYHUIORZ (UURU1U
SPD[',17
SPD[
(UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
PPD[6,17
GLIIHUHQFH PPD[ (UURU)OJ
PPD[,17
OHVV WKDQ RYHUIORZ (UURU1U
PPD[',17
PPD[
(UURU7\S
5-6
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
MUL
]
]
Example:
]
/' ]
08/ ]
67 ]
] ]
] (UURU PHVVDJHV
SPD[6,17
SURGXFW
SPD[ (UURU)OJ
SPD[,17
JUHDWHU WKDQRYHUIORZ (UURU1U
SPD[',17
SPD[ ,17
(UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
PPD[6,17
PPD[,17
PPD[',17
SURGXFW PPD[
(UURU)OJ
OHVV WKDQ RYHUIORZ (UURU1U
PPD[
(UURU7\S
DIV
The arithmetic instruction Division - DIV is used to perform the division of two
numbers of the same type. The result is the integer part, and of the same type as
the input variables.
NOTE: Assigning default-initialized variables to the function will lead to an error.
]
]
Example:
]
/' ]
',9 ]
67 ]
] ]
] (UURU PHVVDJHV
(UURU)OJ
SPD[6,17
(UURU1U
SPD[,17
(UURU7\S
SPD[',17
PPD[6,17
PPD[,17
SPD[ (UURU)OJ
SPD[ (UURU1U
PPD[ (UURU7\S
Rev C, 10/97
5-7
IAE 74768
QUICK REFERENCE GUIDE
MOD
The arithmetic instruction Modulo division - MOD is used to perform the Modulo
division of two numbers of the same type (remainder from the division 'DIV'). The
result is of the same type as the input variables (not defined for REAL).
NOTE: Assigning default-initialized variables to the function will lead to an error.
02'
]
]
Example:
/' ]
02' ]
67 ]
]
] ]
] (UURU PHVVDJHV
(UURU)OJ
SPD[6,17
(UURU1U
SPD[,17
(UURU7\S
SPD[',17
PPD[6,17
PPD[,17
PPD[ (UURU)OJ (UURU1U
SPD[ (UURU7\S
5.3.6 Comparators
Comparators are expressions that are used for comparing operands and expressions with the
current value:
the magnitude of two numbers of the same type; the equality/inequality of two bit
strings of the same type; the alphabetic order of two characters (CHAR) or character
strings (STRING); two time values (TIME). The result is a Boolean value. An error is
not possible. The ErrorFlg, ErrorNr, ErrorTyp error variables will therefore not be
influenced.
GT
/$' )%'
,/
7\SH
/'
]
*7
]
E
67
]
]
E
5-8
]
]
E
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
GE
The output of the comparison function Greater than or equal to - GE is '1' if the
variable/constant at the upper input (current value) is greater than or equal to the
variable/constant at the lower input. Otherwise, the output will be '0'.
Comparing numbers:
/$' )%'
,/
7\SH
/'
]
*(
]
E
67
]
]
E
EQ
]
]
E
/$' )%'
,/
7\SH
/'
]
(4
]
E
67
]
]
E
NE
]
]
E
] ,17
] ,17
E %22/
/$' )%'
,/
7\SH
!
/'
]
1(
]
E
67
]
]
E
Rev C, 10/97
]
]
E
] ,17
] ,17
E %22/
5-9
IAE 74768
QUICK REFERENCE GUIDE
LE
The output of the comparison function Less than or equal to - LE is '1' if the
variable/constant at the upper input (current value) is less than or equal to the
variable/constant at the lower input. Otherwise, the output will be '0'.
Comparing numbers:
/$' )%'
,/
7\SH
/'
]
/(
]
E
67
]
]
E
LT
]
]
E
/$' )%'
,/
7\SH
/'
]
/7
]
E
67
]
]
E
]
]
E
] ,17
] ,17
E %22/
5-10
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Contacts: a
NO
E
3
NC
E
1
negative
edge
positive
edge
Relays:
ST a
negate +
relay
set
2S
Jump:
reset
2R
STN a
set
relay
reset
!!m
JMPC m
JMP m
2!m
Block return:
RET!
2RET!
RETC
Return from FB/FK if network result is 1
RET
Unconditional return from FB/FK
RETCN Return from FB/FK if network result is 0
Intermediate flag:
a
Rev C, 10/97
ST a
(Boolean values)
5-11
IAE 74768
QUICK REFERENCE GUIDE
5-12
ST v
(non-Boolean values)
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
5.5 Operations
5.5.1 Logic Bit and Bit String Operations :=, AND, OR, XOR
:=
The Results as operation enables the input variable value to be transferred to the
operation's output variable.
Example:
)%' RQO\
,/
7\SH
/' ELW
ELW
ELW
67 ELW
ELW
ELW
AND
ELW %22/
ELW %22/
The AND operation manipulates individual bits. Bits of the same position will be
interconnected if it is used on BYTE, WORD, DWORD.
Example:
)%' RQO\
,/
7\SH
/' ERRO
ERRO
$1' ERRO
ERRO
ERRO
67 ERRO
ERRO
ERRO
ERRO
OR
ERRO %22/
ERRO %22/
ERRO %22/
The OR operation manipulates individual bits. Bits of the same position will be
interconnected if it is used on BYTE, WORD, DWORD.
Example:
)%' RQO\
,/
7\SH
!
/' ERRO
ERRO
25 ERRO
ERRO
ERRO
67 ERRO
ERRO
ERRO
ERRO
Rev C, 10/97
ERRO %22/
ERRO %22/
ERRO %22/
5-13
IAE 74768
QUICK REFERENCE GUIDE
XOR
The XOR operation manipulates individual bits. Bits of the same position will be
interconnected if it is used on BYTE, WORD, DWORD.
Example:
/$' )%'
,/
7\SH
N
/' ERRO
ERRO
;25 ERRO
ERRO
ERRO
67 ERRO
ERRO
ERRO
ERRO
ERRO %22/
ERRO %22/
ERRO %22/
The arithmetic operation Addition enables numbers of the same type to be added.
The result is of the same type as the summations.
]
]
Example:
]
/'
$''
67
]
]
]
] ]
] (UURU PHVVDJHV
SPD[6,17
WRWDO
SPD[ (UURU)OJ
SPD[,17
SPD[',17
JUHDWHU WKDQRYHUIORZ (UURU1U
SPD[
(UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
PPD[6,17
PPD[,17
PPD[',17
WRWDO
PPD[
(UURU)OJ
OHVV WKDQ RYHUIORZ (UURU1U
PPD[
(UURU7\S
5-14
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
SUB
]
]
Example:
]
/'
68%
67
]
]
]
] ]
] (UURU PHVVDJHV
SPD[6,17
GLIIHUHQFH SPD[ (UURU)OJ
SPD[,17
SPD[',17
JUHDWHU WKDQRYHUIORZ (UURU1U
SPD[
(UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
PPD[6,17
GLIIHUHQFH PPD[ (UURU)OJ
PPD[,17
PPD[',17
OHVV WKDQ RYHUIORZ (UURU1U
PPD[
(UURU7\S
MUL
]
]
Example:
]
/' ]
08/ ]
67 ]
] ]
] (UURU PHVVDJHV
SPD[6,17
SURGXFW
SPD[ (UURU)OJ
SPD[,17
SPD[',17
JUHDWHU WKDQRYHUIORZ (UURU1U
SPD[
(UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
PPD[6,17
PPD[,17
PPD[',17
SURGXFW
PPD[
(UURU)OJ
OHVV WKDQ RYHUIORZ (UURU1U
PPD[
(UURU7\S
Rev C, 10/97
5-15
IAE 74768
QUICK REFERENCE GUIDE
DIV
The arithmetic operation Division is used to perform the division of two numbers of
the same type. The result is the integer part, and of the same type as the input
variables.
NOTE: Assigning default-initialized variables to the function will lead to an error.
]
]
Example:
]
/' ]
',9 ]
67 ]
] ]
] (UURU PHVVDJHV
(UURU)OJ
SPD[6,17
(UURU1U
SPD[,17
SPD[',17
(UURU7\S
PPD[6,17
PPD[,17
PPD[',17
SPD[ (UURU)OJ
SPD[ (UURU1U
PPD[ (UURU7\S
MOD
The arithmetic operation Modulo division is used to perform the Modulo division of
two numbers of the same type (remainder from the division 'DIV'). The result is of
the same type as the input variables (not defined for REAL).
NOTE: Assigning default-initialized variables to the function will lead to an error.
02'
]
]
Example:
]
/' ]
02' ]
67 ]
] ]
] (UURU PHVVDJHV
(UURU)OJ
SPD[6,17
(UURU1U
SPD[,17
SPD[',17
(UURU7\S
PPD[6,17
PPD[,17
PPD[',17
PPD[ (UURU)OJ (UURU1U
SPD[ (UURU7\S
5-16
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
5.5.3 Comparators
Comparators are instructions that are used for comparing operands and expressions with the
current value: the magnitude of two numbers of the same type; the equality/inequality of two bit
strings of the same type; the alphabetic order of two characters (CHAR) or character strings
(STRING); time values (TIME).
The result is a Boolean value. The error variables:
ErrorFlg,
ErrorNr, and
ErrorTyp
will not be influenced since an error is not possible.
GT
The Boolean output of the comparator Greater than is '1' if the variable/constant
at the upper input (current value) is greater than the variable/constant at the lower
input. Otherwise, the output will be '0'.
Comparing numbers:
/$')%'
,/
7\SH
/'
]
*7
]
E
67
]
]
E
GE
]
]
E
The Boolean output of the comparator Greater than or equal to is '1' if the
variable/constant at the upper input (current value) is greater than or equal to the
variable/constant at the lower input. Otherwise, the output will be '0'.
Comparing numbers:USINT, UINT, UDINT,SINT, INT, DINT, REAL
/$')%'
,/
7\SH
/'
]
]
*(
]
]
E
67
E
]
]
E
Rev C, 10/97
5-17
IAE 74768
QUICK REFERENCE GUIDE
EQ
The Boolean output of the comparator Equal to is '1' if the variable/constant at the
upper input (current value) is equal to the variable/constant at the lower input.
Otherwise, the output will be '0'.
Comparing numbers:USINT, UINT, UDINT,SINT, INT, DINT, REAL
/$')%'
,/
7\SH
/'
]
(4
]
E
67
]
]
E
NE
]
]
E
] ,17
] ,17
E %22/
The Boolean output of the comparator Not equal to is '1' if the variable/constant at
the upper input (current value) is not equal to the variable/constant at the lower
input. Otherwise, the output will be '0'.
Comparing numbers:USINT, UINT, UDINT,SINT, INT, DINT, REAL
/$')%'
,/
7\SH
!
/'
]
1(
]
E
67
]
]
E
LE
]
]
E
] ,17
] ,17
E %22/
The Boolean output of the comparator Less than or equal to is '1' if the
variable/constant at the upper input (current value) is less than or equal to the
variable/constant at the lower input. Otherwise, the output will be '0'.
Comparing numbers:USINT, UINT, UDINT,SINT, INT, DINT, REAL
/$')%'
,/
7\SH
/'
]
/(
]
E
67
]
]
E
5-18
]
]
E
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
LT
The Boolean output of the comparison function Less than is '1' if the
variable/constant at the upper input (current value) is less than the
variable/constant at the lower input. Otherwise, the output will be '0'.
Comparing numbers:USINT, UINT, UDINT,SINT, INT, DINT, REAL
/$')%'
,/
7\SH
/'
]
/7
]
E
67
]
]
E
]
]
E
] ,17
] ,17
E %22/
5.6 Functions
5.6.1 Standard Functions
The standard functions and standard operations for the INDRAMAT control system result from EN
61131-3. Standard functions are available in all programming languages of the system. They may
directly be used, but cannot be modified.
Import not necessary
BCD_INT
The BCD_INT function converts a BCD word into an INT number. The two nibbles
are converted separately and the result is superimposed. The result is invalid of one
of the nibbles shows one of the following assignments:
1010, 1011, 1100, 1101, 1110, 1111.
Error message:
%&'B,17
ZRUG :25'
ZRUG%&'B
LQW
LQW ,17
ZRUG
LQW
LQYDOLG
LQYDOLG
DQG VR RQ
LQYDOLG
Rev C, 10/97
5-19
IAE 74768
QUICK REFERENCE GUIDE
BYT_CHAR
The BYT_CHAR function converts a byte into a character of the extended ASCII
character set.
%<7B&+$5
E\WH%<7(B
FKDU
Example 1:
E\WH
Example 2:
E\WH
FKDU
E\WH %<7(
FKDU &+$5
FKDU
The BYT_GRAY function clears the higher-order nibble of the input variable, and
converts the lower-order nibble according to the following table.
%<7B*5$<
E\WH %<7(
E\WH%&'B
E\WH
E\WH %<7(
E\WH
E\WH
%<7(B,17
E\WH%<7(B
LQW
E\WH %<7(
LQW ,17
E\WH
LQW
Errors are not possible: ErrorFlg: 0, ErrorNr: 0, ErrorTyp: 0.
5-20
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
BYTE_USI
%<7(B86,
E\WH%<7(B
XVLQW
E\WH
XVLQW
E\WH %<7(
XVLQW 86,17
The CHAR_BYT converts a character of the extended ASCII character set into a
byte.
&+$5B%<7
FKDU&+$5B
E\WH
FKDU
E\WH
DINT_DW
',17B':
GLQW ',17
GLQW',17B
GZRUG
GZRUG ':25'
GLQW
GZRUG
)))) ))))
))) ))))
Errors are not possible:
Rev C, 10/97
FKDU &+$5
E\WH %<7(
5-21
IAE 74768
QUICK REFERENCE GUIDE
DINT_INT
DINT_UDI
The DINT_UDI function converts the DINT data type into the UDINT data type. Type
conversion generates an error if a negative value is applied.
',17B,17
GLQW ',17
GLQW',17B
LQW
LQW ,17
',17B8',
GLQW ',17
GLQW ',17B
XGLQW
XGLQW 8',17
GLQW
XGLQW
(UURU PHVVDJHV
(UURU)OJ
XQGHUOLPLW
(UURU1U
(UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
5-22
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
DINT_TIM
',17B7,0
GLQW ',17
GLQW',17B
WLPH WLPH 7,0(
GLQW
WLPH
(UURU PHVVDJHV
PV
(UURU)OJ
(UURU1U
PV
(UURU7\S
PV
(UURU)OJ
(UURU1U
GKPVPV (UURU7\S
DW_DINT
':B',17
GZRUG ':25'
GZRUG':25'B
GLQW
GLQW ',17
GZRUG
GLQW
)))) ))))
))) ))))
Errors are not possible:
Rev C, 10/97
5-23
IAE 74768
QUICK REFERENCE GUIDE
GRAY_BYT
The GRAY_BYT function clears the higher-order nibble of the input variable, and
converts the lower-order nibble according to the following table.
*5$<B%<7
E\WH %<7(
E\WH*5$<B
E\WH
E\WH %<7(
E\WH
E\WH
INT_BCD
5-24
The INT_BCD function converts the INT number into a BCD word.
,17B%&'
LQW ,17
LQW,17B
ZRUG
ZRUG :25'
LQW
ZRUG
(UURU PHVVDJHV
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
INT_BYTE
INT_DINT
,17B%<7(
LQW ,17
LQW,17B
E\WH
E\WH %<7(
LQW
E\WH
(UURU PHVVDJHV
,17B',17
LQW,17B
GLQW
LQW GLQW
Errors are not possible:
INT_STR
LQW ,17
GLQW ',17
The INT_STR function converts an INT number into a character string (STRING).
,17B675
LQW,17B
VWULQJ
LQW
,17
VWULQJ 675,1*
LQW
VWULQJ
Rev C, 10/97
5-25
IAE 74768
QUICK REFERENCE GUIDE
INT_USI
INT_WORD
,17B86,
LQW
,17
LQW,17B
XVLQW XVLQW 86,17
LQW
XVLQW (UURU PHVVDJHV
LQW
(UURU)OJ (UURU1U (UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
LQW !
(UURU)OJ (UURU1U (UURU7\S
,17B:25'
LQW ,17
LQW,17B
ZRUG
ZRUG :25'
LQW
ZRUG
SBCD_INT
The SBCD_INT function converts a BCD byte into an INT number. The two nibbles
are converted separately and the result is superimposed. The result is invalid of one
of the nibbles shows one of the following assignments:
1010, 1011, 1100, 1101, 1110, 1111.
Error message:
ErrorFlg: 1, ErrorNr: 4, ErrorTyp: -51,
6%&'B,17
E\WH6%&'B
LQW
E\WH
LQW
LQYDOLG
LQYDOLG
5-26
E\WH %<7(
LQW ,17
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
UDI_DINT
USI_BYTE
8',B',17
XGLQW 8',17
XGLQW 8',17B
GLQW
GLQW ',17
XLQW
GLQW
(UURU)OJ
(UURU1U
(UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
86,B%<7(
XVLQW86,17B
E\WH
XVLQW
E\WH
XVLQW 86,17
E\WH %<7(
86,B,17
XVLQW86,17B
LQW
XVLQW LQW
XVLQW 86,17
LQW
,17
Rev C, 10/97
5-27
IAE 74768
QUICK REFERENCE GUIDE
STR_INT
The STR_INT function converts a character string (STRING) into an INT number.
675B,17
VWULQJ 675,1*
VWULQJ675,1*B LQW
LQW
,17
VWULQJ
LQW (UURU PHVVDJHV
(UURU)OJ
(UURU1U
(UURU)OJ
(UURU1U
(UURU7\S
(UURU)OJ
(UURU1U
3DXO
(UURU)OJ
(UURU1U
(UURU7\S
An empty STRING is converted into the INT number 0. There will be no error
message.
TIM_DINT
The TIM_DINT function converts a time value into an double INTEGER value of the
unit milliseconds.
7,0B',17
WLPH 7,0(
WLPH7,0(B
GLQW
GLQW ',17
WLPH GLQW
(UURU PHVVDJHV
PV
(UURU)OJ
(UURU1U
GKPVPV (UURU7\S
JUHDWHU WKDQ
(UURU)OJ
GKPVPV
(UURU1U
(UURU7\S
WORD_INT
:25'B,17
ZRUG :25'
ZRUG:25'B
LQW
LQW ,17
ZRUG
LQW
5-28
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
As a result, the numeric function ABS_INT returns the magnitude of the INTEGER
number that is applied to the input.
(Only available for INT numbers)
$%6B,17
,QW,17B
,QW
Examples:
,QW ,17
,QW ,17
,QW
,QW
(UURU PHVVDJHV
(UURU)OJ
(UURU1U
(UURU7\S
(UURU)OJ
(UURU1U
(UURU7\S
SIGN_INT
As a result, the numeric function SIGN_INT returns the sign of the INTEGER
number that is applied to the input.
(Only available for INT numbers)
6,*1B,17
,QW,17B
VLJQ
Examples:
,QW ,17
VLJQ %22/
,QW VLJQ
Errors are not possible: ErrorFlg: 0, ErrorNr: 0, ErrorTyp: 0.
5.6.3 Functions for Time-to-Integer Conversion
TIM_DAY
TIM_HOUR
Rev C, 10/97
7,0B'$<
7,0( 7,0(B
,17
7,0B+285
7,0( 7,0(B
,17
5-29
IAE 74768
QUICK REFERENCE GUIDE
TIM_MIN
TIM_SEC
TIM_MS
7,0B0,1
7,0( 7,0(B
,17
7,0B6(&
7,0( 7,0(B
,17
7,0B06
7,0( 7,0(B
,17
5-30
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
0$.(7,0(
,17 '$<
7,0(B 7,0(
,17 +285
,17 0,1
,17 6(&
,17 06
6+/B%<7(
E\WH%<7(B
LQW1B
E\WH
Examples:
E\WH %<7(
LQW ,17
E\WH %<7(
DQ\
QHJDWLYH E\WH
DQ\
!
E\WH
The second input (type INT) defines the number of shift cycles. With a variable of k
bits, a minimum of 0 and a maximum of (k-1) shift cycles are permitted. The
command will not be executed, and the error variables ErrorFlg, ErrorNr and
ErrorTyp will be set if the number of shift cycles is negative or greater than (k-1).
Rev C, 10/97
5-31
IAE 74768
QUICK REFERENCE GUIDE
SHR_BYTE,
SHR_WORD,
SHR_DW
The SHR_BYTE, SHR_WORD, SHR_DW bit string functions permit the bit string
that is applied to the upper function input to be shifted to the right, bit by bit. The
free bits are filled with '0'.
6+5B%<7(
E\WH%<7(B
LQW1B
E\WH
E\WH %<7(
LQW ,17
E\WH %<7(
Examples:
YDOLG DUH
LQW
DQ\
QHJDWLYH E\WH
DQ\
!
E\WH
The second input (type INT) defines the number of shift cycles. With a variable of k
bits, a minimum of 0 and a maximum of (k-1) shift cycles are permitted. The
command will not be executed, and the error variables ErrorFlg, ErrorNr and
ErrorTyp will be set if the number of shift cycles is negative or greater than (k-1).
5-32
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
ROL_BYTE,
ROL_WORD,
ROL_DW
The ROL_BYTE, ROL_WORD, ROL_DW bit string functions permit the bit string
that is applied to the upper function input to be rotated to the left, bit by bit. The
outer left bit rotates to the right outside.
52/B%<7(
E\WH%<7(B
LQW1B
E\WH
E\WH %<7(
LQW ,17
E\WH %<7(
Examples:
YDOLG DUH
LQW
DQ\
QHJDWLYH E\WH
DQ\
!
E\WH
The second input (type INT) defines the number of shift cycles.
With a variable of k bits, a minimum of 0 and a maximum of (k-1) shift cycles are
permitted.
The command will not be executed, and the error variables ErrorFlg, ErrorNr and
ErrorTyp will be set if the number of shift cycles is negative or greater than (k-1).
Rev C, 10/97
5-33
IAE 74768
QUICK REFERENCE GUIDE
ROR_BYTE,
ROR_WORD,
ROR_DW
The ROR_BYTE, ROR_WORD, ROR_DW bit string functions permit the bit string
that is applied to the upper function input to be rotated to the right, bit by bit. The
outer right bit rotates to the left outside.
525B%<7(
E\WH%<7(B
LQW1B
E\WH
E\WH %<7(
LQW ,17
E\WH %<7(
Examples:
YDOLG DUH
LQW
DQ\
QHJDWLYH E\WH
DQ\
!
E\WH
The second input (type INT) defines the number of shift cycles. With a variable of k
bits, a minimum of 0 and a maximum of (k-1) shift cycles are permitted. The
command will not be executed, and the error variables ErrorFlg, ErrorNr and
ErrorTyp will be set if the number of shift cycles is negative or greater than (k-1).
CONCAT_B
The CONCAT_B bit string function combines the two adjacent bytes to form a word.
The byte at the upper input becomes the high byte, the byte at the lower input
becomes the low byte of the word.
&21&$7B%
E\WH %<7(
E\WH+%<7(B
E\WH %<7(
E\WH/%<7(B
ZRUG
ZRUG :25'
E\WH E\WH
ZRUG
(UURU)OJ (UURU1U (UURU7\S
& &
CONCAT_W
The CONCAT_W bit string function combines the two adjacent words to form a
double word. The word at the upper input becomes the high word, the word at the
lower input becomes the low word of the DWORD.
&21&$7B:
ZRUG :25'
ZRUG+:25'B
ZRUG :25'
ZRUG/:25'B
GZRUG
GZRUG ':25'
ZRUG ZRUG
GZRUG
(UURU)OJ (UURU1U (UURU7\S
5-34
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
H_BYTE
The H_BYTE bit string function removes the most significant byte of the word that
is applied to the input.
+B%<7(
ZRUG :25'
ZRUG:25'B
E\WH
E\WH %<7(
ZRUG
E\WH (UURU)OJ (UURU1U (UURU7\S
&
&
L_BYTE
The L_BYTE bit string function removes the least significant byte of the word that
is applied to the input.
/B%<7(
ZRUG :25'
ZRUG:25'B
E\WH
E\WH %<7(
ZRUG
E\WH (UURU)OJ (UURU1U (UURU7\S
&
H_WORD
The H_WORD bit string function removes the most significant word of the double
word that is applied to the input.
+B:25'
GZRUG ':25'
GZRUG':25'B
ZRUG
ZRUG :25'
GZRUG
ZRUG (UURU)OJ (UURU1U (UURU7\S
L_WORD
The L_WORD bit string function removes the least significant word of the double
word that is applied to the input.
/B:25'
GZRUG ':25'
GZRUG':25'B
ZRUG
ZRUG :25'
GZRUG
ZRUG (UURU)OJ (UURU1U (UURU7\S
The LEN character string function determines the length of a character string. An
error message is not possible.
/(1
VWULQJ,1B
,QW
VWULQJ
,QW
D%&
$%
VWULQJ 675,1*
,QW
,17
Rev C, 10/97
5-35
IAE 74768
QUICK REFERENCE GUIDE
LEFT
The LEFT character string function returns the 'L' characters that are furthest left.
Error messages
are issued if:
L< 0
negative number of characters
LEN(string1)
limit exceeded
/()7
VWULQJ,1B
,QW/B
VWULQJ
VWULQJ 675,1*
,QW
,17
VWULQJ 675,1*
Example:
DEFGH
DEFGH
DE
DEFGH
DEFGH
DEFGH
DEFGH
OLPLW H[FHHGHG
RIGHT
The RIGHT character string function returns the 'L' characters that are furthest
right. Error messages
are issued if:
L< 0
negative number of characters
L> LEN(string3) limit exceeded
5,*+7
VWULQJ,1B
,QW/B
VWULQJ
VWULQJ 675,1*
,QW
,17
VWULQJ 675,1*
Examples:
DEFGH
DEFGH
GH
DEFGH
DEFGH
DEFGH
DEFGH
OLPLW H[FHHGHG
5-36
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
MID
The MID character string function determines the next 'L' characters to the right of
position 'P'.
Error messages
are issued if:
L< 0
negative number of characters
P< 1
display before position 1
L> LEN(string5)+1-P,
limit exceeded
NOTE: Assigning default-initialized variables to the function will lead to an error.
0,'
VWULQJ 675,1*
VWULQJ,1B
,QW
,17
,QW/B
,QW
,17
,QW3B
VWULQJ
VWULQJ 675,1*
DEFGH
DEFGH
DE
DEFGH
DEFGH
DEFGH
DEFGH
OLPLW H[FHHGHG
DEFGH
EF
DEFGH
EFG
DEFGH
EFGH
CONCAT_S
The CONCAT_S character string function enables the lower character string to be
appended to the upper one.
&21&$7B6
VWULQJ,1B
VWULQJ,1B
VWULQJ
DEF
DEF
DEF
GH
DEFGH
Rev C, 10/97
VWULQJ 675,1*
VWULQJ 675,1*
VWULQJ 675,1*
5-37
IAE 74768
QUICK REFERENCE GUIDE
INSERT
The INSERT character string function enables the lower character string to be
inserted, after the position 'P', into the upper character string. Error messages are
issued if:
P< 0
insertion before position 0
P> LEN(string5) limit exceeded
,16(57
VWULQJ 675,1*
VWULQJ,1B
VWULQJ 675,1*
VWULQJ,1B
,QW
,17
,QW3B
VWULQJ VWULQJ 675,1*
GH
GH
DEF
GH
GHDEF
DEF
GH
DGHEF
DEF
GH
DEGHF
DEF
GH
DEFGH
GH
VWULQJ
DEF
GH
VWULQJ
OLPLW H[FHHGHG
5-38
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
DELETE
The DELETE character string function deletes 'L' characters from, and including,
position 'P' to the right.
Error messages are issued if:
the function is applied to an empty character string
L<0
deletion of a negative number
P<1
deletion before position 1
L> LEN(string13)+1-P
deletion beyond the string boundary
'(/(7(
VWULQJ 675,1*
VWULQJ,1B
,QW
,17
,QW/B
,QW
,17
,QW3B
VWULQJ
VWULQJ 675,1*
DEFGH
DEFGH
DEFGH
EFGH
DEFGH
FGH
DEFGH
H
DEFGH
DEFGH
GHOHW EH\RQG ERXQGDU\
DEFGH
DEFGH
DEFGH
DFGH
DEFGH
DGH
DEFGH
DH
DEFGH
D
DEFGH
GHOHW EH\RQG ERXQGDU\
Rev C, 10/97
5-39
IAE 74768
QUICK REFERENCE GUIDE
REPLACE
Starting from position 'P', the REPLACE character string function replaces 'L'
characters of the upper character string by the lower character string. Error
messages are issued if:
the function is applied to an empty character string
L<0
replacing a negative number
P<1
replacing before position 1
L> LEN(string1)+1-P
replacing exceeds boundary
5(3/$&(
VWULQJ 675,1*
VWULQJ,1B
VWULQJ 675,1*
VWULQJ,1B
,QW
,17
,QW/B
,QW
,17
,QW3B
VWULQJ
VWULQJ 675,1*
DEFGH
[\]
[\]DEFGH
DEFGH
[\]
[\]FGH
DEFGH
[\]
[\]H
DEFGH
[\]
[\]
DEFGH
[\]
OLPLW H[FHHGHG
DEFGH
[\]
D[\]GH
DEFGH
[\]
D[\]H
DEFGH
[\]
D[\]
DEFGH
[\]
DEFGH[\]
LEN(string3) > 255: ErrorFlg 1 ErrorNr 239 ErrorTyp -149
FIND
The 'FIND character string function determines how often the lower character string
appears in the upper one.
Errors are not possible.
),1'
VWULQJ 675,1*
VWULQJ,1B
VWULQJ 675,1*
VWULQJ,1B
,QW
,QW
,17
DEF
EF
DEF[EF
EF
5-40
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
The programming system enables the user to write functions that may be employed as reusable
units that supplement the standard and firmware functions. The user functions may import other
user functions and use them like they use standard or firmware functions.
5.8.1 Import rules
A function may utilize standard functions, firmware functions, and user functions.
The required function is a
The required function is a user
standard function or a
function
firmware function
It is not contained in the library
It is contained in the
and, consequently, not known
programming system's library
to the programming system
and, consequently, known.
It does not need a permanently The function is made known by
importing it in the program, in
reserved memory space.
the FB or in the function where
Thus, it can be used easily.
it is to be employed.
It does not need a permanently
reserved memory space.
I can be used easily after it has
been imported.
Nesting can be continued to any depth.
NOT ALLOWED is that function 'A' employs itself (recursive utilization), or that function 'A' employs
function 'B' that employs function 'A', etc.
5.9 Function Blocks
A function block (FB) is a program organization unit that may have
1...n inputs,
1...m outputs, and
internal variables
5.10 Standard Function Blocks
The standard function blocks for the INDRAMAT control system result from EN 61131-3. They are
available in all programming languages of the system. They may be used, but cannot be modified.
They need not be imported.
Errors are not possible when the individual function blocks are processed. Thus, ErrorFlg, ErrorNr
and ErrorReg are always 0. Import not necessary
5.10.1 Flip-Flops
SR - flip-flop The SR - flip-flop implements a dominant setting of the memory.
VUB
65
ELW6B
ELW5B
4BELW
VUB
ELW
ELW
ELW
65
%22/
%22/
%22/
Truth table
ROG QHZ
ELW ELW ELW ELW
Rev C, 10/97
HTXLYDOHQW QHWZRUN
5-41
IAE 74768
QUICK REFERENCE GUIDE
5-42
6B !
5B 2
4B
4B
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
UVB
56
ELW6B
ELW5B
4BELW
UVB
ELW
ELW
ELW
56
%22/
%22/
%22/
Truth table
ROG QHZ
ELW ELW ELW ELW
HTXLYDOHQW QHWZRUN
5B 2
6B !
4B
4B
5.10.2 Edge evaluation for rising and falling edges R_TRIG, F_TRIG
R_TRIG
The Edge evaluation for rising edges R_TRIG function block implements a 0-1-0
transition at the output if the input signal transitions from '0' to '1'. The pulse
duration results from the duration of the SPS cycle.
NOTE: After a 0-1 transition at the output it must be ensured that the function block is
processed again in the next SPS cycle.
UBWULJB
5B75,*
ELW&/.
4BELW
Internal implementation
(in FBD) timing
&/.
0B
&/.
Rev C, 10/97
2
4B
0B
&/.
4B
UBWULJB 5B75,*
ELW
%22/
ELW
%22/
5-43
IAE 74768
QUICK REFERENCE GUIDE
F_TRIG
The Edge evaluation for falling edges F_TRIG function block implements a 0-1-0
transition at the output if the input signal transitions from '1' to '0'. The pulse
duration results from the duration of the SPS cycle.
NOTE: After a 0-1 transition at the output it must be ensured that the function block is
processed again in the next SPS cycle.
IBWULJB
)B75,*
ELW&/.
4BELW
Internal implementation
(in FBD)
- timing
&/.
0B
&/.
2
4B
2
0B
&/.
4B
IBWULJB )B75,*
ELW
%22/
ELW
%22/
The CTUD_USI (0 ... 255) counter has a dominating reset input R_. A 1 at that
input sets the counter to CV_=0. Given the boundary condition R_=0, the preset
value applied to PV_ is read as long as LD_ = 1. The signal assignments at the
CU_ and CD_ inputs are irrelevant in this case. Counting is possible with the
boundary condition R_=0 and LD_=0: As long as CU_ = 1 and CV_ < 255, CV_ is
incremented by '1' in each SPS cycle (difference to EN 61131-3!).
NOTE: If CU_ = 0, too, 'CV_' will be decremented by '1' in each SPS cycle as long as
CD_ = 1 and CV_>0 (difference to EN 61131-3!).
The output QU_ issues a 1 signal if CV_ PV.
The output QD_ issues a 1 signal ab, if CV_= 0.
FBXVLQWB
&78'B86,
ELW&8B
ELW&'B
ELW5B
48BELW
ELW/'B
4'BELW
86,QW39B
&9B86,QW
5-44
FBXVLQWB
ELW
ELW
ELW
ELW
ELW
ELW
86,QW
86,QW
&78'B86,
%22/
%22/
%22/
%22/
%22/
%22/
86,17
86,17
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
CTUD_UIN
The CTUD_UIN (0 ... 65535) counter has a dominating reset input R_. A 1 at
that input sets the counter to CV_=0. Given the boundary condition R_=0, the
preset value applied to PV_ is read as long as LD_ = 1. The signal assignments at
the CU_ and CD_ inputs are irrelevant in this case. Counting is possible with the
boundary condition R_=0 and LD_=0: As long as CU_ = 1 and CV_ < 65535, CV_
is incremented by '1' in each SPS cycle (difference to EN 61131-3!).
NOTE: If CU_ = 0, too, 'CV_' will be decremented by '1' in each SPS cycle as long as
CD_ = 1 and CV_>0 (difference to EN 61131-3!).
The output QU_ issues a 1 signal if CV_ PV.
The output QD_ issues a 1 signal ab, if CV_= 0.
FBXLQWB
&78'B8,1
ELW&8B
ELW&'B
ELW5B
48BELW
ELW/'B
4'BELW
8,QW39B
&9B8,QW
CTUD_INT
FBXLQWB
ELW
ELW
ELW
ELW
ELW
ELW
8,QW
8,QW
&78'B8,1
%22/
%22/
%22/
%22/
%22/
%22/
8,17
8,17
The CTUD_INT (-32768 ... 32767) counter has a dominating reset input. A 1 at
that input sets the counter to CV_=0. Given the boundary condition R_=0, the
preset value applied to PV_ is read as long as LD_ = 1. The signal assignments at
the CU_ and CD_ inputs are irrelevant in this case. Counting is possible with the
boundary condition R_=0 and LD_=0: As long as CU_ = 1 and CV_ < 32767, CV_
is incremented by '1' in each SPS cycle (difference to EN 61131-3!).
The output QU_ issues a 1 signal if CV_ PV.
The output QD_ issues a 1 signal ab, if CV_= 0.
FBLQWB
FBLQWB &78'B,17
ELW
%22/
&78'B,17
ELW
%22/
ELW&8B
ELW
%22/
ELW&'B
ELW
%22/
ELW5B
48BELW
ELW
%22/
ELW/'B
4'BELW
ELW
%22/
,QW39B
&9B,QW
,QW
,17
,QW
,17
Rev C, 10/97
5-45
IAE 74768
QUICK REFERENCE GUIDE
Such a 'single pulse' appears at the output 'Q' when there is a 0-1 transition at the
input 'IN'. The length of the input pulse is irrelevant. The time stage cannot be retriggered. This means that additional impulses at the input will be ignored as long
as the pulse exists at the output. The current pulse duration is counted at the 'ET'
output. The value is retained until there is a 1-0 transition at the input.
WSB
73
ELW,1B
4BELW
WLPH37B
(7BWLPH
WSB
ELW
ELW
WLPH
WLPH
73
%22/
%22/
7,0(
7,0(
,1
37!
37!
W W W
W
W
W
W
TON
Delayed by 'PT', a '1' signal appears at the output 'Q' after a 0-1 transition has
occurred at the input. The 'Q' output returns to '0' when the input returns to '0'. If
the '1' signal at the input is shorter than 'PT', a '1' signal cannot be generated at the
output. The ET output indicates the current delay time. The final value is retained
until the signal at the input returns to '0'.
WRQB
721
ELW,1B
4BELW
WLPH37B
(7BWLPH
WRQB
ELW
ELW
WLPH
WLPH
721
%22/
%22/
7,0(
7,0(
,1
37!
37!
W
W
W W
W
W
FRPPDQG WLPH 37
(7
W
W
W W
W
W
5-46
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
TOFF
A '1' signal appears at the output 'Q' when there is a 0-1 transition at the input.
When the input signal goes back from '1' to '0', the signal at the 'Q' output remains
'1' for the time 'PT' before it returns to '0'. If the input signal returns to '1' inside the
delay time 'PT', the process is continued without interruption (the time stage can be
re-triggered). The ET output indicates the current delay time. The final value is
retained until the signal at the input returns to '1'.
WRIIB
72))
ELW,1B
4BELW
WLPH37B
(7BWLPH
WRIIB
ELW
ELW
WLPH
WLPH
72))
%22/
%22/
7,0(
7,0(
,1
37!
37!
4
W
W
W
W
W
W
FRPPDQG
(7
WLPH 37
W
W
W
W
W
W
5.10.5 Function blocks for date and time
DATE_RD
Rev C, 10/97
'$7(B5'
%22/ 5($'
:((.'$< ,17
'$< ,17
0217+ ,17
<($5 ,17
5($'< %22/
5($'
%22/
)% QRW DFWLYH
$FWLYDWHV UHDGLQJ WKH GDWH
:((.'$<
,17
'D\ RI WKH ZHHN
6XQGD\
0RQGD\
7XHVGD\
:HGQHVGD\
7KXUVGD\
)ULGD\
6DWXUGD\
'$<
,17
'D\
0217+
,17
0RQWK
<($5
,17
<HDU
5($'<
%22/
'DWH QRW YDOLG
'DWH YDOLG
5-47
IAE 74768
QUICK REFERENCE GUIDE
TOD_RD
72'B5'
%22/ 5($'
+285 ,17
0,1 ,17
6(& ,17
5($'< %22/
5($'
%22/
)% QRW DFWLYH
$FWLYDWHV UHDGLQJ WKH WLPH
+285
,17
+RXU
0,1
,17
0LQXWHV
6(&
,17
6HFRQGV
5($'<
%22/
'DWH QRW YDOLG
'DWH YDOLG
Method of operation of date and time
Setting the READ input reads date/time. The result is available as a function block
output.
Timing of reading date/time
5($'
'DWHWLPH
5($'<
1 Setting the READ input in the first SPS cycle initiates reading date and time.
2 The activated READY output indicates that the transfer of date and time has
been completed.
3 The READ input can be cleared when data and time are read once only.
4 Clearing the READ input also clears the READY output of the function block.
5 If the READ input signal remains statically ON, date and time are updated after
one second.
NOTE: The time between setting the READ input and setting the READY output can be
up to one second. This also applies after the start of the SPS program.
The DATE_RD and TOD_RD function blocks do not generate errors.
5.10.6 Function blocks for serial interfaces
5.10.6.1 Standard data type COM
The parameter values of a serial interface must be selected before it can be used. The COM'
standard data type is used for combining the parameters of an interface. The individual data type
elements are INTEGER values that correspond to the ident numbers of the INDRAMAT IONET
protocol.
7<3( &20
6758&7
'(9,&(
6(515
%$8'
'$7$
3$5,7<
5-48
,17
,17
,17
,17
,17
GHYLFH QXPEHU
QXPEHU RI WKH VHULDO LQWHUIDFH
%DXG UDWH
QXPEHU RI GDWD ELWV
SDULW\
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
6723
35272.2/
+$1'6+
(1'B6758&7
(1'B7<3( &20
Rev C, 10/97
,17
,17
,17
5-49
IAE 74768
QUICK REFERENCE GUIDE
Explanation of the parameter values that can be selected in the 'COM data type:
'(9,&(
'HYLFH QXPEHU
,QWHUIDFH FHQWUDOO\ RQ 3&/ PRGXOH
,QWHUIDFH RQ ILEHU RSWLFV ORRS GHYLFH
WKH ORJLF GHYLFH DGGUHVV PXVW EH
VHOHFWHG LQ WKH ,2 DVVLJQPHQWV PHQX
6(515
,QWHUIDFH QXPEHU
HQWHU LI WKHUH LV RQO\ RQH LQWHUIDFH
RQ WKH ,2 HOHPHQW
%$8'
%DXG UDWH
%DXG
5(&2 %70
6,2 3$6 627 %7&
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
3$6
627
%7&
3$5,7<
7\SH RI SDULW\ FKHFN
3DULW\
5(&2 %70 6,2 3$6
627
%7&
5-50
121(
2''
(9(1
0$5.
63$&(
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
6723
1XPEHU RI VWRS ELWV
6WRS ELW
5(&2 %70 6,2 3$6
627
%7&
35272.2/
3URWRFRO W\SH
3URWRFRO
5(&2 %70 6,2
3$6
627
%7&
[
[
[
5
6,6,
2''
(9(1
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[
QRQH
6RIWZDUH
+DUGZDUH
OPEN_COM
[
[
[
[
[
[
[
3$6
[
627
[
%7&
[
The OPEN_COM function block initializes the transfer channel to a general serial
interface when there is a positive edge at the OPEN function block input. This
interface can only be used for transmitting or receiving data when the block's
READY output is logic '1'.
RSHQBFRP
23(1B&20
%22/ 23(1
5($'< %22/
&20 '(9,&(
23(1
%22/
)% QRW DFWLYH
RSHQ LQWHUIDFH
'(9,&(
&20
SDUDPHWHU RI WKH VHULDO
LQWHUIDFH
5($'<
%22/
LQWHUIDFH LV QRW RSHQ
RU WKH )% LV QRW DFWLYH
LQWHUIDFH LV RSHQ
CLOS_COM
The CLOS_COM function block closes the transfer channel to a general serial
interface, and clears the transmit and receive buffer of the interface. Data that is in
the buffers after the closing process has been initiated will be lost. The READY
output becomes logic '1' after the serial interface has been closed.
FORVBFRP
&/26B&20
%22/ &/26(
5($'< %22/
&20 '(9,&(
23(1
%22/
'(9,&(
&20
LQWHUIDFH
5($'<
%22/
Rev C, 10/97
)% QRW DFWLYH
FORVH LQWHUIDFH
SDUDPHWHU RI WKH VHULDO
LQWHUIDFH LV QRW FORVHG RU WKH )% LV QRW DFWLYH
5-51
IAE 74768
QUICK REFERENCE GUIDE
5-52
LQWHUIDFH LV FORVHG
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
WR_BYTE
The WR_BYTE function block writes a data byte into the transmit buffer of the
selected interface. As long as the WRITE function block input is logic '1', the data
byte that is applied to the DATA function block input is written to the buffer. The
SPS firmware provides for the data output from the transmit buffer via the
corresponding serial interface.
ZUBE\WH
:5B%<7(
%22/ :5,7(
5($'< %22/
&20 '(9,&(
%<7( '$7$
:5,7(
%22/
)% QRW DFWLYH
ZULWH GDWD E\WH LQWR WUDQVPLW
EXIIHU
'(9,&(
&20
3DUDPHWHU RI WKH VHULDO
LQWHUIDFH
'$7$
%<7(
GDWD E\WH WR EH WUDQVPLWWHG
5($'<
%22/
GDWD E\WH KDV QRW \HW EHHQ
ZULWWHQ WR WUDQVPLW EXIIHU RU
WKH )% LV QRW DFWLYH
GDWD E\WH KDV EHHQ ZULWWHQ
LQWR WKH WUDQVPLW EXIIHU
RD_BYTE
The RD_BYTE function block reads a data byte from the receive buffer of the
selected interface. Upon each call of the function block and as long as the READ
input is logic '1' and the receive buffer is not empty, a data byte is read from the
buffer and assigned to the DATA function block. The SPS firmware provides for the
transfer of the data from the corresponding serial interface to the receive buffer.
UGBE\WH
5'B%<7(
%22/ 5($'
'$7$ %<7(
&20 '(9,&(
5($'< %22/
5($'
%22/
)% QRW DFWLYH
UHDGV GDWD E\WH IURP WKH UHFHLYH
EXIIHU
'(9,&(
&20
SDUDPHWHU RI WKH VHULDO
LQWHUIDFH
'$7$
%<7(
UHFHLYHG GDWD E\WH
5($'<
%22/
GDWD E\WH KDV QRW \HW EHHQ UHDG
IURP WKH UHFHLYH EXIIHU RU WKH
)% LV QRW DFWLYH
GDWD E\WH KDV EHHQ UHDG IURP WKH
UHFHLYH EXIIHU
WR_STR
Rev C, 10/97
The WR_STR function block writes a data string into the transmit buffer of the
selected interface. The character applied to the STR_END input is appended to the
data string as an end-of-string character.. If the input is not connected, the
character with ASCII code 0 is appended to the data string. The string is written to
the transmit buffer if the free space in the buffer proves sufficient for
accommodating the string. The SPS firmware provides for outputting the data from
the transmit buffer via the corresponding serial interface.
5-53
IAE 74768
QUICK REFERENCE GUIDE
ZUBVWU
:5B675
%22/ :5,7(
5($'< %22/
&20 '(9,&(
675,1* '$7$
&+$5 675B(1'
:5,7(
%22/
)% QRW DFWLYH
ZULWH GDWD VWULQJ WR WUDQVPLW
EXIIHU
'(9,&(
&20
SDUDPHWHU RI WKH VHULDO
LQWHUIDFH
'$7$
%<7(
GDWD VWULQJ WR EH WUDQVPLWWHG
675B(1'
&+$5
HQGRIVWULQJ FKDUDFWHU
5($'<
%22/
GDWD VWULQJ KDV QRW \HW EHHQ
ZULWWHQ WR WKH WUDQVPLW EXIIHU
RU WKH )% LV QRW DFWLYH
GDWD VWULQJ KDV EHHQ ZULWWHQ WR
WKH WUDQVPLW EXIIHU
RD_STR
The RD_STR function block reads a string from the receive buffer of the selected
interface. The end of the string is reached when the character that is read from the
receive buffer agrees with the end-of-string character that is applied to the
STR_END input. In this case, the READY output becomes logic '1'. If the STR_END
input is not connected, the default ASCII code 0 is used as the end-of-string
character.
A string variable at the DATA output is filled with characters until the end-of-string
character is read. The end-of-string character is not a part of the output string. The
contents of the string variable is cleared if an end-of-string character is not received
before 255 characters have been read. If there are any characters left in the receive
buffer, the string variable will be filled with those characters until the end-of-string
character is reached. The SPS firmware provides for the data to be transferred from
the serial interface to the receive buffer.
UGBVWU
5'B675
%22/ 5($'
'$7$ 675,1*
&20 '(9,&(
5($'< %22/
&+$5 675B(1'
5($'
%22/
)% QRW DFWLYH
UHDG GDWD VWULQJ IURP
UHFHLYH EXIIHU
'(9,&(
&20
SDUDPHWHU RI WKH VHULDO
LQWHUIDFH
675B(1'
&+$5
HQGRIVWULQJ FKDUDFWHU
'$7$
%<7(
UHFHLYHG GDWD VWULQJ
5($'<
%22/
GDWD VWULQJ KDV QRW \HW EHHQ
UHDG FRPSOHWHO\ IURP WKH
UHFHLYH EXIIHU RU WKH )% LV
QRW DFWLYH
5-54
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
WKH UHFHLYH EXIIHU
Rev C, 10/97
5-55
IAE 74768
QUICK REFERENCE GUIDE
CLR_COM
The CLR_COM function block is used for clearing the transmit and receive buffer of
an open serial interface. Data that is in the buffers after the clearing process has
been initiated will be lost.
FOUBFRP
&/5B&20
%22/ &/5
5($'< %22/
&20 '(9,&(
&/5
%22/
)% QRW DFWLYH
FOHDU UHFHLYH DQG WUDQVPLW EXIIHU
'(9,&(
&20
SDUDPHWHU RI WKH VHULDO
LQWHUIDFH
5($'<
%22/
UHFHLYH RU WUDQVPLW EXIIHU KDV
QRW EHHQ FOHDUHG RU WKH )% LV
QRW DFWLYH
UHFHLYH DQG WUDQVPLW EXIIHU KDYH
EHHQ FOHDUHG
OPEN_SOT
Upon a positive edge at the OPEN function block input, the OPEN_SOT function
block initializes the transfer channel to an SOT interface and, if necessary,
initializes the SOT (station operator terminal) expansion interface. The SOT
expansion interface can be used for connecting another SOT (cascading). This block
permits cascading only to be performed via the serial interface of a RECO.
RSHQBVRW
23(1B627
%22/ 23(1
5($'< %22/
&20 '(9,&(
&20 '(9,&(
23(1
%22/
)% QRW DFWLYH
LQLWLDOL]H LQWHUIDFHV
'(9,&(
&20
SDUDPHWHU RI WKH 627 LQWHUIDFH
WKH YDOXH RI WKH 35272.2/
HOHPHQW RI WKH &20 GDWD W\SH
PXVW EH
'(9,&(
&20
SDUDPHWHU RI WKH 627
H[SDQVLRQ LQWHUIDFH
5($'<
%22/
LQWHUIDFHV DUH QRW LQLWLDOL]HG
RU WKH )% LV QRW DFWLYH
LQWHUIDFHV DUH QRW LQLWLDOL]HG
5-56
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
CLOS_SOT
Upon a positive edge at the CLOSE function block input, the CLOS_SOT function
block closes the transfer channel to an SOT interface and, if applicable, to the
expansion interfaces of the SOT.
FORVBVRW
&/26B627
%22/ &/26(
5($'< %22/
&20 '(9,&(
23(1
%22/
)% QRW DFWLYH
FORVH LQWHUIDFH
'(9,&(
&20
SDUDPHWHU RI WKH VHULDO
LQWHUIDFH
5($'<
%22/
LQWHUIDFH LV QRW FORVHG RU
WKH )% LV QRW DFWLYH
LQWHUIDFH LV FORVHG
The MODBUS function block permits an open serial interface to be used with the MODBUS protocol.
In the master (e.g. operator terminal), the user defines a slave address that shall be used for
addressing the controller. That slave address must be applied to the SL_ADDR function block input.
The valid range of the slave address is between 1 and 247. The MODE input permits the
communication protocol to be switched over from RTU mode to ASCII mode.
In the MODBUS protocol, the following data areas are distinguished:
0X
outputs (BOOL)
read and write access from the
master
1X
inputs (BOOL)
read access from the master
2X
input registers (WORD) read access from the master
3X
output registers (WORD) read and write access from the
master
To enable communication, the data areas must be mapped. The user employs the input and/or
output function blocks for assigning the addresses that are related in the controller:
Access
XXXX= Address
i0XXXX outputs (BOOL) read
0...1999 00000...01999
1
i1XXXX
inputs (BOOL)
read
0...3999 10000...13999
1
i3XXXX
input registers
read
0...299
30000...30299
1
i4XXXX
output registers
read
0...299
40000...40299
1
write
0...1999 00000...01999
1
write
0...299
40000...40299
1
The addresses differ for different manufacturers (here: addresses of Modicon controller)
Rev C, 10/97
5-57
IAE 74768
QUICK REFERENCE GUIDE
The same identifier must be used for connecting the input i0XXXX (i4XXXX) with the output q0XXXX
(q4XXXX) (cf. programming example).
%22/
%22/
,17
&20
$B%
$B%
$B:
$B:
(1$%/(
02'(
'(9,&(
L;;;;
L;;;;
L;;;;
L;;;;
T;;;;
T;;;;
PRGEXV
02'%86
(1$%/(
T;;;; $B%
02'(
T;;;; $B:
6/B$''5
'(9,&(
L;;;;
L;;;;
L;;;;
L;;;;
%22/
)% QRW DFWLYH
)% DFWLYH
%22/
FRPPXQLFDWLRQ SURWRFRO LQ 578 PRGH
FRPPXQLFDWLRQ SURWRFRO LQ $6&,, PRGH
&20
SDUDPHWHU RI WKH VHULDO LQWHUIDFH
$B% %RROHDQ RXWSXWV UHDG DFFHVV
$B% %RROHDQ RXWSXWV UHDG DFFHVV
$B:
LQSXW UHJLVWHU UHDG DFFHVV
$B:
RXWSXW UHJLVWHU UHDG DFFHVV
$B% %RROHDQ RXWSXWV ZULWH DFFHVV
$B:
RXWSXW UHJLVWHU ZULWH DFFHVV
5-58
Function block
OPEN_COM
CLOS_COM
OPEN_SOT
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
ErrorTyp
-109
-110
-111
-203
-204
-216
-227
ErrorNr
238
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
Function block
CLOS_SOT
WR_BYTE
RD_BYTE
RD_STR
WR_STR
MODBUS
CLR_COM
Interface not open
Invalid input parameter DEVICE
Invalid input parameter SERNR
Invalid input parameter BAUD
Invalid input parameter DATA
Invalid input parameter PARITY
Invalid input parameter STOP
Invalid input parameter PROTOKOL
Invalid input parameter HANDSH
Interface cannot be found
All COM interfaces have already been opened
All SOT interfaces have already been opened
No cascading
General interface error
Transmit buffer is full
Receive buffer is full
Acknowledgment message frame time-out
Rev C, 10/97
5-59
IAE 74768
QUICK REFERENCE GUIDE
time, etc.).
The unit that wants to
use it must reserve the
required space.
Declaration of the FB
assignments in a
separate declaration
editor.
Utilization according
to the selected entry
language.
A user function block may utilize standard functions, firmware functions, user functions, user
function blocks, standard function blocks, and firmware function blocks.
Nesting can be continued to any depth.
NOT ALLOWED is that function block 'A' employs itself (recursive utilization), or that function block
'A' employs function block 'B' that employs function block 'A', etc.
5.13 Error Handling
When a program executes in the SPS, variable values may be computed for which the subsequent
functions and function blocks have not been defined.
Example:
The divisor of an integer division is computed as zero. This is a value that is usually not permitted.
5.13.1 Basics of the Error Handling Concept
Goal
The user shall have the opportunity of locating the above-mentioned errors and of responding to
them.
For this purpose, three error variables have automatically been introduced in each function and in
each function block, in addition to the known function contents. Uninterrupted execution of the
user program is ensured in any case. The program executes as before if the user ignores the error
message.
Table 5-7: SPS Error Variables
ErrorFlg (BOOL),
ErrorNr (USINT),
Standard FALSE
Standard: 0
A number > 0
ErrorFlg= 0,
provides detailed
no error has
information
occurred during
about the error.
the execution up
to now
(standard)
ErrorFlg= 1,
at least one error
has occurred that
will be specified
in detail.
5-60
ErrorTyp (INT),
Standard: 0
Negative error
types are
reserved for the
SPS
manufacturer to
be used for
standard and
firmware
functions and
function blocks.
Type numbers
greater than zero
are available to
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
be used by the
user.
Occurred errors will be transported upwards to the calling unit, up to the program itself.
Without any user activities, the three variables will be declared in the functions and function
blocks that are written by the user and are therefore available to be accessed by the user.
Rev C, 10/97
5-61
IAE 74768
QUICK REFERENCE GUIDE
IN ).B%
IE VWDQGDUG IFW EORFN
). XVHU IXQFWLRQ
IN VWDQGDUG IXQFWLRQ
). ).B$ IN ).B%
The following sequence is followed during execution:
Faultless execution of the user program:
35 7(67
VHFWLRQ
)% )%B;[ VHFWLRQ
). ).B$
VHFWLRQ
IN ).B%
). ).B$
VHFWLRQ
)% )%B;[ VHFWLRQ
IN ).B%
)% )%B;[ VHFWLRQ
35 7(67
VHFWLRQ
). ).B$
VHFWLRQ
IN ).B%
). ).B$
VHFWLRQ
35 7(67
VHFWLRQ
If there are no faults, PR TEST (section 3) will be exited with the assignments ErrorFlg= 0,
ErrorNr= 0, ErrorTyp= 0. Various variables have changed during computation. The next SPS
cycle follows. The modified variables shall first cause an error in the fk FK_B standard function.
The fk FK_B function performs the computation and additionally modifies the error variables. Next,
the error message is transported to the calling file (further left in the import tree), until it arrives in
the program itself. There is no transport to the right. Moving to the right in the import tree sets the
three variables to zero for the new unit. There should not yet be a user reaction.
Error in fk FK_B without user reaction:
(UURU)OJ (UURU1U (UURU7\S
35 7(67
VHFWLRQ
ZLWKRXW HUURU
)% )%B;[ VHFWLRQ
ZLWKRXW HUURU
). ).B$
VHFWLRQ
ZLWKRXW HUURU
IN ).B%
HUURU ORFDWLRQ
). ).B$
VHFWLRQ
HUURU WR WKH OHIW
)% )%B;[ VHFWLRQ
HUURU WR WKH OHIW
IN ).B%
WR WKH ULJKW ZR HUURU
)% )%B;[ VHFWLRQ
HUURU H[LVWV DOUHDG\
35 7(67
VHFWLRQ
HUURU WR WKH OHIW
). ).B$
VHFWLRQ
WR WKH ULJKW ZR HUURU
IN ).B%
WR WKH ULJKW ZR HUURU
). ).B$
VHFWLRQ
EDFN ZLWKRXW HUURU
35 7(67
VHFWLRQ
HUURU H[LVWV DOUHDG\
In the program, the pending error is taken to the next SPS cycle.
5-62
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
In the next cycle, there is again a movement to the right with reset error variables. The following
table results when the causes of the error are eliminated. If the error continues to exist, the table
'error in fk FK_B without user reaction' reappears.
Error in fk FK_B no longer exists, no user reaction:
(UURU)OJ (UURU1U (UURU7\S
35 7(67
VHFWLRQ
HUURU UHPDLQV VWRUHG
)% )%B;[ VHFWLRQ
WR ULJKW ZR HUURU
). ).B$
VHFWLRQ
WR ULJKW ZR HUURU
IN ).B%
QR PRUH HUURUV QRZ
). ).B$
VHFWLRQ
EDFN ZR HUURUV
)% )%B;[ VHFWLRQ
EDFN ZR HUURUV
IN ).B%
WR ULJKW ZR HUURU
)% )%B;[ VHFWLRQ
EDFN ZR HUURUV
35 7(67
VHFWLRQ
HUURU UHPDLQV VWRUHG
). ).B$
VHFWLRQ
WR ULJKW ZR HUURU
IN ).B%
WR ULJKW ZR HUURU
). ).B$
VHFWLRQ
EDFN ZR HUURUV
35 7(67
VHFWLRQ
HUURU H[LVWV
The user must actively clear the error on program level. The user has the opportunity on an
intervention, at the earliest in the FK FK_A user function (section 2) or later in another program
organization unit. First, the user recognizes that the ErrorFlg error bit has been set; and can
subsequently evaluate ErrorNr/ErrorTyp. After evaluation, setting ErrorFlg to '0' proves
sufficient since ErrorNr/ErrorTyp will thus be invalid. (ErrorNr, ErrorTyp need not be modified).
Immediate interpretation of the error in FK FK_A, (section 2a) and resetting ErrorFlg:
(UURU)OJ (UURU1U (UURU7\S
35 7(67
VHFWLRQ
)% )%B;[ 6HFWLRQ
). ).B$
6HFWLRQ
IN ).B%
HUURU ORFDWLRQ
). ).B$
6HFWLRQ D
HUURU UHFRJQ DQG HOLPLQDWHG
). ).B$
6HFWLRQ E
(UURU)OJ PRGLILHG
)% )%B;[ 6HFWLRQ
HUURU HOLPLQDWHG QR FRS\
IN ).B%
)% )%B;[ 6HFWLRQ
35 7(67
6HFWLRQ
). ).B$
6HFWLRQ
IN ).B%
). ).B$
6HFWLRQ
35 7(67
6HFWLRQ
5.13.3 Error Handling of Multiple Errors
Theoretically, a second error with different or even the same assignments of ErrorNr and
ErrorTyp can occur in a different program section before the first error has been recognized and
cleared. This error will also be passed on to the left in the import tree. ErrorNr and ErrorTyp will
not be overwritten as long as ErrorFlg has not been reset. Consequently, the information about
the second error goes to a 'waiting state'.
5.13.4 Error Handling in User Files
The three error variables are automatically declared when a new user file is created, and the user
knows the error mechanism of standard and firmware files. Thus, the user may employ that
mechanism for user-related files. To avoid confusion, the user should only utilize error types with
positive numbers.
5.13.5 Overview of Possible Errors and Their Causes
When ErrorFlg = 'TRUE', an error has occurred during the execution of an operation, a function,
or a function block.
Rev C, 10/97
5-63
IAE 74768
QUICK REFERENCE GUIDE
POE
fk
Name
M_FKT
-2
fk
M_FKT_Q
-3
fk
S_FKT
-4
fk
S_FKT_Q
-5
fk
T_FKT
-6
fk
T_FKT_Q
-7
fk
Q_FKT
-8
fk
Q_FKT_Q
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
EVENT
EV_ST
EV_SET
EV_RES
MSG_WR
MSG_RD
MRF
MRF_Q
MMV
MMV_Q
TCH
TCH_Q
TMS
TMS_Q
TSM
TSM_Q
XMS
XMS_PA
5-64
Comment
Interrogating M aux. function and specifying the aux. function
number
Acknowledging M aux. Function and specifying the aux.
function number
Interrogating S aux. function and specifying the aux. function
number
Acknowledging S aux. function and specifying the aux.
function number
Interrogating T aux. function and specifying the aux. function
number
Acknowledging T aux. function and specifying the aux.
function number
Interrogating Q aux. function and specifying the aux. function
number
Acknowledging Q aux. Function and specifying the aux.
function number
Interrogating events
Value transfer to events
Conditional setting of events
Conditional resetting of events
Diagnosis output; message number directly specified
Reading the CNC message number
Interrogating magazine homing
Acknowledging magazine homing
Interrogating magazine in new position
Acknowledging magazine in new position
Interrogating general tool change
Acknowledging general tool change
Interrogating tool change from magazine to spindle
Acknowledging tool change from magazine to spindle
Interrogating tool change from spindle to magazine
Acknowledging tool change from spindle to magazine
Initializing tool transfer from magazine to spindle
Tool transfer from magazine to spindle permitted
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
No.
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
POE
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
Rev C, 10/97
Name
XMS_NA
XMS_Q
XSM
XSM_PA
XSM_NA
XSM_Q
XMG
XMG_PA
XMG_NA
XMG_Q
XSG
XSG_PA
XSG_NA
XSG_Q
XGS
XGS_PA
XGS_NA
XGS_Q
XGM
XGM_PA
XGM_NA
XGM_Q
GRAY_BYT
BYT_GRAY
SBCD_INT
BCD_INT
BYTE_INT
WORD_INT
INT_BYTE
INT_WORD
INT_BCD
USI_INT
INT_USI
USI_BYTE
BYTE_USI
CONCAT_B
CONCAT_W
H_BYTE
L_BYTE
H_WORD
L_WORD
SIGN_INT
ABS_INT
SHL_BYTE
SHL_WORD
SHR_BYTE
SHR_WORD
ROL_BYTE
Comment
Tool transfer from magazine to spindle not permitted
Acknowledging tool transfer from magazine to spindle
Initializing tool transfer from spindle to magazine
Tool transfer from spindle to magazine permitted
Tool transfer from spindle to magazine not permitted
Acknowledging tool transfer from spindle to magazine
Initializing tool transfer from magazine to gripper
Tool transfer from magazine to gripper permitted
Tool transfer from magazine to gripper not permitted
Acknowledging tool transfer from magazine to gripper
Initializing tool transfer from spindle to gripper
Tool transfer from spindle to gripper permitted
Tool transfer from spindle to gripper not permitted
Acknowledging tool transfer from spindle to gripper
Initializing tool transfer from gripper to spindle
Tool transfer from gripper to spindle permitted
Tool transfer from gripper to spindle not permitted
Acknowledging tool transfer from gripper to spindle
Initializing tool transfer from gripper to magazine
Tool transfer from gripper to magazine permitted
Tool transfer from gripper to magazine not permitted
Acknowledging tool transfer from gripper to magazine
Type conversion Gray code hexadecimal
Type conversion hexadecimal Gray code
Type conversion BCD code, byte, 2 digits INTEGER
Type conversion BCD code, word, 4 digits INTEGER
Type conversion BYTE INTEGER
Type conversion WORD INTEGER
Type conversion INTEGER number BYTE
Type conversion INTEGER number word
Type conversion INTEGER number 4-digit BCD word
Type conversion UNSIGNED SHORT INTEGER INTEGER
Type conversion INTEGER UNSIGNED SHORT INTEGER
Type conversion UNSIGNED SHORT INTEGER BYTE
Type conversion BYTE UNSIGNED SHORT INTEGER
Appending Low-Byte to High-Byte
Appending Low-Word to High-Word
Removing High-Byte from WORD
Removing Low-Byte from WORD
Removing High-Word from DWORD
Removing Low-Word from DWORD
Sign of an INT number
Absolute value of an INT number
Shift BYTE by n digits to the left
Shift WORD by n digits to the left
Shift BYTE by n digits to the right
Shift WORD by n digits to the right
Rotate BYTE by n digits to the left
5-65
IAE 74768
QUICK REFERENCE GUIDE
No.
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113
POE
*fk
*fk
*fk
*fb
*fb
*fb
*fb
*fb
*fb
*fb
*fb
*fb
*fb
fb
fb
fb
fb
fb
fb
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fk
fb
fb
fb
fb
fb
fb
fb
fk
Name
ROL_WORD
ROR_BYTE
ROR_WORD
SR
RS
R_TRIG
F_TRIG
CTUD_USI
CTUD_UIN
CTUD_INT
TP
TON
TOFF
SC_WRITE
SC_READ
VAR_WR
VAR_RD
SEL_MEM
ACT_MEM
XMS_CA
XSM_CA
XMG_CA
XSG_CA
XGS_CA
XGM_CA
MHP
MHP_Q
GRP
GRP_Q
REL
REL_Q
OPEN_COM
CLOS_COM
OPEN_SOT
CLOS_SOT
WR_BYTE
RD_BYTE
CTRL_COM
MAG_ACT
-114
fk
MAG_Q
-115
fk
SPDL_ACT
-116
fk
SPDL_Q
-117
fk
M_ALL
-118
fk
M_ALL_Q
5-66
Comment
Rotate WORD by n digits to the left
Rotate BYTE by n digits to the right
Rotate WORD by n digits to the right
FLIP_FLOP, dominating setting
FLIP_FLOP, dominating resetting
Edge recognition of a rising edge
Edge recognition of a falling edge
Up/down counter, range UNSIGNED SHORT INTEGER
Up/down counter, range UNSIGNED INTEGER
Up/down counter, range INTEGER
Timer impulse
ON delay timer
OFF delay timer
Function is no longer supported
Function is no longer supported
Writing to a CNC variable of the INTEGER data type
Reading the value of the INTEGER data type variable
Selecting the NC program memory
Interrogating the active NC program memory
Aborting tool transfer from magazine to spindle
Aborting tool transfer from spindle to magazine
Aborting tool transfer from magazine to gripper
Aborting tool transfer from spindle to gripper
Aborting tool transfer from gripper to spindle
Aborting tool transfer from gripper to magazine
Function is no longer supported
Function is no longer supported
Function is no longer supported
Function is no longer supported
Function is no longer supported
Function is no longer supported
Initializing a general data channel
Terminating data transfer of a general data channel
Initializing a transfer channel with SOT
Terminating data transfer of a transfer channel with SOT
Writing a BYTE into the transmit buffer
Reading a BYTE on the general transfer channel
Interrogating the status of a serial interface
Interrogating the magazine axis preselection with comb.
spindle/turret axis
Acknowledging magazine axis preselection with comb.
spindle/turret axis
Interrogating the spindle preselection with comb.
spindle/turret axis
Acknowledging the spindle preselection with comb.
spindle/turret axis
Interrogating M aux. functions w/o specifying the aux.
function number
Acknowledging M aux. functions w/o specifying the aux.
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
No.
POE
Name
-119
fk
S_ALL
-120
fk
S_ALL_Q
-121
fk
T_ALL
-122
fk
T_ALL_Q
-123
fk
Q_ALL
-124
fk
Q_ALL_Q
-125
-126
-127
-128
-129
-130
-131
fb
fk
fk
fk
fk
fk
fk
USERBOF
M_NR
S_NR
Q_NR
XFER_CHK
MSG_WR_N
MSG_WR_A
-132
-133
-134
fb
fb
fk
AXD_WR
AXD_RD
SPMOD
-135
fk
SPMOD_Q
-136
fk
ROTMOD
-137
fk
ROTMOD_Q
-138
-139
-140
-141
-142
-143
-144
-145
-146
-147
-148
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
*fk
CHAR_BYT
BYT_CHAR
INT_STR
STR_INT
LEN
LEFT
RIGHT
MID
CONCAT_S
INSERT
DELETE
-149
*fk
REPLACE
-150
-151
-152
-153
*fk
fb
*fk
*fk
FIND
GUI_SK
DINT_DW
DW_DINT
Rev C, 10/97
Comment
function number
Interrogating S aux. functions w/o specifying the aux. function
number
Acknowledging S aux. functions w/o specifying the aux.
function number
Interrogating T aux. functions w/o specifying the aux. function
number
Acknowledging T aux. functions w/o specifying the aux.
function number
Interrogating Q aux. functions w/o specifying the aux. function
number
Acknowledging Q aux. functions w/o specifying the aux.
function number
Function is no longer supported
Reading the M auxiliary function number
Reading the S auxiliary function number
Reading the Q auxiliary function number
De-activating tool transfer verification
Message output with auxiliary information as a number
Message output with auxiliary information as an axis
designation
Writing required data
Reading required data
Interrogating spindle mode presel. for main spindle with rotary
axis capab.
Acknowledg. spindle mode presel. for main spindle with rotary
axis capab.
Interrog. rotary axis mode presel. for main spindle with rotary
axis capab.
Ack. rotary axis mode presel. for main spindle with rotary axis
capab.
Type conversion CHAR BYTE
Type conversion BYTE CHAR
Type conversion INTEGER STRING
Type conversion STRING INTEGER
Length of a STRINGs
Left L_ characters of a STRINGs
Right L_ characters of a STRINGs
From P_ th character L_ characters of a STRINGs
Concatenating two strings
Inserting a STRINGs after the L-th character
Delete L_ characters of a STRING from the P-th character
onward
Replace L_ characters of a STRING from the P-th character by
IN2_
Locate character string IN2_ in IN1_
Transfer of soft keys to the graphical user interface
Type conversion DOUBLE INTEGER DOUBLE WORD
Type conversion DOUBLE WORD DOUBLE INTEGER
5-67
IAE 74768
QUICK REFERENCE GUIDE
No.
-154
-155
-156
-157
-158
-159
-160
-161
-162
-163
-164
-165
-166
-167
-168
-169
-170
-171
POE
*fk
*fk
*fk
*fk
fk
*fk
*fk
*fk
*fk
fb
fb
*fk
*fk
*fk
*fk
fb
fb
*fk
-172
*fk
-173
-174
-175
-176
-177
-178
-179
-180
-181
-182
fb
fb
fb
fb
fb
fb
fb
fk
fk
fk
-183
-184
-185
-186
-187
-188
-189
-190
-191
-192
-193
-195
-196
-197
-198
-199
fk
fk
fk
fb
fb
fb
fb
fb
fb
fb
fb
*fb
*fb
*fb
*fb
*fb
5-68
Name
DINT_INT
INT_DINT
DINT_TIM
TIM_DINT
HNDWHEEL
SHL_DW
SHR_DW
ROL_DW
ROR_DW
RLVAR_WR
RLVAR_RD
DINT_RL
RL_DINT
STR_RL
RL_STR
TLD_WR
TLD_RD
DINT_UDI
Comment
Type conversion DOUBLE INTEGER INTEGER
Type conversion INTEGER DOUBLE INTEGER
Type conversion DOUBLE INTEGER time
Type conversion time DOUBLE INTEGER
Transfer of handwheel position
Shift DOUBLE WORD by n characters to the left
Shift DOUBLE WORD by n characters to the right
Rotate DOUBLE WORD by n characters to the left
Rotate DOUBLE WORD by n characters to the right
Writing to a CNC variable of the REAL data type
Reading the value of the variable of the REAL data type
Type conversion DOUBLE INTEGER REAL
Type conversion REAL DOUBLE INTEGER
Type conversion STRING REAL
Type conversion REAL STRING
Writing tool data
Reading tool data
Type conversion DOUBLE INTEGER UNSIGNED DOUBLE
INTEGER
UDI_DINT
Type conversion UNSIGNED DOUBLE INTEGER DOUBLE
INTEGER
DATE_RD
Reading the date
TOD_RD
Reading the time
OTD_WR
Writing zero point data
OTD_RD
Reading zero point data
MTD_WR
Writing zero point data
MTD_RD
Reading zero point data
NETIO_RD
Reading real-time data bits
T_NR
Reading the T auxiliary function number for process (PROC)
E_FKT
Reading the E auxiliary functions (EDGE) for process (PROC)
E_FKT_Q
Acknowledging E auxiliary functions (EDGE) for process
(PROC)
E_ALL
Interrogating any E auxiliary function for process (PROC)
E_ALL_Q
Acknowledging any E auxiliary function for process (PROC)
E_NR
Reading the E auxiliary function number for process (PROC)
TLBD_WR
Writing base tool data
TLED_WR
Writing tool edge data
TL_ENABLE
Enabling tool data
TLBD_RD
Reading base tool data
TLED_RD
Reading tool edge data
TL_RESET
Resetting a tool
TL_DELETE
Deleting a tool
TL_MOVE
Moving a tool
BOOL_BYTE Conversion 8-bit Byte
BYTE_BOOL Conversion Byte 8-bit
BOOL_WORD Conversion 16-bit Word
WORD_BOOL Conversion Word 16-bit
BOOL_DW
Conversion 32-bit Double word
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
No.
-200
-201
-202
-203
-204
-205
-206
-207
-208
-209
-210
POE
*fb
fb
fb
fb
fb
fk
fk
fk
fk
fk
fk
Name
DW_BOOL
FLASH
TOGGLE
RD_STR
WR_STR
TIM_DAY
TIM_HOUR
TIM_MIN
TIM_SEC
TIM_MS
MAKETIME
-211
-212
-213
-214
-215
-216
-217
-218
-219
-220
-221
-222
-223
-224
-225
-226
-227
-228
-229
-230
-231
fb
fb
fb
fb
fb
fb
fb
fb
fb
fb
fb
fb
fb
fb
fb
fk
fb
CLTVA_RD
CLTVA_WR
IB_GRDEF
IB_GRON
IB_GROFF
MODBUS
IB_SAERR
IB_QAERR
IB_ALSTP
IB_CLRD
DCD_RD
DCD_WR
NCVAR_RD
NCVAR_WR
GUI_SK16
REV_SYNC
CLR_COM
SINT_INT
INT_SINT
SINT_BYT
BYT_SINT
fk
fk
fk
fk
Comment
Conversion Double word 32-bit
Clock generator
Toggling a bit
Reading a string via the serial interface
Writing a string into the transmit buffer
Conversion of TIME_ into numeric value day
Conversion of TIME_ into numeric value hour
Conversion of TIME_ into numeric value minute
Conversion of TIME_ into numeric value second
Conversion of TIME_ into numeric value millisecond
Conversion FK inputs day D, hour H, minute M, second S
and
millisecond MS into a time value
Reading CLT variables
Writing CLT variables
Group definition Interbus S
Activating group - Interbus S
De-activating group - Interbus S
Communication block for MODBUS communication
Interbus service No. 5C - Send All Module Error Request
Interbus service No. 65 - Quit Module Error All-Service
Interbus service No. 4A - Alarm-Stop Bus Reset
Interbus service No. 4E - Clear Display
Reading D corrections
Writing D corrections
Reading NC variables
Writing NC variables
Enabling (16) machine function keys MUI/Menu9
Synchronous swiveling of the turret in the NC block
Clearing receive and transmit buffer of a serial interface
Conversion SINT number into INT number
Conversion INT number into SINT number
Conversion SINT number into BYTE
Conversion BYTE into SINT number
Comment
Error in addition: ADD, ADD
USINT
UINT
UDINT
ULINT
Rev C, 10/97
5-69
IAE 74768
QUICK REFERENCE GUIDE
No.
-10004
-10005
-10006
-10007
-10008
-10009
-10010
-10011
-10012
-10013
-10014
-10015
-10016
-10017
-10018
-10019
-10020
-10021
-10022
-10023
-10024
-10025
-10026
-10027
-10028
-10029
-10030
-10031
-10032
-10033
-10034
-10035
-10036
-10037
-10038
-10039
-10040
-10041
-10042
-10043
-10044
-10045
-10046
-10047
5-70
Comment
SINT
INT
DINT
LINT
REAL
LREAL
Error in subtraction SUB/SUB(
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
Error in multiplication MUL/MUL(
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
Error in division DIV/DIV(
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
Error in modulo division MOD/MOD(
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
No.
-10050
-10051
-10052
-10053
-10060
-10061
-10062
-10063
-10064
-10065
Comment
Indexing beyond type boundaries
USINT/SINT - Index
UINT/INT
- Index
UDINT/DINT - Index
ULINT/LINT - Index
Comparison cannot be performed, type REAL
GT, Greater than
GE, Greater than or equal to
EQ, Equal to
LE, Less than or equal to
LT, Less than
NE, Not equal to
5
7
8
236
237
238
239
240
241
242
243
244
245
Comment
No error
Invalid input parameter; operation, function, or function block is not executed.
Undefined results may be returned.
Overlimit. The maximum value is returned.
Underlimit. The minimum value is returned.
Conversion error; the input parameter could not correctly be converted. Conversion is
performed with an internally modified input parameter. Undefined results may be
returned.
Division by zero.
Index error; overlimit; command is not executed.
Operation is not defined.
Process data channel overflow.
More than 8 TLD, OTD, MTD, NC_VAR, TLED, TLBD, DCD have simultaneously been
programmed.
To many variable accesses.
More than 100 NC variables have been programmed.
Interface not open. WR_STRING or RD_STRING access a serial interface that has not
yet been opened.
STRING processing overflow. A STRING of more than 255 characters has occurred
during STRING function processing.
Invalid input parameter DEVICE; the DEVICE number specified in the selection of the
serial interface parameters is negative or too high.
Invalid input parameter SERNR; the SERNR number specified in the selection of the
serial interface parameters is negative or too high.
Invalid input parameter BAUD; the baud rate specified in the selection of the serial
interface parameters is negative or too high.
Invalid input parameter DATA; the DATA number of data bits specified in the selection
of the serial interface parameters is negative or too high.
Invalid input parameter PARITY; the parity bit evaluation number specified in the
selection of the serial interface parameters is negative or too high.
Invalid input parameter STOP; the STOP number of stop bits specified in the selection
of the serial interface parameters is negative or too high.
Rev C, 10/97
5-71
IAE 74768
QUICK REFERENCE GUIDE
No.
Comment
246 Invalid input parameter PROTOKOL; the PROTOKOL number for the serial interface
type specified in the selection of the serial interface parameters is negative or too high.
247 Invalid input parameter HANDSH; the HANDSH number for the handshake type
specified in the selection of the serial interface parameters is negative or too high.
248 Interface cannot be found; the interface that has been specified in the selection of the
serial interface parameters cannot be found.
249 All COM interfaces open; all serial interfaces have been opened.
250 All SOT interfaces open; all serial interfaces have been opened as SOT interfaces.
251 Cascading SOTs is not possible.
252 General interface error; parity, frame, overrun
253 Transmit buffer overflow; more than ... characters have been written to the transmit
buffer.
254 Receive buffer overflow; more than ... characters have been stored in the receive buffer.
255 Acknowledgment message frame time-out.
Infinity:
Result of an overlimit condition
Number any number except zero, and NaN
The second line contains ErrorTyp / ErrorNr or no error.
ADD
Number
Zero
Number +
Number
Number
No error
Number
No error
Zero
-10008/2
Zero +
No error
No error
-10008/2
-10008/2
NaN
-10008/8
-10008/2
NaN
-10008/8
NaN +
5-72
NaN
-
-10008/3
-
-10008/3
NaN
-10008/8
NaN
-10008/2
NaN
-10008/8
-10008/8
NaN
-10008/8
-10008/8
NaN
-10008/8
NaN
-10008/8
NaN
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Number
Zero
-10018/8
NaN
-10018/8
NaN
-10018/8
-10018/2
NaN
-10018/8
-10018/8
NaN
-10018/8
NaN
Number
Number
No error
Zero
-10018/3
Zero -
No error
Number
No error
No error
-10018/3
-10018/2
NaN
-10018/8
-10018/2
NaN
-10018/8
NaN -
NaN
-
-10018/2
-
-10018/2
NaN
Number -
NaN
-10018/8
NaN
Number
Zero
-
-10028/3
-
-10008/8
NaN
-10028/8
NaN
-10028/2
NaN
-10028/8
-10028/3
NaN
-10028/8
-10028/8
NaN
-10028/8
NaN
NaN
-10038/8
NaN
-10038/8
NaN
-10038/8
NaN
-10038/8
Number *
Number
Number
No error
Zero
-10028/2
Zero *
No error
Number
No error
-10028/8
No error
NaN *
-10028/2
NaN
-10028/8
-10028/2
NaN
-10028/8
NaN
-10028/8
NaN
Number
Zero
Number /
Number
No error
Zero
No error
Zero
No error
Zero
No error
Number
No error
NaN
-10038/8
-
- Zero
No error
- Zero
No error
NaN
NaN /
-10038/2
NaN
-10038/8
-10038/2
NaN
-10038/8
-10038/8
NaN
-10038/8
-10038/8
NaN
-10038/8
Zero /
Rev C, 10/97
5-73
IAE 74768
QUICK REFERENCE GUIDE
6. GATEWAY SIGNALS
These status and control signals are available once for each of the 7 available MTCNC processes (0...6).
These status and control signals are available once for each of the 20 available
MT-CNC axes.
These signals are available once and influence the complete MT-CNC system.
Parts of the common memory area between CNC and SPS can be accessed only
by using provided FUNCTIONs and FUNCTION_BLOCKs in the SPS. This
assures proper timing during data access and eliminates complicated data access
programs.
Service channels (1 for SERCOS and 1 for APR) are
used to exchange data (non real-time) between digital
drive systems and the SPS of the MT-CNC, using the Serial Real-time
Communication System (SERCOS) interface.
The user part of the identifier is defined as PxxC or PxxS for process signals, and AxxC or
AxxS for axis signals in this guide. This may be different in your SPS program if something
else is specified in your declaration list.
Rev C, 10/97
Gateway Signals
6-1
IAE 74768
QUICK REFERENCE GUIDE
P03C.EXT24
P=process / M=mechanism
process / mechanism number (0...31)
C=control signal / S=status signal
Separator between user defined and system defined
identifier (derived data type)
Signal name or mnemonic
PxxC.EXT24
PxxC.LINE
PxxC.ESTAT
6-2
These E-Stop conditions should only cause an E-Stop for the single station (process).
Incorrect diagnostics may be displayed if the E-Stop condition causes E-Stop of the
complete machine. These signals must have the status of 1 to enable the power to the
process.
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxC.BBSUP
PxxC.TPSUP
PxxC.BBMSP
The drive power supply may NOT provide a UD or Bb2 contact to monitor the DC bus
voltage, but requires a soft start circuit. In this case combine (binary AND) the
AxxC.READY signals of all the process axes and assign the RLO to the signal
PxxC.UDRDY.
Rev C, 10/97
Gateway Signals
6-3
IAE 74768
QUICK REFERENCE GUIDE
STATUS
o
1
1
1
1
PxxC.BBSUP
PxxC.TPSUP
AxxC.MTAS
DESCRIPTION
No process error active
External 24VDC is present
Single phase for drives is present
Station E-Stop is not active
Machine E-Stop is not active
Further E-Stop conditions are not active
1
1
6-4
External conditions in the SPS program must be combined with the signal PxxC.POWON.
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxS.POWER
Power is ON
0= Process power is OFF
1= Process power is ON
This signal status of 1 indicates to the SPS that the process power is on and NC program execution
with axis motion is possible.
Table 6-3: Conditions required for PxxS.POWER=1
SIGNAL
PxxS.POWON
PxxC.PWRDY
PxxC.UDRDY
PxxC.BBMSP
STATUS
1
1
1
1
DESCRIPTION
CNC Power ON
Drive power contactor is ON
Drive bus voltage OK and present
Main spindle drive ready
Rev C, 10/97
PxxC.MODE0
0
1
0
1
PxxC.MODE1
0
0
1
1
Mode changes during NC-program execution will cause an immediate process stop.
Gateway Signals
6-5
IAE 74768
QUICK REFERENCE GUIDE
PxxC.ADV
(2)
(3)
(4)
1
0
1
PxxS.ACTIV 0
PxxS.REV
1
0
1
PxxS.READY 0
(1)
(2)
(3)
(4)
NC-Part program is started with the Advance Program start (PxxC.ADV) switching from 0 to 1.
PxxS.ACTIV is 1 during any NC-program execution. The signal PxxS.REV remains 0 if no reverse
program is active, while the PxxS.READY signal switches to 0 when the NC-program is active.
The status of PxxC.ADV may switch back to 0 once the NC-program is started (PxxS.ACTIV=1) and single
block mode not active.
The NC-program execution is finished after processing a NC command BST or RET. The status of
PxxS.ACTIV switches back to 0 and is ready for start (PxxS.READY=1).
PxxC.REV
(2)
(3)
(4)
1
0
1
PxxS.ACTIV 0
PxxS.REV
1
0
1
PxxS.READY 0
(1)
The reverse part program of the NC-program is started with the Reverse Program Start (PxxC.REV) switching
from 0 to 1.
(2)
PxxS.REV and PxxS.ACTIV =1 indicate that the reverse NC-program is being executed. PxxS.READY has
the status of 0 during the NC-program execution.
(3)
PxxC.REV may switch to 0 after starting the reverse program.
(4) The NC-program execution is finished after processing a NC command BST or RET. The status of
PxxS.ACTIV switches back to 0 and is ready for start (PxxS.READY=1).
6-6
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxC.ADV
(2)
(3)
(4)
(5)
(6)
1
0
1
PxxS.ACTIV 0
PxxS.REV
1
0
PxxS.STOP
1
0
1
PxxS.READY 0
(1)
(2)
(3)
(4)
(5)
(6)
NC-Part program is started with the Advance Program start (PxxC.ADV) switching from 0 to 1.
PxxS.ACTIV=0 while the NC-program is being processed. PxxS.REV=0 while the advance program is
active. The status of PxxS.READY switches to 0 once the NC-program is started.
The NC-program is executed only while PxxC.ADV=1.
The NC-program stops immediately (PxxS.STOP=1) whenever the status of PxxC.ADV switches to 0. This
stop is similar to a feed hold for the process.
NC-program execution continues when the status of the signal (PxxC.ADV) switches back to 1.
The NC-program execution is finished after processing a NC command BST or RET. The status of
PxxS.ACTIV switches back to 0 and is ready for start (PxxS.READY=1).
PxxC.REV
(2)
(3)
(4)
(5)
(6)
1
0
1
PxxS.ACTIV 0
PxxS.REV
1
0
PxxS.STOP
1
0
1
PxxS.READY 0
(1)
(2)
The reverse part program of the NC-program is started with the Reverse Program Start (PxxC.REV) switching
from 0 to 1.
PxxS.REV and PxxS.ACTIV =1 indicate that the reverse NC-program is being executed. PxxS.READY has
the status of 0 during the NC-program execution.
Rev C, 10/97
Gateway Signals
6-7
IAE 74768
QUICK REFERENCE GUIDE
(3)
(4)
(5)
(6)
PxxC.JOGM0
0
1
0
1
0
1
0
1
PxxC.JOGM1
0
0
1
1
0
0
1
1
PxxC.JOGM2
0
0
0
0
1
1
1
1
Jog movements are allowed if the axis is not homed unless interlocks are implemented in
the SPS program.
A new Jog Increment will be started whether the previous increment was interrupted or
not!
A new Jog Increment will be started whether the previous increment was interrupted or
not!
6-8
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
The best values for Maximum Axis Velocity, Maximum Axis Velocity Change and Maximum Axis
Acc/Decel can be determined for an analog axis, using the parameter test mode. The oscilloscope
functions of the MUI can be used for digital drives.
Automatic Parameter test , Analog Axis:
(1)
AxxC.JGNEG (or)
AxxC.JGPOS
1
0
PxxC.PARAM
1
0
AxxC.HOME
1
0
AxxS.MVPOS (or)
AxxS.MVNEG
1
0
(1)
(2)
(3)
(5)
(3)
(4)
(5)
The automatic parameter test is performed within the distance specified via tracing the distance by jogging the
axis. First the axis must be jogged to the test start position, using the AxxC.JGPOS or AxxC.JGNEG signals.
The axis position is stored by setting the status of the signal PxxC.PARAM=1. This position is the start
positions used for the test movements.
The axis must then be jogged to its test end position. The distance between the test start and end position is used
to automatically move the axis during the test.
NOTE:
(4)
(2)
The axis will move with its maximum velocity within the specified start and end position.
Make sure that the axis if free of any possible collisions.
The automatic test is started via the single axis home command (AxxC.HOME=1). During the test the axis
moves within the specified distance several times at maximum velocity. The test is performed only while the
signal (AxxC.HOME=1), the test will stop if (AxxC.HOME=0).
The test results are available in the MUI and may be used for optimizing the axis parameters and performance.
Rev C, 10/97
Gateway Signals
6-9
IAE 74768
QUICK REFERENCE GUIDE
The NC-program number may be selected from within the process 0 NC-program (NCcommand SP) via the MUI/GUI/ SOT (for process 0 only) or the SPS (PxxC.SP,
PxxC.PRGNR). The NC-program that has been selected last will be executed with the next
process start (PxxC.ADV).
A new NC-program can be selected while another NC-program is active. The newly selected program
requires a process advance/reverse start for its execution.
PxxS.PRGNR
6-10
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxC.SP
ATTENTION:
Enable Process
0= Process is not enabled
1= Process is enabled
NC-program execution and axis motion is only possible if (PxxC.ENABL=1). If this signal switches
to 0 while NC-program execution or axes jog movements the axes are stopped using a controlled
ramp.
PxxC.ADV
STATUS
1
0
1
0
1
0
0 or (1)
DESCRIPTION
Process power ON
No process error
Process enabled
No reverse part program active
Process ready for start
Process stop is not active
If single cycle mode is selected
(PxxC.SINGL=1) the advance
NC-program will be interrupted after
each NC-block.
Automatic Mode:
A signal change from 0 to 1 starts the NC-program if the all of the requirements are met. The
signal PxxC.ADV must not maintain a status of 1 after the start. NC-program execution and axis
motion may be stopped (feed hold) using PxxC.STOP. The NC-program can be continued after a (feed
hold) by toggling PxxC.ADV if no process error had occurred.
Semi-Automatic and Manual Mode, except Parameter Test Mode:
A signal change from 0 to 1 starts the NC-program if all of the requirements are met. A signal
status of 1 is required at the signal PxxC.ADV to obtain axis movement and NC-program execution.
Rev C, 10/97
Gateway Signals
6-11
IAE 74768
QUICK REFERENCE GUIDE
Block execution and axes motion is stopped, controlled ramp, if PxxC.ADV is switched to 0. NCprogram execution may continue at this point if the PxxC.ADV signal is switched to 1 and no process
error had accrued.
PxxC.REV
STATUS
1
0
1
DESCRIPTION
Process power ON
No process error
Process is enabled
Automatic Mode:
The signal change from 0 to 1 starts the NC-program if the process is enabled, has power and no
error is active. The signal (PxxC.REV) must not maintain a status of 1 after the start. NC-program
execution and axis motion may be stopped (feed hold) using (PxxC.STOP). The NC-program can be
continued from that position via (PxxC.REV =1) if no process error occurred.
Semi-Automatic and Manual mode, except parameter test mode
The signal change from 0 to 1 starts the NC-program if the process is enabled, has power and no
error is active. A signal status of 1 is required for the signal (PxxC.REV) to perform axis movement
and NC-program execution.
NC-block execution and axes motion is stopped, ramp controlled, if the signal status of (PxxC.REV)
switches to 0. NC-program execution may be continued from that position while the signal
(PxxC.REV) has a status of 1. The NC-program execution can not be continued if a process error
occurred.
PxxC.STOP
PxxC.SINGL
6-12
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxC.BLSKP
Skip NC-block(2),(3),(4),(5)
0= NC-blocks are not skipped
1= NC-blocks are skipped
NC-blocks that are marked by a forward slash ( / ) are skipped when this signal is set to 1. A series of
blocks can only be skipped if (PxxC.SINGL = 0) and (PxxC.BLSKP = 1) before the first NC-block
of the series has been processed. In single block mode (PxxC.SINGL = 1), the NC checks prior to
processing each block whether skipping the block has been activated through the signal (PxxC.BLSKP
= 1). The block is not processed if the signal is 1 before the NC-block is processed.
PxxC.M001
Conditional Stop(2),(3),(4),(5)
0= M01 does not interrupt NC-program execution
1= M01 interrupts NC-program execution
If this signal is set to 1, programming the M01 function in the NC-program causes the program to
stop. The auxiliary function is transferred to the PLC and must be acknowledged. The NC interprets
the (PxxC.M001) signal after the M-function has been acknowledged. The (PxxS.STOP) signal is not
influenced when the NC-program is stopped.
NOTE: A change of the (PxxC.M001) interface signal state after a program interruption does not
have an effect on the program interruption.
PxxC.RAPID
PxxC.REPOS
PxxC.RESTA
Rev C, 10/97
During repositioning in manual mode, the jog keys respond like in the normal jog mode. The NC
ensures that the axes do not overrun the start or target position.
In the program modes, executing a subroutine .REPOS is used to restore the state that existed
before the interruption. The (PxxC.ADV) signal is used to start the subroutine.
Gateway Signals
6-13
IAE 74768
QUICK REFERENCE GUIDE
PxxC.CLEAR
When performing a Control Reset the active reverse vectors will be cleared! Recovery
sequences that are programmed via Reverse vectors will not be executed anymore!
The basic reverse vector .HOMEwill be the only reverse vector active.
6-14
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxS.READY
PxxS.RUN
PxxS.ACTIV
Rev C, 10/97
Gateway Signals
6-15
IAE 74768
QUICK REFERENCE GUIDE
PxxS.REV
PxxS.STOP
PxxS.POWIN
PxxS.MDIAC
PxxS.TRANS
6-16
Translation Active
0= Translation is not active
1= Translation is active
This signal is used to inform the PLC whether or not the translation from Cartesian coordinates into
polar coordinates has been activated.
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxS.CREST
Provided that the related control signals (PxxC.REPOS, PxxC.RESTA) have been set, the NC only
updates the status signal during repositioning or restart.
PxxS.REPOS
PxxS.G00
PxxS.G74
PxxS.G08
PxxS.TREAD
PxxS.G96
PxxS.PROC
Process Number
INT = Process number
This signal is used to inform the PLC the process number.
Rev C, 10/97
Gateway Signals
6-17
IAE 74768
QUICK REFERENCE GUIDE
PxxC.FOVRD
Feed Override
0...255= USINT representing % of Feed Override
The feedrate override influences the velocity of linear and rotary axis. This signal is active in operating
all modes and valid for all axis movements, except during homing of digital servo drives (DDS).
The range of feedrate override is 0...255 (decimal Unsigned Short Integer) which is equal to
0...255% in the CNC. The axis velocity is limited to the value entered in the Maximum Feedrate
(parameters).
NOTE: In version 14VRS and above only the main axes are influenced via PxxC.FOVRD. The
corresponding axis signal AxxC.OVRD must be used to control the feed override of NONinterpolating axes (e.g., tool storage axis).
NOTE:
PxxC.SOVRD
Since the default of PxxC.FOVRD is 0%, the Feedrate Override and its limits must be
generated within the SPS program.
Spindle Override(1),(2)
0...255= USINT representing % of Spindle Override
The spindle override influences the velocity the process main spindles. This signal is active in
operating all modes and valid for all spindle movements, except during homing of a digital main
spindle.
The range of spindle override is 0...255 (decimal Unsigned Short Integer) which is equal to
0...255% in the CNC. The spindle velocity is limited to the value entered in the Maximum Feedrate
(parameters).
NOTE: Since the default of PxxC.SOVRD is 0%, the Spindle Override and its limits must be
generated within the SPS program.
NOTE: Only main axes are influenced via PxxC.FOVRD. The corresponding axis signal
AxxC.OVRD and AxxC.RAPID must be used to control the feed override of NONinterpolating axes (e.g., tool storage axis). Assign the value of PxxC.FOVRD to
PxxC.ROVRD if no extra rapid override switch exists.
NOTE: In version 15VRS and above the signal PxxC.SOVRD is replaced by PxxC.ROVRD.
6-18
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
The Rapid Feedrate Override and its limits must be generated within the SPS program
since the default of PxxC.ROVRD is 0%. A status message is automatically issued to the
MUI or SOT by the MT-CNC if the feedrate override is at 0%.
NOTE: Only main axes are influenced via PxxC.FOVRD. The corresponding axis signal
AxxC.OVRD and AxxC.RAPID must be used to control the feed override of NONinterpolating axes (e.g., tool storage axis). Assign the value of PxxC.FOVRD to
PxxC.ROVRD if no extra rapid override switch exists.
NOTE: In version 15VRS and above the signal PxxC.SOVRD is replaced by PxxC.ROVRD.
6.10 Process / Part Program Synchronization
The MT-CNC contains 7 processes (0...6), process 0 can be used as a Management Process to control processes (1...6).
The CNC provides special NC-commands in the Management Process (0) that influence certain Gateway signals. The
SPS is used to link these required Gateway signals of the Management Process (0) and Slave Process (1...6) together.
Pxx(y).DP
STATUS
0
1
0
1
DESCRIPTION
Process is not defined in Mgmt. process
Process defined in Mgmt. process
Process is not defined
Define process
A slave process must be defined in the management process first before it can be advanced or reversed.
The SPS reads the signal PxxS.DP and transfers its status with PxxC.DP to the process defined in the
management process via the NC-command DP xx.
Rev C, 10/97
Gateway Signals
6-19
IAE 74768
QUICK REFERENCE GUIDE
PxxS.LP
Lock Process
Table 6-9: Lock Process Signals
SIGNAL
PxxS.LP
PxxS.LP
P
xx
C,S
STATUS
0
1
DESCRIPTION
Do not lock process
Lock (disable) process
A slave process can be locked via the NC-command LP xx in the Mgmt. NC-program. A locked
condition can disable axis motion for that process. The signal PxxS.LP has a status of 1 until the NCcommand BST, RET, M02 or M30 is executed in the Mgmt. process.
The NC-command LP xx in the Mgmt. program sets the status of the corresponding Gateway signal
(PxxS.LP=1).
NOTE:
6-20
A system error is generated for the Mgmt. process if a process that is being locked is not
defined. The conditions to lock a process must be programmed in the SPS.
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Pxx(y).AP
STATUS
0
1
0
1
DESCRIPTION
No advance process from the Mgmt. proc
Advance process from the Mgmt. process
No advance process
Advance process
The NC-command AP xx must be used in the Mgmt. NC-program to advance a process or external
mechanism. The slave process or mechanism must have been defined (DP xx) previously in the Mint.
NC-program.
Time Diagram for Slave Process Advance:
(1)
(2)
(3) (4)
1
PxxS.DP=PxxC.DP 0
PxxS.AP=PxxC.AP
1
0
PxxC.ADV
1
0
PxxS.READY
1
0
PxxS.ACTIV
1
0
PxxS.REV
1
0
PxxS.QP
1
0
(1)
(2)
(3)
(4)
(5)
(6)
(5)
(6)
The slave process is defined DP xx in the Mgmt. NC-program and confirmed in the SPS program using the
(PxxS.DP and PxxC.DP) signals.
The PxxS.AP signal is generated from the NC-command AP xx in the Mgmt. program.
The advance slave process start signal (PxxC.ADV) is derived from the (PxxC.AP) signal in the SPS.
(PxxS.ACTIV=1) and (PxxS.READY=0) when the slave process executes the advance process program
section.
(PxxS.ACTIV=0) and (PxxS.READY=1) after the slave process advance NC-program is finished. The slave
process acknowledges with (PxxS.QP=1), using the NC-command POK , at the end of the slave process
program execution.
The slave recognizes the status 0 of the PxxS.AP signal and resets its PxxS.QP signal to 0.
Pxx(y).RP
Rev C, 10/97
Gateway Signals
6-21
IAE 74768
QUICK REFERENCE GUIDE
Table 6-11: Reverse Process Signals
SIGNAL
PxxS.RP
PxxS.RP
PxxC.RP
PxxC.RP
P
xx
C,S
STATUS
0
1
0
1
DESCRIPTION
No reverse process from the Mgmt. proc
Reverse process from the Mgmt. process
No reverse process
Reverse process
The NC-command RP xx must be used in the Mgmt. NC-program to reverse a process or external
mechanism. The slave process or mechanism must have been defined (DP xx) previously in the Mgmt.
NC-program.
Time Diagram for Slave Process Reverse:
(1)
(2)
(3) (4)
1
PxxS.DP=PxxC.DP 0
PxxS.RP=PxxC.RP
1
0
PxxC.REV
1
0
PxxS.READY
1
0
PxxS.ACTIV
1
0
PxxS.REV
1
0
PxxS.QP
1
0
(1)
(2)
(3)
(4)
(5)
(6)
(5)
(6)
The slave process is defined DP xx in the Mgmt. NC-program and confirmed in the SPS program using the
(PxxS.DP and PxxC.DP) signals.
The PxxS.RP signal is generated from the NC-command RP xx in the Mgmt. program.
The reverse slave process start signal (PxxC.REV) is derived from the (PxxC.RP) signal in the SPS.
(PxxS.ACTIV=1) , (PxxS.READY=0), and (PxxS.REV=1) when the slave process executes the reverse
process program section.
(PxxS.ACTIV=0) and (PxxS.READY=1) after the slave process reverse NC-program is finished. The slave
process acknowledges with (PxxS.QP=1), using the NC-command POK , at the end of the slave process
program execution.
The slave recognizes the status 0 of the PxxS.RP signal and resets its PxxS.QP signal to 0.
Pxx(y).QP
6-22
STATUS
DESCRIPTION
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxS.QP
PxxS.QP
PxxC.QP
PxxC.QP
0
1
0
1
The PxxS.QP signal is set to 1 after the slave process has finished its advance or reverse program
execution using the NC-commands BST, RET, M02 or M30.
The signal PxxS.QP is reset 0 whenever the signal PxxC.AP or PxxC.RP from the SPS is set to 0.
The status of these signals is controlled by the Mgmt. process. Their status is reset to 0 after the
Mgmt. process received a status of 1 on the PxxC.QP signal from the slave process.
Pxx(y).POK
STATUS
0
1
0
1
DESCRIPTION
No full depth
Process full depth
No full depth
Process full depth
The status of PxxS.POK depends on the use of the NC-command POK in the management and slave
program:
(1) The NC-command POK sets the status of PxxS.POK immediately to 1 if no other processes
have been defined previously in process xx. In this case the process program in which POK is
programmed does not contain the NC-command DP xx.
(2) The PxxS.POK status of a process in which other processes have been defined previous to the
NC-command POK is set to 1, after execution of POK and receiving of PxxC.POK=1 of all
defined processes.
The signal PxxS.POK is reset to 0 if the process is advanced or reversed. Also a process Control
Reset or manual axis jogging will reset PxxS.POK to 0.
6.11 Spindle Control (SPSCNC)
A process spindle is specified in the system parameters by assigning it to one of the possible 20 axes. A spindle can be
controlled like an axis however, a spindle and axes normally depend on each other. Further signals are therefore required
to control a spindle.
PxxC.SPSTP
PxxC.SPHLT
Rev C, 10/97
Gateway Signals
6-23
IAE 74768
QUICK REFERENCE GUIDE
PxxC.N_CMD
The SPS must contain the logic to monitor the N=CMD of the main spindle drive.
PxxC.SSnMT
6-24
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxC.SSnON
PxxS.SCONn
PxxS.SSnOK
PxxS.SSnER
Rev C, 10/97
Gateway Signals
6-25
IAE 74768
QUICK REFERENCE GUIDE
Part Machined
0= Part machining not completed
1= Part machining completed
The system must be set to logic 1 if a POK has been programmed within a MASTER NC-program
and the mechanism has been defined as s subordinate unit in that process. Refer to the explanation of
the internal process signal PxxC.POK for details on the part machined signal. If an external
mechanism has been allocated to a process in a SLAVE MT-CNC, the PxxS.POK signal of the
SLAVE process must be mapped via the I/O level onto the MxxC.POK signal in the MASTER
controller.
MxxC.QP
Define Mechanism
0= Mechanism has not been defined
1= Mechanism has been defined
The NC sets this signal if the DPxx command (xx = mechanism number) has been programmed within
a NC-program. Refer to the explanation of the internal process signal PxxS.DP for details about the
define process signal.
MxxS.RP
MxxS.AP
MxxS.LP
Disable Mechanism
0= Mechanism not disabled
1= Disable mechanism
This signal informs the PLC that a LP disable mechanism has been programmed for that mechanism
in the higher level process. Refer to the explanation of the process related interface signal PxxS.LP
for more information.
6-26
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Mechanism Number
INT = Mechanism
This signal is used to inform the PLC the mechanism number.
A=Axis
.
C=control signal / S=status signal
Separator between user defined and system defined
identifier (derived data type)
Signal name or mnemonic
Transfer all axis control signals to the CNC without any further logic combinations in the SPS to assure
correct diagnostics.
Rev C, 10/97
Gateway Signals
6-27
IAE 74768
QUICK REFERENCE GUIDE
AxxC.MTAS
NOTE:
AxxC.ENABL
Axis Enable
0= Axis disabled
1= The SPS enables the axis
This signal is only valid and active in Manual Operating Mode. Manual axis movements are not
possible if (AxxC.ENABL=0). The axis stops immediately if the status of AxxC.ENABL switches to
0 while the axis is moving.
NOTE:
6-28
The status of AxxC.ENABL must be set to 1 to allow axis jog movements in manual
mode.
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
AxxC.STRBP
Rev C, 10/97
Gateway Signals
6-29
IAE 74768
QUICK REFERENCE GUIDE
AxxC.HOME
AxxC.JGPOS
NOTE:
NOTE:
The reverse program still needs to be executed even if all process axes have been homed
manually, to achieve a ready for start signal (PxxS.READY=1).
6-30
STATUS
1
0
1
1
1
1
1
0
0
0
0
0
DESCRIPTION
Manual operating mode
Axis enabled
Axis regulator release
Axis ready
Process enabled
Process power active
No process error active
No NC-block active
No process stop active
No single axis home
No jog negative
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
AxxC.JGNEG
AxxC.OVRD
STATUS
1
0
1
1
1
1
1
0
0
0
0
0
DESCRIPTION
Manual operating mode
Axis enabled
Axis regulator release
Axis ready
Process enabled
Process power active
No process error active
No NC-block active
No process stop active
No single axis home
No jog positive
Axis Override(2),(3),(4),(5)
AxxC.OVRD = 0...255 (16#00...FF): Speed/feed override in %.
This gateway signal control Byte for all NON-interpolating axes such as main spindle and tool storage
(turret, magazine) axes. AxxC.OVRD must be used to modify the feed or speed, depending on the type
of axis.
The override is processed by the CNC independent of the active operating mode. The override is
active at all process axis movements, except during homing of digital servo drives (DDS)
The range of the axis override is 0...255 (decimal Unsigned Short Integer) which is equal to 0...255%
in the CNC. The axis velocity is limited by the CNC to its maximum velocity (parameters) if the
override would exceed the maximum (parameter) axis velocity.
NOTE: In version 14VRS and above only the main axes are influenced via PxxC.FOVRD. The
corresponding axis signal AxxC.OVRD must be used to control the feed override of NONinterpolating axes (e.g., tool storage axis).
AxxC.QDDS
Rev C, 10/97
Gateway Signals
6-31
IAE 74768
QUICK REFERENCE GUIDE
AxxC.GEAR1
AxxC.GEAR2
AxxC.GEAR3
AxxC.GEAR1
0
0
0
0
1
AxxC.GEAR2
0
0
1
1
1
AxxC.GEAR3
0
1
0
1
1
The axis Gateway signals AxxC.GEAR(1...3) are available for each spindle axis and is used to inform
the CNC about the current gear range selection. The CNC considers the status of these signals only if
more than 2 gear ranges exist (see spindle gear range Axis Parameters).
AxxC.M3
Spindle on CW (M3)(2),(3),(4),(5)
0= No function
1= Start spindle clockwise
This signal is valid in manual mode only. A status change from 0 to 1 can be used in the SPS
program to start the spindle in a clockwise rotation. The value of the axis parameter Cxx.020 is used as
the speed command value.
Table 6-19: Requirements for AxxC.M3
SIGNAL
PxxC.MODE1
PxxC.MODE0
AxxC.ENABL
AxxS.RF
AxxC.READY
AxxC.MHOLD
AxxC.M4
AxxC.M5
AxxC.M19
STATUS
1
0
1
1
1
0
0
0
0
DESCRIPTION
Manual operating mode
Axis enabled
Axis regulator release
Axis ready
No motion hold
No spindle ccw command
No spindle stop command
No spindle stop command
AxxC.M3 must not maintain a status of 1 to keep the spindle running. The spindle will run until a
signal change 0 1 occurs at AxxC.M4, AxxC.M5, AxxC.M19 or if the corresponding aux. NCfunction Mx03, Mx04, Mx05, or Mx19 (x=, ,1,2,3) is executed or the drive power is switched off.
6-32
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
AxxC.M4
STATUS
1
0
1
1
1
0
0
0
0
DESCRIPTION
Manual operating mode
Axis enabled
Axis regulator release
Axis ready
No motion hold
No spindle cw command
No spindle stop command
No spindle stop command
AxxC.M4 must not maintain a status of 1 to keep the spindle running. The spindle will run until a
signal change 0 1 occurs at AxxC.M3, AxxC.M5, AxxC.M19 or if the corresponding aux. NCfunction Mx03, Mx04, Mx05, or Mx19 (x=, ,1,2,3) is executed or the drive power is switched off.
AxxC M5
AxxC.M19
Rev C, 10/97
Gateway Signals
6-33
IAE 74768
QUICK REFERENCE GUIDE
NOTE: Because of signal transfer time delays (SPS CNC), axis motion may be started if the status
of AxxC.MHOLD is set to 1 upon the motion command signals. However, motion will stop
immediately once the status 1 of AxxC.MHOLD is recognized by the CNC.
Interpolating/coupled axes:
Interpolating axes or axes participating in the coupling are stopped with maintaining the programmed
path. The motion is continued if the SPS program sets the status of AxxC.MHOLD to 0.
NOTE: It is not allowed to program an axis whose motion is on hold (AxxC.MHOLD=1) while G8
Contouring Mode, Acceleration is active.
AxxC.N_CMD Spindle at Commanded Speed(2),(3),(4),(5) (N=CMD)
0= Spindle at commanded speed
1= Spindle NOT at commanded speed
The spindle command value (S-word) is output to the drive at the beginning of NC-block execution.
Feed axis movement programmed in the same NC-block is allowed by the CNC after the commanded
speed or position is achieved (depends on acceleration axis parameters). This can cause problems if
the commanded spindle acceleration, speed or position can NOT be achieved by the axis drive. The
CNC would then allow feed axis motion even though the actual speed/position differs from the
commanded speed/position. To prevent such problems, AxxC.N_CMD and the corresponding status
signals of the spindle drive must be used to allow feed axis movement only if (AxxC.N_CMD = 0)
the actual speed/position is maintained (within the window parameter settings) by the drive.
NOTE: In version 14VRS and above the signal AxxC.N_CMD replaces the signal PxxC.N_CMD.
AxxC.RAPID
6-34
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
AxxC.SPSTP
AxxC.SPHLT
AxxC.SPSTE
AxxC.SPRST
Rev C, 10/97
Gateway Signals
6-35
IAE 74768
QUICK REFERENCE GUIDE
AxxS.BBDIG
6-36
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
AxxS.WPn
AxxS.IDDS
AxxS.LD90
AxxS.SYNC
AxxS.N_CMD
AxxS.N_MIN
Rev C, 10/97
Gateway Signals
6-37
IAE 74768
QUICK REFERENCE GUIDE
1= Actual speed is less than the specified minimum spindle speed
The signal AxxS.N_MIN reflects the status of SERCOS ID number S-0-0331 (Message nactual=0)
bit 0. The ID number S-0-0124 (Zero Velocity Window) can be used to specify the drives minimum
speed.
AxxS.MD_DX
AxxS.N_MAX
AxxS.INPOS
AxxS.P_PX
AxxS.POWN
AxxS.MCPOS
6-38
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
NOTE: The status of both, AxxSMCPOS and AxxS.MCNEG are set to 1 during axis homing, spindle
positioning, circular interpolation and hand wheel mode.
AxxS.MCNEG Motion Command, Negative(2),(3),(4),(5)
0= No negative motion commanded for the axis
1= Negative motion commanded for the axis
AxxS.MCNEG has a status of 1 if a negative motion or movement is commanded for the axis.
Movement interruptions caused by a stop, reset the status of AxxS.MCNEG to 0.
NOTE: The status of both, AxxSMCPOS and AxxS.MCNEG are set to 1 during axis homing, spindle
positioning, circular interpolation and hand wheel mode.
6.16 MT-CNC Specific APR parameters
This section describes all MT-CNC (APR) drive parameters that are available at the time of printing. The data of these
ID numbers / digital drive parameters is accessed via the APR service channel using the NC-command AXD and
FUNCTION_BLOCKs AXD_RD and AXD_WR.
Table 6-21: APR parameter range defined for the MT-CNC
General drive
parameter
structure used in
NC-command AXD
P-7-3560
:
P-7-4096
65000
:
65535
Rev C, 10/97
Gateway Signals
6-39
IAE 74768
QUICK REFERENCE GUIDE
2= Point to point operation without filter
65006P-7-3566 Activation of SCARA lift/rotary axis
(read/write), (drive: X axis)
Bit 0:
0= Z axis and manual axis are mechanically separated
1= Lift/rotary axis
Bit 1:
0= Pos. direction of correction when lift/rotary axis is used
1= Neg. direction of correction when lift/rotary axis is used.
65007/P-7-3567 Length of SCARA Gripper Arm
(read/write), (drive: X axis)
Program in (0.1m) increments.
65019/P-7-3579 SCARA Arm Length
(read/write)
The APR takes the SCARA arm length from the drives when the DDS is used. The arms lengths are
defined in the SERCOS parameters P-0-0102. If one of the drives does not support the P-0-0102
parameter, the related arm length can be selected via the ident number 65019. The drives have the
selected lengths assigned:
- X axis (1st axis APR)
1st SCARA arm.
nd
- Y axis (2 axis APR)
2nd SCARA arm
rd
- Z axis (3 axis APR)
SCARA gripper arm
- W axis (4th axis APR) SCARA gripper arm
The parameter values of the SCARA gripper arm may also be selected via the ident number 65007.
65020/P-7-3580 Speed of SCARA Drive in Point to Point Operation
(read/write)
X, Y and W axis: Speed in 0.0001 rpm
Z axis:
Velocity in 0.001 mm/min
65021/P-7-3581 Acceleration of SCARA Drive in Point to Point Operation
(read/write)
X, Y and W axis: Acceleration in 0.001 rad/s2
Z axis:
Acceleration in 0.001 mm/s2
6-40
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
65039/P-7-3599 Referenced Path Velocity for Sealant Application Using SCARA Robots
(read/write), (drive: X axis)
The specified spindle speed is output to the pump motor when the Cartesian axes move at referenced
path velocity. This parameter can be programmed in 1 mm/min increments.
VBahn = Vx 2 + Vy 2 + Vz 2
1) VBahn < VBahnreferenz:
NPumpe = SWert x
2)
VBahn
SOverride
x
VBahnreferenz 100
VBahnreferenz
SOverride
NPumpe = SWert x
100
VBahn
NPumpe
VBahn
VBahnreferenz
Vx
Vy
Vz
SWert
SOverride
Rev C, 10/97
Gateway Signals
6-41
IAE 74768
QUICK REFERENCE GUIDE
8
9
10
ACTION
0
1
0
1
0
1
0
1
0
1
0
1
DEFINITION
No function
Command spindle oscillation
No function
Command spindle positioning
No function
Command spindle speed, speed defined
in 65013 / P-7-3573, acceleration defined
in 65014 / P-7-3574
No function
Acknowledge spindle oscillating
No function
Acknowledge spindle positioning
No function
Acknowledge commanded spindle speed
NOTE: This feature requires the digital main spindle drive software version to be greater than HASE
0V0.9.
65013/P-7-3573 Spindle Speed for Spindle Function Cmd. Spindle Speed
(read/write)
The spindle speed value can be modified during activation of the spindle function Command Spindle
Speed in increments of 0.0001 1/min to a maximum value of 1000 1/min.
NOTE: This feature requires the digital main spindle drive software version to be greater than HASE
0V0.9.
65014/P-7-3574 Spindle Acceleration for the Spindle Function Command Spindle Speed
(read/write)
The spindle acceleration can be modified during activation of the spindle function Command Spindle
Speed. This value is programmed in rad/S2.
NOTE: This feature requires the digital main spindle drive software version to be greater than HASE
0V0.9.
65015/P-7-3575 Spindle Position for the Spindle Function Command Spindle Positioning
(read/write)
The spindle position can be modified during activation of the spindle function Command Spindle
Positioning. This parameter can be programmed in 0.0001 increments.
NOTE: This feature requires the digital main spindle drive software version to be greater than HASE
0V0.9.
6-42
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
ACTION
0
1
0
DEFINITION
Filter is inactive
Filter is active
Filter 1 selected.
Filter output position = Filter input position,
if maximum velocity and acceleration are not
exceeded.
Filter 2 selected
Filter with delay. At a constant velocity, the
filter output position lags behind the filter
input position.
Rev C, 10/97
Gateway Signals
6-43
IAE 74768
QUICK REFERENCE GUIDE
0=
Jerk limitation de-activated
1512= Filter depth, jerk limitation active
This ID number allows to activate Jerk limitation for the axis if the ID number 65022 is set to 1.
The filter depth value is accepted only while ID number 65022 is set to 0 and the path Jerk
limitation Bxx.034 (Acceleration Time
Constant) is set to 0 ms, unless handwheel mode is activated (in manual operating mode) for the axis
via the FUNCTION HNDWHELL. The acceleration time constant for the axis is determined as
follows: (Filter Depth) * (2ms) = (Axis Accel. Time Constant)
NOTE: This function is only available in MT-CNC software releases 04.13/xx and up.
65024/P-7-3584 Acceleration Override for Command Filter
(read/write)
This ID number can be used as an override for the acceleration if the position command smoothing
filter (ID number 65022=1) is active. A value of 100% equals the Maximum Acceleration Rate
(Cxx.018) of the axis. The acceleration override value is accepted only while ID number 65022 is set to
0.
65050P-7-3610 Smoothing Time Constant for Second Feedback System(3),(4),(5)
(read/write)
This time constant determines the coupling of the second feedback system with the motor feedback.
6.16.6 Synchronous Axis
65026/P-7-3586 Spindle Synchronization Mode (2),(3),(4),(5)
(read/write)
Spindles can be synchronized only if they are connected in the same SERCOS fiber optic loop (APR).
The first spindle address (address #1) is the master spindle, all remaining spindles are slave follower
spindles. Spindle Synchronization mode can be activated only if velocity mode is active for the
spindles. The mode must be selected first for the master spindle and then for the slave spindles.
Correct values must be assigned to the parameters (6502765030) before selecting the spindle
synchronization mode. NC-blocks with M19 are correctly executed only if the spindle axes have been
referenced via a M19 prior to selecting the spindle synchronization mode.
NOTE: Use Machine Parameters and the corresponding Gateway signals when using software
release 0X.15/00 and later.
65027/P-7-3587 Slave Spindle, Gear Ratio Input(2),(3),(4),(5)
(read/write)
Defines the input revolutions of the slave spindle when spindle synchronization mode is active.
NOTE: Use Machine Parameters and the corresponding Gateway signals when using software
release 0X.15/00 and later.
6-44
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Rev C, 10/97
Gateway Signals
6-45
IAE 74768
QUICK REFERENCE GUIDE
2
3
4
5
ACTION
0
1
0
1
0
1
0
1
0
1
0
1
DEFINITION
Torque measurement inactive
Torque measurement active
Torque measurement without acceleration
phase
Torque measurement with acceleration phase
Measuring the average torque value
Measuring the maximum torque value
Tool breakage monitoring function inactive
Tool breakage monitoring function active
Torque distribution measurement inactive.
Torque distribution measurement active
Lag error measurement inactive
Lag error measurement active
6-46
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
ACTION
0
1
DEFINITION
Homing not necessary
Homing necessary
6.16.9 General
65005/P-7-3565 Actual Drive Current / Torque (1),(2),(3),(4),(5)
(read)
The motor type plate contains the information to determine the nominal (standstill) motor torque.
Nominal torque (Nm) = Torque constant (Nm/A) + Standstill motor current (A).
Rev C, 10/97
Gateway Signals
6-47
IAE 74768
QUICK REFERENCE GUIDE
ACTION
0
1
0
DEFINITION
Motor feedback displayed
External feedback displayed
Drive data telegram containing actual position
value, actual velocity value and actual torque.
Drive data telegram containing actual position
value, actual velocity value, actual torque and
signal status word.
6-48
ACTION
0
1
DEFINITION
Normal operating mode
Simulation mode
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
ACTION
0
1
DEFINITION
Axis droop compensation inactive
Axis droop compensation active
ACTION
0
1
DEFINITION
Encoder system 1 active
Encoder system 2 active
Rev C, 10/97
Gateway Signals
6-49
IAE 74768
QUICK REFERENCE GUIDE
6-50
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
1= Activate APR table
This parameter is used to activate/deactivate the APR table for the specified axis.
65063/P-7-3623 Disable Path Velocity Monitor(3),(4),(5)
(read/write)
0= Path velocity reduction enabled
1= Path velocity reduction disabled
Path velocity optimization in Polar-Coordinate Transformation function (G31) can be switched off via
this AXD parameter. The default setting of path velocity can cause difficulties in high speed
machining. Disabling this reduction with this parameter allows for maximum path velocity, but the
user is responsible for staying within the velocity and acceleration limits.
65065P-7-3625 Dynamic Limit Response Time(3),(4),(5)
(read/write)
This parameter allows to program the response time of the dynamic limit monitoring in ms. the higher
the response time, the more effectiveness the dynamic limit monitoring has on the system.
65066/P-7-3626 Feed in Axis Reference Offset for G,(3),(4),(5)
(read/write)
Reference offset of feed axis at active polar coordinate transformation (G31) in 0.0001mm resolution.
Rev C, 10/97
Gateway Signals
6-51
IAE 74768
QUICK REFERENCE GUIDE
0x.12/xx 0x.13/xx
SOFTWARE
VERSION
A01S
A02S
A03S
A04S
A05S
A06S
A07S
A08S
A09S
A10S
A11S
A12S
A13S
A14S
A15S
A16S
A17S
A18S
A19S
A20S
%IW0.4
%IW0.12
%IW0.20
%IW0.28
%IW0.36
%IW0.44
%IW0.52
%IW0.60
%IW0.68
%IW0.76
%IW0.84
%IW0.92
%IW0.100
%IW0.108
%IW0.116
%IW0.124
%IW0.132
%IW0.140
%IW0.148
%IW0.156
A#A01S
A#A02S
A#A03S
A#A04S
A#A05S
A#A06S
A#A07S
A#A08S
A#A09S
A#A10S
A#A11S
A#A12S
A#A13S
A#A14S
A#A15S
A#A16S
A#A17S
A#A18S
A#A19S
A#A20S
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
%IW0.10
%IW0.30
%IW0.50
%IW0.70
%IW0.90
%IW0.110
%IW0.130
%IW0.150
%IW0.170
%IW0.190
%IW0.210
%IW0.230
%IW0.250
%IW0.270
%IW0.290
%IW0.310
%IW0.330
%IW0.350
%IW0.370
%IW0.390
Type
Description
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
iAXIS
(*AXIS 1 STATUS*)
(*AXIS 2 STATUS*)
(*AXIS 3 STATUS*)
(*AXIS 4 STATUS*)
(*AXIS 5 STATUS*)
(*AXIS 6 STATUS*)
(*AXIS 7 STATUS*)
(*AXIS 8 STATUS*)
(*AXIS 9 STATUS*)
(*AXIS 10 STATUS*)
(*AXIS 11 STATUS*)
(*AXIS 12 STATUS*)
(*AXIS 13 STATUS*)
(*AXIS 14 STATUS*)
(*AXIS 15 STATUS*)
(*AXIS 16 STATUS*)
(*AXIS 17 STATUS*)
(*AXIS 18 STATUS*)
(*AXIS 19 STATUS*)
(*AXIS 20 STATUS*)
6-52
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
%IW0.172
%IW0.196
%IW0.220
%IW0.244
%IW0.268
%IW0.292
%IW0.316
or
or
or
or
or
or
or
%IW0.420
%IW0.460
%IW0.500
%IW0.540
%IW0.580
%IW0.620
%IW0.660
Description
0x.12/xx 0x.13/xx
SOFTWARE
VERSION
DEA0_I
DEA1_I
DEA2_I
%IW0.532
%IW0.540
%IW0.548
Rev C, 10/97
Description
Gateway Signals
6-53
IAE 74768
QUICK REFERENCE GUIDE
6-54
%IW0.332
%IW0.340
%IW0.348
%IW0.356
%IW0.364
%IW0.372
%IW0.380
%IW0.388
%IW0.396
%IW0.404
%IW0.412
%IW0.420
%IW0.428
%IW0.436
%IW0.444
%IW0.452
%IW0.460
%IW0.468
%IW0.476
%IW0.484
%IW0.492
%IW0.500
%IW0.508
%IW0.516
%IW0.524
A#M07S
A#M08S
A#M09S
A#M10S
A#M11S
A#M12S
A#M13S
A#M14S
A#M15S
A#M16S
A#M17S
A#M18S
A#M19S
A#M20S
A#M21S
A#M22S
A#M23S
A#M24S
A#M25S
A#M26S
A#M27S
A#M28S
A#M29S
A#M30S
A#M31S
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
%IW0.704
%IW0.712
%IW0.720
%IW0.728
%IW0.736
%IW0.744
%IW0.752
%IW0.760
%IW0.768
%IW0.776
%IW0.784
%IW0.792
%IW0.800
%IW0.808
%IW0.816
%IW0.824
%IW0.832
%IW0.840
%IW0.848
%IW0.856
%IW0.864
%IW0.872
%IW0.880
%IW0.888
%IW0.896
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
iMECH
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
0x.12/xx 0x.13/xx
SOFTWARE
VERSION
A01C
A02C
A03C
A04C
A05C
A06C
A07C
A08C
A09C
A10C
A11C
A12C
A13C
A14C
A15C
A16C
A17C
A18C
A19C
A20C
%QW0.0
%QW0.8
%QW0.16
%QW0.24
%QW0.32
%QW0.40
%QW0.48
%QW0.56
%QW0.64
%QW0.72
%QW0.80
%QW0.88
%QW0.96
%QW0.104
%QW0.112
%QW0.120
%QW0.128
%QW0.136
%QW0.144
%QW0.152
A#A01C
A#A02C
A#A03C
A#A04C
A#A05C
A#A06C
A#A07C
A#A08C
A#A09C
A#A10C
A#A11C
A#A12C
A#A13C
A#A14C
A#A15C
A#A16C
A#A17C
A#A18C
A#A19C
A#A20C
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
%QW0.0
%QW0.20
%QW0.40
%QW0.60
%QW0.80
%QW0.100
%QW0.120
%QW0.140
%QW0.160
%QW0.180
%QW0.200
%QW0.220
%QW0.240
%QW0.260
%QW0.280
%QW0.300
%QW0.320
%QW0.340
%QW0.360
%QW0.380
Type
Description
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
qAXIS
(*AXIS 1 CONTROL*)
(*AXIS 2 CONTROL*)
(*AXIS 3 CONTROL*)
(*AXIS 4 CONTROL*)
(*AXIS 5 CONTROL*)
(*AXIS 6 CONTROL*)
(*AXIS 7 CONTROL*)
(*AXIS 8 CONTROL*)
(*AXIS 9 CONTROL*)
(*AXIS 10 CONTROL*)
(*AXIS 11 CONTROL*)
(*AXIS 12 CONTROL*)
(*AXIS 13 CONTROL*)
(*AXIS 14 CONTROL*)
(*AXIS 15 CONTROL*)
(*AXIS 16 CONTROL*)
(*AXIS 17 CONTROL*)
(*AXIS 18 CONTROL*)
(*AXIS 19 CONTROL*)
(*AXIS 20 CONTROL*)
0x.12/xx 0x.13/xx
SOFTWARE
VERSION
P00C
P01C
P02C
P03C
P04C
P05C
P06C
%QW0.160
%QW0.184
%QW0.208
%QW0.232
%QW0.256
%QW0.280
%QW0.304
Rev C, 10/97
A#P00C
A#P01C
A#P02C
A#P03C
A#P04C
A#P05C
A#P06C
or
or
or
or
or
or
or
%QW0.400
%QW0.440
%QW0.580
%QW0.520
%QW0.560
%QW0.600
%QW0.640
Type
Description
qPROC
qPROC
qPROC
qPROC
qPROC
qPROC
qPROC
(*PROCESS 0 CONTROL*)
(*PROCESS 1 CONTROL*)
(*PROCESS 2 CONTROL*)
(*PROCESS 3 CONTROL*)
(*PROCESS 4 CONTROL*)
(*PROCESS 5 CONTROL*)
(*PROCESS 6 CONTROL*)
Gateway Signals
6-55
IAE 74768
QUICK REFERENCE GUIDE
0x.12/xx 0x.13/xx
SOFTWARE
VERSION
DEA0_Q
DEA1_Q
DEA2_Q
%QW0.528
%QW0.536
%QW0.544
Description
M07C
M08C
M09C
M10C
M11C
M12C
M13C
M14C
M15C
M16C
M17C
M18C
M19C
M20C
M21C
M22C
M23C
M24C
M25C
M26C
M27C
M28C
M29C
M30C
M31C
6-56
0x.12/xx 0x.13/xx
SOFTWARE
VERSION
%QW0.328
%QW0.336
%QW0.344
%QW0.352
%QW0.360
%QW0.368
%QW0.376
%QW0.384
%QW0.392
%QW0.400
%QW0.408
%QW0.416
%QW0.424
%QW0.432
%QW0.440
%QW0.448
%QW0.456
%QW0.464
%QW0.472
%QW0.480
%QW0.488
%QW0.496
%QW0.504
%QW0.512
%QW0.520
A#M07C
A#M08C
A#M09C
A#M10C
A#M11C
A#M12C
A#M13C
A#M14C
A#M15C
A#M16C
A#M17C
A#M18C
A#M19C
A#M20C
A#M21C
A#M22C
A#M23C
A#M24C
A#M25C
A#M26C
A#M27C
A#M28C
A#M29C
A#M30C
A#M31C
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
%QW0.700
%QW0.708
%QW0.716
%QW0.724
%QW0.732
%QW0.740
%QW0.748
%QW0.756
%QW0.764
%QW0.772
%QW0.780
%QW0.788
%QW0.796
%QW0.804
%QW0.812
%QW0.820
%QW0.828
%QW0.836
%QW0.844
%QW0.852
%QW0.860
%QW0.868
%QW0.876
%QW0.884
%QW0.892
Type
Description
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
qMECH
Gateway Signals
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
7. TOOL MANAGEMENT
Rev C, 10/97
Tool Management
7-1
IAE 74768
QUICK REFERENCE GUIDE
The tool life monitoring is switched off if a value of "0" is entered. The updating of the
Maximum Tool Life is then suppressed.
Setup List tool length limits are not considered for tool corrections.
7-2
Setup List tool length limits are considered for tool corrections.
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Rev C, 10/97
Tool Management
7-3
IAE 74768
QUICK REFERENCE GUIDE
Tool Lists are used to prepare and store tool data sets. Besides the basic tool data, the Tool List also contains the tool
Edge data (Edge ID, geometry, tool life and wear, and user data) of all defined tools.
CAUTION
Changes, such as inserting/deleting or moving tools, in the Active Tool List must
reflect the real facts in the tool storage (magazine/turret) and vice versa to prevent
damage to man and machine.
After loading the Tool List into the MT-CNC it becomes an Active Tool List.
Changes, such as inserting/deleting or moving tools, in the Active Tool List must
reflect the real facts in the tool storage(magazine/turret) and vice versa to prevent
damage to man and machine.
7-4
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
(drilling tool)
Tools of this correction type have only one length correction (L3), that is always
perpendicular to the plane.
Correction Type 2:
(milling tool)
Tools of this correction type have only one length correction (L3), that is always
perpendicular to the active plane. A radius correction (R) in the active plane is also
performed.
Correction Type 3:
(turning tool)
Tools of this correction type have two length corrections (L1, L2) and a radius
correction within the active plane.
Correction Type 4:
Correction Type 5:
(tool gripper)
Tool of this correction type can perform length corrections in all directions of the
main axes (X,Y,Z) via the length correction (L1,L2,L3). Length L3 works always
perpendicular to the active plane, while length L1 and L2 always work in the active
plane. The correction type 5 corresponds to correction type 4 with the difference that
it has no radius R correction.
: The tool has a normal width and symmetrically covers one location (pocket)
: The tool symmetrically covers half of the left and half of the right (location) pocket
: The tool symmetrically covers the complete (2 half) left and right location (pocket)
: The tool symmetrically covers one and a half locations (pockets) to the left and to the right.
: The tool symmetrically covers the two complete (4 half) left and right location (pockets)
Location (pockets) covered by oversized tools are identified in the Setup Lists and Tool Lists via dashed lines.
7.3.2.8 Old Location
The basic tool data "Old Pocket" is not displayed in the Tool List. However, it is necessary for tools in the spindle, that
require a fixed pocket and is therefore contained in the data.
Rev C, 10/97
Tool Management
7-5
IAE 74768
QUICK REFERENCE GUIDE
* 100%
Max. Tool Life [MIN] or [CYCL]
A new or resharpened tool has a Remaining Tool Life of 100%. The Remaining Tool Life of a worn out tool is 0%.
Using the Remaining Tool Life (%), the tool management controls the wear status of the tools, independent of the
tool/workpiece material combinations.
The Remaining Tool Life is updated:
During the automatic tool check
When changing the tool Edge (E1, then E3)
When calling the same tool Edge (E1, then E3)
When the tool is put back into the tool storage (magazine)\
When the turret swivels a new tool into machining position
When the tool "T0" is selected (tool storage = turret or no tool storage present)
NOTE:
The tool management uses "1 cycle" for Tool Life if the unit [CYCL] for Tool Life was
selected for the tool in the Setup List.
Each time the tool management updates tool data it checks the remaining Tool Life of all tools. The status of the Gateway
signal PxxS.MGTWO is set to "1" if the remaining Tool Life of all tools within a tool family is zero.
7.3.3.3 Warning Limit
The tool management monitors the remaining Tool Life (%) and uses the Gateway process status signal PxxS.MGWRN
to indicate that the remaining Tool Life time (%) is below the specified limit. The status of PxxS.MGWRN is set to "1" at
the time of tool check if the last tool within the tool family exceeded its warning limit. The warning limit is a percentage
value of the Max. Tool Life which is 100%.
7.3.3.4 Geometric Data
7-6
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
The tool dimensions are automatically compensated by using the geometric data if the compensation is activated.
Table 7-1: Geometry Data Groups
Geometry
Length L1
Length L2
Length L3
Radius R
Wear
Wear L1
Wear L2
Wear L3
Wear R
Offset
Offset L1
Offset L2
Offset L3
Offset R
The wear and offset registers can be selected as an option via the System Parameters Axx.055 and Axx.056.
Geometry Registers:
Are used as program independent storage, used to compensate the tool dimensions.
Wear Registers:
Wear registers are used by the tool management to compensate for the tool wear that
occurs over time or cycles.
The "Reset" function of the MT-CNC will reset the tool's wear registers to "0" and
the remaining tool life to 100%.
Offset Registers:
NOTE:
Offset registers are not influenced by tool management. Like wear registers, they can be
used to compensate for dimensional deviations. The deviations are either determined by
the user or an automatic gauging system.
Wear and offset registers are internally set to "0" if they are not selected via the System
Parameters Axx.055 and Axx.056.
Rev C, 10/97
Tool Management
7-7
IAE 74768
QUICK REFERENCE GUIDE
After loading the Tool List into the MT-CNC it becomes an Active Tool List.
Changes, such as inserting/deleting or moving tools, in the Active Tool List must
reflect the real facts in the tool storage (magazine/turret) and vice versa to prevent
damage to man and machine.
C
L
p
s
w
d
B
f
e
t
?
!
DESCRIPTION
User tool status bit (1...8). Characters are defined by the user in System
Parameters
(Axx.075...Axx.082)
Tool has a fixed location (pocket/position)
Tool is locked (can not be used)
Primary tool
Spare tool of tool family
Warning limit exceeded (tool life)
Tool worn out
Location is blocked (can not be used)
Incorrect tool Edge data (L1, L2, L3, R)
Incorrect number of tool edges
Incorrect correction type
Tool not required? (when sorted by location or T-number)
Tool not present (when sorted by T-number only)
The MUI and SOT display of the Active Tool List should be used to identify the problem if one of the following process
error(s) is active:
#314 Programmed tool not found
#315 No empty tool location found
#316 No acceptable tool found
#318 Tool List doesnt fulfill Setup List requirements
#325 One or more tools worn out
#383 Correction value deviation
7-8
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Comment
Rev C, 10/97
Value Range
Unit
Short
ID
E0.D01
E0.D02
E0.D03
E0.D04
E0.D05
E0.D06
E0.D07
E0.D08
E0.D09
(0...4)
(1...999)
(0...2) (0 = Mag./Turret, 1 =
Spindle, 2 = Gripper)
(1...999)
(0...2) (0: Mag./Turret , 1 =
Spindle, 2: Gripper)
(1...999)
E0.D10
E0.D11
E0.D12
E0.D13
E0.D14
E0.D15
E0.D16
E0.D17
any
E0.D18
:
E0.D26
Up to 5 lines, 76 characters
each
Tool Management
Opt.
Setup
List
Tool
List
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
7-9
IAE 74768
QUICK REFERENCE GUIDE
7-10
Value Range
Unit
Short
ID
(0...8)
0/1 (16 status bits)
En.D01
En.Do2
(0.00...100.00)
(0.00...100.00)
(0...9999999) (0= Tool life
monitoring disabled)
(0...9999.999)
%
%
MIN /
CYCL
MIN /
CYCL
En.D03
En.D04
En.D05
X
X
X
En.D06
-9999.9999...9999.9999 or
-999.99999...999.99999
-9999.9999...9999.9999 or
-999.99999...999.99999
-9999.9999...9999.9999 or
-999.99999...999.99999
MM /
INCH
MM /
INCH
MM /
INCH
or
MIN /
CYCL
any
Tool Management
Opt
Setup
List
Tool
List
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
En.D07
En.D08
En.D09
En.D10
En.D11
En.D12
En.D13
En.D14
En.D15
En.D16
En.D17
En.D18
X
X
X
X
X
X
X
X
En.D19
En.D20
En.D21
En.D22
En.D23
En.D24
En.D25
En.D26
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
En.D27
En.D28
En.D29
En.D30
X
X
X
X
X
X
X
X
En.D31
:
En.D35
X
:
X
X
:
X
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Correction
Type
Incorrect
Incorrect Nr.
of tool Edges
Incorrect Edge
Data
Spare
Spare
Spare
Block
location
Location
Reservation
Location
Occupancy
Rev C, 10/97
Definition
Sym
Location blocked /
Location not
blocked
Upper half Location.
blocked /
Upper half Location.
not blocked
Lower half location.
blocked /
Lower half location.
not blocked
Upper half location.
reserved /
Upper half location. not
reserved
Lower half location.
reserved /
Lower half location.
not reserved
Upper half location.
occupied /
Upper half location.
not occupied
Lower half location.
occupied /
Lower half location.
not occupied
Location occupied/
Locat not occupied
Type
Bit
Val
Setup
List
Setup
List
Setup
List
1
0
1
0
1
Write
by
Tool
Mgmt
Tool
Mgmt
Tool
Mgmt
Tool
Mgmt
Setup
List
2
3
0
1
4
0
f
B
Tool
Mgmt
Setup
List
User
Prg/Op
Locat
Status
Tool
Mgmt
Locat.
Status
1
5
6
7
8
9
0
1
0
1
10
0
Tool
Mgmt.
Locat.
Status
1
11
0
User
Prgm
Locat.
Status
12
Remark
Tool Missing
Tool not required?
Correction type does not
meet reqrmt.
Number of tool
Edge does not
meet reqrmt.
Tool Edge data
does not meet
requirements
e.g., location
block since
damaged
Blocked for
fixed Location.
tool in grp. or
spindle
Blocked for
fixed location.
tool in grp.
or spindle
e.g., to channel
a tool in
0
User
Prgm
Locat.
Status
13
e.g., to channel
a tool in
0
Tool
Mgmt
Locat.
Status
14
1
0
Tool
Mgmt
Tool
Mgmt
Locat.
Status
Locat.
Status
Tool Management
15
16
A tool occupies
the upper half
location
A tool occupies
the lower half
location
1
0
The location is
occ. by tool
7-11
IAE 74768
QUICK REFERENCE GUIDE
Spare Tools
(tool family)
Fixed Locat.
Tool Locking
Spare
Spare
User Tool
Status (1...8)
Definition
Sym
Explanations:
Tool Mgmt.
User Prg.
Op
Locat. Status
NOTE:
7-12
Write
by
Tool
Mgmt.
Tool
Mgmt.
Type
Bit
Val
Tool
Status
Tool
Status
17
1
0
1
18
0
p
s
C
L
any
Tool
Mgmt.
Tool
Mgmt.
User
Prg/Op
User
Prg/Op
User
Prg/Op
Tool
Status
Tool
Status
Tool
Status
Tool
Status
Tool
Status
19
20
21
22
23
24
25
:
32
1
0
1
0
1
0
1
0
1
Remark
Tool worn out
(exchange)
Warning limit of tool life
is
exceeded
Primary tools of tool
family
Spare tools
replace worn primary tool
Tool location. in
tool mgmt fixed
Tools can be
locked
any
: Tool Management
: User Programs of Programmable Controller (SPS) and NC
: Operator
: Location specific status bit
The group definitions are for display purpose only. The groups are not recognized as
such in the MT-CNC.
Status bits that are identified with upper case letters can be influenced by the user.
Status bits that are identified via lower case letters can not be influenced by user.
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Write
by
Tool
Mgmt.
Type
Bit
Val
Remark
Setup
1
1: Tool Edge
Edge orientation
e
List
1
orient. differs from one in
invalid /
Setup List
Edge orientation
0
valid
Invalid Tool
Tool length L1
Tool
Setup
1
1: Tool length
Length L1
invalid /
1
Mgmt.
List
2
differs from
Tool length L1
0
necessary
valid
dimensions
Invalid Tool
Tool length L2
Tool
Setup
1
1: Tool length
Length L2
invalid /
2
Mgmt.
List
3
differs from
Tool length
0
necessary
L2 valid
dimensions
Invalid Tool
Tool length L3
Tool
Setup
1
1: Tool length
Length L3
invalid /
3
Mgmt.
List
4
differs from
Tool length
necessary
0
L3 valid
dimensions
Invalid Tool
Tool radius R
Tool
Setup
1
1: Tool radius
Radius R
invalid /
r
Mgmt.
List
5
differs from
Tool radius
0
necessary
R valid
dimensions
Spare
6
Spare
7
Spare
8
Edge Wear
Edge worn out /
d
Tool
Setup
9
1
1:Remaining tool
Status
Edge not worn out
Mgmt.
List
0
life is zero
Edge warning
Tool
Setup
1
Remaining tool
limit exceeded /
w
Mgmt.
List
10
life exceeded
Edge warning limit
0
warning limit
not exceeded
value
Spare
11
Spare
User Edge
User edge status
User
Tool
1
Status (1...4)
bit (1...4) set /
any
Prg/Op
Status
16
any
User edge status
0
bit (1...4) reset
Explanations:
Tool Mgmt.
: Tool Management
User Prg.
: User Programs of Programmable Controller (SPS) and NC
Op
: Operator
Locat. Status
: Location specific status bit
Invalid Edge
Orientation
Rev C, 10/97
Tool Management
7-13
IAE 74768
QUICK REFERENCE GUIDE
Tool Management
This parameter should be set to yes if any process will be using tool management. As soon as Tool
Management is enabled, further system parameters (A00.053...A00.086, A00.091A00.096) appear
which configure the tool data sets within the system. Also Setup lists can be generated for the NCprogram or process (depending on Axx.053) and Tool Management MUI menu item #6, SOT menu
item #3, and Tool Management GUI is activated.
A00.053
A00.054
A00.055
A00.056
A00.057
7-14
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
A00.058
Wear Factors
This parameter activates the automatic Wear compensation feature of the MT-CNC Tool Management.
The Wear compensation is activated if a value other than zero is entered in the tool W.Factor L1,
W.Factor L2, W.Factor L3, W.Factor R field, and this parameter is selected. If this parameter is
not selected, entry fields for wear factors are not displayed in the Setup List, but can still be entered in
the Wear register of the Active Tool List if the system parameter A00.055 is set to Yes.
Wear L1=Wear L1+Processing duration Length wear element L1
Wear L2=Wear L2+Processing duration Length wear element L2
Wear L3=Wear L3+Processing duration Length wear element L3
Wear R=Wear R+Processing duration Length wear element R
The Tool Management updates the wear under these circumstances:
When changing to another tool Edge
When calling the same edge again
If the tool is taken from the magazine (magazine type tool storage)
If the tool is swung to the machining position(turret type tool storage)
If the tool becomes de-selected with T0 (turret type tool storage, or no tool storage
available)
A00.059
A00.060
A00.061
:
A00.069
Rev C, 10/97
Tool Management
7-15
IAE 74768
QUICK REFERENCE GUIDE
A00.070
:
A00.096
A00.075
:
A00.082
A00.083
:
A00.086
All user status bits and data are denoted in Upper Case Letters, while the internal status
bits and data are lower case.
A00.091
Tool Technology(4),(5)
This parameter can be used to specify special functions for the User Tool Edge Data 15
(A00.070A00.074), used for grinding. If set to Turn./Mill, the user can freely specify
(A00.070A00.074).
Bxx.014
Tool Management
Once set to yes, further process parameters (Bxx.015...Bxx.028) appear which configure the tool data
sets within the process. Also, menu items to generate and administrate tool Setup Lists are available in
MUI menu item #2.
Bxx.015
Bxx.016
7-16
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Bxx.017
Bxx.018
Bxx.019
Number of Grippers
This parameter is used when the tool changer in the process uses grippers to exchange the tool between
the spindle and the magazine.
Bxx.020
The axis defined in this parameter can NOT be switched to a secondary process (Cxx.000)!
It must remain in its primary process, since the tool storage (management) can NOT be
switched.
Bxx.021
:
Bxx.024
Bxx.025
Bxx.026
Bxx.027
Bxx.028
Rev C, 10/97
Tool Management
7-17
IAE 74768
QUICK REFERENCE GUIDE
Bxx.043
7-18
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Rev C, 10/97
Tool Management
7-19
IAE 74768
QUICK REFERENCE GUIDE
The reverse program must assure, that the tool storage does not collide with other axes
during its reference sequence.
MHP
MTP
7-20
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
MFP
The constants of the T-word is used as the location and not the tool (T) number, if the NCcommand MMP is executed. Tools of tool families are used by MMP only if their location
number has been programmed previously in the T-word (value range (0...999)).
Rev C, 10/97
Tool Management
7-21
IAE 74768
QUICK REFERENCE GUIDE
MRY
MEN
7-22
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
TCH
TMS
TSM
Rev C, 10/97
Tool Management
7-23
IAE 74768
QUICK REFERENCE GUIDE
BTE
TPE
TSE
7-24
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
TLD
Rev C, 10/97
Tool Management
7-25
IAE 74768
QUICK REFERENCE GUIDE
Optional NC-command parameters are identified by square brackets [ and ]and must not be
programmed. This requires the programming of the separator , at all times even though the parameter
is not programmed.
7.7 SPS Tool Management Control Functions
The programmable controller (SPS) program must not contain additional logic, other then the FUNCTIONs alone, to
move the tool storage if the tool storage movement is NC-controlled via a servo axis. Only the tool storage / change
Gateway signals must be implemented. SPS controlled tool storages require additional logic to control the reference and
move sequences of the tool storage.
7.7.1 Standard Data Types
TLBD
TLED
7-26
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
OFFSET_L2:
OFFSET_L3:
OFFSET_R:
WEARFCTL1:
WEARFCTL2:
WEARFCTL3:
WEARFCTR:
USERDAT1:
USERDAT2:
USERDAT3:
USERDAT4:
USERDAT5:
USERDAT6:
USERDAT7:
USERDAT8:
USERDAT9:
USERDAT10:
END_STRUCT
DINT;
DINT;
DINT;
DINT;
DINT;
DINT;
DINT;
REAL;
REAL;
REAL;
REAL;
REAL;
DINT;
DINT;
DINT;
DINT;
DINT;
(*En.D16:
(*En.D17:
(*En.D18:
(*En.D27:
(*En.D28:
(*En.D29:
(*En.D30:
(*En.D31:
(*En.D32:
(*En.D33:
(*En.D34:
(*En.D35:
(*En.D36:
(*En.D37:
(*En.D38:
(*En.D39:
(*En.D40:
Offset L2*)
Offset L3*)
Offset R*)
Wear Factor L1*))
Wear Factor L2*))
Wear Factor L3*))
Wear Factor R*)
User Edge Data 1*)
User Edge Data 2*)
User Edge Data 3*)
User Edge Data 4*)
User Edge Data 5*)
User Edge Data 6*)
User Edge Data 7*)
User Edge Data 8*)
User Edge Data 9*)
User Edge Data 10*)
Bool
MRF
ACTIVE
INT
PROC
ACTIVE
Result
Result
0: NC-command MRF
not active or Active = 0
1: MRF FUNCTION
active
1: NC-command MRF
active
MRF_Q
Rev C, 10/97
Bool
MRF_Q
QUIT
INT
PROC
Result
QUIT
Result
0: MRF_Q FUNCTION
not active
0: MRF_Q FUNCTION
not active
1: Acknowledges comp.
of the reference
sequence
1: Acknowledges comp.
of the reference
sequence
Tool Management
7-27
IAE 74768
QUICK REFERENCE GUIDE
Bool
MMV
ACTIVE
INT
PROC
ACTIVE
Result
Result
0: MMV FUNCTION
not active
0: NC-command MMV
not active or Active = 0
1: MMV FUNCTION
active
1: NC-command MMV
active
Bool
MMV_Q
QUIT
INT
PROC
QUIT
Result
Result
0: MMV_Q FUNCTION
not active
0: MMV_Q FUNCTION
not active
1: Acknowledges comp.
of the tool storage
move.
1: Acknowledges comp.
of the tool storage
move.
7-28
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Basic Structure
Bool
TCH
ACTIVE
INT
PROC
ACTIVE
Result
Result
0: TCH FUNCTION
not active
0: NC-command TCH
not active or Active = 0
1: TCH FUNCTION
active
1: NC-command TCH
active
Bool
TCH_Q
ACTIVE
INT
PROC
QUIT
Result
Result
0: TCH_Q FUNCTION
not active
0: TCH_Q FUNCTION
not active
1: Acknowledges comp.
of the complete tool
change.
1: Acknowledges comp.
of the complete tool
tool change
Rev C, 10/97
Tool Management
7-29
IAE 74768
QUICK REFERENCE GUIDE
Bool
INT
INT
INT
TMS
ACTIVE
PROC
POS
SPINDLE
ACTIVE
Result
0: TMS FUNCTION
not active
0: NC-command TMS
not active or Active = 0
1: TMS FUNCTION
active
1: NC-command TMS
Active
Result
Bool
INT
INT
INT
TMS_Q
QUIT
PROC
POS
SPINDLE
QUIT
Result
0: TMS _Q FUNCTION
not active
0: TMS _Q FUNCTION
not active
1: Acknowledges tool
change from the
magazine to spindle
1: Acknowledges tool
change from the
magazine to spindle
Result
7-30
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
TSM
Bool
INT
INT
INT
TSM
ACTIVE
PROC
POS
SPINDLE
ACTIVE
Result
0: TSM FUNCTION
not active
0: NC-command TSM
not active or Active = 0
1: TSM FUNCTION
active
1: NC-command TSM
Active
Result
Bool
INT
INT
INT
TSM_Q
QUIT
PROC
POS
SPINDLE
QUIT
Result
0: TSM _Q FUNCTION
not active
0: TSM _Q FUNCTION
not active
1: Acknowledges tool
change from the
spindle to magazine
1: Acknowledges tool
change from the
spindle to magazine
Result
Rev C, 10/97
Tool Management
7-31
IAE 74768
QUICK REFERENCE GUIDE
Bool
INT
INT
INT
XSM
INIT
PROC
POS
SPINDLE
INIT
Result
0: XSM FUNCTION
not active
0: NC-command XSM
not active or Active = 0
1: XSM FUNCTION
active
Result
Bool
INT
INT
INT
XMS_PA
ACTIVE
PROC
POS
SPINDLE
ACTIVE
Result
0: No positive ack. or
Active = 0
Result
7-32
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
XMS_NA
Bool
INT
INT
INT
XMS_NA
ACTIVE
PROC
POS
SPINDLE
ACTIVE
Result
0: No negative ack. or
Active = 0
Result
The tool in the pocket that is in the tool change position will be logically moved by tool
management to the spindle! The tool must be physically moved from the magazine to the
spindle when it is moved in the tool management to prevent damage to machine!
Bool
INT
INT
INT
XSM_Q
QUIT
PROC
POS
SPINDLE
QUIT
Result
0: XSM_Q FUNCTION
not active
0: XSM _Q FUNCTION
not active
1: Acknowledges ,
physical tool xfer
magazine to spindle
performed, perform
logical xfer
1: Acknowledges ,
physical tool xfer
magazine to spindle
performed, perform
logical xfer
Result
Rev C, 10/97
Tool Management
7-33
IAE 74768
QUICK REFERENCE GUIDE
XMS_CA
Bool
INT
INT
INT
XSM_CA
CANCEL
PROC
POS
SPINDLE
CANCEL
Result
Result
0: XSM_CA
FUNCTION not
active
0: XSM_CA
FUNCTION not
active
Bool
INT
XFER_CHK
QUIT
QUIT
Result
0: XFER_CHK
FUNCTION
not active
0: XFER_CHK
FUNCTION
not active
PROC
Result
7-34
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
BOOL
INT
INT
INT
XMS
INIT
PROC
POS
SPINDLE
Spindle to Magazine
Request
BOOL
INT
INT
BOOL
INT
Positive Acknowledge
BOOL
INT
INT
INT
XMS_PA
INIT
PROC
POS
SPINDLE
Negative Acknowledge
BOOL
INT
INT
INT
XMS_NA
ACTIVE
PROC
POS
SPINDLE
Rev C, 10/97
XSM
INIT
PROC
POS
SPINDLE
Magazine to Gripper
Request
BOOL
INT
INT
BOOL INT
Positive Acknowledge
BOOL
INT
INT
BOOL
INT
XMS_PA
INIT
PROC
POS
SPINDLE
Negative Acknowledge
BOOL
INT
INT
BOOL
INT
XSM_PA
ACTIVE
PROC
POS
SPINDLE
Tool Management
XMG
INIT
PROC
POS
SPINDLE
BOOL
Positive Acknowledge
BOOL
INT
INT
BOOL INT
XMG_PA
INIT
PROC
POS
SPINDLE
BOOL
Negative Acknowledge
BOOL
INT
INT
BOOL INT
XMG_NA
ACTIVE
PROC
POS
GRIP
BOOL
7-35
IAE 74768
QUICK REFERENCE GUIDE
Acknowledge
BOOL
INT
INT
INT
XMS_Q
QUIT
PROC
POS
SPINDLE
Acknowledge
BOOL
INT
INT
BOOL
INT
Cancel
BOOL
INT
INT
INT
XMS_CA
CANCEL
PROC
POS
SPINDLE
XGM
INIT
PROC
POS
GRIP
BOOL
INT
INT
BOOL
INT
XGM_PA
ACTIVE
PROC
POS
GRIP
Negative Acknowledge
BOOL
INT
INT
INT
7-36
XGM_NA
ACTIVE
PROC
POS
GRIP
XSM_CA
CANCEL
PROC
POS
SPINDLE
BOOL
INT
INT
BOOL
INT
XSG
INIT
PROC
GRIP
SPINDLE
BOOL
INT
INT
BOOL INT
XSG_PA
ACTIVE
PROC
GRIP
SPINDLE
Negative Acknowledge
BOOL
INT
INT
BOOL
INT
XSG_PA
ACTIVE
PROC
GRIP
SPINDLE
Tool Management
BOOL
XMG_CA
CANCEL
PROC
POS
GRIP
BOOL
Gripper to Spindle
Request
BOOL
INT
INT
BOOL INT
Positive Acknowledge
BOOL
INT
INT
BOOL
INT
XMG_Q
QUIT
PROC
POS
GRIP
Cancel
Spindle to Gripper
Request
Positive Acknowledge
BOOL
INT
INT
INT
BOOL
INT
INT
BOOL INT
Cancel
Gripper to Magazine
Request
BOOL
INT
INT
INT
XSM_Q
QUIT
PROC
POS
SPINDLE
Acknowledge
XGS
INIT
PROC
GRIP
SPINDLE
BOOL
Positive Acknowledge
BOOL
INT
INT
BOOL INT
XGS_PA
ACTIVE
PROC
GRIP
SPINDLE
BOOL
Negative Acknowledge
BOOL
INT
INT
BOOL INT
XGS_NA
ACTIVE
PROC
GRIP
SPINDLE
BOOL
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Acknowledge
BOOL
INT
INT
INT
Acknowledge
XGM_Q
QUIT
PROC
POS
GRIP
XSG_Q
QUIT
PROC
GRIP
SPINDLE
BOOL
INT
INT
BOOL
INT
Cancel
BOOL
INT
INT
INT
Acknowledge
BOOL
INT
INT
BOOL INT
XGS_Q
QUIT
PROC
GRIP
SPINDLE
Cancel
XGM_CA
CANCEL
PROC
POS
GRIP
XSG_CA
CANCEL
PROC
GRIP
SPINDLE
BOOL
INT
INT
BOOL
INT
PROC
POS
GRIP
SPINDLE
BOOL
Cancel
BOOL
INT
INT
BOOL INT
XGS_CA
CANCEL
PROC
GRIP
SPINDLE
BOOL
: Process (0...6)
: Tool change position
: Gripper (1...4)
: 1 = tool spindle 1 (S, S1)
2 = tool spindle 2 (S2)
3 = tool spindle 3 (S3)
Bool
MAG_ACT
ACTIVE
INT
PROC
ACTIVE
Result
Result
0: MAG_ACT
FUNCTION
not active
0: MAG_ACT
FUNCTION
not active
Rev C, 10/97
Tool Management
7-37
IAE 74768
QUICK REFERENCE GUIDE
Bool
MAG_Q
QUIT
INT
PROC
QUIT
Result
Result
0: MAG_Q
FUNCTION
not active
0: MAG_Q
FUNCTION
not active
1: Acknowledges turret
mode
1: Acknowledges turret
mode
Bool
INT
ACTIVE
SPDL_ACT
ACTIVE
Result
0: SPDL_ACT
FUNCTION
not active
0: SPDL_ACT
FUNCTION
not active
PROC
Result
Bool
SPDL_Q
QUIT
INT
PROC
QUIT
Result
Result
0: SPDL_Q
FUNCTION
not active
0: SPDL_Q
FUNCTION
not active
1: Acknowledges
spindle mode
1: Acknowledges spindle
mode
7-38
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
REV_SYNC
+-----------+
REV_SYNC
BOOL-ACTIVE
+-BOOL
INT-PROC
+-----------+
Variable Description:
ACTIVE
PROC
BOOL
Rev C, 10/97
Tool Management
7-39
IAE 74768
QUICK REFERENCE GUIDE
%22/
,17
',17
,17
7/%'
7/%'B:5
:5,7(
5($'< %22/
352&
6725$*(
/2&$7,21
'$7$
%22/
,17
,17
',17
,17
7/%'B5'
5($'
'$7$ 7/%'
352&
5($'< %22/
$''5(66
6725B715
/2&B7,1'
Variable Description:
WRITE
READ
PROC
STORAGE
ADDRESS
LOCATION
STOR_TNR
TLBD
LOC_TIND
READY
DATA
7-40
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
%22/
,17
,17
',17
,17
,17
7/('B5'
5($'
'$7$ 7/('
352&
5($'< %22/
$''5(66
6725B715
/2&B7,1'
('*(
%22/
,17
',17
,17
,17
7/('
7/('B:5
:5,7(
5($'< %22/
352&
6725$*(
/2&$7,21
('*(
'$7$
Variable Description:
WRITE
READ
PROC
STORAGE
ADDRESS
LOCATION
STOR_TNR
EDGE
LOC_TIND
READY
DATA
Rev C, 10/97
Tool Management
7-41
IAE 74768
QUICK REFERENCE GUIDE
%22/
,17
,17
',17
,17
7/B'(/(7(
'(/(7(
5($'< %22/
352&
$''5(66
6725B715
/2&B7,1'
Variable Description:
0 1 transition deletes tool
Defines process number
`0` Next 2 inputs are interpreted as tool STORage and LOCation information
`1` Next two inputs are interpreted as T-NumbeR and Tool INDex number
`0` Magazine / Turret
, if ADDRESS = `0`
`1` Tool spindle
, if ADDRESS = `0`
`2` ;Tool gripper
, if ADDRESS = `0`
`1...9999999` Tool number (T-number)
, if ADDRESS = `1`
`0...999`
Magazine pocket / Turret position , if ADDRESS = `0`, STOR_IND = `0`
`0..3`
Tool spindle
, if ADDRESS = `0`, STOR_IND = `0`
`0..4`
Tool gripper
, if ADDRESS = `0`, STOR_IND = `0`
`0..999`
Tool index number
, if ADDRESS = `1`
Acknowledgment of Tool Delete
DELETE
PROC
ADDRESS
STOR_TNR
LOC_TIND
READY
%22/
,17
,17
',17
,17
',17
,17
7/B029(
029(
5($'< %22/
352&
6$''5(66
66725B715
6/2&B7,1'
'6725$*(
'/2&$7,21
Variable Description:
MOVE
PROC
SADDRESS
SSTOR_TNR
SLOC_TIND
DSTORAGE
DLOCATION
READY
7-42
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
%22/
,17
,17
',17
,17
7/B5(6(7
5(6(7
5($'< %22/
352&
$''5(66
6725B715
/2&B7,1'
Variable Description:
RESET
PROC
ADDRESS
STOR_TNR
LOC_TIND
READY
%22/
,17
',17
,17
7/B(1$%/(
(1$%/(
5($'< %22/
352&
6725$*(
/2&$7,21
Variable Description:
ENABLE
PROC
STORAGE
LOCATION
READY
Rev C, 10/97
1 Enables tool
Defines process number
Tool storage number
Tool location number
Acknowledgment of Tool Enabled
Tool Management
7-43
IAE 74768
QUICK REFERENCE GUIDE
%22/
,17
,17
,17
,17
'&'B:5
:5,7(
5($'< %22/
352&
'B0(0
(/(0(17
'$7$
_
%22/
,17
,17
,17
'&'B5'
5($'
'$7$ ,17
352&
5($'< %22/
'B0(0
_
(/(0(17
_
Variable Description:
WRITE
READ
PROC
D_MEM
ELEMENT
DATA
READY
If the tool storage movement is SPS controlled PxxS.MGPLC=1, the SPS logic that
causes tool storage movement must be combined with the signal PxxS.MGENA. To prevent
damage and injury, the interlock must prevent any movement if the status of PxxS.MGENA
is 0!
7-44
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
The tool storage home position is specified by its mechanical reference switch and cam, if
the tool storage is SPS controlled. The zero marker of the encoder, reference cam, and
switch specify the home position of a servo controlled tool storage axis.
The magazine home position must not be identical with the magazine base position! The
axis parameter Cxx.037 (analog axis) or digital drive parameter S-0-0052, S-0-0054
specifies the difference between reference and base position.
PxxC.MGBP
Rev C, 10/97
The tool management does NOT check that the correct location is at the reference position
if the SPS confirms the movement completion via FUNCTION MMV_Q. The tool
management does not compare PxxS.MGCP and PxxC.MGAP! However, the location
number specified in PxxC.MGAP is used in consecutive tool transfer FUNCTIONs!
Tool Management
7-45
IAE 74768
QUICK REFERENCE GUIDE
The signal PxxS.MGENA must be included in any logic within the SPS program that
controls tool storage movements. A signal status of 0 must be used to prevent damage to
man and machine!
7-46
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
PxxS.MGCP
Rev C, 10/97
Tool Management
7-47
IAE 74768
QUICK REFERENCE GUIDE
7-48
Tool Management
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
NOTE:
Activation type
Status / Error
Status / Error
FAULT IN MECHANISM
and station name in
REVERSE VIDEO
**MECHAN.ERROR**
and message text in
REVERSE VIDEO
normal text
normal text
Status / Error
Status / Error
normal text
normal text
Each system diagnostic includes further information which includes a paragraph containing
the cause, and a paragraph containing a recovery of the present fault. Further information
for SPS activated faults are dependent on the programmer.
Rev C, 10/97
8-1
IAE 74768
QUICK REFERENCE GUIDE
/N
/C
Output to:
Output to:
8-2
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
The MUI/GUI software needs 589 Kbytes of RAM to operate before it is loaded
into memory.
A system with extended memory would allow TSRs and disk caches to be loaded into high memory,
while taking up only a small amount of the lower 640K (DOS 6.0 and up). The MUI/GUI software
can only be run in the lower 640K of memory, it will make use of extended memory !
The following pages list a typical configuration for compatible PCs and Indramats BTV 1.xx. This
is not a required system configuration, but simply an example of a working configuration. The
example also shows the way that the programs are loaded into memory.
To change the configuration, refer to your PC's and the DOS user manual and read the following :
DOS commands are described briefly, refer to your DOS manual for detailed information.
The CONFIG.SYS file is used by the personal computer to load special device drivers, and to
set up hardware options. The most common commands are the FILES and the BUFFERS
commands. The FILES command should be set to 30 or greater. This command specifies the
number of files that can be open at any given time, the MUI/GUI software uses multiple files
in its operation.
Rev C, 10/97
8-3
IAE 74768
QUICK REFERENCE GUIDE
If WINDOWS is installed on your PC, you may also use the following statements:
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICEHIGH=C:\WINDOWS\EMM386.EXE RAM
The PATH= statement is used in the AUTOEXEC.BAT to set up the default file search paths for
various software packages. If the MT-CNC sub-directory is entered into the path statement, the
MT-CNC software could be started from any DOS prompt. The MUI/GUI software may be
started at the end of PC boot up by adding the line MT-RUN at the end of AUTOEXEC.BAT.
DOS commands are described briefly, refer your DOS manual for detail information.
8-4
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Rev C, 10/97
8-5
IAE 74768
QUICK REFERENCE GUIDE
8.4.2 Software Options Which Can be Appended to the MT-CNC Line of MT-RUN.BAT
/?
/B=XX
/D=DIR
/E
/F
/H
/I
/M
/N
/S
/V
/Z
/T
8-6
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
The Function Interface software products are pre-installed if ordered with Indramats BTV
industrial computer. If not ordered with the BTV or if using a computer other than Indramats BTV
then Function Interface files can be purchased separately. If purchased separately, the files must
be copied to the directory: C:\MT-CNC\IND_DRV
Except for the files for the Windows NT interface drivers, these files are handled separately as
described in the next section.
8.6.1 Windows NT Interface Drivers
In order to ensure the best possible access and response speed for the Function Interface
under Windows NT, it is absolutely necessary to reserve a serial interface. An Indramat
driver for Windows NT is provided.
Installation procedure for the Interface Driver:
Close MS-DOS window by typing EXIT after execution and reboot Windows NT.
After reboot of the operating system, select the icon Devices from the Control Panel.
Device MTCNC00I must be displayed in the list of devices. The device start up type is
automatic.
Rev C, 10/97
8-7
IAE 74768
QUICK REFERENCE GUIDE
Fig. 8-2: Devices list in Windows NT showing Function Interface driver, mtcnc00i.sys.
8-8
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
From the PIF editor menu bar, select File and Open the _DEFAULT.PIF file located in
the Windows NT directory.
Data input to the input fields determine how to call up the program.
Rev C, 10/97
8-9
IAE 74768
QUICK REFERENCE GUIDE
Video Memory: Windows NT can reserve a certain amount of memory for a screen built
up, depending on the mode (text or graphics) of the running application. Concerning
the MT-CNC User Interface, activate the option TEXT.
Memory Requirements: 128 required, 640 KB limit
EMS Memory:
0 required, 1024 KB limit
XMS Memory:
0 required, 4096 KB limit
Close Window on Exit: This option must activated otherwise the MS DOS Window
remains open when the MT-CNC User Interface is closed.
Advance Options: Clicking the Advanced Options button opens the Advanced Options
dialog window.
Multitasking Options:
To determine the task Background Priority. If the Detect Idle Time is selected,
Windows NT does not allocate computing time to the application as long as it does not
request any computing time. Select this option for MT-CNC User Interface.
Additional Options:
Memory Options: Further data can be set in order to determine how memory is
allocated for the application.
Display Options: Settings for the display
Other Options: Shortcut keys can be reserved for the application which normally
initiates a Windows function. Fast Paste refers to inserting from temporary storage.
The above settings are required for the MT-CNC User Interface.
8-10
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Windows NT button: Clicking the Windows NT button opens the Windows NT Option
dialog window.
Rev C, 10/97
8-11
IAE 74768
QUICK REFERENCE GUIDE
Figure 8-7: Batch File to call up the MT-CNC User Interface in Windows NT
NOTE: The batch file MT-RUN.BAT cannot be executed in the Windows NT operating
system.
The additional switch /U0 on the TSR program line (TSRPG25I.EXE) causes the output of a
diagnosis window for the Function Interface. The Function Interfaces version identification
and the capacity of the communications task is displayed in the diagnosis window.
Figure 8-8: Batch File to call the MT-CNC User Interface under Windows NT with Function
Interface Diagnosis Windows.
8-12
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Figure 8-11: Indramat MT-CNC Program Group with MT-CNC Program Icon
Directory
Purpose
COMINTFC.EXE
LOGINTFC.EXE
USRBEF.DAT
DDEXLI.EXE
Rev C, 10/97
8-13
IAE 74768
QUICK REFERENCE GUIDE
File
Directory
Purpose
PASSWORD.DDE
CLIENT.EXE
C:\MT-CNC\IND_DRV
MTCNC00I.INI
MTCNC00I.SYS
REGINI.EXE
INDRTASK.EXE
TASKDATA.INI
MFC.LZH
LHA.EXE
The files listed in the table above as well as the following description relate to DDE server
version 01VRS.
8.8 General
8-14
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
started automatically when opened. Access to read and write data or to stop or close the
DDE server is determined by password administration in the DDE software itself.
Additional parameters switches can be added to the command line.
Parameter
Meaning
/d=f
/c=t
Rev C, 10/97
8-15
IAE 74768
QUICK REFERENCE GUIDE
Fieldname
Example
User name
Username
Password
Password
Password
confirmation
Confirm
8-16
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
Rev C, 10/97
8-17
IAE 74768
QUICK REFERENCE GUIDE
PVC_{variable name}.
The file PVCTYPEN.INI will contain the name of the array or data structure used in a PLC program. In the
square brackets is the name of the array or data structure to be accessed from the SPS (PLC) in the
MT-CNC. The next line (TYPEN=) is how the data will appear in the host software (MSClient, Wonderware or
other) when accessed via DDE. The different data types are listed below in the example.
The information can be separated by a given character or line feed defined in
the next line, SEPARATOR=xx. Equate this to an ascii characters decimal value
and this character will be used as the separator between each value of the array
information.
A separate line must be created for each array or data structure needing a data
conversion.
Example:
[PLCARRAY]
TYPEN=BOOL,BOOL,BOOL,BOOL,BYTE,WORD,DWORD,SINT,INT,DINT,USINT,UINT,UDINT,CHAR,STRI
NG[10],STRING[5]
SEPARATOR=47
[DATASTR]
TYPEN=BOOL,BOOL,BOOL,BOOL,BYTE,WORD,DWORD,SINT,INT,DINT,USINT,UINT,UDINT,CHAR,STRI
NG[10],STRING[5]
SEPARATOR=47
If you write in PVCTYPEN.INI SEPARATOR=10 (LF) or SEPARATOR=13 (CR),
then it makes a pair CRLF (control, line feed).
8-18
Rev C, 10/97
IAE 74768
QUICK REFERENCE GUIDE
INDEX
65046.................................................................................6-49
65047.................................................................................6-49
65048.................................................................................6-49
65049.................................................................................6-49
65050....................................................................... 6-44, 6-49
65051.................................................................................6-50
65052.................................................................................6-50
65053.................................................................................6-50
65054.................................................................................6-50
65055.................................................................................6-50
65056.................................................................................6-50
65057.................................................................................6-50
65058.................................................................................6-50
65061.................................................................................6-51
65063.................................................................................6-51
65065.................................................................................6-51
65066.................................................................................6-51
1
10^ .................................................................................... 4-21
2
2^ ...................................................................................... 4-21
6
65000 ................................................................................ 6-39
65001 ................................................................................ 6-39
65002 ................................................................................ 6-39
65003 ................................................................................ 6-40
65004 ................................................................................ 6-40
65005 ................................................................................ 6-47
65006 ................................................................................ 6-40
65007 ................................................................................ 6-40
65008 ................................................................................ 6-41
65009 ................................................................................ 6-41
65010 ................................................................................ 6-43
65011 ................................................................................ 6-48
65012 ................................................................................ 6-42
65013 ................................................................................ 6-42
65014 ................................................................................ 6-42
65015 ................................................................................ 6-42
65016 ................................................................................ 6-43
65017 ................................................................................ 6-43
65018 ................................................................................ 6-43
65019 ................................................................................ 6-40
65020 ................................................................................ 6-40
65021 ................................................................................ 6-40
65022 ................................................................................ 6-43
65023 ................................................................................ 6-44
65024 ................................................................................ 6-44
65025 ................................................................................ 6-48
65026 ................................................................................ 6-44
65027 ................................................................................ 6-44
65028 ................................................................................ 6-45
65030 ................................................................................ 6-45
65031 ................................................................................ 6-48
65032 ................................................................................ 6-47
65033 ................................................................................ 6-48
65034 ................................................................................ 6-49
65035 ................................................................................ 6-46
65036 ................................................................................ 6-46
65038 ................................................................................ 6-46
65039 ................................................................................ 6-41
65040 ................................................................................ 6-47
65041 ................................................................................ 6-47
65042 ................................................................................ 6-45
65043 ................................................................................ 6-47
65044 ................................................................................ 6-47
65045 ................................................................................ 6-49
4GX %
A
A00.000 ...............................................................................3-1
A00.001-A00.006 ................................................................3-1
A00.007-A00.031 ................................................................3-1
A00.032-A00.51 ..................................................................3-1
A00.052 ..................................................................... 3-1, 7-14
A00.053 .............................................................................7-14
A00.053 - A00.083 ..............................................................3-1
A00.054 .............................................................................7-14
A00.055 ................................................................... 7-14, 7-15
A00.056 .............................................................................7-14
A00.057 .............................................................................7-14
A00.058 ................................................................... 7-14, 7-15
A00.059 .............................................................................7-15
A00.060 .............................................................................7-15
A00.061 .............................................................................7-15
A00.069 .............................................................................7-15
A00.070 .............................................................................7-16
A00.075 .............................................................................7-16
A00.082 .............................................................................7-16
A00.083 .............................................................................7-16
A00.086 .............................................................................7-16
A00.087 ....................................................................... 3-1, 3-3
A00.088 ....................................................................... 3-1, 3-4
A00.089 ...............................................................................3-1
A00.090 ...............................................................................3-1
A00.091 .............................................................................7-16
A00.096 .............................................................................7-16
ABS ...................................................................................4-20
ABS_INT...........................................................................5-27
Absolute value ...................................................................4-20
ACC...................................................................................4-25
ACC_EFF ..........................................................................4-28
Accel............................................................................ 3-3, 3-6
Accel. Rate, Max. ................................................................3-6
Accel. Rate, Max. (rotary) .................................................3-12
Accel. Spdl. ............................................................. 3-10, 3-13
Acceleration Override........................................................6-44
+0&':
:
IAE 74768
QUICK REFERENCE GUIDE
Axis Signals.......................................................................6-27
Axis Status Signals (CNCSPS)......................................6-36
Axis Switching ..................................................................4-24
AxxC M5...........................................................................6-33
AxxC.ENABL ......................................................... 6-28, 6-30
AxxC.GEAR1....................................................................6-32
AxxC.GEAR2....................................................................6-32
AxxC.HOME.....................................................................6-30
AxxC.HOMLS...................................................................6-29
AxxC.JGNEG .......................................................... 6-30, 6-31
AxxC.JGPOS.....................................................................6-30
AxxC.M19.........................................................................6-33
AxxC.M3...........................................................................6-32
AxxC.M4...........................................................................6-33
AxxC.MHOLD..................................................................6-34
AxxC.MTAS ............................................................. 6-4, 6-28
AxxC.N_CMD.......................................................... 6-24, 6-34
AxxC.OTRVL ........................................................... 6-4, 6-27
AxxC.OVRD............................................................. 6-18, 6-31
AxxC.QDDS......................................................................6-31
AxxC.RAPID ....................................................................6-34
AxxC.READY......................................................... 6-28, 6-30
AxxC.SPHLT ........................................................... 6-24, 6-35
AxxC.SPRST.....................................................................6-35
AxxC.SPSTE.....................................................................6-35
AxxC.SPSTP ............................................................ 6-23, 6-35
AxxC.STRBP ....................................................................6-29
AxxS.BBDIG.....................................................................6-36
AxxS.HOMED ..................................................................6-36
AxxS.IDDS........................................................................6-37
AxxS.INPOS .....................................................................6-38
AxxS.LD90........................................................................6-37
AxxS.MCNEG...................................................................6-39
AxxS.MCPOS ...................................................................6-39
AxxS.MD_DX...................................................................6-38
AxxS.MVNEG ..................................................................6-36
AxxS.MVPOS ...................................................................6-36
AxxS.N_CMD...................................................................6-37
AxxS.N_MAX...................................................................6-38
AxxS.N_MIN ....................................................................6-38
AxxS.P_PX .......................................................................6-38
AxxS.POWN .....................................................................6-38
AxxS.RF.................................................................. 6-30, 6-36
AxxS.SYNC ......................................................................6-37
AxxS.WPn.........................................................................6-37
:
B
Backlash, Compensation .....................................................3-7
Backup all User Data, GUI (Indramat default) .................... 2-6
BACKUP, GUI (Indramat default)...................................... 2-6
Ballscrew lead. ....................................................................3-5
Basic elements of LAD......................................................5-10
Bb1 signal............................................................................6-3
BBTPC ..............................................................................4-28
BCD_INT ..........................................................................5-17
BEQ...................................................................................4-17
BER ...................................................................................4-17
BES ...................................................................................4-17
BEV...................................................................................4-19
+0&':
4GX %
IAE 74768
QUICK REFERENCE GUIDE
Bxx.046 ...............................................................................3-3
Bxx.047 ...............................................................................3-4
Bxx.048 ...............................................................................3-4
Bxx.049 ...............................................................................3-4
Bxx.050 ...............................................................................3-4
Bxx.051 ...............................................................................3-4
Bxx.052 ...............................................................................3-4
Bxx.053 ...............................................................................3-4
Bxx.054 ...............................................................................3-4
Bxx.055 ...............................................................................3-4
Bxx.056 ...............................................................................3-4
BYT_CHAR ......................................................................5-18
BYT_GRAY ......................................................................5-18
BYTE_INT ........................................................................5-18
BYTE_USI ........................................................................5-19
4GX %
C
CAL
Instruction .......................................................................5-4
CALC
Instruction .......................................................................5-4
CALCN
Instruction .......................................................................5-4
Cam Shift, combined spindle.............................................6-47
Cartesian-Polar Coordinate..................................................3-3
C-axis mode.........................................................................3-3
C-Axis Parameters .............................................................3-11
CEV...................................................................................4-19
CHAR_BYT ......................................................................5-19
Character string functions..................................................5-33
Clear Error .........................................................................6-14
CLOS_COM......................................................................5-47
CLOS_SOT .......................................................................5-51
CLR_COM ........................................................................5-50
CNCSPS ................................................................ 6-1, 6-14
COM - Standard data type .................................................5-45
Command, Negative ..........................................................6-39
Command, Positive............................................................6-39
Commanded Axis Position ................................................6-50
Commanded Speed, Spindle..............................................6-34
Comparators
Operation.......................................................................5-15
Comparators ......................................................................5-15
Instruction .......................................................................5-7
Computer Requirements ......................................................8-2
CONCAT_B ......................................................................5-32
CONCAT_S.......................................................................5-35
CONCAT_W .....................................................................5-32
Conditional Stop................................................................6-13
CONFIG.SYS.......................................................................8-3
Constant Surface Speed .....................................................6-17
Constants, NC....................................................................4-19
Continuous Jog Mode..........................................................6-8
Control Reset ............................................................. 3-3, 6-14
Control Voltage ...................................................................6-2
Coordinate System..................................................... 3-7, 3-14
COS ...................................................................................4-20
Cosine................................................................................4-20
Counters
+0&':
:
IAE 74768
QUICK REFERENCE GUIDE
Cxx.062 ................................................................... 3-11, 3-14
Cxx.063 ................................................................... 3-11, 3-14
Cxx.064 ................................................................... 3-11, 3-15
Cxx.065 ................................................................... 3-11, 3-14
Cxx.066 ................................................................... 3-11, 3-14
Cxx.067 ................................................................... 3-11, 3-15
Cxx.068 ................................................................... 3-11, 3-14
Cxx.069 ................................................................... 3-11, 3-14
Cxx.070 ................................................................... 3-11, 3-15
Cxx.071 ................................................................... 3-11, 3-14
Cxx.072 ................................................................... 3-11, 3-14
Cxx.073 ................................................................... 3-11, 3-15
Cxx.074 ................................................................... 3-11, 3-15
Cxx.075 ..................................................................... 3-8, 3-15
Cxx.076 ..................................................................... 3-8, 3-15
Cxx.077 ...............................................................................3-8
Cxx.078 ...............................................................................3-8
Cxx.079 ...............................................................................3-8
Cxx.080 ...............................................................................3-8
Cxx.081 ...............................................................................3-8
Cxx.082 ...............................................................................3-8
Cxx.083 ...............................................................................3-8
Cxx.084 ................................................................... 3-11, 3-15
Cxx.085 ...............................................................................3-8
Cxx.086 ..................................................................... 3-9, 3-15
:
D
D Correction, Radius...........................................................3-2
Data Exchange...................................................................4-22
Data types
Arrays..............................................................................5-1
Data types ............................................................................5-1
Derived............................................................................5-1
Structures (STRUCT)......................................................5-1
Date and time.....................................................................5-44
DATE_RD.........................................................................5-44
DCD_RD...........................................................................7-44
DCD_WR ..........................................................................7-44
D-Correction........................................................................3-2
DDS Spindle Mode ...........................................................6-41
decimal places displayed .....................................................3-2
Decimal Places, disp............................................................3-2
Decimal Places, prog. ..........................................................3-2
Declaring Gateways.............................................................6-1
default...................................................3-1, 3-2, 3-3, 3-9, 3-11
Default, linear interpolation.................................................3-3
default, mm/inch (671/670) .................................................3-2
Define Mechanism.............................................................6-26
Define Process...................................................................6-19
DELETE............................................................................5-37
Derived data types ...............................................................5-1
DEV ..................................................................................4-19
Deviating M-functions.........................................................3-3
Deviating Q-functions .........................................................3-4
DEVICE command..............................................................8-4
DEVICEHIGH .................................................................... 8-4
Diagnostic Messages Editing, GUI (Indramat default).......2-27
Diagnostics ..........................................................................8-1
Diameter Prog., para............................................................3-2
+0&':
4GX %
IAE 74768
QUICK REFERENCE GUIDE
Exiting Menus, GUI (Indramat default)...............................2-4
Exponential........................................................................4-21
External 24V........................................................................6-2
external mechanisms............................................................3-1
F
F_TRIG..............................................................................5-41
Fault in Mechenism .............................................................8-1
Fault List..............................................................................8-2
FAX ...................................................................................4-25
FB ......................................................................................5-39
Feed Hold ..........................................................................6-12
Feed Override ....................................................................6-18
Feed to Positive Stop .........................................................6-43
Feedback Location...............................................................3-8
Feedback System ...............................................................6-49
Feedrate ...............................................................................3-6
Feedrate (rotary) ................................................................3-12
Feedrate, Max chg ...............................................................3-6
Feedrate, Max chg (rotary) ................................................3-12
Filter, Command Position..................................................6-43
FIND..................................................................................5-38
Firmware function blocks ..................................................5-53
Firmware functions............................................................5-38
Flip-Flops ..........................................................................5-39
Free Axis ...........................................................................4-25
Full Depth (Process) ..........................................................6-23
Funct. for Digital Drives....................................................4-22
Function block calls.............................................................5-4
Function blocks .................................................................5-39
Functions ...........................................................................5-17
Functions for time-to-integer conversion...........................5-27
Further Information to Diagnostics, GUI (Indramat default)2-16
E
E^ ...................................................................................... 4-21
Edge evaluation................................................................. 5-40
Editing, GUI (Indramat default).........................................2-25
EEV................................................................................... 4-19
Effective ACCeleration ..................................................... 4-28
Encoder Res., Spdl.............................................................. 3-9
Encoder Resolution............................................................. 3-5
EQ
Operation ...................................................................... 5-16
EQ
Instruction....................................................................... 5-8
Equal to
Instruction....................................................................... 5-8
Error handling ................................................................... 5-54
Error Handling in User Files, SPS .................................... 5-56
Error handling of the function blocks for serial interfaces 5-52
Error handling of the time-to-integer conversion .............. 5-28
Error handling sequence, SPS........................................... 5-55
Error handling, SPS .......................................................... 5-54
Errors and their causes, SPS ............................................. 5-56
Errors in functions, SPS.................................................... 5-57
Errors in operations and IL instructions, SPS ................... 5-62
E-Stop (Machine)................................................................ 6-2
E-Stop condition (1...3)....................................................... 6-2
E-Stop PB (Station) ............................................................ 6-2
Events
Branch on NC-event to Sub.......................................... 4-19
Cancel NC-event Supervision....................................... 4-19
Disable NC-event Supervision...................................... 4-19
Enable NC-event Supervision....................................... 4-19
Jump on Event .............................................................. 4-19
Reset NC-Event ............................................................ 4-18
Set NC-Event................................................................ 4-18
Wait until NC-event is Set ............................................ 4-18
Wait until NC-event Reset ............................................ 4-18
4GX %
G
G0 ........................................................................................4-4
G0 Active...........................................................................6-17
G00 ....................................................................................6-17
G08 ....................................................................................6-17
G1 ........................................................................................4-4
G15 .............................................................................. 3-2, 4-5
G16 .............................................................................. 3-2, 4-5
G17 .............................................................................. 3-2, 4-5
G18 .............................................................................. 3-2, 4-5
G19 .............................................................................. 3-2, 4-5
G2 ................................................................................ 4-4, 4-9
G20 ......................................................................................4-5
G3 ................................................................................ 4-4, 4-9
G30 ......................................................................................4-6
G31 ......................................................................................4-6
G32 ......................................................................................4-6
G33 ............................................................................ 4-6, 6-17
G36 .............................................................................. 3-4, 4-6
G37 .............................................................................. 3-4, 4-6
G38 .............................................................................. 3-4, 4-6
G4 ........................................................................................4-4
G40 ......................................................................................4-7
+0&':
:
IAE 74768
QUICK REFERENCE GUIDE
Feedrate............................................................... 4-10, 4-11
Feedrate.........................................................................4-10
Floating Tapping.............................................................4-8
Free Plane Selection........................................................4-5
Homming Cycle ..............................................................4-9
Inch Prog.........................................................................4-9
Incremental Values .......................................................4-10
Linear Inter......................................................................4-4
Look Ahead Function, OFF ..........................................4-27
Look Ahead Function, ON............................................4-27
Machine Zero ..................................................................4-8
Metric Prog, ....................................................................4-9
Modal Function, OFF ...................................................4-27
Modal Function, ON .....................................................4-27
NC-Block Restart/Re-Positioning ...................................4-9
Negative Direction, with Modulo Calculation ................4-6
Offset...............................................................................4-7
Pos w/o Lag.....................................................................4-5
Pos. w/Lag.......................................................................4-4
Positive Direction, with Modulo Calculation..................4-6
Positive Stop ...................................................................4-9
Positve Stop ....................................................................4-9
Prog. Workpiece Zero .....................................................4-8
Radius Prog.....................................................................4-5
Rigid Tapping .................................................................4-8
Scaling ..........................................................................4-10
Shortest Distance, with Modulo Calculation...................4-6
Spindle Speed ...............................................................4-11
Spindle Speed Limit......................................................4-10
Thread Cutting ................................................................4-6
Tool Length Cor..............................................................4-7
Tool Path Comp. .............................................................4-7
XY Plane.........................................................................4-5
YZ-Plane.........................................................................4-5
Zero Point .......................................................................4-8
ZX Plane .........................................................................4-5
GE
Operation ......................................................................5-15
GE
Instruction .......................................................................5-8
Gear Change ......................................................................6-42
Gearbox Input Revolutions, Main Spdl. Mode..................3-13
Gearbox Input, (rotary)......................................................3-12
Gearbox Input, Axis ............................................................3-5
Gearbox Output Revolutions, Main Spdl. Mode ...............3-13
Gearbox Output, (rotary) ...................................................3-12
Gearbox Output, Axis..........................................................3-5
Get Axis.............................................................................4-25
Global Documentation, GUI (Indramat default).................2-31
Global Variable .................................................................4-27
GRAY_BYT......................................................................5-22
Greater than
Instruction .......................................................................5-7
Greater than or equal to .......................................................5-8
GT
Operation ......................................................................5-15
GT
Instruction .......................................................................5-7
:
+0&':
4GX %
IAE 74768
QUICK REFERENCE GUIDE
Jerk Limitation...................................................................6-44
JEV ....................................................................................4-19
JMP.......................................................................... 4-15, 5-10
Instruction .......................................................................5-4
JMPC.................................................................................5-10
Instruction .......................................................................5-4
JMPCN ..............................................................................5-10
Instruction .......................................................................5-4
Jog Axis in Neg. ................................................................6-31
Jog Axis in Pos. .................................................................6-30
Jog Mode Selection .............................................................6-8
Jogging ............................................................. 3-9, 3-13, 3-14
Jogging Rapid, Spdl.......................................... 3-9, 3-13, 3-14
Jogging Spd Rapid...............................................................3-6
Jogging Speed, Axis ............................................................3-6
Jogging Speed, Spdl ......................................... 3-9, 3-12, 3-14
JSR ....................................................................................4-16
Jump ..................................................................................5-10
Jump to NC-prog. ..............................................................4-15
Jump to NC-prog. Sub. ......................................................4-16
Jumps
Instruction .......................................................................5-4
I
iAXIS ................................................................................ 6-52
iDEA ................................................................................. 6-53
iMECH.............................................................................. 6-54
Import rules..............................................................5-39, 5-53
In Pos. Window, Spdl. ...................................................... 3-10
Incremental Jog Mode......................................................... 6-8
INDRAMAT DDE Server
Deployment Conditions
Cooperation with other Software Components......... 8-13
Required Software.................................................... 8-13
Deployment Conditions ................................................ 8-13
INDRAMAT DDE Server
Automatic Start............................................................. 8-16
First Execution of Password Administration ................ 8-15
Password Administration.............................................. 8-15
Program Call................................................................. 8-14
Register New User ........................................................ 8-16
User Interface................................................................ 8-14
INPOS............................................................................... 6-38
INSERT............................................................................. 5-36
INT.................................................................................... 4-20
INT_BCD.......................................................................... 5-22
INT_BYTE........................................................................ 5-23
INT_DINT ........................................................................ 5-23
INT_STR........................................................................... 5-23
INT_USI ........................................................................... 5-24
INT_WORD...................................................................... 5-24
Integer ............................................................................... 4-20
INTEGER-to-TIME conversion........................................ 5-29
Internal processes................................................................ 3-1
Interpolation Plane, para. .................................................... 3-2
Interrupting NC-Events..................................................... 4-18
iPROC............................................................................... 6-52
4GX %
K
KEYBIN .............................................................................. 8-4
Kv Factor, Analog ...............................................................3-5
Kv Factor, Spdl....................................................................3-9
L
L _BYTE ...........................................................................5-33
L_WORD ..........................................................................5-33
LA_OFF ............................................................................4-27
LA_ON ..............................................................................4-27
Labels, NC...........................................................................4-2
Ladder diagram....................................................................5-9
LAG...................................................................................6-47
LD..................................................................... 4-22, 5-2, 5-10
LDN........................................................................... 5-2, 5-10
LE
Instruction .......................................................................5-9
Operation.......................................................................5-16
LEFT .................................................................................5-34
LEN ...................................................................................5-33
Less than
Instruction .......................................................................5-9
Less than or equal
Instruction .......................................................................5-9
LG......................................................................................4-21
Linear...................................................................................3-1
Linear Encoder ....................................................................3-5
linear scale ...........................................................................3-5
List of Droop Compensation Values ...................................3-8
LN......................................................................................4-21
Load SOT Messages, GUI (Indramat default) ..................... 2-5
+0&':
:
IAE 74768
QUICK REFERENCE GUIDE
MHP ..................................................................................7-20
MID ...................................................................................5-35
Min. Spindle Speed, Gear Range (14) ................. 3-11, 3-14
Minimum Execution Time for a Block..............................4-27
MMP .................................................................................7-21
MMV.................................................................................7-28
MMV_Q............................................................................7-28
MOD
Instruction .......................................................................5-7
MOD
Operation ......................................................................5-14
MODBUS..........................................................................5-51
MODF_OFF ......................................................................4-27
MODF_ON........................................................................4-27
Monitoring Window .................................................. 3-7, 6-48
Monitoring Window, Spdl...................................................3-9
MOP ..................................................................................7-22
motion processes .................................................................3-1
Motor Direction, Spindle...................................................3-13
Motor Overtemperature .....................................................6-28
Motor Speed, Spdl...............................................................3-9
Motor. Spd., Analog............................................................3-5
MOUSE.............................................................................. 8-4
MRF ........................................................................ 7-20, 7-27
MRF_Q .............................................................................7-27
MRY..................................................................................7-22
MS-DOS..............................................................................8-2
MTP ..................................................................................7-21
MT-RUN.BAT ............................................................. 8-2, 8-5
MUL
Instruction .......................................................................5-6
Multiple Errors, SPS .........................................................5-56
MxxC.POK........................................................................6-26
MxxC.QP ..........................................................................6-26
MxxS.AP ...........................................................................6-26
MxxS.DP...........................................................................6-26
MxxS.LP ...........................................................................6-26
MxxS.PRGNR...................................................................6-27
MxxS.PROC......................................................................6-27
MxxS.RP ...........................................................................6-26
M
M00,M001,M002,M030 ................................................... 4-13
M13,M113,M213,M313 ................................................... 4-13
M14,M114,M214,M314 ................................................... 4-13
M19................................................................................... 6-33
M19,M119,M219,M319 ................................................... 4-13
M3..................................................................................... 6-32
M3,M103,M203,M303 ..................................................... 4-13
M4..................................................................................... 6-33
M4,M104,M204,M304 ..................................................... 4-13
M5..................................................................................... 6-33
M5,M105,M205,M305 ..................................................... 4-13
MA...................................................................................... 3-7
Machine Parameter Archive, GUI (Indramat default) ........ 2-12
Machine Parameter Print Out, GUI (Indramat default)...... 2-33
Machine Parameter, GUI (Indramat default)...................... 2-25
MAG_ACT ....................................................................... 7-37
MAG_Q ............................................................................ 7-37
Main Contactor ................................................................... 6-3
Main Spindle....................................................................... 3-1
MAKETIME..................................................................... 5-29
Management process.................................................. 3-1, 6-19
Management Programs ....................................................... 4-2
Manual Data Input ............................................................ 6-16
MANUAL MODE .............................................................. 6-8
Mathematical Expressions ................................................ 4-19
Max. Operating Speed of Incr. Encoder............................ 3-10
Max. Spindle Speed, Gear Range (14)................. 3-11, 3-14
Maximum Spindle Acceleration of Gear Range (14)
............................................................................. 3-11, 3-15
MDI .................................................................................. 6-16
Measuring Function .......................................................... 6-46
Mechanism Number.......................................................... 6-27
Mechanism Program Number ........................................... 6-27
MEN ................................................................................. 7-23
Message for MUI, NC......................................................... 4-2
Message for SOT ................................................................ 4-3
Messages............................................................................. 8-1
METB ............................................................................... 4-27
MFP .................................................................................. 7-22
M-function of functional group 10 ..................................... 3-4
M-function of functional group 14 ..................................... 3-4
M-function of functional group 15 ..................................... 3-4
M-function of functional group 5 ....................................... 3-4
M-function of functional group 6 ....................................... 3-4
M-function of functional group 7 ....................................... 3-4
M-function of functional group 8 ....................................... 3-4
M-function of functional group 9 ....................................... 3-4
:
N
N<MIN..............................................................................6-38
N=CMD................................................................... 6-34, 6-37
N=MAX ............................................................................6-38
NC .....................................................................................5-10
NC Memory.........................................................................4-1
NC Program Structure .........................................................4-1
NC-Block Elements.............................................................4-2
NC-Events .........................................................................4-18
NC-Functions ....................................................................4-20
NC-memory A .....................................................................4-1
NC-memory B .....................................................................4-1
NC-program (w. Tool Setup List) Archive, GUI (Indramat
default) ...........................................................................2-13
NC-Program Number ........................................................6-11
NC-program Print Out, GUI (Indramat default) .................2-32
NC-Program Selection.......................................................6-10
NC-Variables.....................................................................4-22
+0&':
4GX %
IAE 74768
QUICK REFERENCE GUIDE
P-7-3570 ............................................................................6-43
P-7-3571 ............................................................................6-48
P-7-3572 ............................................................................6-42
P-7-3573 ............................................................................6-42
P-7-3574 ............................................................................6-42
P-7-3575 ............................................................................6-42
P-7-3576 ............................................................................6-43
P-7-3577 ............................................................................6-43
P-7-3578 ............................................................................6-43
P-7-3579 ............................................................................6-40
P-7-358 ..............................................................................6-43
P-7-3580 ............................................................................6-40
P-7-3581 ............................................................................6-40
P-7-3583 ............................................................................6-44
P-7-3584 ............................................................................6-44
P-7-3585 ............................................................................6-48
P-7-3586 ............................................................................6-44
P-7-3587 ............................................................................6-44
P-7-3588 ............................................................................6-45
P-7-3590 ............................................................................6-45
P-7-3591 ............................................................................6-48
P-7-3592 ............................................................................6-47
P-7-3593 ............................................................................6-48
P-7-3594 ............................................................................6-49
P-7-3595 ............................................................................6-46
P-7-3596 ............................................................................6-46
P-7-3598 ............................................................................6-46
P-7-3599 ............................................................................6-41
P-7-3600 ............................................................................6-47
P-7-3601 ............................................................................6-47
P-7-3602 ............................................................................6-45
P-7-3603 ............................................................................6-47
P-7-3604 ............................................................................6-47
P-7-3605 ............................................................................6-49
P-7-3606 ............................................................................6-49
P-7-3607 ............................................................................6-49
P-7-3608 ............................................................................6-49
P-7-3609 ............................................................................6-49
P-7-3610 .................................................................. 6-44, 6-49
P-7-3611 ............................................................................6-50
P-7-3612 ............................................................................6-50
P-7-3613 ............................................................................6-50
P-7-3615 ............................................................................6-50
P-7-3616 ............................................................................6-50
P-7-3617 ............................................................................6-50
P-7-3618 ............................................................................6-50
P-7-3621 ............................................................................6-51
P-7-3623 ............................................................................6-51
P-7-3625 ............................................................................6-51
P-7-3626 ............................................................................6-51
Parameter Set in Drive Used for Rotary Mode ..................3-14
Parameter test ......................................................................6-9
Parameter Test Mode...........................................................6-9
Parametric Jog Mode ...........................................................6-8
Parametric Jogging, (rotary) ..............................................3-13
Part Machined....................................................................6-26
Part Program........................................................................4-2
Password Setup, GUI (Indramat default)............................. 2-3
Path Acceleration...............................................................4-25
PBL.EXE.............................................................................6-1
PLC (SPS) Logic Analysis, GUI (1),(2),(3) (Indramat default)2-23
O
Off-line Mode, GUI (Indramat default)................................ 2-2
Offset Table Data, GUI (Indramat default) ........................ 2-17
Offset table Selection ........................................................ 4-24
Offset Tables ..................................................................... 4-23
Offset Tables, Max #........................................................... 3-2
Online Mode, GUI (Indramat default).................................. 2-2
Open Loop, Spindle ............................................................ 3-9
OPEN_COM ..................................................................... 5-47
OPEN_SOT....................................................................... 5-50
Operating Modes, CNC....................................................... 6-5
Operations ......................................................................... 5-11
Operators, NC ................................................................... 4-20
OR
Instruction....................................................................... 5-3
Operation ...................................................................... 5-11
OR(
Instruction....................................................................... 5-3
Orient Spd, Spdl................................................................ 3-14
ORN
Instruction....................................................................... 5-3
ORN(
Instruction....................................................................... 5-3
Oscilloscope, GUI (Indramat default) ................................ 2-20
OTD .................................................................................. 4-24
Override, Axis ................................................................... 6-31
Overtemp. Power Supply .................................................... 6-3
Overtravel Switch.............................................................. 6-27
P
P factor for Spindle Synchronization ................................ 6-45
P x .................................................................................. 6-38
P-7-3514 ........................................................................... 6-50
P-7-3560 ........................................................................... 6-39
P-7-3561 ........................................................................... 6-39
P-7-3562 ........................................................................... 6-39
P-7-3563 ........................................................................... 6-40
P-7-3564 ........................................................................... 6-40
P-7-3565 ........................................................................... 6-47
P-7-3566 ........................................................................... 6-40
P-7-3567 ........................................................................... 6-40
P-7-3568 ........................................................................... 6-41
P-7-3569 ........................................................................... 6-41
4GX %
+0&':
:
IAE 74768
QUICK REFERENCE GUIDE
PLC (SPS) Logic Analysis, GUI (4),(5) (Indramat default) .. 2-24
PLC (SPS) Logic Display Setup, GUI (Indramat default) . 2-22
PMP .................................................................................. 4-22
POK .................................................................................. 4-15
Polygon Course Interpolation ........................................... 6-48
Position Feedback Dir......................................................... 3-7
Position Feedback Dir., Spdl ............................................ 3-10
Position Feedback Location................................................ 3-5
Position Feedback Location (digital drives) ............ 3-11, 3-14
position gain, Spdl .............................................................. 3-9
Position Polarity, (rotary) ................................................. 3-12
Position Polarity, Analog.................................................... 3-6
Position Strobe.................................................................. 4-22
Position Window ....................................................... 3-6, 6-38
Position Window, (rotary) ....................................... 3-13, 3-14
Positioning, Spinle.............................................................. 3-9
Positive Stop .............................................................. 3-7, 6-43
Power (Process) ON Req. ................................................... 6-4
Power Enable ...................................................................... 6-4
Power Interrupt ................................................................. 6-16
Power is ON........................................................................ 6-5
Power ON (CNC)................................................................ 6-4
Power On Control ............................................................... 6-4
Process / Part Prog. Synch. ............................................... 6-19
Process Acknowledgment ................................................. 6-22
Process Control Commands .............................................. 4-14
Advance Process........................................................... 4-14
Define Process .............................................................. 4-14
Full Depth..................................................................... 4-15
Lock Process................................................................. 4-14
Reverse Process ............................................................ 4-14
Select Process ............................................................... 4-14
Wait for Process ........................................................... 4-14
Process Control Signals .................................................... 6-11
Process Enable, ................................................................. 6-11
Process Error..................................................................... 6-14
Process Number ................................................................ 6-17
process parameters .............................................................. 3-2
Process Program ................................................................. 4-2
Process Signals, Gateways .................................................. 6-2
Process Status Signals....................................................... 6-14
Process Stop...................................................................... 6-12
Program Active ................................................................. 6-15
Program Selection (NC).................................................... 6-10
Program Stopped .............................................................. 6-16
Programming Units / Table Revolution ..................... 3-5, 3-12
PxC.ROVRD ....................................................................... 4-4
Pxx(y).AP ......................................................................... 6-21
Pxx(y).DP ......................................................................... 6-19
Pxx(y).POK ...................................................................... 6-23
Pxx(y).QP ......................................................................... 6-22
Pxx(y).RP.......................................................................... 6-22
PxxC.ADV..........................................................6-6, 6-7, 6-11
PxxC.AP ........................................................................... 6-21
PxxC.BBMSP .............................................................. 6-3, 6-5
PxxC.BBSUP............................................................... 6-3, 6-4
PxxC.BLSKP .................................................................... 6-13
PxxC.CLEAR ................................................................... 6-14
PxxC.DP ........................................................................... 6-19
PxxC.EMACH ............................................................. 6-2, 6-4
PxxC.ENABL .......................................................... 6-11, 6-30
:
+0&':
4GX %
IAE 74768
QUICK REFERENCE GUIDE
Instruction .......................................................................5-4
RETC.................................................................................5-10
Instruction .......................................................................5-4
RETCN ..............................................................................5-10
Instruction .......................................................................5-4
Return to-prog. Begin. .......................................................4-15
REV...................................................................................4-16
REV_SYNC ......................................................................7-39
Reverse Process .................................................................6-22
Reverse Prog. Active .........................................................6-16
Reverse Prog. Exec. Req. ....................................................3-2
Reverse Program........................................4-1, 6-7, 6-12, 6-15
Reverse Program Start ............................................... 6-6, 6-26
Reverse Required.................................................................3-2
Reverse Vector ..................................................................4-16
Reverse vectors....................................................................4-1
RIGHT...............................................................................5-34
ROL_BYTE, ROL_WORD, ROL_DW.............................5-31
ROR_BYTE, ROR_WORD, ROR_DW............................5-32
Rotary ..................................................................................3-1
Rotary Axes Mode Default ..................................................3-4
rotary encoder ......................................................................3-5
RP ......................................................................................4-14
RS - flip-flop......................................................................5-40
RTS....................................................................................4-16
PxxS.MGREQ................................................................... 7-46
PxxS.MGTWO...........................................................7-6, 7-47
PxxS.MGWRN ................................................................. 7-47
PxxS.POK ......................................................................... 6-23
PxxS.POWEN..................................................................... 6-4
PxxS.POWER ......................................... 6-5, 6-11, 6-12, 6-30
PxxS.POWIN .................................................................... 6-16
PxxS.POWON .............................................................6-4, 6-5
PxxS.PRGNR...........................................................6-10, 6-27
PxxS.PROC....................................................................... 6-17
PxxS.QP............................................................................ 6-23
PxxS.READY ........................................... 6-6, 6-7, 6-11, 6-15
PxxS.REPOS..................................................................... 6-17
PxxS.REV ................................................. 6-6, 6-7, 6-11, 6-16
PxxS.RP ............................................................................ 6-22
PxxS.RUN................................................................6-15, 6-30
PxxS.SCONn .................................................................... 6-25
PxxS.SSnER ..................................................................... 6-25
PxxS.SSnOK..................................................................... 6-25
PxxS.STOP ...................................................... 6-7, 6-16, 6-30
PxxS.TRANS .................................................................... 6-16
PxxS.TREAD.................................................................... 6-17
Q
qAXIS ............................................................................... 6-55
qDEA ................................................................................ 6-56
Q-Function ........................................................................ 4-14
qPROC .............................................................................. 6-55
S
S-0-0047 ............................................................................6-38
S-0-0057 ............................................................................6-38
S-0-0124 ............................................................................6-38
S-0-0158 ............................................................................6-38
S-0-0330 ............................................................................6-37
SBCD_INT ........................................................................5-24
SCARA Robots..................................................................6-39
SE ......................................................................................4-18
Semi-Auto. & Man Mode, PxxC.ADV..............................6-11
SEMI-AUTOMATIC MODE ..............................................6-7
SERCOS Real Time Control Bit #2 ..................................6-31
Serial interfaces .................................................................5-45
SET............................................................................ 5-2, 5-10
SET TEMP ......................................................................... 8-4
SETC ......................................................................... 5-2, 5-10
SETCN ...................................................................... 5-2, 5-10
Setup....................................................................................6-8
SHL_BYTE, SHL_WORD, SHL_DW..............................5-29
SHR_BYTE, SHR_WORD, SHR_DW .............................5-30
SIGN_INT .........................................................................5-27
Simulation Mode ...............................................................6-48
SIN ....................................................................................4-20
Sine....................................................................................4-20
Single Block Mode ............................................................6-12
Skip NC-block ...................................................................6-13
SMARTDRV ...................................................................... 8-4
Smoothing Time Constant .................................................6-44
Software Travel Limits Immediately Active ........................3-8
SP ......................................................................................4-14
SPDL_ACT .......................................................................7-38
SPDL_Q ............................................................................7-38
SPF ....................................................................................4-23
R
R_TRIG............................................................................. 5-40
Rapid Jog Spindle ............................................................. 6-34
Rapid Override.................................................................. 6-19
Rapid Traverse .........................................................6-13, 6-17
RD_BYTE......................................................................... 5-48
RD_STR............................................................................ 5-49
RE ..................................................................................... 4-18
Ready for Start .................................................................. 6-15
Real Time Status Bit #2 .................................................... 6-37
Ref. Position, (rotary)........................................................ 3-12
Ref. Position, Analog .......................................................... 3-6
Reference Offset, Main Spdl ............................................. 3-13
Reference Required........................................................... 6-15
relay................................................................................... 5-10
REPLACE......................................................................... 5-38
REPOS .............................................................................. 6-13
Repositioning ...........................................................6-13, 6-17
Repositioning / Restart Active .......................................... 6-17
RES ............................................................................5-2, 5-10
RESC .........................................................................5-3, 5-10
RESCN.......................................................................5-3, 5-10
reset................................................................................... 5-10
Restart ............................................................................... 6-17
Restarting .......................................................................... 6-13
Restore, GUI (Indramat default)......................................... 2-15
Results as
RET..........................................................................4-15, 5-10
4GX %
+0&':
:
IAE 74768
QUICK REFERENCE GUIDE
Spindle Acceleration......................................................... 6-42
Spindle Acceleration, Position Mode ...................... 3-11, 3-15
Spindle at Cmd Speed....................................................... 6-24
Spindle Axis Para................................................................ 3-9
Spindle Control (SPSCNC)........................................... 6-23
spindle encoder ................................................................. 3-10
Spindle Gear Selection...................................................... 6-32
Spindle Load 90%......................................................... 6-37
Spindle on CCW ............................................................... 6-33
Spindle on CW (M3) ........................................................ 6-32
Spindle Override ............................................................... 6-18
Spindle Parameter ............................................................. 6-48
Spindle Position....................................................... 6-33, 6-42
Spindle Ready ..................................................................... 6-3
Spindle Running Synch. ................................................... 6-37
Spindle Sel. Feed Prog...................................................... 4-23
Spindle Sel. Tool Mgmt.................................................... 4-23
Spindle Selections............................................................. 4-23
Spindle Speed ................................................................... 6-42
Spindle Speed Limit.......................................................... 6-50
Spindle Speed, Max. ................................................ 3-10, 3-13
Spindle Stop............................................................. 6-33, 6-35
Spindle Stop if Proc. Stopped........................................... 6-23
Spindle Stop Together with Proc. ..................................... 6-23
Spindle Synchronization ................................................... 6-25
Spindle Synchronization Mode......................................... 6-44
SPS
Instructions ..................................................................... 5-2
SPS (PLC) Documentation Print Out, GUI (1),(2),(3) (Indramat
default) .......................................................................... 2-35
SPS (PLC) Documentation Print Out, GUI (4),(5) (Indramat
default) .......................................................................... 2-36
SPS (PLC) Documentation Print Out, GUI (Indramat default)2-35, 2-36
SPS (PLC) Program - Archive (1),(2),(3) ................................ 2-9
SPS (PLC) Program Editing, GUI (1),(2),(3)(Indramat default)2-28
SPS (PLC) Program Editing, GUI (4),(5) (Indramat default) 2-29
SPS (PLC) Project Archive, GUI (Indramat default)2-9, 2-10, 2-11
SPSCNC ....................................................................... 6-11
SPT ................................................................................... 4-23
SQRT ................................................................................ 4-20
Square Root ...................................................................... 4-20
SR - flip-flop..................................................................... 5-39
ST............................................................................... 5-2, 5-10
Standard function blocks .................................................. 5-39
Standard functions ............................................................ 5-17
Start Position of Droop Compensation ............................... 3-8
START, label ...................................................................... 4-1
STN............................................................................ 5-2, 5-10
STR_INT .......................................................................... 5-26
Strobe Axis Position ......................................................... 6-29
Strobe, Memorized Pos..................................................... 4-22
Structures (STRUCT) ......................................................... 5-1
SUB
Instruction....................................................................... 5-5
SUB
Operation...................................................................... 5-13
Subroutine, Branch to: ...................................................... 4-16
Subroutine, Return from: .................................................. 4-16
Subroutines ....................................................................... 4-16
S-x-0126 ........................................................................... 6-38
Synchronous Axes ................................................... 6-24, 6-25
:
+0&':
Synchronous Axis..............................................................6-44
Synchronous Execution Error Limit..................................6-25
Synchronous Operation is OK...........................................6-25
System Constants, NC .......................................................4-20
System Parameters...............................................................3-1
T
T x...................................................................................6-38
Tach Voltage .......................................................................3-7
TAN...................................................................................4-20
Tangent..............................................................................4-20
Tapping .............................................................................6-17
TCH......................................................................... 7-23, 7-29
TCH_Q ..............................................................................7-29
Threading ..........................................................................6-17
TIM_DAY .........................................................................5-27
TIM_DINT ........................................................................5-26
TIM_HOUR ......................................................................5-27
TIM_MIN..........................................................................5-28
TIM_MS............................................................................5-28
TIM_SEC ..........................................................................5-28
TIME .................................................................................4-22
Time Functions..................................................................4-22
Time stages for pulses .......................................................5-43
TL_DELETE .....................................................................7-42
TL_ENABLE ....................................................................7-43
TL_MOVE ........................................................................7-42
TL_RADIUS .....................................................................4-28
TL_RESET........................................................................7-43
TLBD_RD .........................................................................7-40
TLBD_WR ........................................................................7-40
TLD ...................................................................................7-25
TLED_RD .........................................................................7-41
TLED_WR ........................................................................7-41
TMS......................................................................... 7-23, 7-30
TMS_Q..............................................................................7-30
T-Nr., E-Nr........................................................................4-28
TOD_RD ...........................................................................5-45
TOFF .................................................................................5-44
TON...................................................................................5-43
Tool List Archive, GUI (Indramat default).........................2-14
tool management ....................................................... 3-1, 7-40
Tool Mgmt...........................................................................7-1
Ack. Spd. to Mag. .........................................................7-31
Ack. Spindle Mode .......................................................7-38
Ack. Tool Storage at Ref...............................................7-27
Ack. Tool Storage Move ...............................................7-28
Ack. Transfer Mag. to Spd. ...........................................7-30
Ack. Turret Mode..........................................................7-37
Actual Tool Strg. Pos. ...................................................7-45
Amount of Tool Edges ....................................................7-5
Asynchronous Turret Movement...................................7-39
Automatic Tool Check ..................................................7-46
Basic Tool Data.............................................................7-40
Branch if Spindle Empty...............................................7-24
Branch if Tool T0 Sel....................................................7-24
Cmd. Tool Strg. Pos......................................................7-47
CNC Tool Storage Req. ................................................7-46
Comment............................................................... 7-2, 7-14
4GX %
IAE 74768
QUICK REFERENCE GUIDE
Perform Complete Tool Chg. ........................................7-23
Position Tool Storage....................................................7-28
Program Specific ...........................................................7-14
Radius Offset.................................................................7-17
Radius Tool Wear Factor ................................................7-3
Radius Wear ..................................................................7-17
Read NC-Command TSM .............................................7-31
Read Spindle Mode .......................................................7-38
Read Turret Mode .........................................................7-37
Ref. Tool Storage ..........................................................7-27
Setup List Organization...................................................7-3
Spindle / Turret Axis .....................................................7-37
Spindle Selection...........................................................7-20
Spindle to Magazine......................................................7-24
SPS Control Functions ..................................................7-26
Station Specific .............................................................7-14
Status...............................................................................7-8
Symbol for User Tool bit...............................................7-16
Symbol for User Tool Edge...........................................7-16
Time Unit ........................................................................7-2
T-Number........................................................................7-8
T-Number (T)..................................................................7-1
Tool Chg. ......................................................................7-20
Tool Chg. Between Mag and Spd..................................7-30
Tool Chg. Functions......................................................7-29
Tool Correction .............................................................7-18
Tool Correction Type ......................................................7-5
Tool Data.......................................................................7-42
Tool Data Active List .............................................. 7-8, 7-9
Tool Data Read / Write .................................................7-25
Tool Edge Data ..................................................... 7-2, 7-41
Tool Edge Data Active List ...........................................7-10
Tool Edge Orientation............................................. 7-2, 7-6
Tool Edge Sel................................................................7-19
Tool Edge Status ...........................................................7-13
Tool Edges ......................................................................7-1
Tool Geometry Limits ...................................................7-15
Tool Index .......................................................................7-4
Tool Length Correction...................................................7-7
Tool Life.................................................................. 7-2, 7-6
Tool Life Data ...............................................................7-15
Tool List..........................................................................7-4
Tool List Data .................................................................7-4
Tool Lists and Setup Lists ...............................................7-1
Tool Location ..................................................................7-4
Tool Management .........................................................7-16
Tool Name.......................................................................7-4
Tool Name (ID)...............................................................7-1
Tool Pocket Empty........................................................7-24
Tool Radius Correction ...................................................7-7
Tool Selection ...............................................................7-19
Tool Setup List................................................................7-1
Tool Spindle Empty ......................................................7-24
Tool Status ....................................................................7-11
Tool Storage ....................................................................7-4
Tool Storage / Tool Error ..............................................7-48
Tool Storage Dry...........................................................7-22
Tool Storage Enable, Man Mode ..................................7-23
Tool Storage Ref. ..........................................................7-27
Tool Storage, Type ........................................................7-16
Tool Strg. Enabled ........................................................7-46
4GX %
+0&':
:
IAE 74768
QUICK REFERENCE GUIDE
User Programs & Data - Restore .........................................1-3
USI_BYTE ........................................................................5-25
USI_INT............................................................................5-25
USINT ...............................................................................6-18
V
Velocity Factor for Block Transition.................................4-28
Velocity Optimized Block Transition................................6-17
Velocity, Path ......................................................................3-2
VFBT.................................................................................4-28
W
Way Point Signals .............................................................6-37
Waypoints.................................................................. 3-7, 3-13
WER..................................................................................4-18
WES ..................................................................................4-18
Window for Re-positioning and NC-block reset ....... 3-9, 3-15
Windows NT 3.51 ...............................................................8-2
WORD_INT ......................................................................5-26
WP.....................................................................................4-14
WR_BYTE ........................................................................5-48
WR_STR ...........................................................................5-48
X
XFER_CHK ......................................................................7-34
XMS ..................................................................................7-32
XMS_CA...........................................................................7-34
XMS_NA ..........................................................................7-33
XMS_PA ...........................................................................7-32
XMS_Q .............................................................................7-33
XOR
Instruction .......................................................................5-3
Operation ......................................................................5-12
XOR(
Instruction .......................................................................5-3
XORN
Instruction .......................................................................5-3
XORN(
Instruction .......................................................................5-3
U
UD ...................................................................................... 6-3
UDI_DINT........................................................................ 5-25
Unit of Droop Compensation Values.................................. 3-8
Units, default system........................................................... 3-2
User function blocks ......................................................... 5-53
User functions ................................................................... 5-38
User Programs & Data - Backup......................................... 1-1
:
+0&':
4GX %
IAE 74768
QUICK REFERENCE GUIDE
Customer Service
Americas (Canada, Latin America, and United States)
Argentina
Argentina
Brazil
Canada
Nakase
Asesoramiento Tecnico
Diaz Velez 2929
1636 Olivos
(Provincia de Buenos Aires)
Argentina
Phone: 01/756 01 40
01/756 02 40
Telex: 262 66 rexro ar
Fax:
01/756 01 36
Phone: 01/790 52 30
Phone:
Fax:
905/335-55 11
905/335-41 84
Phone: 011/745 90 65
011/745 90 70
Fax:
011/745 90 50
Mexico
USA
USA
Motorizacin y
Diseo de Controles, S.A. de C.V.
Av. Dr. Gustavo Baz No. 288
Col. Parque Industrial la Ioma
Apartado Postal No. 318
54060 Tlalnepantla
Estado de Mexico
Mexico
Rexroth Corporation
INDRAMAT Division
5150 Prairie Stone Parkway
Hoffman Estates, Illinois 60192
Rexroth Corporation
INDRAMAT Division
2110 Austin Avenue
Rochester Hills, Michigan 48309
USA:
1-800-860-1055
Phone: 847/645-36 00
Fax:
857/645-62 01
Phone: 810/853-82 90
Fax:
810/853-82 90
Phone: 5/397 86 44
Fax:
5/398 98 88
Canada:
1-847-645-3600
(request Service Department)
Latin America:
(US Phone No.) 847-645-3600
(request Service Department)
China
China
China
China
Hong Kong
India
Japan
Phone: 80/839 21 01
80/839 73 74
Telex: 845 5028 RexB
Fax:
80/839 43 45
Phone: 045/942-72 10
Fax:
045/942-03 41
Korea
Korea
Rexroth-Seki Co Ltd.
1500-12 Da-Dae-Dong
Saha-Gu, Pusan, 604-050
Korea
Phone: 051/264 90 01
Fax:
051/264 90 10
Phone: 02/780-82 07 ~9
Fax:
02/784-54 08
4GX %
%WUVQOGT 5GTXKEG
IAE 74768
QUICK REFERENCE GUIDE
Austria
Austria
Belgium
Denmark
G.L.Rexroth Ges.m.b.H.
Geschftsbereich INDRAMAT
Hgelingasse 3
A-1140 Wien
G.L.Rexroth Ges.m.b.H.
Geschftsbereich INDRAMAT
Randlstrae 14
A-4061 Pasching
BEC Elektronik AS
Zinkvej 6
DK-8900 Randers
Phone: 1/9852540-400
Fax:
1/9852540-93
Phone: 07229/4401-36
Fax:
07229/4401-80
Phone: 02/5823180
Fax:
02/5824310
Phone: 086/447866
Fax:
086/447160
England
Finland
France
France
Rexroth Mecman OY
Riihimiehentie 3
SF-01720 Vantaa
Phone: 01285/658671
Fax:
01285/654991
Phone: 0/848511
Fax:
0/846387
Phone: 1/41475430
Fax:
1/47946941
Phone: 78785256
Fax:
78785231
France
Italy
Italy
Netherlands
Rexroth S.p.A.
Divisione INDRAMAT
Via G. Di Vittoria, 1
I-20063 Cernusco S/N.MI
Rexroth S.p.A.
Divisione INDRAMAT
Via Borgomanero, 11
I-10145 Torino
Phone: 61499519
Fax:
61310041
Phone: 02/92365-270
Fax:
02/92108069
Phone: 011/7712230
Fax:
011/7710190
Phone: 04116/51951
Fax:
04116/51483
Spain
Spain
Sweden
Switzerland
Rexroth S.A.
Centro Industrial Santiago
Obradors s/n
E-08130 Santa Perpetua de
Mogoda (Barcelona)
Goimendi S.A.
Divisin Indramat
Jolastokieta (Herrera)
Apartado 11 37
E-San Sebastion, 20017
AB Rexroth Mecman
INDRAMAT Division
Varuvgen 7
S-125 81 Stockholm
Rexroth SA
Dpartement INDRAMAT
Chemin de l`Ecole 6
CH-1036 Sullens
Phone: 03/718 68 51
Telex: 591 81
Fax:
03/718 98 62
Phone: 043/40 01 63
Telex: 361 72
Fax:
043/39 93 95
Phone: 08/727 92 00
Fax:
08/64 73 277
Phone: 021/731 43 77
Fax:
021/731 46 78
Switzerland
Russia
Rexroth AG
Geeschftsbereich INDRAMAT
Gewerbestrae 3
CH-8500 Frauenfeld
Tschudnenko E.B.
Arsenia 22
153000 Ivanovo
Russia
Phone: 052/720 21 00
Fax:
052/720 21 11
INDRAMAT GmbH
Bgm.-Dr.-Nebel-Str. 2
D-97816 Lohr am Main
INDRAMAT GmbH
Beckerstrae 31
D-09120 Chemnitz
INDRAMAT GmbH
Hansastrae 25
D-40849 Ratingen
INDRAMAT GmbH
Fhrhausstrae 11
D-22085 Hamburg
Phone: 09352/40-0
Fax:
09352/40-4885
Phone: 0371/3555-0
Fax:
0371/3555-230
Phone: 02102/4318-0
Fax:
02102/41315
Phone: 040/227126-16
Fax:
040/227126-15
INDRAMAT GmbH
Ridlerstrae 75
D-80339 Mnchen
INDRAMAT GmbH
Bblinger Strae 25
D-71229 Leonberg
INDRAMAT GmbH
Phone: 0172/660 040 6
Phone: 089/540138-30
Fax:
089/540138-10
Phone: 07152/972-6
Fax:
07152/972-727
%WUVQOGT 5GTXKEG
4GX %
2.
3.
4.
5.
6.
7.
8.
9.
10.
would
influence
any
repeat
11.
Name
Company
Address
City
Telephone (____)
Comments:
Dept
State
Zip
c
c
c
c
c
c
c
c
c
c
c
d
d
d
d
d
d
d
d
d
d
d
e
e
e
e
e
e
e
e
e
e
e
f
f
f
f
f
f
f
f
f
f
f
g
g
g
g
g
g
g
g
g
g
g
------------------------------------------ Tape
Closed
--------------------------------------------
From:
------------------------------------------ Tape
Closed
--------------------------------------------