1 Update Information No. 15
1: The status of the Tilt working plane function is loaded into the Manual operating mode during a program interruption
New: MP7684 bit 10 – Modification of the calculation of the contouring feed rate
MP7684 bit 10 introduced a modified calculation of the contouring feed rate at the beginning of a contour element. The modified calculation improves the surface quality at contour transitions, which can lessen the accuracy at corners. This can be deactivated by setting MP7684 bit 10.
Input: 0: Active
1: Previous behavior
New: MP13350 and MP13351 – Monitoring of the spindle speed With MP13350 and MP13351 you set the maximum permitted excessive spindle speed.
(see MP3350 and MP3351)
Input MP13350: 0 to 100 [%]
Input MP13351: 0.001 to 100 000.000 [rpm]
0: Monitoring off
Changed: MP1090.x – Limiting the path jerk
Limits the path jerk that results from MP1085.x or MP1086.x. MP1090.0 takes effect for movements not at FMAX or when the feed rate is less than the value in MP1092. MP1090.1 takes effect for movements at FMAX or when the feed rate is greater than the value in MP1092. This limitation can be switched off by entering the value 0 in MP1090.x.
Input: 0.1 to 1000 [m/s3] 0: Not active
Changed: MP1820 and MP1830 – Multiplication factor and characteristic curve kink point
September 2006 NC Software 340 490-03/340 491-03 and 340 492-03/340 493-03 1 – 21
Changed: MP1092 – Feed-rate threshold for MP1085.x and MP1086.x With MP1092 you specify a feed-rate threshold for the various jerk parameters in MP1085.x and MP1086.x.
If the programmed feed rate is less than the value in MP1092, the parameters in MP1085.x apply. If the programmed feed rate is greater than the value in MP1092, the parameters in MP1086.x apply. This way you have the same behavior as previously for all axes via MP1090.0 and MP1090.1.
Enter the value 0 in MP1092 to deactivate this feed-rate limit. Then the jerk parameters from MP1085.x apply to movements not at rapid traverse. The values in MP1086.x become active for movements at FMAX.
Input: 1 to 300 000 [mm/min] (behavior until now) 0: Not active
Changed: MP2050 – Functionality of drive enabling
MP2050 can now also be overwritten by the PLC or the LSV2 protocol.
Changed: MP2100 – Type of axis power modules
A change to MP2100 no longer leads to an automatic restart.
Changed: MP2150 – Powerfail
MP2150 can now also be overwritten by the PLC or the LSV2 protocol.
Changed: MP2182.x – Current controller cycle time
Set MP2182.x = 2 if you want to use automatic PWM frequency switching.
The PWM frequency of a power stage is then doubled at a certain speed, based on a PWM frequency ≤ 5 kHz. In MP2186.x and MP2188.x you define the speeds at which switching occurs. The current controller cycle time is always (if MP2182.x = 2) based on the high PWM frequency.
Changed: MP2195 – Suppress error message of the HEIDENHAIN supply units
MP2155 can now also be overwritten by the PLC or the LSV2 protocol.
Changed: MP2420.x – Proportional factor for the current controller Automatic calculation of the P factor for synchronous and asynchronous motors is now possible. Automatic calculation is not to be used for linear synchronous and torque motors.
The calculated value is entered in the MP file. An * is appended to the calculated value to show that the parameter was determined automatically.
Input: 0 to 9999.99 [V/A]
* = automatic calculation of the P factor
Changed: MP2430.x – Integral factor for the current controller Automatic calculation of the I factor for synchronous and asynchronous motors is now possible. Automatic calculation is not to be used for linear synchronous and torque motors.
The calculated value is entered in the MP file. An * is appended to the calculated value to show that the parameter was determined automatically.
Input: 0 to 9999.99 [V/A]
* = automatic calculation of the I factor
Changed: MP2630.x – Holding current for vertical axes The input range was extended.
Input: –100.000 to +100.000 [A]
Changed: MP3142 and MP13142 – Line count of the rotary encoder on the spindle
The input range was extended.
Input: 100 to 100 000 [lines]
Changed: MP7260 to MP7267
MP7260 to MP7267 can now also be overwritten by the PLC or the LSV2 protocol.
Changed: MP7261.x – Size of the pocket tables The input range was extended.
Input: 0 to 9999
Changed: MP7246 bit 0 – MP with multiple function
Disabling of the generation of paraxial positioning blocks via MP7246 bit 0 is available again.
Input: 0: Generation permitted 1: Generation not permitted
Changed: MP7266.x – Tool table: Tool data
The input range was extended by the index MP7266.40.
MP7266.40 for AFC: Control strategy name for “Adaptive Feed Control”
Removed: MP7235 – Time difference to the Universal Time set in the BIOS
This is now realized with the Set System Time dialog box. Open this dialog box by pressing the MOD key in the Programming and Editing operating mode, and then the SET DATE/TIME soft key.
September 2006 NC Software 340 490-03/340 491-03 and 340 492-03/340 493-03 1 – 23 PLC programming
In connection with this, a possibility for outputting the cause of the last PLC run-time error was introduced. PLC word W1002 can be used to determine the last PLC run-time error that led to the stop of PLC program execution.
If a PLC run-time error occurs, the generated error code is saved in W1002 and simultaneously in the remanent memory of the control. When a new PLC run-time error occurs, W1002 and the value in the remanent memory are overwritten.
If the control is restarted or a PLC program start is triggered in some other manner (by Compile, Restart PLC or acknowledgment of PLC run-time errors), the value in W1002 regenerates itself via the information in the remanent memory. Once the value has been entered in W1002 again, this information is deleted from the remanent memory. This way the last PLC run-time error is always available in W1002, even after the PLC is restarted. In addition, the error code can already be seen in the PLC table as early as in the Power interrupted status after the control has been restarted.
The error code in W1022 can be output and evaluated in the PLC program. The following applies to the evaluation of the error code, which should be performed during the first PLC run-through:
• W1002 = 0: No PLC run-time error occurred before the last PLC program start
• W1002 = 1: Error information in W1002 is invalid (e.g. because of an error in the hardware). If necessary: Implement safety reaction.
• W1002 ≥ 50: PLC run-time error with number code (see the
PLCdesignNT help for the error name). If necessary: Implement safety reaction.
Warning
HEIDENHAIN would like to point out the following information for the processing of signals in the PLC:
For all PLC markers, the status 0 (not set) must be used as the safe status. Only this way can the safety of a machine be ensured if the power fails.
The following must be kept in mind for remanent markers:
Remanent markers, bytes, words and double words can also be deleted (e.g. if the buffer battery is empty). In order to detect this state, we recommend setting a flag marker in the remanent memory. Set this marker once, at a time when it is ensured that all signals in the PLC are valid.
This marker should be used as a reference in the PLC program. As long as this marker is set, the remanent markers have not been deleted (e.g.
by an empty buffer battery or an error in the PLC). If this flag marker is deleted, all remanent markers are invalid. An appropriate safety reaction with an error message must occur if this happens.
In order to attain an optimum level of safety for your machine and the operator, HEIDENHAIN recommends the combined use of these safety measures.
Configuration data of the PLC
You use the PLC configuration file to influence the memory allocation of the control and change the configuration data of the PLC. Enter certain keywords to perform changes. After compilation by the PLC, the NC detects the changed settings, and the control must be restarted.
The values you enter may only be greater than the default values.
Available keywords:
Keyword Description Example
DEFINE Configuration definitions for controlling the conditional compilation, soft-key menu generation and cycle-project configuration.
System parameters that may not be changed are identified by a preceding and following $ character. Depending on which options have been set, they are defined via the compiler and can be used for conditional compilation. For more information about this, please refer to the PLCdesignNT help.
REMBYTEMIN Start address of the bytes, words or double words whose data remains stored after a power interruption (remanence).
Default value: 0
REMBYTEMIN = 0
REMBYTEMAX End address of the bytes, words or double words whose data remains stored after a power interruption (remanence).
The range defined by REMBYTEMIN and REMBYTEMAX may not be larger than 1024 bytes.
Default value: –1 = Deactivated
REMBYTEMAX = 200
September 2006 NC Software 340 490-03/340 491-03 and 340 492-03/340 493-03 1 – 25 REMMARKERMIN Start address of the markers whose data
remains stored after a power interruption (remanence).
Default value: 0
REMMARKERMIN = 0
REMMARKERMAX End address of the bytes, words or double words whose data remains stored after a power interruption (remanence).
The range defined by REMMARKERMIN and REMMARKERMAX may not consist of more than 2048 markers.
Default value: –1 = Deactivated
REMMARKERMAX = 150
MARKERS A total of 100 000 bytes is available
BYTES Size in bytes for the
byte/word/double word memory.
Default value: 10000
BYTES = 20000
INPUTS Number of input
markers available.
Default value: 384
INPUTS = 450
OUTPUTS Number of output
markers available.
Default value: 192
OUTPUTS = 250
INPUTBYTES Size in bytes for the
byte/word/double word memory range used by the Profibus inputs.
Default value: 1000
OUTPUTBYTES Size in bytes for the
byte/word/double word memory range used by the Profibus outputs.
Default value: 1000
Keyword Description Example