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

Материал из DPA
Перейти к навигации Перейти к поиску
Строка 5: Строка 5:
 
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:
  
 +
<pre>
 
REMOTE.LOCKSOFTKEYVISIBLE = YES
 
REMOTE.LOCKSOFTKEYVISIBLE = YES
 +
</pre>
  
 
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.
 
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.
Строка 15: Строка 17:
 
In this case TNC.SYS contains one or more entries like:
 
In this case TNC.SYS contains one or more entries like:
  
 +
<pre>
 
REMOTE.PERMISSION = PC2225;PC3547
 
REMOTE.PERMISSION = PC2225;PC3547
 
REMOTE.TNCPASSWORD = KR1402
 
REMOTE.TNCPASSWORD = KR1402
 
REMOTE.TNCPRIVATEPATH = TNC:\RK
 
REMOTE.TNCPRIVATEPATH = TNC:\RK
 +
</pre>
  
 
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.
 
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.
Строка 29: Строка 33:
 
If you see lines like:
 
If you see lines like:
  
 +
<pre>
 
PLCPASSWORD = PLC
 
PLCPASSWORD = PLC
 
REMOTE.PLCPASSWORDNEEDED = YES
 
REMOTE.PLCPASSWORDNEEDED = YES
 
REMOTE.PLCPASSWORDFORCED = YES
 
REMOTE.PLCPASSWORDFORCED = YES
 +
</pre>
  
 
Comment out PLCPASSWORD by prepending a semicolon ‘;’ and set
 
Comment out PLCPASSWORD by prepending a semicolon ‘;’ and set
  
 +
<pre>
 
REMOTE.PLCPASSWORDNEEDED = NO
 
REMOTE.PLCPASSWORDNEEDED = NO
 
REMOTE.PLCPASSWORDFORCED = NO
 
REMOTE.PLCPASSWORDFORCED = NO
 +
</pre>
  
 
Save the file, transfer it back to the controller and restart it for the changes to take effect.
 
Save the file, transfer it back to the controller and restart it for the changes to take effect.

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

Подключение станков с ЧПУ   >   Подключение 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:

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.