HEIDENHAIN: настройка контроллера: различия между версиями

Материал из DPA
Перейти к навигации Перейти к поиску
Строка 1: Строка 1:
 
{{Ссылки HEIDENHAIN}}
 
{{Ссылки HEIDENHAIN}}
  
To avoid that you cannot access the controller or get login errors you first have to make sure that external access is enabled in general.
+
В случае, если нет удаленного доступа к контроллеру или возникают ошибки при получении данных, нужно убедиться, что внешний доступ включен и настроен.
  
 
To do so switch to programming mode click [MOD]. If a dialog opens, select ‘Machine settings -> External access’ and check if soft key ‘External access’ at the bottom is set to ‘Yes’. If the soft key is not shown you can make it visible by inserting or uncommenting entry in file OEM.SYS:
 
To do so switch to programming mode click [MOD]. If a dialog opens, select ‘Machine settings -> External access’ and check if soft key ‘External access’ at the bottom is set to ‘Yes’. If the soft key is not shown you can make it visible by inserting or uncommenting entry in file OEM.SYS:

Версия 23:16, 18 мая 2020

Подключение станков с ЧПУ   >   Подключение HEIDENHAIN

В случае, если нет удаленного доступа к контроллеру или возникают ошибки при получении данных, нужно убедиться, что внешний доступ включен и настроен.

To do so switch to programming mode click [MOD]. If a dialog opens, select ‘Machine settings -> External access’ and check if soft key ‘External access’ at the bottom is set to ‘Yes’. If the soft key is not shown you can make it visible by inserting or uncommenting entry in file OEM.SYS:

REMOTE.LOCKSOFTKEYVISIBLE = YES

This file can be accessed from your PC with Heidenhain TNCRemo (free). After connecting to your controller type in ‘PLC:\’ into the lower Explorer Bar. Enter the key for PLC Access (default: 807667). Then open, edit and transmit file OEM.SYS back to the device. TOP .

It also may be that external access is restricted by specific settings in file TNC.SYS in the root directory of your controller. Access it by typing in ‘TNC:\’ into the lower Explorer Bar of TNCRemo.

In this case TNC.SYS contains one or more entries like:

REMOTE.PERMISSION = PC2225;PC3547
REMOTE.TNCPASSWORD = KR1402
REMOTE.TNCPRIVATEPATH = TNC:\RK

If there is an entry for TNCPASSWORD and none for TNCPRIVATEPATH the whole TNC drive is password protected and cannot be accessed by CNCnetPDM. Comment out all lines starting with REMOTE. or the line with TNCPASSWORD by prepending a semicolon ‘;’ to get access. If entry PERMISSION is present, you can also add the name of your PC to the list. TOP .

You have to check file TNC.SYS if you see errors like: LOGIN: Area INSPECT Unexpected response from device (TNC = Access denied (LSV 2)).

If you get output from the controller but for some items you see errors like: LOGIN: Area PLCDEBUG Unexpected response from device (TNC = Access denied (LSV 2)) then access to the controller’s PLC is locked. Open file OEM.SYS.

If you see lines like:

PLCPASSWORD = PLC
REMOTE.PLCPASSWORDNEEDED = YES
REMOTE.PLCPASSWORDFORCED = YES

Comment out PLCPASSWORD by prepending a semicolon ‘;’ and set

REMOTE.PLCPASSWORDNEEDED = NO
REMOTE.PLCPASSWORDFORCED = NO

Save the file, transfer it back to the controller and restart it for the changes to take effect.