News CNCnetPDM About us Support  
       
  

PROTECT | GENERAL

FOCAS1/Ethernet NC data protection

Top Page


NC data protection (160i/180i/210i/0i-B/0i-C/Power Mate i Only)

A past Library did not take a protection measures when various data was read and written, from the viewpoint that CNC/PMC and the personal computer were closely connected.
However, in case of Ethernet version, CNC/PMC and the PC are connected via Ethernet, and operated at LAN, and moreever, via Internet.
In this case, the person whom the system designer did not forecast at first might connect from LAN or the outside of the workshop.
The protection measures has been introduced to Ethernet version so that this person should not incorrectly access, and not destroy the data of NC by design, or by accident.

Among various data of NC, the protected data is as follows.

  • F-ROM user files
    Ladder program, C language executor, Macro executor, Order-made macro, PMC C language, Maintenance Information, Embedded macro
  • Entire S-RAM image
  • NC programs
  • P code macro variables
  • NC parameters
  • PMC parameters
    R [Internal relay], T [Changeable timer], K [Keep relay], C [Counter], D [Data table]

MTB and the end user can separately set whether these data items are protected or are not protected on CNC.
This is preserved as bit type data of the NC parameter (thereafter, it is called, "Protection pattern data"), and adds password/key word to the NC parameter for the limitation to the access to this data.
The protection pattern data set at NC is preserved as master data. And, it is possible to set, and to change only on NC.
When the application of Ethernet version is executed, the copy image of a couple of protection pattern data is taken in the work area of the Ethernet board for the application.
The function terminates abnormally by error code EW_PASSWD(=17) in the Ethernet library by referring to the copy image of this protection pattern data when an application calles the function that accesses the protected data.
It is necessary to update the copy image of the protection pattern data beforehand to access data normally. (Refer to cnc_chgprotbit function)
This change is effective by the end of the application and the influence of a set change does not affect other applications.

* Please refer to cnc_getlockstat, cnc_chgprotbit function for get and set in the protection pattern data.

Top Page

Privacy notice

This website uses cookies. By continuing to use it you agree to our privacy policy. 

https://www.inventcom.net/fanuc-focas-library/general/protect

Fanuc Focas Library | General | Fwlib32

FOCAS 1/2 FANUC Open CNC FOCAS1 / FOCAS2 CNC/PMC Data window library... [read more]
Fwlib32

Fanuc Focas Library | General | General

General Top Page General Library files... [read more]
General

Fanuc Focas Library | General | Handle

Library handle Top Page Library handle At the library for HSSB, to establish the communication with the HSSB Board on CNC side, it is necessary... [read more]
Handle

Fanuc Focas Library | General | HSSB

Coexistence with... [read more]
HSSB

Fanuc Focas Library | General | Log

Communication Log Function... [read more]
Log

Fanuc Focas Library | General | Overview

Outline Top Page Outline CNC/PMC Data Window Library is used for exchanging data and information between a personal computer and the CNC/PMC... [read more]
Overview

Fanuc Focas Library | General | Unsol_res

When you use the PMC address for the control parameter(Response method) Top Page When you use the PMC address for the control... [read more]
Unsol_res

Fanuc Focas Library | General | Unsol_sim1

When you use the PMC address for the control parameter(Simple method)(30i/31i/32i only) Top Page When you use the PMC address for... [read more]
Unsol_sim1

Fanuc Focas Library | General | Unsol_sim2

When you use the Macro variable for the control parameter(Simple method)(30i/31i/32i only) Top Page When you use the Macro... [read more]
Unsol_sim2

Fanuc Focas Library | General | Unsolic

FOCAS1/Ethernet Fast Ethernet Unsolicited Messaging Function Top Page Fast Ethernet Unsolicited Messaging Function... [read more]
Unsolic

Fanuc Focas Library | General | Update

FOCAS1/2 Ethernet HSSB Update History Top Page Update History of FOCAS1/2 Library... [read more]
Update

Fanuc Focas Library | General | flist_All

CNC: Function Reference related to library handle, node... [read more]
flist_All

Fanuc Focas Library | General | Dnc1

Communication with Ethernet Board Ethernet version is realized by the socket communication (TCP/IP communication) with FANUC Ethernet Board, or FANUC Fast Ethernet Board. And in... [read more]
Dnc1

Fanuc Focas Library | General | Errcode

Return Status of Data Window... [read more]
Errcode
Modified: 2018-06-10