WO1997014999A1 - Numerical control system - Google Patents
Numerical control system Download PDFInfo
- Publication number
- WO1997014999A1 WO1997014999A1 PCT/JP1996/003043 JP9603043W WO9714999A1 WO 1997014999 A1 WO1997014999 A1 WO 1997014999A1 JP 9603043 W JP9603043 W JP 9603043W WO 9714999 A1 WO9714999 A1 WO 9714999A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- access
- data
- numerical control
- permission
- control system
- Prior art date
Links
- 238000012545 processing Methods 0.000 claims description 45
- 230000006870 function Effects 0.000 claims description 26
- 230000005764 inhibitory process Effects 0.000 claims description 20
- 238000010586 diagram Methods 0.000 description 7
- 230000002452 interceptive effect Effects 0.000 description 7
- 238000000034 method Methods 0.000 description 5
- 230000002411 adverse Effects 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 238000003754 machining Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 244000212312 Blighia sapida Species 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011295 pitch Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/408—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/36—Nc in input of data, input key till input tape
- G05B2219/36542—Cryptography, encrypt, access, authorize with key, code, password
Definitions
- the present invention relates to a numerical control system in which a data processing device having individual processing functions is connected to a numerical control device, and in particular, to a numerical control system capable of accessing the internal memory of the numerical control device from the data processing device. About the system.
- CNC numerical controllers
- PC programmable controller
- MMC man-machine controller
- a numerical control system is configured including these.
- MMC personal computer
- MMC and personal computers are data processing devices that have a separate processor from the numerical control device.
- a numerical control system having MMC will be described as an example.
- the MMC can input and output data interactively, and can incorporate various special programs (hereinafter referred to as applications) for the user to operate the numerical control system. Users can arbitrarily create applications to improve system operability.
- the user can access various data stored in the internal memory of the CNC or PC by issuing a command through the application. Access to the internal memory of the CNC or PC from the application is made possible by using the data window.
- the data window is a library function that provides a data communication function between the CNC and the MMC, and is provided in both the CNC and the MMC.
- an application in the MMC outputs an access request according to the rules of this function, the request is passed from the data window of the MMC to the data window of the CNC, and the CNC side Data windows perform access as requested.
- the DataWindow offers a very wide range of features to increase application flexibility.
- the object of the present invention has been made in view of the above points, and it is possible to request access to the CNC from the application on the data processing device side only within a limited range.
- Another object of the present invention is to provide a numerical control device control system including the data processing device and the CNC.
- a numerical control system capable of accessing the internal memory of a numerical control device from a data processing device having individual processing functions is provided by Access permission / non-permission information storage means for storing access permission / non-permission information indicating whether access to arbitrary data in the internal memory is permitted; and an access request to the internal memory in the data processing device.
- the access permission / inhibition determining means for referring to the access permission / inhibition information to determine whether or not access to the data to be accessed is permitted, and the access permission / inhibition determination means If it is determined that the access is permitted, the access request fulfills the access to the internal memory according to the access request. It has a means and a means.
- the access permission information is stored in advance in the access permission information storage means in the data processing device, and the access request from the data processing device to the internal memory of the numerical control device is transmitted.
- the access permission / inhibition information is referred to to determine whether or not the access is permitted. If the access is not permitted, the access request is rejected.
- Important data in the numerical control unit is not destroyed by erroneous operation of the user who operates the processing unit or bugs in the application. Become.
- programming can be performed without being conscious of the memory configuration in the numerical control device, and the speed of application development and the reliability of the entire system can be improved. The performance is improved.
- FIG. 1 is a block diagram showing a schematic configuration of a numerical control system according to the present invention.
- Fig. 2 is a block diagram showing the configuration of a numerical control system for implementing the present invention.
- FIG. 3 is a diagram showing an internal configuration of a data window provided with a function for determining whether access is possible.
- FIG. 4 is a flowchart showing the processing procedure of the numerical control system when an access request to the RAM of the CNC is generated in the MMC.
- Figure 5 shows a block diagram of the storage function of access permission information.
- the numerical control system includes a numerical control device 2 and a data processing device 1.
- the data processing device 1 has its own processor and can incorporate an application la created by the user.
- a man-machine controller (MMC) or a small computer is used as the data processing device 1.
- the data processing device 1 includes access permission / inhibition determining means lb and access permission / inhibition information storage means lc.
- the access permission / non-permission information storage means 1c includes information as to whether access to the data in the internal memory 2b of the numerical controller 2 is permitted or not permitted from the data processing device. It is stored as information.
- the numerical control device 2 includes access request execution means 2a and internal memory 2b.
- the access availability determination means 1b refers to the access availability information in the access availability information storage means 1c. Then, it is determined whether or not access is permitted.
- the access request execution means 2a in the numerical controller 2 executes access to the internal memory 2b only when access is permitted.
- the data processing device denies access to that data. be able to. Therefore, important data in the numerical control device is not destroyed by a user's erroneous operation or a bug in the application.
- the access permission / non-permission determining means 1 b and the access permission / non-permission information storage means 1 c are provided in the data processing device 1. These may be provided in the numerical control device 2.
- the processor 11 is connected to the ROM 19, RAM I3, nonvolatile memory 14, axis control circuit 21 and PMC (programmable 23, and the input / output interface X-source 46 are connected respectively.
- PMC is a type of PC (programmable controller).
- the processor 11 controls the entire interactive numerical controller according to the system program stored in the ROM 12.
- EPOM or EPROM is used for R0M12.
- RAM I 3 SRAM or the like is used to store various data or input / output signals.
- the non-volatile memory 14 uses a CMOS that has been picked up by a not-shown notch, and the parameters and pitches that should be retained even after the power is turned off. Stores error correction amount and tool correction amount.
- the NC machining program is stored in this non-volatile memory 14.
- the axis control circuit 21 receives an axis movement command from the processor 11 and outputs the axis command to the servo amplifier 22. Upon receiving the movement command, the servo amplifier 22 drives the servomotor of the machine tool 50.
- the PMC 23 receives T function signals (tool selection commands), etc., processes these signals with a sequence program, and outputs signals as operation commands Then, the machine tool 50 is controlled. PMC 23 is a status signal from machine tool 50 Then, it performs the sequence processing and transfers the necessary input signal to the processor 11.
- the input / output interface 46 is used to transfer NC data to and from external devices, such as a floppy disk drive (FDD), printer, or PTR (paper tape reader). It controls the input and output of data including.
- FDD floppy disk drive
- PTR paper tape reader
- bus 19 has a processor for dialogue, which is separate from the processor 11 for the NC. 31 is connected by bus 29.
- the interactive processor 31 has a bus 39, a ROM 32, a RAM 33, a non-volatile memory 34, a VRAM (video RAM) 35, and a graphic control circuit 3. 6 is fired.
- the processor 31 executes the interactive processing program stored in the ROM 32, and the work or data that can be set on the interactive data input screen is described later in a menu format. Display on the display device 4 3. In addition, a machining program is created from the data input in this manner, and the entire operation trajectory of the tool is displayed as a back ground animation.
- the ROM 32 stores an input screen and the like for the interactive data processing in addition to the interactive processing program.
- An SRAM or the like is used as the RAM 33 to store various data for conversation.
- Non-volatile memory 34 was knocked up by a battery not shown CMOS is used to store program data, machining programs, and information on whether or not access is possible in the CNC, which should be retained even after the power is turned off.
- the VR AM 35 is a RAM that can be accessed at high speed, and performs a cutting simulation of the machine tool 50 based on the machining program stored in the nonvolatile memory 34 as an NC statement. At this time, a graphic image for displaying the animation is stored.
- the graphic control circuit 36 converts the graphic data stored in the VRAM 35 into a signal for display and outputs it.
- a CRT / MDI cathode ray tube / manual data input
- the panel 40 is connected to a bus 19, and a graphic control circuit 41, a switch 42, a display device 43, a keyboard 44, and a software key 45 are provided.
- the graphic control circuit 41 converts a digital signal output from the processor 11 or the like into a signal for display and outputs the signal.
- the switch 42 switches the display signal output from the graphic control circuit 36 or the graphic control circuit 41 and supplies the signal to the display device 43.
- As the display device 43 a CRT or a liquid crystal display device is used.
- the program data is processed into display data by the interactive processor 31 and displayed by the graphic control circuit 36. And is displayed on the display device 43.
- the shape, the machining conditions, and the like are converted into signals for display by the graphic control circuit 41 and displayed on the display device 43.
- the MMC as a data processing device accesses the internal memory of the CNC using a data window.
- the data window in the MMC with a function for determining whether or not access is possible, it is possible to reject access from the MMC to important data in the CNC.
- the MMC 30 has an application 30a, a data window 37, and a nonvolatile memory for storing the access permission / prohibition information. Re 34 is provided. Further, a display device 43 is connected to the MMC 30. On the other hand, the CNC 10 is provided with a data window 15 and a RAM I 3.
- the data window 37 on the MMC 30 side determines whether the access request is a read request or a write request.
- the system program cannot read and write data from MMC 30, and the data A can be read from MMC 30.
- Data can be read / written by MMC30, and data can be read / written.
- the storage area of the system program (A000 to AFFF) cannot be read / written to the non-volatile memory 34 in the MMC 30 and the storage area of the data A (B000 To BFFF) can be read.
- Z-write cannot be performed.
- Data B storage area. Stores access enable / disable information that allows (C000 to CFFF) to be read-write. The method of storing this access availability information will be described later.
- the access request is processed in the data window 37.
- the data window 37 determines whether the access request is a read request or a write request.
- the access permission / non-permission judging part 37 b is configured to store the key in the nonvolatile memory 34. Referring to the access permission information, it is determined whether or not the access request can be executed. In other words, in the case of a read request, the system program (address: A000 to AFFF) cannot be accessed. In the case of a write request, the system program (address: A000 to AFFF) and data overnight A (address: B000 to BFFF) cannot be accessed.
- a signal indicating access permission is output from the access permission / inhibition judging section 37b to the access request output section 37c.
- the access request output unit 37c Upon receiving the access permission signal, the access request output unit 37c outputs the access request output by the application to the CNC 10 when the access permission signal is received.
- the access request is received by the data window 15 on the CNC 10 side. Then, the overnight window 15 executes access to the RAM 3 according to the access request.
- the access determination section 37b determines that access is not possible, a signal indicating this is output to the error message output section 37d.
- the error message output section 37 d receives the access-disabled signal, the error message output section 37 d outputs a message to the effect that access has been denied to the display device 43. By confirming this message, the user knows that the instruction issued to the application 30a caused access to the CNC 10 important data and was rejected.
- the MMC process which is started when an access request to the RAM 13 of the CNC occurs in the MMC.
- the processing procedure of the sensor will be described with reference to the flowchart of FIG.
- the access request is first a read request or a light request. Is determined (step S 1).
- step S2 If it is a write request, it is determined whether the data or the program to which the write request is applied is previously identified as writable (step S2). As a result, if writing is possible, a command is issued to the CNC processor to execute the writing request (step S4), and this processing ends. On the other hand, if writing is not possible, an indication that writing is not possible is output (step S3), and this processing ends.
- step S1 If the determination in step S1 is a read request, it is determined whether the data or the program targeted by the read request has been identified in advance as readable. Judgment is made (step S5). As a result, if the read is possible, a command is issued to the CNC processor to execute the read request (step S6), and this processing ends. On the other hand, if reading is not possible, an indication that reading is not possible is output (step S3), and this processing ends.
- the access availability information regarding the CNC internal information is stored in the MMC in advance, and when the MCC issues a request for access to the CNC internal memory.
- access to important data in the CNC can be restricted by referring to the access availability information. Therefore, there is no need to include a function to deny access to important data in CNC in applications to be incorporated into MMC.
- when creating an application there is no need to be aware of the configuration of the CNC memory space. This improves work efficiency when creating applications. Also, even if there is a bug in the application, it is not possible to access the area where access is not allowed, so the possibility that the numerical controller malfunctions due to a bug in the application is reduced. .
- an access permission information setting section 37 e is provided in the data window 37.
- the access permission information setting section 37 e writes the data accessed by the access request output from the access request output section 37 c to the access permission information in the non-volatile memory 34.
- Set as data that permits access That is, by outputting an access request for predetermined data in the CNC, the operator can teach that the data is data to be permitted to sum access. After this, this data can be accessed. In other words, this means that the teaching function is incorporated.
- the key is used.
- the condition is that MMC can access the data for which access is not set. That is, in this case, the access permission / non-permission judging section 37b (shown in FIG. 3) judges that data other than the data which is not "accessible” is "accessible".
- teaching can be performed while the function of the access permission / non-permission determining unit 37b is stopped.
- an access availability information editing function unit 38 is further provided.
- the access permission / inhibition information editing function section 38 outputs an access permission / inhibition information editing screen to the display device 43, and changes the content of the access permission / inhibition information in accordance with the operation of the keyboard 44.
- this editing function it is possible to freely set which area is accessible and which area is inaccessible.
- the access permission / prohibition information may be first stored by the teaching, and then the detailed setting change may be performed by the editing function. It is possible.
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
- Storage Device Security (AREA)
Abstract
A numerical control system is constituted of a data processor (1) and a numerical controller (2). When a request of access to the internal memory (2b) of the controller (2) from an application program (1a) is outputted, an access acceptance/rejection judging means (1b) judges whether the memory (2b) is accessible or unaccessible while referring to access acceptance/rejection information in an access acceptance/rejection information storing means (1c). An access request executing means (2a) in the controller (2) executes the access to the memory (2b) only when the access to the memory (2b) is allowed. Data which must not be freely accessed from users, are made unaccessible in this way, and any access to the data is rejected.
Description
明 細 害 Harm
数値制御システム Numerical control system
技 術 分 野 Technical field
本発明は、 個別の処理機能を有するデータ処理装置を 数値制御装置に接続 してなる数値制御システムに関 し、 特にデータ処理装置から数値制御装置の内部メモ リ に対 してア クセスできる数値制御システムに関する。 The present invention relates to a numerical control system in which a data processing device having individual processing functions is connected to a numerical control device, and in particular, to a numerical control system capable of accessing the internal memory of the numerical control device from the data processing device. About the system.
背 景 技 術 Background technology
多く の数値制御装置 ( C N C ) には、 プログラマブル コ ン ト ローラ ( P C ) や、 マンマシンコ ン ト ローラ (M M C ) 等が接続されており、 これらを含めて数値制御シ ステムが構成される。 最近では、 M M C をパーソナルコ ンピュ ー夕 (パソ コ ン) に置き換えた構成の数値制御シ ステム もある。 M M Cやパソ コ ンは、 数値制御装置と は 個別のプロセ ッ サを有するデータ処理装置である。 なお. 以下の説明においては、 M M C を有する数値制御シ ステ ムを例に と っ て説明する。 Many numerical controllers (CNC) are connected to a programmable controller (PC), a man-machine controller (MMC), and the like, and a numerical control system is configured including these. Recently, there is a numerical control system in which the MMC is replaced with a personal computer (personal computer). MMC and personal computers are data processing devices that have a separate processor from the numerical control device. In the following description, a numerical control system having MMC will be described as an example.
M M Cは対話形でデータの入出力を行う こ とができ、 ユーザが数値制御システムを操作するための各種専用プ ロ グラム (以後、 アプリ ケーシ ョ ン と呼ぶ) を組み込む こ とができる。 ユーザは任意にアプリ ケーシ ョ ンを作成 し、 システムの操作性を向上させるこ とができる。 ユー ザはアプリ ケーシ ョ ンを介して命令を出すこ と によ り、 C N Cや P C の内部メモ リ に格納された各種データ にァ クセスする こ と も可能である。
アプリ ケーシ ョ ンから C N Cや P Cの内部メモ リ に対 するア クセスは、 データウ ィ ン ドウを利用する こ と によ り 可能となる。 データウ ィ ン ドウ とは、 C N Cと MM C と の間のデータ通信機能を提供するライ ブラ リ 関数であ り、 C N Cと MMCと双方に設けられている。 この関数 の取決めに従って MMC内のアプリ ケーシ ョ ンがァ クセ ス要求を出力する と、 その要求内容が MM Cのデー タゥ イ ン ドウから C N Cのデ一夕ウ ィ ン ドウ に渡され、 C N C側のデータウ イ ン ドウが要求に従ってア クセスを実行 する。 データウ ィ ン ドウは、 アプ リ ケーシ ョ ンの自 由度 を高めるために極めて広範な機能を提供 している。 The MMC can input and output data interactively, and can incorporate various special programs (hereinafter referred to as applications) for the user to operate the numerical control system. Users can arbitrarily create applications to improve system operability. The user can access various data stored in the internal memory of the CNC or PC by issuing a command through the application. Access to the internal memory of the CNC or PC from the application is made possible by using the data window. The data window is a library function that provides a data communication function between the CNC and the MMC, and is provided in both the CNC and the MMC. When an application in the MMC outputs an access request according to the rules of this function, the request is passed from the data window of the MMC to the data window of the CNC, and the CNC side Data windows perform access as requested. The DataWindow offers a very wide range of features to increase application flexibility.
と こ ろで、 C N C内のデータにはユーザが自 由に書き 換えて も問題のないデータ もある力 下手に書き換える と システム全体が正常に動作しな く なるよ う な重要なデ — 夕 もある。 このよ う な重要なデータに対してアプリ ケ —シ ヨ ンから 自 由にア クセスする こ とができ る と、 オペ レー夕の誤操作、 誤入力によ り、 システム全体が停止す る等の重大な障害が発生する危険がある。 At the same time, there are some data in the CNC that can be freely rewritten by the user without any problem. Important data that would cause the entire system to malfunction if it was poorly rewritten. is there. If such important data can be freely accessed from the application, the operation of the system may be stopped due to an erroneous operation or erroneous input. There is a risk of serious failure.
従来は、 M M C側のアプリ ケーシ ョ ンにおいて、 この よ う な重要なデータ に対するアクセス要求を排除するよ う に していた。 つま り、 プログラ マ一は、 システム に悪 影響を及ぼすよ う な C N C内部へのアクセス機能を含ま せないよ う にアプリ ケーシ ョ ンをプログラ ミ ングしてい た。 そ して、 アプリ ケーシ ョ ンは、 その使用 目的に対し て十分な仕様を含んでいる こ とが要求される と同時に、
余分な機能を含まないよ う に配慮されていた。 これによ り、 オペレータの誤操作、 誤入力による システムの停止 等の障害の発生を防止していた。 Conventionally, applications on the MMC side have eliminated access requests for such important data. In other words, the programmer programmed the application so that it did not include access to the inside of the CNC that would adversely affect the system. And while an application is required to include sufficient specifications for its intended use, Care was taken not to include extra functions. As a result, failures such as a system stop due to an erroneous operation of the operator or an erroneous input were prevented.
しかし、 アプリ ケーシ ョ ンは使用目的に応じて数多く 作成される ものであ り、 その一つ一つにおいて C N C に 悪影響を及ぼさないよ う に十分な配慮を しなければなら ないこ とは、 プログラマーにかかる負担を大き く してい た。 However, since many applications are created according to the purpose of use, it is necessary for programmers to take great care to ensure that each one does not adversely affect the CNC. Increased the burden on employees.
また、 C N C内の重要なデータ に対するア クセス要求 を拒否するよ う なアプリ ケーシ ョ ンを作成しても、 ァプ リ ケーシ ヨ ンにバグがあれば C N Cの動作に悪影響を及 ぼす。 このため、 M M C内のアプリ ケーシ ョ ン作成時の ミ スが C N Cの動作を大き く 狂わせる可能性がある。 こ れを防ぐには、 アプリ ケーシ ョ ン作成時において本来の 目 的以外の部分で細心の注意が必要となる。 Even if an application is created to deny access requests for important data in the CNC, a bug in the application will adversely affect the operation of the CNC. For this reason, misses when creating an application in the MMC may significantly disrupt the operation of the CNC. To prevent this, it is necessary to pay close attention to the parts other than the original purpose when creating an application.
しかも、 一般的には、 C N C内部の重要なプログラム を作成するのは C N Cの製造元であり、 アプリ ケー シ ョ ンを作成するのは C N Cを購入し数値制御工作機械を組 み上げるユーザ側である。 従って、 ユーザ側と しては、 C N Cの内部構成を意識せずにアプリ ケーシ ョ ンを作成 できる こ とが望ま しい。 Moreover, in general, it is the CNC manufacturer that creates the important programs inside the CNC, and the application is created by the user who purchases the CNC and builds a numerically controlled machine tool. . Therefore, it is desirable for users to be able to create applications without being aware of the internal configuration of CNC.
発 明 の 開 示 Disclosure of the invention
本発明の目 的は、 上記のよ うな点に鑑みてなされたも のであり、 データ処理装置側のアプリ ケーシ ョ ンから C N Cへのア クセス要求を、 限られた範囲内でのみ可能と
する、 これらデータ処理装置及び C N Cから構成される 数値制御装置制御システムを提供するこ と にある。 The object of the present invention has been made in view of the above points, and it is possible to request access to the CNC from the application on the data processing device side only within a limited range. Another object of the present invention is to provide a numerical control device control system including the data processing device and the CNC.
上記 目的を達成するため、 本発明によ る、 個別の処理 機能を有するデータ処理装置から数値制御装置の内部メ モ リ に対 してア クセス可能な数値制御システムは、 上記 データ処理装置から上記内部メモ リ の任意のデータ対す るア クセスを許可する否かを示すア クセス可否情報を格 納 しているア クセス可否情報記憶手段と、 上記データ処 理装置内において上記内部メモリ に対するア クセス要求 が出力される と、 上記ア クセス可否情報を参照し、 ァ ク セス対象と なるデータのア クセスが許可されているか否 かを判断するア クセス可否判断手段と、 上記ア クセス可 否判別手段でア クセスが許可されている と判断された場 合には、 上記ア クセス要求に従っ て上記内部メモ リ に対 するア クセスを実行するア クセス要求実行手段と を有す る。 In order to achieve the above object, according to the present invention, a numerical control system capable of accessing the internal memory of a numerical control device from a data processing device having individual processing functions is provided by Access permission / non-permission information storage means for storing access permission / non-permission information indicating whether access to arbitrary data in the internal memory is permitted; and an access request to the internal memory in the data processing device. Is output, the access permission / inhibition determining means for referring to the access permission / inhibition information to determine whether or not access to the data to be accessed is permitted, and the access permission / inhibition determination means If it is determined that the access is permitted, the access request fulfills the access to the internal memory according to the access request. It has a means and a means.
以上のよ う に本発明によれば、 予めデータ処理装置内 のア クセス可否情報記憶手段にア クセス可否情報を格納 しておき、 データ処理装置から数値制御装置の内部メモ リ に対するア クセス要求が発生すると、 アクセス可否情 報を参照する こ と によ り ア クセスが許可されているか否 かを判別 し、 ア クセスが不許可の場合にはそのア クセス 要求を拒否するよ う に したため、 データ処理装置を操作 するユーザの誤操作やアプリ ケ一シ ョ ンのバグによ り、 数値制御装置内の重要なデータが破壊される こ とが無 く
なる。 その結果、 アプリ ケーシ ョ ンを作成する際には、 数値制御装置内のメ モリ 構成等を意識せずにプログラ ミ ングする こ とができ、 アプリ ケーシ ョ ンの開発速度や、 システム全体の信頼性が向上する。 As described above, according to the present invention, the access permission information is stored in advance in the access permission information storage means in the data processing device, and the access request from the data processing device to the internal memory of the numerical control device is transmitted. When this occurs, the access permission / inhibition information is referred to to determine whether or not the access is permitted. If the access is not permitted, the access request is rejected. Important data in the numerical control unit is not destroyed by erroneous operation of the user who operates the processing unit or bugs in the application. Become. As a result, when creating an application, programming can be performed without being conscious of the memory configuration in the numerical control device, and the speed of application development and the reliability of the entire system can be improved. The performance is improved.
図 面 の 簡 単 な 説 明 Brief explanation of drawings
図 1 は本発明によ る数値制御システムの概略構成をブ 口 ッ ク図で示したものであ り、 FIG. 1 is a block diagram showing a schematic configuration of a numerical control system according to the present invention.
図 2 は本発明を実施するための数値制御システムの構 成をプロ ッ ク図で示 したものであ り、 Fig. 2 is a block diagram showing the configuration of a numerical control system for implementing the present invention.
図 3 はアクセス可否の判別機能が設けられたデータゥ ィ ン ドウの内部構成を示す図であ り、 FIG. 3 is a diagram showing an internal configuration of a data window provided with a function for determining whether access is possible.
図 4 は M M C内で C N Cの R A Mに対するアクセス要 求が発生 した場合の数値制御システムの処理手順をフロ —チャ ー トで示したものであり、 そ して、 FIG. 4 is a flowchart showing the processing procedure of the numerical control system when an access request to the RAM of the CNC is generated in the MMC.
図 5 はアクセス可否情報の格納機能をブロ ッ ク図で示 したものである。 Figure 5 shows a block diagram of the storage function of access permission information.
発 明 を 実施す る た め の最 良 の形態 まず、 本発明による数値制御システムの構成の概略を 図 1 のプロ ッ ク図を用いて説明する。 BEST MODE FOR CARRYING OUT THE INVENTION First, an outline of a configuration of a numerical control system according to the present invention will be described with reference to a block diagram of FIG.
数値制御システムは、 数値制御装置 2 とデータ処理装 置 1 とから構成される。 データ処理装置 1 は独自 のプロ セ ッ サを有しており、 ユーザが作成 したアプリ ケ一シ ョ ン l a を組み込むこ とができる。 このデータ処理装置 1 と しては、 マ ンマシ ンコ ン ト ローラ (M M C ) や小型の コ ンピュ ータが用い られる。
デー タ処理装置 1 は、 アクセス可否判別手段 l b と ァ クセス可否情報記憶手段 l c とを備える。 このアクセス 可否情報記憶手段 1 c には、 数値制御装置 2 の内部メモ リ 2 b の任意のデータ に対するデータ処理装置からのァ クセスを許可するか、 あるいは不許可とするかの情報が ア クセス可否情報と して格納されている。 The numerical control system includes a numerical control device 2 and a data processing device 1. The data processing device 1 has its own processor and can incorporate an application la created by the user. As the data processing device 1, a man-machine controller (MMC) or a small computer is used. The data processing device 1 includes access permission / inhibition determining means lb and access permission / inhibition information storage means lc. The access permission / non-permission information storage means 1c includes information as to whether access to the data in the internal memory 2b of the numerical controller 2 is permitted or not permitted from the data processing device. It is stored as information.
数値制御装置 2 は、 アクセス要求実行手段 2 a と 内部 メ モ リ 2 b と を備える。 The numerical control device 2 includes access request execution means 2a and internal memory 2b.
アプリ ケー シ ョ ン 1 aから数値制御装置 2 の内部メモ リ 2 b に対するアクセス要求が出力される と、 アクセス 可否判別手段 1 b がア クセス可否情報記憶手段 1 c 内の ア クセス可否情報を参照し、 アクセスが許可されている か否かを判別する。 数値制御装置 2 内のア クセス要求実 行手段 2 a は、 ア クセスが許可されている場合にのみ、 内部メ モ リ 2 b に対 してアクセスを実行する。 When an access request to the internal memory 2b of the numerical controller 2 is output from the application 1a, the access availability determination means 1b refers to the access availability information in the access availability information storage means 1c. Then, it is determined whether or not access is permitted. The access request execution means 2a in the numerical controller 2 executes access to the internal memory 2b only when access is permitted.
このよ う に して、 ユーザ等に自 由にア クセスさせるベ きでないデータ に対するア クセスを不許可に してお く こ と によ り、 データ処理装置からそのデータに対する ァ ク セスを拒否する こ とができる。 従って、 ユーザの誤操作 や、 アプリ ケーシ ョ ンのバグ等によ り数値制御装置内の 重要なデータが破壊される こ とがな く なる。 なお、 図 1 ではア クセス可否判別手段 1 b と ア クセス可否情報記憶 手段 l c と をデータ処理装置 1 内に設けている力 これ ら を数値制御装置 2 内に設けるこ と もできる。 In this way, by denying access to data that should not be freely accessed by the user, etc., the data processing device denies access to that data. be able to. Therefore, important data in the numerical control device is not destroyed by a user's erroneous operation or a bug in the application. In FIG. 1, the access permission / non-permission determining means 1 b and the access permission / non-permission information storage means 1 c are provided in the data processing device 1. These may be provided in the numerical control device 2.
次に、 本発明を実施するための数値制御システムの搆
成を図 2のプロ ッ ク図を用いて説明する。 Next, a numerical control system for implementing the present invention will be described. The configuration will be described with reference to the block diagram in FIG.
プロセ ッ サ 1 1 には、 ノ ス 1 9を介して、 R OM 1 2、 R AM I 3、 不揮発性メモ リ 1 4、 軸制御回路 2 1、 P M C (プログラマブル . マシ ン ' コ ン ト ローラ) 2 3、 及び入出力イ ンタフ X—ス 4 6がそれぞれ接続されてい る。 なお、 P M Cは P C (プログラマブル ' コ ン ト ロー ラ) の一種である。 The processor 11 is connected to the ROM 19, RAM I3, nonvolatile memory 14, axis control circuit 21 and PMC (programmable 23, and the input / output interface X-source 46 are connected respectively. Note that PMC is a type of PC (programmable controller).
プロセ ッサ 1 1 は R OM 1 2に格納されたシステムプ ロ グラムに従って対話形数値制御装置全体を制御する。 R 0 M 1 2には E P R OMあるいは E E P R OMが使用 さ れる。 R AM I 3 には S R AM等が使用され、 各種の データあるいは入出力信号が格納される。 不揮発性メモ リ 1 4には図示されていないノ ッ テ リ によ っ てノ、'ッ ク ァ ッ プされた C MO Sが使用 され、 電源切断後も保持すベ きパラメータ、 ピ ッ チ誤差補正量及び工具補正量等が格 納される。 . N C加工プログラムはこの不揮発性メモ リ 1 4 に格納されている。 The processor 11 controls the entire interactive numerical controller according to the system program stored in the ROM 12. EPOM or EPROM is used for R0M12. For RAM I 3, SRAM or the like is used to store various data or input / output signals. The non-volatile memory 14 uses a CMOS that has been picked up by a not-shown notch, and the parameters and pitches that should be retained even after the power is turned off. Stores error correction amount and tool correction amount. The NC machining program is stored in this non-volatile memory 14.
軸制御回路 2 1 はプロセ ッサ 1 1から軸の移動指令を 受けて、 軸の指令をサ一ボアンプ 2 2に出力する。 サー ボアンプ 2 2はこの移動指令を受けて、 工作機械 5 0の サ一ボモ一夕 を駆動する。 PM C 2 3は、 N Cプロ グラ ムを実行する際に、 T機能信号 (工具選択指令) 等を受 け り、 これらの信号をシーケンス · プログラムで処理し て、 動作指令と して信号を出力 し、 工作機械 50を制御 する。 また、 PMC 2 3は、 工作機械 5 0から状態信号
を受けて、 シーケ ンス処理を行っ て、 プロセ ッサ 1 1 へ 必要な入力信号を転送する。 The axis control circuit 21 receives an axis movement command from the processor 11 and outputs the axis command to the servo amplifier 22. Upon receiving the movement command, the servo amplifier 22 drives the servomotor of the machine tool 50. When executing the NC program, the PMC 23 receives T function signals (tool selection commands), etc., processes these signals with a sequence program, and outputs signals as operation commands Then, the machine tool 50 is controlled. PMC 23 is a status signal from machine tool 50 Then, it performs the sequence processing and transfers the necessary input signal to the processor 11.
さ ら に、 入出力イ ン夕フ ェース 4 6は、 F D D (フロ ッ ピーデ ィ ス ク装置) 、 プリ ン夕、 あるいは P T R (紙 テープ リ ーダ) 等の外部機器との間で、 N Cデータ を含 むデータの入出力を制御する。 In addition, the input / output interface 46 is used to transfer NC data to and from external devices, such as a floppy disk drive (FDD), printer, or PTR (paper tape reader). It controls the input and output of data including.
なお、 上記構成要素はいずれもバス 1 9 によ っ て互い に結合されており、 このバス 1 9 には、 N C用の C P U であるプロセ ッサ 1 1 とは別に、 対話用のプロセ ッ サ 3 1 がバス 2 9 によ っ て接铳される。 Note that all of the above components are connected to each other by a bus 19, and this bus 19 has a processor for dialogue, which is separate from the processor 11 for the NC. 31 is connected by bus 29.
この対話用プロセ ッサ 3 1 はバス 3 9 を有し、 R OM 3 2、 R A M 3 3、 不揮発性メモ リ 3 4、 V R A M (ビ デォ R A M ) 3 5及びグラ フ ィ ッ ク制御回路 3 6が接銃 される。 The interactive processor 31 has a bus 39, a ROM 32, a RAM 33, a non-volatile memory 34, a VRAM (video RAM) 35, and a graphic control circuit 3. 6 is fired.
プロセ ッ サ 3 1 は R OM 3 2 に格納さ れた対話処理用 のプロ グラムを実行 して、 対話形データの入力画面にお いて、 設定可能な作業又はデータ等をメ ニュー形式で後 述する表示装置 4 3 に表示する。 また、 こ う して入力さ れたデ一夕から加工プログラムを作成する と と も に、 パ ッ ク グラウ ン ドアニメーシ ョ ン と して、 工具の全体の動 作軌跡等を表示する。 R O M 3 2 には上記対話処理用の プログラムの他に、 上記対話形デ一夕の入力画面等が格 納される。 R A M 3 3 には S R A M等が使用され、 対話 用の各種データ等が格納される。 不揮発性メモ リ 3 4 は 図示さ れていないバ ッ テ リ によ っ てノ ッ クア ッ プさ れた
C M O Sが使用され、 電源切断後も保持すべきプロ グラ ムデ一夕、 加工プロ グラム、 及び C N C内のア クセス可 否情報等が格納される。 V R AM 3 5は高速にアクセス 可能な R A Mであっ て、 不揮発性メモリ 3 4 に N C文と して格納された上記加工プログラムに基づき工作機械 5 0の切削シ ミ ユ レ一シ ョ ンを行う際にアニメ ーシ ョ ン表 示のためのグラフ ィ ッ クデ一夕が格納される。 グラ フ ィ ッ ク制御回路 3 6は V R A M 3 5 に格納されたグラ フ ィ ッ クデータを表示用の信号に変換 して出力する。 The processor 31 executes the interactive processing program stored in the ROM 32, and the work or data that can be set on the interactive data input screen is described later in a menu format. Display on the display device 4 3. In addition, a machining program is created from the data input in this manner, and the entire operation trajectory of the tool is displayed as a back ground animation. The ROM 32 stores an input screen and the like for the interactive data processing in addition to the interactive processing program. An SRAM or the like is used as the RAM 33 to store various data for conversation. Non-volatile memory 34 was knocked up by a battery not shown CMOS is used to store program data, machining programs, and information on whether or not access is possible in the CNC, which should be retained even after the power is turned off. The VR AM 35 is a RAM that can be accessed at high speed, and performs a cutting simulation of the machine tool 50 based on the machining program stored in the nonvolatile memory 34 as an NC statement. At this time, a graphic image for displaying the animation is stored. The graphic control circuit 36 converts the graphic data stored in the VRAM 35 into a signal for display and outputs it.
また、 オペレー夕 とのヒ ューマ ンイ ン 夕フ ェースを と る C R T /M D I ( Cathode Ray Tube/Manual Data Inp ut) ノヽ。ネル 4 0はバス 1 9 に接続され、 グラフ ィ ッ ク制 御回路 4 1、 切換器 4 2、 表示装置 4 3、 キーボー ド 4 4 及びソフ ト ウ エ アキー 4 5が設けられる。 In addition, a CRT / MDI (cathode ray tube / manual data input) is used as a human interface with the operating system. The panel 40 is connected to a bus 19, and a graphic control circuit 41, a switch 42, a display device 43, a keyboard 44, and a software key 45 are provided.
グラフ ィ ッ ク制御回路 4 1 はプロセ ッ サ 1 1 等から出 力されたデ ィ ジタル信号を表示用の信号に変換して出力 する。 切換器 4 2はグラフ ィ ッ ク制御回路 3 6又はグラ フ ィ ッ ク制御回路 4 1 から出力さ れた表示用の信号を切 り 換えて表示装置 4 3 に与える。 表示装置 4 3 には C R Tあるいは液晶表示装置が使用される。 キーボー ド 4 4 はシンボリ ッ クキー、 数値キー等からな り、 必要な図形 データ、 N Cデ一夕 をこれらのキーを使用 して入力する c ソ フ ト ウ エ アキー 4 5はシステムプログラム等によ って 機能が変化する指令キーであって、 その機能名称等は表 示装置 4 3の所定の画面位置に表示される。
なお、 ノ ッ クグラ ウ ン ドアニメ 一シ ョ ン表示のため、 プログラムデータが対話用のプロセ ッ サ 3 1 によ り 表示 用デー タ に処理され、 グラ フ ィ ッ ク制御回路 3 6で表示 信号に変換さ れ、 表示装置 4 3に表示さ れる。 同様に、 対話形式で加工プログラムを作成 してい く と き に、 形状 及び加工条件等がグラフ ィ ッ ク制御回路 4 1 で表示用の 信号に変換さ れ、 表示装置 4 3に表示される。 The graphic control circuit 41 converts a digital signal output from the processor 11 or the like into a signal for display and outputs the signal. The switch 42 switches the display signal output from the graphic control circuit 36 or the graphic control circuit 41 and supplies the signal to the display device 43. As the display device 43, a CRT or a liquid crystal display device is used. Keyboard 4 4 symbolic Kuki, Ri Do from the numerical keys and the like, necessary graphic data, c source oice c d ackee 4 5 the Isseki NC de entered using these keys in the system program, etc. This is a command key whose function changes, and the function name and the like are displayed at a predetermined screen position of the display device 43. In order to display the knock-ground animation, the program data is processed into display data by the interactive processor 31 and displayed by the graphic control circuit 36. And is displayed on the display device 43. Similarly, when a machining program is created interactively, the shape, the machining conditions, and the like are converted into signals for display by the graphic control circuit 41 and displayed on the display device 43.
次に、 上記のよ う なハー ドウ ァの数値制御システム によ り 本発明を実施する場合について詳 し く 説明する。 Next, the case where the present invention is implemented by the hardware numerical control system as described above will be described in detail.
この数値制御システムでは、 デ一夕ウ ィ ン ドウを用い てデータ処理装置と しての MM Cから C N Cの内部メモ リ に対 してア クセスを行っ ている。 この場合、 MM C内 のデータウ ィ ン ドウ に、 ア クセスの可否を判別する機能 を設ける こ と によ り、 MM Cから C N C内の重要なデー 夕 に対するア クセスを拒否する こ とができる。 In this numerical control system, the MMC as a data processing device accesses the internal memory of the CNC using a data window. In this case, by providing the data window in the MMC with a function for determining whether or not access is possible, it is possible to reject access from the MMC to important data in the CNC.
次に、 アクセス可否の判別機能が設け られたデー タゥ ィ ン ドウの内部構成を図 3によ り説明する。 Next, the internal configuration of a data window provided with a function of determining whether access is possible will be described with reference to FIG.
ア クセス可否の判別機能の構成要素と しては、 MMC 3 0には、 アプリ ケーシ ョ ン 3 0 a、 デ一夕 ウ ィ ン ドウ 3 7、 及びア クセス可否情報を格納する不揮発性メ モ リ 3 4が設けられている。 さ らに、 M M C 3 0には表示装 置 4 3が接铳されている。 一方、 C N C 1 0には、 デ一 夕ウ イ ン ドウ 1 5 と R AM I 3が設けられている。 As the components of the access permission / non-permission determination function, the MMC 30 has an application 30a, a data window 37, and a nonvolatile memory for storing the access permission / prohibition information. Re 34 is provided. Further, a display device 43 is connected to the MMC 30. On the other hand, the CNC 10 is provided with a data window 15 and a RAM I 3.
MM C 3 0側のデータウ ィ ン ドウ 3 7には、 アクセス 要求が リ ー ド要求であるかラ イ ト要求であるかを判別す
る リ ー ド /ラ イ ト判別部 3 7 a、 アクセス要求が実行可 能であるか否かを判別するアクセス可否判別部 3 7 b、 ア クセスが実行可能な場合に C N C 1 0に対してァ クセ ス要求を出力するア クセス要求出力部 3 7 c、 及びァク セスが実行不可能な場合に表示装置 4 3にエラ一メ ッセ ージを出力するエラ一メ ッ セージ出力部 3 7 dを有 して いる。 The data window 37 on the MMC 30 side determines whether the access request is a read request or a write request. Read / write discriminator 37a, access permission / non-permission discriminator 37b that determines whether an access request can be executed. An access request output part 3 7c for outputting an access request, and an error message output part 3 for outputting an error message to the display device 43 when the access is impossible. Has 7 d.
この例では、 C N C 1 0の R AM I 3に格納されたデ 一 夕のう ち、 システムプログラムは MM C 3 0からの リ ー ド ' ラ イ ト不可、 デ一夕 Aは MMC 3 0からの リ ー ド 可/ラ イ ト不可、 データ Bは MM C 3 0力ゝらの リ ー ド · ラ イ ト可とする。 このと き、 MM C 3 0内の不揮発性メ モ リ 3 4 に対 し て、 システムプロ グラ ムの格納領域 ( A000〜 AFFF) を リ ー ド · ライ ト不可、 データ Aの格納 領域 (B000〜BFFF) を リ ー ド可 Zラ イ ト不可、 デー タ B の格納領域. ( C000〜 CFFF) を リ ー ド · ラ イ ト可とするァ クセス可否情報を格納する。 このア クセス可否情報の格 納方法については後述する。 In this example, of the data stored in RAM 10 of CNC 10, the system program cannot read and write data from MMC 30, and the data A can be read from MMC 30. Data can be read / written by MMC30, and data can be read / written. At this time, the storage area of the system program (A000 to AFFF) cannot be read / written to the non-volatile memory 34 in the MMC 30 and the storage area of the data A (B000 To BFFF) can be read. Z-write cannot be performed. Data B storage area. Stores access enable / disable information that allows (C000 to CFFF) to be read-write. The method of storing this access availability information will be described later.
以上のよ う な構成において、 アプリ ケーシ ョ ン 3 0 a から C N C 1 0の R AM I 3に対するア クセス要求が出 力される と、 そのア クセス要求はデータウ ィ ン ドウ 3 7 で処理される。 データウ ィ ン ドウ 3 7では、 リ ー ドノラ ィ ト判別部 3 7 a力 アクセス要求がリ ー ド要求である かラ イ ト要求であるかを判別する。 その結果に基づき、 ア クセス可否判別部 3 7 bが不揮発性メ モ リ 3 4内のァ
クセス可否情報を参照し、 そのア クセス要求の実行が可 能か否かを判別する。 つま り、 リ ー ド要求の場合、 シス テムプログラム (ア ド レス : A000〜 AFFF) にはアクセス 出来ない。 ラ イ ト要求の場合、 システムプロ グラム (ァ ド レス : A000〜 AFFF) とデ一夕 A (ア ド レス : B000〜 BFFF) にはア クセス出来ない。 In the above configuration, when an application 30a outputs an access request to the RAM 10 of the CNC 10 from the application 30a, the access request is processed in the data window 37. . The data window 37 determines whether the access request is a read request or a write request. Based on the result, the access permission / non-permission judging part 37 b is configured to store the key in the nonvolatile memory 34. Referring to the access permission information, it is determined whether or not the access request can be executed. In other words, in the case of a read request, the system program (address: A000 to AFFF) cannot be accessed. In the case of a write request, the system program (address: A000 to AFFF) and data overnight A (address: B000 to BFFF) cannot be accessed.
ア クセスが可能であれば、 アクセス可否判別部 3 7 b からア クセス要求出力部 3 7 cに対して、 ア クセス許可 を示す信号が出力される。 ア クセス要求出力部 3 7 cは、 ア クセス許可の信号を受ける と アプリ ケーシ ョ ンが出力 したア クセス要求を C N C 1 0に対して出力する。 その ア クセス要求は C N C 1 0側のデ一夕ウ イ ン ドウ 1 5が 受け取る。 そ して、 デ一夕 ウ ィ ン ドウ 1 5がアクセス要 求に従って、 R AM I 3に対してア クセスを実行する。 If access is possible, a signal indicating access permission is output from the access permission / inhibition judging section 37b to the access request output section 37c. Upon receiving the access permission signal, the access request output unit 37c outputs the access request output by the application to the CNC 10 when the access permission signal is received. The access request is received by the data window 15 on the CNC 10 side. Then, the overnight window 15 executes access to the RAM 3 according to the access request.
また、 ア クセス可否判別部 3 7 bかア クセス不可と判 断 した場合には、 その旨を示す信号がエラーメ ッセージ 出力部 3 7 d に対して出力される。 エラーメ ッセージ出 力部 3 7 dは、 ア クセス不可の信号を受け取る と、 ァ ク セスが拒否さ れた旨のメ ッ セージを表示装置 4 3に出力 する。 ユーザがこのメ ッセージを確認するこ と によ り、 アプリ ケーシ ョ ン 3 0 aに対して出 した命令が C N C 1 0の重要なデータ に対するアクセスを発生させ、 拒否さ れたこ とが分かる。 If the access determination section 37b determines that access is not possible, a signal indicating this is output to the error message output section 37d. When the error message output section 37 d receives the access-disabled signal, the error message output section 37 d outputs a message to the effect that access has been denied to the display device 43. By confirming this message, the user knows that the instruction issued to the application 30a caused access to the CNC 10 important data and was rejected.
次に、 MM C内で C N Cの RAM 1 3に対するァ クセ ス要求が発生 したと き に開始される、 MMCのプロセ ッ
サの処理手順を図 4 のフローチ ヤ一ト によ り 説明する。 オペ レータの操作によ って、 C N Cの R A M I 3 に格 納されている特定のデータ またはプログラムに対するァ クセス要求があると、 まずそのア クセス要求は リ ー ド要 求であるかラ イ ト要求であるかがを判別する (ステ ップ S 1 ) 。 Next, the MMC process, which is started when an access request to the RAM 13 of the CNC occurs in the MMC, The processing procedure of the sensor will be described with reference to the flowchart of FIG. When there is an access request for specific data or a program stored in the RAMI 3 of the CNC by the operator's operation, the access request is first a read request or a light request. Is determined (step S 1).
ラ イ ト要求である と、 ラ イ ト要求の対象のデータ また はプロ グラムはライ ト可能である とあらかじめ識別され ているかどう かを判断する (ステ ップ S 2 ) 。 その結果、 ラ イ ト 可能であれば、 C N Cのプロセ ッ サに、 ラ イ ト要 求を実行させるベく 指令し (ステ ップ S 4 ) 、 この処理 を終了する。 一方、 ライ トが可能でなければ、 ライ トが 不可能である 旨の表示を出力して (ステ ップ S 3 ) この 処理を終了する。 If it is a write request, it is determined whether the data or the program to which the write request is applied is previously identified as writable (step S2). As a result, if writing is possible, a command is issued to the CNC processor to execute the writing request (step S4), and this processing ends. On the other hand, if writing is not possible, an indication that writing is not possible is output (step S3), and this processing ends.
また、 ステ ッ プ S 1 での判別が リ ー ド要求であれば、 リ ー ド要求.の対象のデータ またはプログラムはリ ー ド可 能である とあ らかじめ識別されているかどう かを判断す る (ステ ップ S 5 ) 。 その結果、 リ ー ド可能であれば、 C N Cのプロセ ッサに、 リ ー ド要求を実行させるベく 指 令 し (ステ ッ プ S 6 ) 、 この処理を終了する。 一方、 リ ― ドが可能でなければ、 リ ー ドが不可能である旨の表示 を出力 して (ステ ッ プ S 3 ) この処理を終了する。 If the determination in step S1 is a read request, it is determined whether the data or the program targeted by the read request has been identified in advance as readable. Judgment is made (step S5). As a result, if the read is possible, a command is issued to the CNC processor to execute the read request (step S6), and this processing ends. On the other hand, if reading is not possible, an indication that reading is not possible is output (step S3), and this processing ends.
このよ う に して、 予め C N Cの内部情報に関するァ ク セス可否情報を MM C内に格納し ておき、 MM Cから C N Cの内部メ モ リ に対するアクセス要求が発生 した場合
には、 そのア クセス可否情報を参照する こ と によ り C N C 内の重要なデータ に対するアクセスを制限するこ とが できる。 従っ て、 M M C に組み込むべき アプリ ケー シ ョ ンに、 C N C 内の重要なデータに対するアクセスを拒否 するよ う な機能を含ませる必要が無く なる。 つま り、 ァ プ リ ケ一シ ョ ンを作成する際に、 C N Cのメモ リ 空間の 構成等を意識する必要がない。 これは、 アプリ ケーシ ョ ンを作成する際の作業効率を向上させる。 また、 アプリ ケーシ ョ ンにバグがあっ ても、 ア クセスが不許可の領域 にはア クセス出来ないため、 数値制御装置がアプリ ケ一 シ ョ ンのバグによ り誤動作する可能性も低下する。 In this way, the access availability information regarding the CNC internal information is stored in the MMC in advance, and when the MCC issues a request for access to the CNC internal memory. In addition, access to important data in the CNC can be restricted by referring to the access availability information. Therefore, there is no need to include a function to deny access to important data in CNC in applications to be incorporated into MMC. In other words, when creating an application, there is no need to be aware of the configuration of the CNC memory space. This improves work efficiency when creating applications. Also, even if there is a bug in the application, it is not possible to access the area where access is not allowed, so the possibility that the numerical controller malfunctions due to a bug in the application is reduced. .
最後に、 M M Cへのア クセス可否情報の格納機能につ いて図 5 のブロ ッ ク図を用いて説明する。 Finally, the storage function of the access permission / inhibition information to the MMC will be described with reference to the block diagram in FIG.
図 5 の構成では、 データウ ィ ン ドウ 3 7 内にア クセス 許可情報設定部 3 7 e が設けられている。 このア クセス 許可情報設定部 3 7 e は、 アクセス要求出力部 3 7 c に よ り 出力されたア クセス要求がア クセス したデータ を、 不揮発性メモ リ 3 4 内のア クセス可否情報に、 ア クセス を許可するデータ と して設定する。 つま り、 オペレータ は、 C N C内の所定のデータに対するア クセス要求を出 力する こ と によ り、 そのデータはアクセス和許可すべき データである こ と を教示するこ とができ る。 これ以後は. こ のデータ に対してはア クセス可能となる。 これは、 言 い換える とテ ィ 一チ ング機能が組み込まれたこ と になる, なお、 このテ ィ 一チング機能を実行するためには、 ァ
クセスの可否が設定されていないデ一夕 に対する M M C からのアクセスが可能であるこ とか条件となる。 つま り . こ の場合のア クセス可否判別部 3 7 b (図 3 に示す) は. 「アクセス不可」 と されているデータ以外のデータ に対 しては 「アクセス可」 と判断する。 あるいは、 アクセス 可否判別部 3 7 b の機能を停止させた状態で、 テ ィ ーチ ン グを行う こ と もできる。 In the configuration shown in FIG. 5, an access permission information setting section 37 e is provided in the data window 37. The access permission information setting section 37 e writes the data accessed by the access request output from the access request output section 37 c to the access permission information in the non-volatile memory 34. Set as data that permits access. That is, by outputting an access request for predetermined data in the CNC, the operator can teach that the data is data to be permitted to sum access. After this, this data can be accessed. In other words, this means that the teaching function is incorporated. In order to execute this teaching function, the key is used. The condition is that MMC can access the data for which access is not set. That is, in this case, the access permission / non-permission judging section 37b (shown in FIG. 3) judges that data other than the data which is not "accessible" is "accessible". Alternatively, teaching can be performed while the function of the access permission / non-permission determining unit 37b is stopped.
この例では、 さ ら にア クセス可否情報編集機能部 3 8 が設けられている。 アクセス可否情報編集機能部 3 8は. ア クセス可否情報の編集画面を表示装置 4 3 に出力 し、 キーボー ド 4 4 の操作に応じて、 ア クセス可否情報の内 容を変更する。 この編集機能を用いて、 どの領域がァ ク セス可能であ り、 どの領域がアクセス不可能であるかを 自 由に設定するこ とができる。 なお、 前記のテ ィ ーチン グ機能と編集機能と の双方を用いて、 初めにテ ィ 一チン グによ り アクセス可否情報を記憶させ、 その後の詳細な 設定変更を編集機能で行う こ と も可能である。
In this example, an access availability information editing function unit 38 is further provided. The access permission / inhibition information editing function section 38 outputs an access permission / inhibition information editing screen to the display device 43, and changes the content of the access permission / inhibition information in accordance with the operation of the keyboard 44. Using this editing function, it is possible to freely set which area is accessible and which area is inaccessible. In addition, using both the above-mentioned teaching function and the editing function, the access permission / prohibition information may be first stored by the teaching, and then the detailed setting change may be performed by the editing function. It is possible.
Claims
請 求 の 範 囲 The scope of the claims
個別の処理機能を有するデータ処理装置から数値制 御装置の内部メモ リ に対してア クセス可能な数値制御 システムにおいて、 In a numerical control system that can access the internal memory of a numerical control device from a data processing device with individual processing functions,
上記デー タ処理装置から上記内部メ モ リ の任意のデ Arbitrary data in the internal memory from the data processing device
—夕対するアクセスを許可する否かを示すア クセス可 否情報を格納しているアクセス可否情報記憶手段と、 上記デー タ処理装置内において上記内部メモリ に対 するア クセス要求が出力される と、 上記ア クセス可否 情報を参照 し、 ア クセス対象と なるデータのアクセス が許可されているか否かを判断するア クセス可否判断 手段と、 -When an access request to the internal memory is output in the data processing apparatus, the access permission / inhibition information storage means storing access permission / inhibition information indicating whether or not access to the terminal is permitted. Access availability determining means for referring to the access availability information to determine whether access to the data to be accessed is permitted; and
上記アクセス可否判別手段でアクセスが許可されて いる と判断された場合には、 上記アクセス要求に従つ て上記内部メモ リ に対するア クセスを実行するァ クセ ス要求実行手段と、 Access request execution means for executing access to the internal memory in accordance with the access request when the access permission / non-permission judgment means determines that access is permitted;
を有する こ と を特徴とする数値制御システム。 A numerical control system characterized by having:
. 上記アクセス可否情報記憶手段は、 リ ー ド要求 と ラ ィ ト要求と のそれぞれに応じたア クセス可否情報を格 納 している こ と を特徴とする、 請求の範囲第 1 項記載 の数値制御システム。 The numerical value according to claim 1, wherein said access permission / inhibition information storage means stores access permission / inhibition information corresponding to each of a read request and a write request. Control system.
. 上記ア クセス可否判別手段でア クセスが不許可であ る と判断さ れた場合に、 エラーメ ッ セージを表示装置 に表示するエラーメ ッセージ表示手段をさ ら に有する こ と を特徴とする、 請求の範囲第 1 項記載の数値制御
システム。 Claims are characterized by further comprising an error message display means for displaying an error message on a display device when the access permission / non-permission judgment means determines that the access is not permitted. Numerical control described in item 1 of the range system.
. ア クセスの可否が設定されていない上記内部メ モ リ の未確定データに対する上記データ処理装置からのァ クセスを可能と した状態において、 上記データ処理装 置から未確定データに対するア クセスが実行される と, アクセスされた未確定データを、 アクセスを許可する データ と して上記アクセス可否情報に設定するァ クセ ス許可情報設定手段をさ らに有する こ と を特徴とする、 請求の範囲第 1 項記載の数値制御システム。 In a state where access to the undetermined data of the internal memory for which access permission is not set is enabled from the data processing device, access to the undetermined data is executed from the data processing device. In this case, the apparatus further comprises access permission information setting means for setting the accessed undetermined data as the access permission information in the access permission information. Numerical control system according to the paragraph.
5 . 上記アクセス可否情報の編集画面を表示装置に表示 する と と も に、 入力装置からの入力信号に応じて上記 ア クセス可否情報の内容を変更するア クセス可否情報 編集手段を さ らに有する こ と を特徴とする、 請求の範 囲第 1 項記載の数値制御システム。 5. Displaying the access permission / inhibition information editing screen on the display device, and further having access permission / inhibition information editing means for changing the content of the access permission / inhibition information in accordance with an input signal from the input device. The numerical control system according to claim 1, wherein the numerical control system is characterized in that:
6 . データ処理装置と数値制御装置とを組み合わせてな る数値制御システムにおいて、 6. In a numerical control system that combines a data processing device and a numerical control device,
上記データ処理装置は、 The data processing device,
ユーザが作成 したアプリ ケーシ ョ ンプログラムを 組み込む手段と、 A means to incorporate application programs created by users,
数値制御装置の内部メモ リ に格納されているデ一 夕 に関して、 データ処理装置からのア クセスを許可す る ものと許可 しないものと に仕分けた情報を格納する ア クセス可否情報記憶手段と、 Access permission / non-permission information storage means for storing information on data stored in the internal memory of the numerical control device, the information being classified into those which are permitted and those which are not permitted from the data processing device;
数値制御装置の内部メモ リ に記憶されているデー 夕の う ち、 ア クセス しょ う とする対象データがァ クセ
スを許可されているものかどう かを、 上記アクセス可 否情報記憶手段を参照して判断するア クセス可否判別 手段と を含み、 また、 The target data to be accessed is stored in the internal memory of the numerical controller. Access permission / non-permission determining means for determining whether or not access is permitted by referring to the access permission / prohibition information storage means; and
上記数値制御装置は、 The numerical control device includes:
各種のデ一夕 を記憶する内部メモ リ と、 An internal memory that stores various data,
上記ア クセス可否判別手段からア クセス対象のデ —夕がア クセス許可されている ものである との判断情 報を受け取る と、 上記内部メモ リ に記憶さ れたデ一夕 へのア クセスを実行するアクセス要求実行手段と を含 む、 Upon receiving information from the above-mentioned access availability determining means that the data to be accessed is one for which access is permitted, the access to the data stored in the internal memory is made. Access request execution means to be executed, and
上記の数値制御システム。The above numerical control system.
. データ処理装置と数値制御装置と を組み合わせてな る数値制御システムにおいて、 In a numerical control system that combines a data processing device and a numerical control device,
上記データ処理装置は、 ユーザが作成 したアプ リ ケ ーシ ヨ ンプログラムを組み込む手段を備え、 また、 上記数値制御装置は、 The data processing device includes means for incorporating an application program created by a user, and the numerical control device includes:
各種のデータ を記憶する内部メモ リ と、 Internal memory for storing various data,
数値制御装置の内部メモ リ に格納されているデー 夕 に関 して、 データ処理装置からのア クセスを許可す る ものと許可しないものと に仕分けた情報を格納する ァ クセス可否情報記憶手段と、 Access permission / non-permission information storage means for storing information on data stored in the internal memory of the numerical control device that is classified into those permitted and those not permitted to access from the data processing device; ,
数値制御装置の内部メモ リ に記憶されているデー 夕のう ち、 ア クセス しょ う とする対象データがァ クセ スを許可されている ものかどう かを、 上記アクセス可 否情報記憶手段を参照して判断するア クセス可否判別
手段と、 For the data stored in the internal memory of the numerical controller, refer to the above-mentioned access permission / non-permission information storage means to determine whether the target data to be accessed is permitted access. Access judgment Means,
上記ア クセス可否判別手段からア クセス対象のデ 一夕がアクセス許可されている ものである との判断情 報を受け取る と、 上記内部メモ リ に記憶されたデータ へのア クセスを実行するアクセス要求実行手段と を含 む、 Upon receiving information from the above-mentioned access availability determining means that the data to be accessed is one for which access is permitted, an access request to execute access to the data stored in the above-mentioned internal memory is received. Means of execution and
上記の数値制御システム。The above numerical control system.
. データ処理装置と数値制御装置とを組み合わせてな る数値制御システムにおいて、 . In a numerical control system that combines a data processing device and a numerical control device,
上記データ処理装置は、 The data processing device,
データ処理装置から数値制御装置の内部メモ リ に 格納されているデータへのアクセス要求が実行可能で あるかどう かを判別するアクセス可否判別部と、 上記 ア クセス可否判別部がア クセス要求を実行可能と判別 した場合にかぎり数値制御装置に対してア クセス要求 を出力す.るア クセス要求出力部と を含むデータウ イ ン ドウ と、 An access determination unit that determines whether an access request to data stored in the internal memory of the numerical controller is executable from the data processing device, and the access determination unit executes the access request. An access request is output to the numerical controller only when it is determined that the access is possible.
数値制御装置の内部メモ リ の所定領域にそれぞれ 格納されているプログラム及びデ一夕 についてのァ ク セス可否情報を記憶したアクセス可否情報記憶手段と を含み、 また、 Access permission / inhibition information storage means for storing access permission / inhibition information for programs and data stored in predetermined areas of internal memory of the numerical controller, respectively;
上記数値制御装置は、 The numerical control device includes:
プログラム及びデータを所定領域に格納する内部 メモ リ と、 データ処理装置が出 したア クセス要求を受 け取るデー タウ ィ ン ドウ と を含む、
上記の数値制御システム。 Including an internal memory for storing programs and data in a predetermined area, and a data window for receiving an access request issued by the data processing device. The above numerical control system.
上記のデータ処理装置におけるデータウ イ ン ドウは. さ ら に、 ア クセス要求が リ ー ド要求であるかライ ト要 求であるかを判別する リ ー ドノライ ト判別部を備え、 また、 上記ア クセス可否情報記憶手段は、 数値制御装 置の内部.メ モ リ の所定領域にそれぞれ格納されている プログラム及びデータ に関 して リ ー ドの可不可及びラ ィ ト の可不可についての情報を記憶している、 請求の 範囲第 8項記載の数値制御システム。
The data window in the data processing device described above further includes a read / write determination unit that determines whether the access request is a read request or a write request. The access permission / non-permission information storage means is provided inside the numerical control device, and stores information on read / write permission and write permission / non-permission of programs and data stored in predetermined areas of the memory. 9. The numerical control system according to claim 8, wherein the numerical control system stores the numerical control system.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7271313A JPH09114513A (en) | 1995-10-19 | 1995-10-19 | Numerical control system |
JP7/271313 | 1995-10-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO1997014999A1 true WO1997014999A1 (en) | 1997-04-24 |
Family
ID=17498316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP1996/003043 WO1997014999A1 (en) | 1995-10-19 | 1996-10-21 | Numerical control system |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPH09114513A (en) |
WO (1) | WO1997014999A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002065287A1 (en) * | 2001-02-16 | 2002-08-22 | Sony Corporation | Data processing method and its apparatus |
JP2002244921A (en) * | 2001-02-19 | 2002-08-30 | Sony Corp | Data processing device |
CN1313917C (en) * | 2001-10-31 | 2007-05-02 | 索尼株式会社 | Data processor, data processing method and program thereof |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7401269B2 (en) * | 2019-11-19 | 2023-12-19 | ファナック株式会社 | Control device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62150438A (en) * | 1985-12-24 | 1987-07-04 | Omron Tateisi Electronics Co | Program protect device for control equipment |
JPH04184506A (en) * | 1990-11-20 | 1992-07-01 | Yamazaki Mazak Corp | Control information protective device for numerically controlled machine tool |
JPH05143130A (en) * | 1991-11-22 | 1993-06-11 | Okuma Mach Works Ltd | Numerical controller |
-
1995
- 1995-10-19 JP JP7271313A patent/JPH09114513A/en not_active Withdrawn
-
1996
- 1996-10-21 WO PCT/JP1996/003043 patent/WO1997014999A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62150438A (en) * | 1985-12-24 | 1987-07-04 | Omron Tateisi Electronics Co | Program protect device for control equipment |
JPH04184506A (en) * | 1990-11-20 | 1992-07-01 | Yamazaki Mazak Corp | Control information protective device for numerically controlled machine tool |
JPH05143130A (en) * | 1991-11-22 | 1993-06-11 | Okuma Mach Works Ltd | Numerical controller |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002065287A1 (en) * | 2001-02-16 | 2002-08-22 | Sony Corporation | Data processing method and its apparatus |
US7240345B2 (en) | 2001-02-16 | 2007-07-03 | Sony Corporation | Data processing apparatus and associated method |
SG143976A1 (en) * | 2001-02-16 | 2008-07-29 | Sony Corp | Data processing method and its apparatus |
US8141057B2 (en) | 2001-02-16 | 2012-03-20 | Sony Corporation | Data processing apparatus and associated method |
JP2002244921A (en) * | 2001-02-19 | 2002-08-30 | Sony Corp | Data processing device |
CN1313917C (en) * | 2001-10-31 | 2007-05-02 | 索尼株式会社 | Data processor, data processing method and program thereof |
Also Published As
Publication number | Publication date |
---|---|
JPH09114513A (en) | 1997-05-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2266446C (en) | Emulator for visual display object files and method of operation thereof | |
JPH04211808A (en) | numerical control device | |
JP3662594B2 (en) | Numerical control device with built-in personal computer | |
WO1997014999A1 (en) | Numerical control system | |
US7127675B1 (en) | Method and system for automatically revising software help documentation | |
JP7695431B2 (en) | Robot Control Device | |
JPH07129207A (en) | Numerical control system | |
JP2007072518A (en) | Human machine interface device of control unit | |
JPH0962324A (en) | Numerical control system | |
JP3129889B2 (en) | Numerical control unit | |
JPH06119021A (en) | Operation system for controller | |
JP3857662B2 (en) | Multi-system numerical controller with inter-system axis exchange control function | |
JPH10289011A (en) | Numerically controlled device and background processing customizing method for the device | |
JPH0476724A (en) | information processing equipment | |
JPH07104822A (en) | Numerical control system | |
JPH0137779B2 (en) | ||
RS232 et al. | FAIL PASS 1 2 3 4 | |
JP2890088B2 (en) | Plant monitoring and control equipment | |
JP2001014013A (en) | Numerical control unit | |
WO2020039810A1 (en) | Programming assistance device, programming assistance method, and program | |
JPH04130949A (en) | Simple method for starting system | |
JPH0497389A (en) | Display control method for crt display device | |
EP0414912A1 (en) | Cnc screen layout method | |
JPH07248813A (en) | Numerical controller | |
US20020082722A1 (en) | Addon mechanism for a control system based on an extension data field |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): US |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
122 | Ep: pct application non-entry in european phase |