HEIDENHAIN: нагрузка на оси и шпиндель

Материал из DPA
Перейти к навигации Перейти к поиску

PLC HEIDENHAIN использует системный макрос (модуль) 9166 для определения текущей нагрузки на оси / шпиндель:

Module 9166 provides the momentary utilization of a drive motor controlled by the integral current controller in percent [%] of the rated utilization. The momentary utilization is ascertained by the current controller, under consideration of the equivalent circuit data of the motor.

In the speed range (n actl) < (n noml) utilization refers to the quotient |M/Mlimit|, in the range (n actl) >= (n noml) utilization refers to the quotient |P/Plimit|.

Constraints:
1. A CC controller unit must be present. 
2. Only for iTNC 530: The evaluation through MP2312.x is already calculated in the utilization of the drive motor. 
3. The value 0 is read for axes that are not connected. 
4. The spindle must be coded as axis 15. 
5. NCK-based controls: An axis that is not configured as "active", or an axis that was set to the "deactivated axis" activation status (e.g. with Module 9226 or 9418), is treated as if it were not present. 

Call:

PS  B/W/D/K    <Axis/Spindle index>
CM  9166
PL  B/W/D      <Utilization of the drive in [%]>


Используя TNCremo, подключитесь к ЧПУ HEIDENHAIN. В файловой системе ЧПУ перейдите по адресу PLC:\. Укажите пароль для доступа к PLC.

По умолчанию, для доступа к области PLC используется пароль 807667. На конкретной ЧПУ пароль может быть изменен!


HeidenhainPLCtransmit.png


Скопируйте всё содержимое PLC:\ на локальный компьютер. Для этого используйте команду Transmit.

Найдите файлы, содержащие вызов модуля 9166. Как правило, искомые файлы имеют расширение "lst".

В теле файла найдите вызов модуля 9166. Код будет иметь вид:

PS  K0    *** X-Achse
CM  9166
PL  W_Leistung_Achse_x

Нагрузка по оси X записывается в переменную W_Leistung_Achse_x. Имя переменной может отличаться для конкретных моделей и версий ЧПУ. Теперь нужно найти код определения этой переменной. Он будет иметь вид:

W15880    19 #define /s  W_Leistung_Achse_x    W

Получаем, что для данной ЧПУ по адресу W15880 хранится значение нагрузки по оси X.