1 Update Information No
FN 17: SYSWRITE ID 2000 NR10 IDX1000 = BLOCK Q1620 Q
Here the contents of parameters Q1620 to Q1627 are written to PLC markers M1000 to M1007.
No. Description IDX FN17 FN18
10 PLC markers No. of marker X X
20 PLC inputs No. of input X
30 PLC outputs No. of output X
40 PLC counters No. of counter X
50 PLC timers No. of timers X
60 PLC byte No. of byte X X
70 PLC word No. of word X X
September 2005 NC Software 340 490-02/340 491-02 and 340 492-02/340 493-02 1 – 19
PLC modules Changed: Module 9223 (Free Rotation)
Module 9223 can now also be used for PLC axes.
Changed: Module 9038 (Read Axis Information)
Status information number 9 is used to ascertain whether the axis being interrogated is a slave axis.
Number 9: 0 = No slave axis 1 = Slave axis
Module 9133 Output of Hardware Information (changed)
PLC Module 9133 is used to ascertain the supply voltages (numbers 4 and 5) as well as the shaft speed of the housing fan (number 6).
Call:
PS B/W/D/K <Mode>
0: Internal temperature sensor in [°C] 1: Temperature CPU1 (basic PCB) in [°C] 2: Temperature CPU2 (additional PCB) in [°C] 3: Voltage of buffer battery in [mV]
4: 5-V supply voltage of main board 5: 3.3-V supply voltage
6: Shaft speed of the housing fan
CM 9133
PL B/W/D <Value>
Error recognition:
Marker Value Meaning
M4203 0 Value was determined
1 Error code in W1022
W1022 2 Invalid number given
Module 9143 Activating the brake test
The brake test can be activated with PLC Module 9143. It is performed axis- specifically with the settings from MP2230.x and MP2232.x, or with special given values.
Call:
PS B/W/D/K <Axis>
0 to 13 and 15: Axes 1 to 14 and the spindle PS B/W/D/K <Factor for rated current>
Value in 1/1000, 0: Value from MP2230.x PS B/W/D/K <Max. permissible path>
Path in 0.1 μm, 0: Value from MP2232.x
CM 9143
Error recognition:
Module 9185 Touchpad status
PLC Module 9185 is used to lock or enable the touchpad (X142) on the keyboard connected via USB. It is also possible to interrogate the status. Call:
PS B/W/D/K <Mode>
0: Enable touchpad (UNLOCK) 1: Lock touchpad (LOCK) 2: Status request
CM 9185
PL B/W/D <Status>
-1: Status not defined 0: Touchpad is enabled 1: Touchpad is locked
Error recognition:
Marker Value Meaning
M4203 0 Brake test started
1 Error code in W1022
W1022 2 Invalid axis number
Marker Value Meaning
M4203 0 Function was performed
1 Error code in W1022
September 2005 NC Software 340 490-02/340 491-02 and 340 492-02/340 493-02 1 – 21
New smarT.NC functions
DXF converter (Option #42)
Contour programs (*.HC files) can be generated directly by the DXF converter.
Coordinate transformation (upgrade function)
The datum shift, rotation, mirroring, and scaling factor coordinate transformations are now available in form view.
PLANE Function (upgrade function)
The PLANE function is now also available in form view.
Graphic block scan (upgrade function)
Block scan with graphically-supported possibility for selecting the entry point if it is within a point file.
Contour-pocket depth (upgrade function)
Within the contour pocket you can now assign a separate depth to each subcontour (or height for island contours).
Copy/Paste/Cut
Copying/Pasting/Cutting of units is now possible via soft keys or the keyboard commands CTRL+C/CTRL+V/CTRL+X.
Switch between alternatives for feed rates
Switch via soft key between the possible feed rates: F (feed rate in mm/min), Fz (feed rate per tooth in mm/tooth) and Fu (feed rate in mm/rev).
Entry of the cutting velocity – VC
When entering the spindle shaft speed, it is now possible to enter it as a prescribed cutting velocity (at the cutting edge). The iTNC then calculates the spindle speed necessary. The VC soft key was introduced for this purpose.
Tool selection window
Tool data can now be edited in the tool selection window.
Incremental entry of machining positions
Machining positions can now be entered incrementally directly in a machining unit’s form.
This is possible as an option starting from the second position in the form. You can switch to incremental entry either via soft key or the I key.
Assumption of workpiece blank
The workpiece blank is automatically assumed from the unit program into a new contour description program.
Note
In order to take full advantage of the DXF converter’s function, you need a screen pointing device (such as a UCB mouse or touchpad), in order to select the contour elements, for example.
Plain-text dialog keys in forms
The orange keys (X, Y, Z, P, I) of the standard keyboard now also function within contour programming in smarT.NC.
QuickInfos in forms
QuickInfo texts are now available for most input fields and option boxes in the forms.
QuickInfo texts contain information about the respective functions, and appear on the screen when the mouse remains on the element for more than one second.
September 2005 NC Software 340 490-02/340 491-02 and 340 492-02/340 493-02 1 – 23 New plain- language programming functions DXF converter
Contour programs (*.H files) can be generated directly by the DXF converter (software option).
Entry of the cutting velocity – VC
When entering the spindle shaft speed, it is now possible to enter it as a prescribed cutting velocity (at the cutting edge). The iTNC then calculates the spindle speed necessary. The VC soft key was introduced for this purpose.
FK-H conversion
The functionality of this conversion no longer depends on the setting of the
Automatic Drawing On/Off soft key. That means that this function is no longer restricted to the PROGRAM+GRAPHICS screen layout. The soft-key row for converting from NC programs is now available in all screen layouts in the
Programming and Editing operating mode via the CONVERT PROGRAM soft key. Two soft keys are now offered for the conversion of NC programs with free contour programs into simple plain-language programs.
• The Convert FK->H Structure soft key maintains the program structure, and the NC blocks with free contour programming are replaced by plain- language blocks.
Programs with Q parameters cannot be converted with this soft key. • The Convert FK->H Linear soft key outputs a linearized program. This
program follows the actual machining sequence. All programs can be converted with this soft key.
CAD point filter (offline) (upgrade function)
With this new function, externally created NC programs can be filtered. The NC programs are read out, and the traverse paths are recalculated and smoothed. The result is a new NC program with smoothed contours. It is saved with the file name amendment “_FLT” (e.g. “contour_FLT.h”). The filter function also generates useful additional path points when the gaps between individual contour segments are too large. This can also increase the size of the NC program.
This function is called in the Programming and Editing operating mode, via the CONVERT PROGRAM soft key and then the new soft key for the point filter.
Machining depth of subcontours
For contours which you connect via the contour formula, you can now assign separate machining depths for each subcontour.
New ISO functions PLANE Function
The PLANE function is now available in ISO programming for tilting the machining plane. The syntax is identical with the plain-language syntax.
Note
In order to take full advantage of the DXF converter’s function, you need a screen pointing device (such as a UCB mouse or touchpad), in order to select the contour elements, for example.
New touch probe functions
Cycle 441 – Rapid Probing (upgrade function)
The new touch probe Cycle 441 is available, with which you can globally set different touch probe parameters (e.g. positioning feed rate) for all subsequently used touch probe cycles. This makes it easy to optimize the programs so that reductions in total machining time are achieved.
Probing with active basic rotation in manual operating modes
The TNC now also takes into consideration an active basic rotation (if activated via MP6166) for the probing functions in the Manual (El.
Handwheel) operating modes. Under consideration of the active angle of
rotation, the touch probe moves at an angle in the direction you programmed.
Measuring log on the TNC screen
Cycles 420 to 431 for automatic tool measurement can now also display the measuring log in a pop-up window on the screen.
If you set parameter Q281 = 2, then the control interrupts program run and displays the measurement result.
Press the NC Start button to close the pop-up window and continue program run.
New handwheel functions
Freely-definable soft-key menu for HR 420
Via the PLC, the iTNC can now also manage freely-definable soft keys on the HR 420. See “PLC programming” on page 14.
New behavior with the HR 420
The feed-rate potentiometers of the HR 420 and the keyboard unit are no longer switched over automatically when the handwheel is selected or deselected. In order to switch the potentiometers, you must press the <CTRL> + <Handwheel> keys on the handwheel. A selection menu appears on the handwheel display, asking whether the potentiometers on the operating panel or the handwheel are to be active.
F1 = HW: Handwheel
F2 = KBD: Keyboard
If the handwheel potentiometers are active, but the handwheel itself is not, a message appears on the control screen.
Small pop-up window for HR 420
The pop-up window for the active HR 420 was made smaller, in order to improve the view of the display beneath it.
Programming station
(Id. Nr. 340 494-02 and new:
Id. Nr. 386 753-02)
Scope of function of the programming station
All software options (SIK) are now enabled for the programming station software.
Virtual keyboard (programming station with USB dongle)
A new programming station (Id. Nr. 386 753-02) is being presented with the release of NC software 340 49x-02. It is operated via soft keys and a virtual keyboard, which is controlled via the mouse. It is enabled with the USB dongle included in delivery. This means that no keyboard unit is required. A screen resolution of at least 1280 x 1024 pixels is necessary for this.
September 2005 NC Software 340 490-02/340 491-02 and 340 492-02/340 493-02 1 – 25
PLC basic program for programming station
When installing the programming station, the PLC basic program can now also be installed, ready-to-run, from the setup menu. You must select “User- defined” installation during the setup, and then select the installation of the PLC basic program. This permits you to simulate functions in the machine operating modes
In addition to the horizontal and vertical soft keys, which you click with the mouse, various functions (such as the simulation of axis and spindle motions) can be performed with key combinations from the keyboard unit. When you start the programming station, the error message “98 TNC programming station active” appears. This is an opportunity to read a brief description of how to perform these functions. Press the Help key to call this brief description.
You can simulate the following machine functions with both the keyboard unit and the mouse.
Public key “PLC”
The new, additional public key “PLC” was introduced for the PLC programming interface (code number 807667). It only functions with the programming station software.
Indication of digital outputs in MP120.x
In MP120.x, digital outputs can now be entered in the software for the programming station (e.g. X51 to X64).
Function Key combination
NC start [CTRL] + S
NC stop [CTRL] + X
Axis plus [CTRL] + Arrow Up
Axis minus [CTRL] + Arrow Down
Emergency stop [ALT] + X
Vertical soft key 1 (top) [SHIFT] + [CTRL] +
[ALT] + 1
: :
Vertical soft key 6 (bottom) [SHIFT] + [CTRL] +
iTNC – Operation and technique
3-D line graphics (upgrade function)
The powerful 3-D LINES viewing option has been added to the Programming
and Editing operating mode. It is activated via the soft key of the same name, which is available using the key for the screen layout. The following functions are now available in this viewing option:
• Display of the currently selected traverse path in the NC program with its own color within the 3-D graphics (see figure)
• 3-D rotation with the mouse, including display of the active coordinate system
• Standard zoom functions with very high resolution • Standard motion and rotation functions via soft keys
Table editor in form view
Tables (with the extension *.TAB) can now be edited in a form view. You can switch to it with the LIST FORM soft key after having selected the table.
September 2005 NC Software 340 490-02/340 491-02 and 340 492-02/340 493-02 1 – 27
Automatic determination of the dynamic load (only CC 424)
The dynamic load (inertia) of axes can automatically be detected with a measuring cycle created by the OEM. The result measured is the maximum torque which occurred, in % of the rated torque. It is determined between the beginning and end of a measurement, and can be stored in a buffered variable. The values can be output at any time. This makes it possible, using the measured value and an NC macro, to automatically adapt the machine parameters by selecting an appropriate MP subfile.
• FN 17 SYSWRITE ID621 NR 0 IDX <axis> = 0 to start the measurement. • FN 18 SYSREAD Q<n> = ID621 NR 0 IDX <axis> to read the result and
stop the measurement.
• FN 17 SYSWRITE ID 590 NR 2 IDX <axis> (is not cleared when a program is selected) and FN 17 SYSWRITE ID 590 NR 3 IDX <axis> (secure from power failure) for storing the result (IDX = 1..30).
• FN 18 SYSREAD ID 590 NR <2 or 3> IDX <axis> for reading the stored value (IDX = 1..10).
• Creation of an NC macro, which is run when a program is concluded with M02, M30 or END PGM (keyword RUNENDPGM in
NCMACRO.SYS). In the Manual operating mode, this macro must also be saved in the M-function table under M02 and M30.
• FN 17 SYSWRITE ID 120 IDX 2 to deactivate a machine parameter subfile.
LIFTOFF at powerfail (only CC 424)
If the power fails and LIFTOFF is enabled (M148 must be active, column
LIFTOFF in the tool table = Y, PLC: M4620=1), an attempt is made to lift the tool from the contour by the distance given in MP1160 with the help of the remaining energy of the dc-link.
Certain conditions must be maintained before and during LIFTOFF. • The 24-V power supply must be maintained for at least 1 second (USB
for 24 V, or buffer capacity or capacitor)
• The PLC may not switch off the controller via Module 9161 • AC-Fail may not be evaluated (MP2150 = 3)
• The wye-delta contactor combination may not fail, otherwise the spindle could not be controllable during liftoff
Note
Reference-point setting with the PLANE function, Hirth-coupled axes and active M114
If rotary axes with Hirth coupling are positioned via PLC or NC, angles can only be entered according to a certain grid. Machining can be performed in any plane by tilting the plane with the PLANE function and programming the rotary axis grid coordinates with M114 (automatic compensation of the machine geometry when working with tilting axes).
Starting with software 340-49x-02, it is possible to save and set reference points in this state.
The iTNC uses the nominal positions of the rotary axes programmed in M114 to calculate the reference point. With MP7493 the machine manufacturer can enter a maximum deviation of the rotary axes based on the nominal position resulting from the orientation of the working plane. The control accepts this deviation when setting reference points and when measuring with M114. The default value for this machine parameter is 0.005. The iTNC then uses the current ACTUAL/NOMINAL positions (MP7682, bit 1) of the rotary axes to calculate the reference point.
Note
Please note that in this procedure the tool might not be perpendicular to the tilted working plane.
September 2005 NC Software 340 490-02/340 491-02 and 340 492-02/340 493-02 1 – 29
Network: IP address via DHCP (upgrade function)
Using the code number NET123 and the DEFINE NET soft key, “DHCP” can now be entered as the network address in the ADRESS column.
In this case the control automatically retrieves the network address (IP address), the subnet mask (MASK column) and any necessary broadcast address (BROADCAST column) from a DHCP server on the network (Dynamic
Host Configuration Protocol).
If necessary, “DHCP” can also be entered in the ROUTER column, so that the IP address of a default router can automatically be retrieved by the DHCP server.
If necessary, the IP address of the control can be determined by the network from the network name. This name can be found on the control under
DEFINE NET in the HOST column. On the network the IP address can be ascertained via command line (DOS window) with the “ping
<HOSTNAME>” command (e.g. ping TNC_123).
Below is the example for the configuration of a table which is accessed via
Programming and Editing, MOD, code number NET123 and the DEFINE NET soft key: