[go: up one dir, main page]

WO1998037467A1 - Personal computer-incorporated numerical control apparatus, and image transfer method for personal computer-incorporated numerical control apparatuses - Google Patents

Personal computer-incorporated numerical control apparatus, and image transfer method for personal computer-incorporated numerical control apparatuses Download PDF

Info

Publication number
WO1998037467A1
WO1998037467A1 PCT/JP1998/000069 JP9800069W WO9837467A1 WO 1998037467 A1 WO1998037467 A1 WO 1998037467A1 JP 9800069 W JP9800069 W JP 9800069W WO 9837467 A1 WO9837467 A1 WO 9837467A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
data
personal computer
numerical control
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP1998/000069
Other languages
English (en)
French (fr)
Inventor
Masakazu Sagasaki
Syoji Oda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP53647498A priority Critical patent/JP3662594B2/ja
Priority to US09/367,663 priority patent/US6445973B1/en
Publication of WO1998037467A1 publication Critical patent/WO1998037467A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical 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/409Numerical 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 using manual data input [MDI] or by using control panel, e.g. controlling functions with the panel; characterised by control panel details or by setting parameters
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical 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/408Numerical 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33348Processor adapts signals to connected display
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34209Microprocessor only for display
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34262DDE direct data exchange, DLL dynamic library linking

Definitions

  • the present invention relates to a screen transition method in a personal computer built-in numerical controller and a personal computer built-in numerical controller, and more particularly to speeding up screen transition.
  • the numerical control device embedded in a personal computer is a man-machine processing unit (hereinafter referred to as the MMI processing unit) of the personal computer (hereinafter referred to as the PC unit).
  • the NC unit analyzes and interpolates the machining program registered in the memory of the numerical control unit (hereinafter referred to as the NC unit), and outputs commands to the servo system of the machine tool based on the processing results.
  • Fig. 14 shows the outline of a numerical controller with a built-in personal computer (hereinafter referred to as a numerical controller with a built-in PC).
  • the PC-incorporated numerical controller has an NC unit 10 that executes a machining program, and a PC unit 200 that performs screen display processing, data setting processing, operation monitoring, and the like.
  • the NC section 10 is composed of a machining program analysis processing section 11, a memory 12, an interpolation processing section 13, an axis control section 14, a machine control signal processing section 15, and a ladder circuit section 16.
  • Digital signal input circuit 17, digital signal output circuit 18, PC interface 20, dual-port RAM 50 have.
  • axis control unit 14 Although only one axis control unit 14 is shown in FIG. 14, it is provided for each axis.
  • the servo amplifier 310 is connected.
  • servo motor 300 has a pulse generator for position detection, and servo amplifier 310 has a position based on a position feedback signal from pulse generator. Has a loop.
  • the PC section 200 includes a BIOS (Basic I / OS system) section 201, an operating system section (hereinafter referred to as “S section”) 202, a processing section 250, and an NC interface.
  • BIOS Basic I / OS system
  • S section operating system section
  • NC interface an NC interface.
  • a hard disk storage device (hereinafter referred to as an external storage device) 100 and a control panel 110 with a display are connected to each other via an interface (not shown). Have been.
  • the MMI processing section 250 has a screen display processing section 260 and data setting means 280.
  • the operation panel 110 has a display unit 111 such as a CRT or LCD, a data input unit 112 using a keyboard, a power-on switch 113, and a power-off switch 114. ing.
  • the conventional numerical controller with a built-in PC is configured as described above. Next, the operation of the numerical controller with a built-in PC will be described.
  • the input of the machining program is performed by operating the operation panel 1 1 2 by the operator.
  • the machining program input by key is input to the MMI processing unit 250 via the OS unit 202.
  • the processing program input to the MMI processing unit 250 is converted into a data code that can be recognized by the personal computer by the data setting unit 280, and is stored on the hard disk via the OS unit 202.
  • the data is written to the storage device 100, and at the same time, passed to the NC interface face part 203.
  • the NC interface section 203 writes the machining program passed from the data setting section 280 to the determined address of the dual port RAM 50 of the NC section 10 and turns on the data write completion flag. I do.
  • the PC interface section 20 of the NC section 10 monitors the data write completion flag on the dual port RAM 50, and when the data write completion flag is detected, the data is written to the dual port RAM 50. Read the machining program and write the machining program to the file system built in memory 12. At this time, the PC interface 20 checks whether there are any codes that are not handled by the numerical controller, for example, codes such as lowercase alphabets. The machining program written in the hard disk storage device 100 becomes backup data when the machining program registered in the memory 12 of the NC unit 10 is destroyed.
  • the input machining program is displayed on the display 1 11 of the operation panel 110 as follows.
  • the PC interface section 20 reads out the machining program registered in the memory 12 and writes it to the determined address of the dual-port RAM 50, and turns on the data write completion flag.
  • the NC interface section 203 monitors the data write completion flag on the dual-port RAM 50, and reads the machining program written in the dual-port RAM 50 when the data write completion flag is detected. , ⁇ 4 ⁇ is passed to the screen display processing unit 260 of the I processing unit 250.
  • the screen display processing unit 260 adds the fixed display data such as the screen title to the received machining program, outputs it to the display 1 1 1 via the S unit 202, and outputs the display 1 1 1 displays the data such as the machining program.
  • the ram analysis processing unit 11 reads the machining program one block at a time from the memory 12, and the read machining program is processed by the machining program analysis processing unit 11.
  • the machining program analysis processing unit 11 Calculate the end point position.
  • the interpolation processing unit 13 interpolates the end point position, and distributes up to the end point position to the movement commands per unit time of each movable axis.
  • the movement command output by the interpolation processing unit 13 is converted into a movement command per unit time in consideration of acceleration / deceleration in accordance with the acceleration / deceleration pattern specified in advance by the axis control unit 14, and the servo amplifier 310 Output as movement command.
  • the servo amplifier 310 controls the drive of a servo motor 300 mounted on a machine tool (not shown) according to the servo movement command.
  • a machine output signal such as the on / off of the cutting oil is transmitted from a machine control signal processing unit 15 to a relay circuit of a machine control panel (not shown) via a digital signal output circuit 18 to cut the cutting oil. Activate the oil on / off switch.
  • a signal input from the machine side such as a dog switch is input from a digital signal input circuit 17 to the machine control signal processing unit 15.
  • the signals input and output to the digital signal input circuit 17 and the digital signal output circuit 18 are sent to the machine control signal processing section 15 via the ladder circuit section 16 which describes the machine control.
  • the processing is performed, and the processing result is transmitted to the interpolation processing unit 13.
  • GUI graphical user interface
  • each screen unit As shown in FIG. 5 by the reference numerals 50,000 and 501, each screen unit , An individual application program "*** screen.exe” and “ ⁇ ⁇ screen.exe” are provided.
  • screen display by GUI is performed by application programs using executable files for each screen.
  • application programs using executable files for each screen.
  • sub-windows such as a coordinate position display screen for processing on multiple screens, the objects of the entire MMI software Due to the large size, the screen transition cannot be accelerated due to the time required for loading the application from an external storage device such as the hard disk storage device 100.
  • data that is constantly and periodically updated in the NC section 10 such as the coordinate position of each axis, moving speed, rotation speed, and temperature, is displayed on the PC section 200 as a modal data overnight.
  • the PC section 2 0 sends a request for modal data registration to the NC unit 10 for each data, and in response, the NC unit 10 searches the target data and sets the data in the dual port RAM 50, and the PC unit Since 200 reads out the data set in the dual-port RAM 50 and displays it on the screen, when displaying a plurality of modal data on one screen, the modal The data is displayed pop-out with a time lag one by one, and it takes time to display the screen, resulting in a screen display with poor response.
  • the PC unit 200 has conventionally used the The NC unit 10 sends a request to register the screen data overnight to the NC unit 10, and in response, the NC unit 10 searches for the target data and sets the data in the dual port RAM 50, and the PC unit 200 enters the dual port Since the data set in the RAM 50 is read out and displayed on the screen, when displaying a plurality of screen data on one screen, the screen data has a time lag one by one. Will be displayed pop-up, and it will take time to display the screen.
  • the present invention has been made in view of the above-described problems, and a screen transition method in a personal computer-incorporated numerical control device that allows a screen transition in a GUI such as a window to be performed at high speed.
  • a numerical control device embedded in a personal computer used for implementing the screen transition method and to display modal data and screen data on the screen at high speed with good responsiveness.
  • the purpose is to obtain a type numerical controller. Disclosure of the invention
  • the screen transition method in the evening-embedded numerical control device includes a numerical control unit that incorporates a personal computer and executes a machining program, and monitors the editing of the machining program and the numerical control operation by the numerical control unit.
  • a screen transition method in a personal computer-integrated numerical controller having a personal computer section a unique processing section for each screen that defines the display contents of each screen and the contents of setting management of data used by the numerical controller section is provided.
  • a screen processing library including a common processing unit for screen transition is registered for each screen, and when the screen transition execution program is started, all the registered screen processing libraries are stored in memory managed by the operating system.
  • a screen transition method high-speed screen transition is performed by a plurality of screen processing libraries and one screen transition execution file without starting and ending the application program every time a screen transition occurs. Furthermore, the screen transition is performed at a higher speed by temporarily increasing the execution priority of the own application to the highest priority at the time of the screen transition.
  • a personal computer built-in numerical controller according to the present invention, wherein the personal computer is incorporated and a numerical controller that executes a machining program;
  • a personal computer-incorporated numerical controller having a personal computer for monitoring the numerical control operation of the controller, the display contents of each screen and the data used by the numerical controller are provided.
  • a plurality of screen processing means for each screen registered as one library for each screen including a unique processing section for each screen defining the contents of evening setting management and a common processing section for screen transition;
  • the screen management table that manages the location of the registered screen processing means with an identification code, and the screen processing means corresponding to the identification code specified by the screen transition request are selected by the screen management table.
  • Screen control means for instructing execution of screen transition by the screen processing means.
  • the screen processing means is registered as one library for each screen, and the screen control means sets the screen processing means corresponding to the identification code specified by the screen transition request to the screen. It is selected by the management table, and the execution of the screen transition by the selected screen processing means is instructed.
  • a numerical control device embedded in a personal computer according to the next invention is the numerical control device embedded in a personal computer according to the invention described above, wherein the screen control means stores the screen management table at startup based on a screen management table definition file. It is to be initialized.
  • the screen management table definition file is created in a text file format, and can be easily modified using Notepad, which is the standard tool of Windows.
  • the screen management table is initialized and reconstructed every time the screen control means is started.
  • a personal computer built-in numerical controller wherein the personal computer is incorporated and a numerical controller that executes a machining program;
  • a personal computer-incorporated numerical controller having a personal computer for monitoring the numerical control operation by the controller, both the numerical controller and the personal computer have a key controller.
  • the shared memory which is accessible and has a modal information table defined, and the data, which is provided in the personal computer and is constantly and periodically updated by the numerical control unit, such as coordinate values, are batched for each screen.
  • Data registration unit for notifying the numerical control unit of a request to register the data, and data provided in the numerical control unit, and data in a screen unit that is constantly or periodically updated by a request from the modal data registration unit.
  • modal information management means for collecting the data in the modal information table of the shared memory.
  • the personal computer unit displays the data set in the modal information table of the shared memory on a screen basis. It reads the data and displays it on the screen.
  • the data from the constant to the periodic update is set in the modal information table of the shared memory by the modal information management means on a screen basis in response to the data registration request from the modal data registration means. Then, the personal computer reads out the data set in the modal information table of the shared memory on a screen basis and displays the data on the screen.
  • the numerical control device embedded in a personal computer according to the next invention is the numerical control device embedded in the personal computer according to the invention described above, wherein the request for batch release of the data registered by the modal data collective registration means on a screen basis is provided. And a modal information management means for notifying the data of the data stored in the modal information table of the shared memory in response to a request from the modal data / collection cancellation means. It is to be deleted.
  • a personal computer built-in numerical controller according to the present invention, wherein the personal computer is incorporated and a numerical controller that executes a machining program;
  • a personal computer built-in numerical controller that has a personal computer that monitors the numerical control operation of the controller, data of the numerical controller such as parameters that are provided in the numerical controller and that are required for screen display
  • a screen data memory for storing the data of the numerical control unit, a screen data registration unit for notifying the numerical control unit of a request for registering the data of the numerical control unit collectively for each screen, and a personal computer.
  • a request to read data in batch is sent to the numerical control unit, and screen data batch reading means for reading screen data from the numerical control unit collectively and a screen data registering unit provided in the numerical control unit are provided.
  • Storing data such as parameters required for displaying each screen in the screen data memory in response to the request of the above, reading out data from the screen data memory in response to a request from the screen data batch reading means, Screen data registering means for transferring the data collectively to the screen data batch reading means, and the personal computer section performs a process of displaying the data passed to the batch reading means on a screen.
  • the screen data registration unit when the screen data registration request is issued by the screen data registration unit, the screen data registration unit transmits data such as parameters required for displaying each screen to the screen data.
  • the data is stored in the memory overnight, and the screen data batch reading means notifies the numerical control unit of a request to collectively read the data specified when the screen is selected, thereby reading the data in the screen data memory all at once. De Display one night on the screen.
  • FIG. 1 is a block diagram showing Embodiment 1 of a personal computer built-in type numerical controller according to the present invention.
  • FIG. 2 is an explanatory diagram showing an example of a screen management table.
  • FIG. 3 is an explanatory diagram showing a file configuration for screen transition processing in a personal computer embedded numerical control device according to the present invention.
  • FIG. 4 is an explanatory diagram showing details of DLL for screen display processing.
  • FIG. 5 is a flowchart showing processing at the time of starting an application program for screen transition.
  • FIG. 6 is a flowchart showing a procedure of screen transition.
  • FIG. 7 is a block diagram showing Embodiment 2 of a personal computer built-in type numerical controller according to the present invention.
  • FIG. 8 is an explanatory diagram showing an example of reading screen data.
  • FIG. 9 is an explanatory diagram showing a process flow of the modal de overnight registration.
  • FIG. 10 is a flowchart showing a processing flow at the time of turning on the power of the screen data registration.
  • FIG. 11 is a flowchart showing a screen data reading routine when a screen is selected.
  • FIG. 12 is an explanatory diagram showing a registration example of screen data.
  • FIG. 13 is an explanatory diagram showing a screen display example.
  • FIG. 14 is a block diagram showing a conventional personal computer built-in type numerical controller.
  • FIG. 15 shows a conventional numerical controller built into a personal computer.
  • FIG. 4 is a file configuration diagram for screen transition processing in the present embodiment. BEST MODE FOR CARRYING OUT THE INVENTION
  • FIG. 1 shows a first embodiment of a personal computer built-in numerical controller according to the present invention.
  • the operating system of the PC section 200 of this personal computer-incorporated numerical controller is Microsoft's "Windows".
  • Microsoft's "Visual C ++" ",” MF C (Microsoft Software Class Library), "Windows” may be used in some cases.
  • the numerical control device embedded in a personal computer has a screen display unit 260 of a PC unit 200 that includes a screen control unit 2 that is one execution module, in addition to a main processing unit 261, which is an execution module. 6 and a plurality of screen processing means 2 6 3 using a library.
  • the PC section 200 is provided with a screen management table 270 using a RAM or the like.
  • the screen processing means 263 is a library provided for each screen, specifically, a DLL (Dynamic Link 'Library) used in "Windows".
  • the display contents of each screen and the NC unit 1 0 of the data used It includes a unique processing unit for each screen that defines the contents of the setting management, and a common processing unit for screen transition.
  • Each of the screen control means 262 is stored in the hard disk storage device 100 in a file format as a screen display processing DLL (screen processing library).
  • the operating system here, " All are read out to the memory managed by Windows.
  • the screen management table 270 is initialized when the screen control means 262 is started, and the location of all the screen processing means 263 read out (registered) in the memory is identified by an identification code (module handle). to manage.
  • the screen management table 270 has a matrix structure as shown in FIG. 2, and identifies the screen processing means 263 by a module handle based on the number of rows and the number of columns. In each cell of the screen management table 270, a screen information flag is described in addition to the module handle.
  • the screen information flag specifies either the main window screen or the sub window screen. Only one screen is displayed at any time for the screen registered as the main window screen, and it is specified when the screen transition function is called. Displays the specified window and automatically closes the previous window. On the other hand, if a screen transition function is called on a screen registered as a subwindow screen, the specified window is newly displayed without closing the displayed window.
  • the screen control means 262 is composed of a screen transition execution file (application program), receives a screen transition request from the data input unit 112 during startup, and identifies the identification code specified by the screen transition request.
  • the screen processing means 263 corresponding to the above is selected by the screen management table 270, and the execution of the screen transition by the selected screen processing means 263 is instructed.
  • the screen transition method in the Pc-embedded numerical control device with the above configuration is based on the unique processing unit and screen for each screen that define the display contents of each screen and the contents of the setting management of the data used by the NC unit.
  • a screen processing library (screen processing means 2 63) including a common processing unit for transition is registered for each screen, and the registered screen processing is executed when the screen transition execution program (screen control means 2 62) is started.
  • the entire library (DLL for screen display processing) is read into the memory managed by the operating system, and the location of each screen processing library is managed by the screen management table 270 using individual identification codes, and the screen transition execution file
  • the screen processing library corresponding to the identification code specified by the screen transition request Selected from the data of Table 2 70 (module handle), it executes screen transition by selected the screen processing libraries.
  • FIG. 3 shows a file configuration for screen transition processing in the PC embedded numerical controller according to the present invention.
  • DLLs for "*** screen””*** screen.d1 1” and “ DLL for "screen”"screen.d1”
  • MMI application management library "User-defined screen common library” of user option
  • MMI application main module
  • D1 1 which are dynamic link libraries for screen display correspond to the screen processing means 2 63 and the display contents of each screen
  • the function of “CF ormView C 1 ass” and “CD oc nt nt C lass” is provided as a unique processing section for each screen that defines the content of the setting management of the data used by the NC section 10. It has an MMI common I ZF function as a common processing unit for screen transition, and a common bone It has a case structure.
  • CFFormViewClass is a base class used in views with controls, and defines the display contents (layout) of dialog boxes and the like created in the dialog editor.
  • CD oc nt nt C 1 ass provides the basic functionality of a user-defined document class and provides standard functions such as creating, loading, and saving data (documents) used by applications. Supports various operations.
  • the “MMI application management library” has an MMI and an Ap management function and a function of “CFFrameWndC1ass”, and defines a screen management table 270.
  • CF nameWndClass provides the functions of the windows wrapper window or the pop-up frame window of the Windows SDI (single-document interface) together with the members who manage the windows. It has a control function for the frame part (title bar, system menu, maximize minimize Z minimize button, etc.).
  • the “MMI application / main module” corresponds to the screen control unit 262 and has a function of “CW i nApp C 1 a s s”.
  • CW in App Class is a base class for deriving the Windows application object, and provides member functions for initializing, executing, and terminating the Windows application. You.
  • the initialization process of each screen is sequentially executed from the initialization function of the" MMI application management library ". This function is called at this time, and if the processing required for initializing each screen is programmed in this function, the screen-specific initialization processing will be executed at startup.
  • the "screen creation process” is called from a “screen display request process” described later in the "MMI application management library” in the screen transition request, and performs the screen display of the transition destination.
  • the "screen end processing” is called from the “screen deletion request processing” described later in the "MMI application management library" in the screen transition request, and the screen currently being displayed, that is, the screen display of the transition source is ended. Perform the operation to be performed.
  • “Screen creation pre-processing” is called immediately after “Screen display request processing” is executed, and if “TRUE” is determined by the condition judgment that prohibits the screen world, screen creation processing is executed, and "FAL SE” First, the processing is interrupted without executing the screen creation processing.
  • the screen transition check function is defined in "User-defined screen common library” if "User-defined screen common library” exists, and "Screen creation pre-processing" is performed by "User-defined screen common library”. Call a function.
  • the "MMI application management library” has functions such as the above-mentioned "CF Ram e Wnd Class", "screen display request processing", and "screen deletion request processing".
  • the "screen display request process” is a DLL for the corresponding screen display process, in other words, the screen to which the screen transitions, in order to display the window specified by the screen management table number (identification code) by the screen transition request.
  • Display processing Call “Screen creation processing” of DLL.
  • the priority of the processing of the screen transition execution program is set to “highest priority” by using “SetPriortyCLass” of the Windows API at the beginning of the processing of “screen display request processing”.
  • Windows API is a general term for a group of functions provided by the operating system "Windows”.
  • the "screen deletion request processing” is a DLL for the corresponding screen display processing to close the window specified by the screen management table number (identification code) by the screen transition request, in other words, the screen display of the screen transition source screen Process D Call the "screen end process”.
  • the priority of the processing of the screen transition execution program is set to “highest priority” by using the “SetPriortyClaass” of the Windows API at the beginning of the processing of “screen erase request processing”.
  • the priority of the process of the screen transition execution program is set to the original state "normal” by using the "SitePriortyCLass" of the Windows API.
  • step S10 the "MMI application management library” is read (step S10), and the initialization processing of the "MMI application management library” is called (step S20). As a result, a title screen is displayed (step S30).
  • the screen management table is created based on the “screen management table definition file” in the routine of the “MMI application management library initialization processing”. Initialize and create one bull 2 70 (Step S40).
  • the title screen is displayed for a few seconds, so that it waits for a certain period of time (step S50), after which it is designated as the first screen in the screen management table definition file of the screen management table 270.
  • the displayed screen is displayed (step S60).
  • step S100 "screen display request processing" of "MMI application management library” is called (step S100), ((4) in FIG. 4).
  • step S100 "screen display request processing” of "MMI application management library” is called (step S100), ((4) in FIG. 4).
  • step S100 "screen display request processing” of "MMI application management library” is called (step S100), ((4) in FIG. 4).
  • step S100 "screen display request processing” of "MMI application management library”
  • step S100 "screen display request processing” of "MMI application management library” is called (step S100), ((4) in FIG. 4).
  • step S110 screen creation pre-processing of the screen display processing DL of the transition destination is called (step S110), (2 in Fig. 4).
  • screen transition processing is performed by “DL screen creation processing” of the screen display processing DL of the transition destination (step S 120). This is the screen transition check
  • the return value is set to “TRUE”.
  • the return value is set to “FALSE” and returned to the “MMI application management library”.
  • the return value is determined by the "MMI application management library" (step S130). If the return value is "FALSE”, the screen transition processing is terminated immediately. If the return value is "TRUE”, the screen display processing DLL of the transition destination based on the information of the screen management table. Call “Screen creation process” (step S140), (3 in Fig. 4).
  • a window is displayed by the "screen creation process” of the screen display process DLL of the transition destination (step S150).
  • the "call exit process” of the transition source DLL is called and the window ⁇ display of the transition destination is stopped.
  • the priority of the processing of the screen transition execution program is set to the original state “normal” by using “SetPriortyCla ss” of Windows API.
  • the application program is not activated or terminated every time the screen transitions, and the screen transition can be speeded up.
  • FIG. 7 shows a second embodiment of a numerical control device embedded in a personal computer according to the present invention.
  • parts corresponding to those in FIG. 1 are denoted by the same reference numerals as those in FIG. 1, and description thereof is omitted.
  • the screen display processing unit 260 of the PC unit 200 that is, the one described in the first embodiment, Modal data batch release means 2 65, screen data registration means 2 66, and screen data batch reading means 2 67 are added.
  • a modal information management section 21 and a screen data management section 22 are provided, and a dual-port RAM (the NC section 10 and the PC section) are provided.
  • a modal information table 51 is defined in 50).
  • the NC unit 10 is provided with a screen data memory 30 for storing data of the NC unit such as parameters required for screen display.
  • the modal data collective registration means 2 64 receives a request for collectively registering data, such as coordinate values, moving speeds, rotation speeds, etc., which are constantly and periodically updated by the NC unit 10 for each screen, in a dual port RAM 5. Notify to NC section 10 via “0”.
  • the modal data overnight canceling means 2 65 notifies the NC section 10 via the dual port RAM 50 of a request for canceling the data registered by the modal data batch registering means 254 at once on a screen basis. .
  • the modal information management means 21 of the NC unit 10 collects data of regular to periodic updates in units of screens by a request from the modal data batch registration means 2 64, and stores this data in the dual port RAM 50. It is set in the modal information table 51, and the data set in the modal information table 51 of the dual port RAM 50 in response to a request from the modal data group release means 2 65 is collectively deleted.
  • the data set in the modal information table 51 of the dual-port RAM 50 in this manner is displayed collectively on a screen basis at an arbitrary time. This enables the modal data to be displayed on the screen at high speed with good responsiveness.
  • the screen data registration means 2 6 6 collects data from the NC unit 10 in screen units. Notify the NC section of the request to register.
  • the screen data batch reading means 2667 notifies the NC unit 10 via the dual port RAM 50 of a request to collectively read the screen data designated at the time of selecting the screen. Read screen data at once.
  • the screen data management means 22 provided in the NC unit stores data such as parameters required for displaying each screen in the screen data memory 30 in response to a request from the screen data registration means 266, and stores the screen data. Data is read from the screen data memory 30 in response to a request from the overnight batch reading means 267, and the data is transferred to the screen data batch reading means 267 in a lump.
  • the screen data management means 22 also reflects the changed contents in the screen data memory 30 when the contents of the memory 12 relating to screen data such as parameters are changed by key input of the operation panel 110 or the like. .
  • the data passed to the screen data batch reading means 267 in this way is displayed collectively on a screen basis in screen data display at an arbitrary time.
  • the screen display of the screen data is performed at high speed with good responsiveness.
  • ReadDatata sends the data sent from ExRegistrModal with the command ID added to the communication task.
  • the registered ID is used as the input data instead of the registered data described in (1) above, and EXCancel1Moda1 is called.
  • ExCancelModal converts the registered ID into a shift BCD code and calls WriteData in the same manner as ExRegist Modal1. At this time, [9 000 0 00 00] is set in the major section number.
  • FIG. 10 shows a processing flow at the time of power-on of the screen data registration in the NC unit 10.
  • the first screen information table 2 set in the screen information table 271, ie, the first screen information table 271 is selected for each screen (step S200).
  • the screen information table 271 a large section number and a small section number corresponding to an identifier of a parameter displayed on each screen are registered.
  • Step S230 a screen ID is assigned, and "1" indicating registration is set in the request data of the control table, and a screen data registration request is issued.
  • the screen data management means 22 of the NC section 10 analyzes the large section and small section numbers, registers the screen data in the screen data memory 30, and returns a completion notification to the PC section 200 (step S240). If the registration is completed normally, that is, if the status data of the control table in FIG. 12 is “0” (step S250 affirmative), the next screen information table 271 is specified (step S250). Step S260), return to step S210, and repeat the processing of steps S220 to S260 until all screen information tables 271 are specified.
  • step S 250 If the registration is not completed normally, that is, if the status data in the control table in FIG. 12 is other than “0” (No at step S 250), the screen data registration is stopped and error processing is performed ( Error display) (step S270), and the screen data overnight registration routine ends.
  • FIG. 11 shows a screen data reading routine when a screen is selected.
  • the screen ID used at the time of screen data registration is first set by the screen data all-in-one reading means 267, and the control table shown in Fig. 8 indicates that the reading is "2". Is set, and a read request for screen data is made to the screen data management means 22 of the NC unit 10 via the dual port RAM 50 (step S300).
  • the screen data management means 22 collectively reads out the screen data corresponding to the screen ID, and notifies the screen data general reading means 2667 via the dual port RAM 30 (step S31). 0).
  • FIG. 12 shows an example of registration of screen data
  • FIG. 13 shows an example of screen display.
  • the screen transition method in the personal computer built-in numerical controller according to the present invention, a plurality of screens are displayed.
  • the screen processing library and one screen transition execution file high-speed screen transition can be performed without starting and ending the application program every time the screen transitions.
  • the screen processing means is registered as one library for each screen, and the screen control means corresponds to the identification code specified by the screen transition request. Is selected by the screen management table, and the execution of the screen transition is instructed by the selected screen processing means, so that the application program is started every time the screen transition is performed by a plurality of screen processing means and one screen control means. A high-speed screen transition will be performed without terminating.
  • the screen management table is initialized or reconstructed every time the screen control means is started, so that even if the screen processing means is changed, a trouble occurs. The screen transitions at high speed without any change.
  • the data of the constant to periodic update is transmitted by the modal data management means in a screen unit by the modal information management means in response to the request of the data registration from the modal data registration means. It is set in the information table, and the PC reads the data set in the modal information table of the shared memory in screen units and displays it on the screen, so the modal data display for each screen is responsive and quick. Will be performed.
  • the data set in the modal information table of the shared memory by the data release request from the modal data release means are combined. Since the display is deleted, unnecessary display of the modal display for each screen is quickly released.
  • the screen data registering unit requests the screen data registering unit to request the screen data registering unit to set parameters required for displaying each screen.
  • the data is stored in the screen data memory, and the screen data batch reading unit notifies the NC unit of a request to read the data specified at the time of screen selection. However, since this data is displayed on the screen, the display of the data for each screen is quickly performed.
  • the present invention is suitable for being used in a personal computer built-in type numerical control device.

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)
  • Digital Computer Display Output (AREA)

Description

明 細 書 パーソナルコンピュータ組込み型数値制御装置およびパーソナルコンビ ユー夕組込み型数値制御装置における画面遷移方法 技術分野
この発明は、 パーソナルコンピュータ組込み型数値制御装置およびパ 一ソナルコンピュータ組込み型数値制御装置における画面遷移方法に係 り、 特に画面の遷移の高速化に関するものである。 背景技術
パーソナルコンピュータ組込み型の数値制御装置は、 パーソナルコン ピュー夕部(以下 P C部と称す)のマンマシンィン夕フエ一ス処理部(以 下 MM I処理部と称す) で加工プログラムの編集や数値制御動作のモニ 夕等を行い、 数値制御装置部 ( 以下 NC部と称す) のメモリに登録され た加工プログラムを NC部で解析 ·補間処理し、 処理結果により工作機 械のサーボ系に指令を出力する。
第 14図はパーソナルコンピュータ組込み型数値制御装置 (以下 P C 組込み型数値制御装置と称す) の概要を示している。 P C組込み型数値 制御装置は、 加工プログラムを実行する NC部 1 0と、 画面の表示処理 やデータ等の設定処理、 動作モニタ等を行う P C部 2 0 0とを有してい る。
NC部 1 0は、 加工プログラム解析処理部 1 1と、 メモリ 1 2と、 補 間処理部 1 3と、 軸制御部 1 4と、 機械制御信号処理部 1 5と、 ラダ一 回路部 1 6と、 ディジタル信号入力回路 1 7と、 ディジタル信号出力回 路 1 8と、 P Cイン夕フェース部 2 0と、 デュアルポート RAM 50と を有している。
軸制御部 1 4は、 第 1 4図では 1つしか示されていないが、 各軸毎に 設けられるものであり、 各軸制御部 1 4には各軸のサ一ボモー夕 3 0 0 のサ一ボアンプ 3 1 0が接続されている。
なお、 第 1 4図には示されていないが、 サーボモー夕 3 0 0は位置検 出用のパルスゼネレー夕付きのものであり、 サーボアンプ 3 1 0はパル スゼネレ一夕よりの位置フィードバック信号による位置ループを有する。
P C部 2 0 0は、 B I OS (B a s i c I /O S y s t em) 部 2 0 1と、 オペレーティングシステム部 (以下〇 S部と称す) 2 0 2と、 処理部2 5 0と、 N Cイン夕フエ一ス部 2 0 3とを有し、 ハード ディスク記憶装置 (以下外部記憶装置と称す) 1 0 0と、 ディスプレイ 付きの操作パネル 1 1 0とがそれぞれインタフェース (図示省略) を介 して接続されている。
MM I処理部 2 5 0は、 画面表示処理部 2 6 0と、 データ設定手段 2 8 0とを有している。
操作パネル 1 1 0は、 C RTや L C D等による表示器 1 1 1と、 キー ボードによるデ一夕入力部 1 1 2と、 電源オンスィツチ 1 1 3と、 電源 オフスィッチ 1 1 4とを有している。
従来の P C組込み型数値制御装置は以上のように構成されており、 次 に、 この P C組込み型数値制御装置の動作について説明する。
P C組込み型数値制御装置では、 加工プログラムの入力は操作パネル 1 1 2をオペレー夕がキ一操作することによって行われる。
キー入力された加工プログラムは、 OS部 2 0 2を介して MM I処理 部 2 5 0に入力される。 MM I処理部 2 5 0に入力された加工プログラ ムは、 デ一夕設定手段 2 8 0によってパーソナルコンピュータが認識で きるデ一タコードに変換され、 O S部 2 0 2を介してハードディスク記 憶装置 1 0 0に書き込まれ、 同時に NCィン夕フェース部 2 0 3に渡さ れる。
NCイン夕フェース部 2 0 3は、 デ一夕設定手段 2 8 0から渡された 加工プログラムを NC部 1 0のデュアルポ一卜 RAM 5 0の決められた 番地に書き込み、 データ書き込み完了フラグをオンする。
NC部 1 0の P Cイン夕フェース部 2 0は、 デュアルポート RAM 5 0上のデータ書き込み完了フラグを監視しており、 データ書き込み完了 フラグを検出した時点で、 デュアルポート RAM 5 0に書かれた加工プ ログラムを読み取り、 メモリ 1 2に構築されたファイルシステムに加工 プログラムを書き込む。 この時、 P Cイン夕—フェイス部 2 0で数値制 御装置では扱わないコ一ド、 例えば小文字のアルファべッ ト等のコード がないかをチェックする。 ハードディスク記憶装置 1 0 0に書き込まれ た加工プログラムは、 NC部 1 0のメモリ 1 2に登録された加工プログ ラムが破壊された場合のバックアップデータとなる。
入力された加工プログラムは、 次のようにして操作パネル 1 1 0の表 示器 1 1 1に表示される。 まず、 メモリ 1 2に登録された加工プロダラ ムを P Cイン夕フェース部 2 0が読出して、 デュアルポ一ト RAM 5 0 の決められた番地に書き込み、 データ書き込み完了フラグをオンする。 NCインタフェース部 2 0 3は、 デュアルポート RAM 5 0上のデータ 書き込み完了フラグを監視しており、 データ書き込み完了フラグを検出 した時点で、 デュアルポート RAM 5 0に書かれた加工プログラムを読 み取り、 λ4Μ I処理部 2 5 0の画面表示処理部 2 6 0に渡す。
画面表示処理部 2 6 0は、 受け取った加工プログラムに画面タイ トル 等の固定表示デ一夕等を追加して〇 S部 2 0 2を介して表示器 1 1 1に 出力し、 表示器 1 1 1が加工プログラム等のデ一夕を表示する。
次に、 加工プログラムを実行する手順について説明する。 加工プログ ラム解析処理部 1 1がメモリ 1 2カゝら 1ブロックずつ加工プログラムを 読み出し、 読み出された加工プログラムは加工プログラム解析処理部 1 1で処理され、 加工プログラム解析処理部 1 1は各ブロックの終点位置 を算出する。 補間処理部 1 3は、 その終点位置を補間処理し、 終点位置 までを各可動軸の単位時間当たりの移動指令に分配する。
補間処理部 1 3が出力する移動指令は、 軸制御部 1 4によって予め指 定された加減速パターンに従って加減速を考慮した単位時間当たりの移 動指令に変換され、 サ一ボアンプ 3 1 0ヘザーボ移動指令として出力さ れる。
サーボアンプ 3 1 0は、 このサーボ移動指令により図示されていない 工作機械に取り付けられているサーポモー夕 3 0 0の駆動を制御する。 また、 切削油のオン ·オフ等の機械出力信号は、 機械制御信号処理部 1 5よりディジ夕ル信号出力回路 1 8を介して図示されていない機械制 御盤のリレー回路に伝えられ、 切削油のオン · ォフスィツチ等を動作さ せる。 また、 ドグスィッチ等の機械側から入力される信号は、 ディジタ ル信号入力回路 1 7より機械制御信号処理部 1 5に入力される。 このよ うにディジ夕ル信号入力回路 1 7、 ディジ夕ル信号出力回路 1 8に入出 力される信号は、 機械制御を記述するラダー回路部 1 6を介して機械制 御信号処理部 1 5で処理され、 処理結果などは補間処理部 1 3に伝えら れる。
従来、 P C組込み型数値制御装置における P C部 2 0 0において、 マ ルチタスクで、 グラフィカルユーザインフェース (以下 G U I と称す) による画面表示を行う場合には、 各画面の表示を各画面毎の実行型ファ ィルによるアプリケーションプログラムにより行っている。
例えば、 マイクロソフト社の " W i n d o w s " による場合には、 第
1 5図に、 符号 5 0 0 、 5 0 1により示されているように、 各画面単位 で、 個別のアプリケーションプログラム " * * *画面. e x e" 、 "〇 〇〇画面. e x e" が設けられる。
この各 e x eファイルは、 それぞれ、 マイクロソフト社のアプリケ一 シヨン ·フレームワーク · ライブラリである MF C ( M i c r o s o f t F o u n d a t i o n C l a s s L i b r a r y) により提供 される" C F o rmV i ew C l a s s "と、 " CD o c ume n t C l a s s " と、 "CW i nAp p C 1 a s s " とによるクラスの構成 により、 D o c ume n t— V i e w構造の個別のアプリケーションプ ログラムをなし、 それぞれ "C F r ameWn d C 1 a s s " による ダイナミック · リンク · ライブラリ "画面遷移共通処理ライブラリ (D 1 1 ) " (第 1 5図に符号 50 3で示す) によって、 メインフレームゥ ィンドウの機能を与えられ、 カスタム AP I ライブラリ 5 1 0を介して N C部 1 0とデータの授受を行い、 それぞれウインドウによる画面表示 を行う。
従来の P C組込み型数値制御装置では、 P C部 2 00におけるウィン ドウのような GU Iによる画面表示は、 各画面の表示を各画面毎の実行 型ファイルによるアプリケーションプログラムにより行っているため、 画面遷移の度に、 必ずアプリケーションプログラムの起動、 終了が発生 し、 また座標位置表示画面などのサブウインドウにより複数の画面で利 用する処理も個々のアプリケーションプログラムで持っため、 MM Iソ ゥトウエア全体のオブジェク 卜サイズが大きくなり、 ハードティスク記 憶装置 1 0 0などの外部記憶装置からのアプリケーションローディング に要する時間によって画面遷移の高速化が行えない。
また、 PC部 2 00において、 各軸の座標位置や移動速度、 回転速度、 温度など、 NC部 1 0で常時〜周期的に更新されるデータをモーダルデ 一夕として P C部 2 0 0で画面表示するような場合、 従来は、 P C部 2 0 0が各データ毎にモーダルデータ登録のリクェストを N C部 1 0に出 し、 その応答として N C部 1 0が対象デ一夕をサーチしてデータをデュ アルポート R A M 5 0にセットし、 P C部 2 0 0がデュアルポ一ト R A M 5 0にセッ卜されたデ一夕を読み出して画面表示することが行われる ため、 1画面で、 複数個のモーダルデータを画面表示する場合には、 そ のモーダルデータが一つ一つタイムラグをおいてポッポッと表示される ようになり、 画面表示に時間がかかり、 応答性の悪い画面表示となる。 また、 工具オフセット量など、 周期的に更新されることがなく、 画面 表示で必要になるパラメ一夕等のデータを画面表示する場合も、 従来は、 P C部 2 0 0が各デ一夕毎に画面デ一夕登録のリクエストを N C部 1 0 に出し、 その応答として N C部 1 0が対象データをサーチしてデータを デュアルポート R A M 5 0にセッ トし、 P C部 2 0 0がデュアルポート R A M 5 0にセッ卜されたデ一夕を読み出して画面表示することが行わ れるため、 1画面で、 複数個の画面データを画面表示する場合には、 画 面データが一つ一つタイムラグをおいてポッポッと表示されるようにな り、 画面表示に時間がかかる。
この発明は、 上述の如き問題点に着目してなされたものであり、 ウイ ンドウ等の G U Iにおける画面遷移が高速に行われるようにするパーソ ナルコンピュータ組込み型数値制御装置における画面遷移方法、 および その画面遷移方法の実施に使用されるパーソナルコンピュータ組込み型 数値制御装置を得ること、 またモーダルデータや画面データの画面表示 も応答性よく高速に行い、 画面表示の高速化について改善されたパーソ ナルコンピュータ組込み型数値制御装置を得ることを目的としている。 発明の開示
上述の目的を達成するために、 この発明によるパーソナルコンビユー 夕組込み型数値制御装置における画面遷移方法は、 パーソナルコンビュ 一夕が組み込まれ、 加工プログラムを実行する数値制御装置部と、 前記 加工プログラムの編集や前記数値制御装置部による数値制御動作をモニ 夕するパーソナルコンピュータ部とを有するパーソナルコンピュータ組 込み型数値制御装置における画面遷移方法において、 各画面の表示内容 および数値制御装置部が使用するデータの設定管理の内容を定義する各 画面毎の独自処理部と画面遷移のための共通処理部とを含む画面処理ラ イブラリを各画面毎に登録し、 画面遷移実行プログラムの起動時に、 登 録されている画面処理ライブラリの全てをオペレーティングシステムが 管理するメモリ上に読み出し、 その各画面処理ライブラリの所在を画面 管理テーブルによって個別の識別コードで管理し、 前記画面遷移実行フ アイルの起動下で、 画面遷移リクエストを受付けてその画面遷移リクェ ス卜によって指定された識別コードに対応する画面処理ライブラリを前 記画面管理テーブルのデータより選定し、 選定された画面'処理ライブラ リによる画面遷移を実行するものである。
この発明による画面遷移方法では、 複数個の画面処理ライブラリと一 つの画面遷移実行ファイルにより、 画面遷移の度にアプリケーションプ ログラムを起動、 終了することなく、 高速度な画面遷移が行われる。 更に、 画面遷移時に自身のアプリケーションの実行優先度を一時的に 最優先に上げてやることにより、 より高速度な画面遷移が行われる。 また、 上述の目的を達成するために、 この発明によるパーソナルコン ピュー夕組込み型数値制御装置は、 パーソナルコンピュータが組み込ま れ、 加工プログラムを実行する数値制御装置部と、 前記加工プログラム の編集や前記数値制御装置部による数値制御動作をモニタするパーソナ ルコンピュータ部とを有するパーソナルコンピュータ組込み型数値制御 装置において、 各画面の表示内容および数値制御装置部が使用するデー 夕の設定管理の内容を定義する各画面毎の独自処理部と画面遷移のため の共通処理部とを含み各画面毎に一つのライブラリとして登録された各 画面毎の複数個の画面処理手段と、 登録された前記画面処理手段の所在 を識別コードで管理する画面管理テーブルと、 画面遷移リクエストによ つて指定された識別コードに対応する画面処理手段を前記画面管理テー ブルによって選定し、 選定された画面処理手段による画面遷移の実行を 指示する画面制御手段とを有していものである。
この発明によるパーソナルコンピュータ組込み型数値制御装置では、 各画面毎に一つのライブラリとして画面処理手段が登録され、 画面制御 手段が画面遷移リクエス卜によって指定された識別コードに対応する画 面処理手段を画面管理テーブルによって選定し、 選定された画面処理手 段による画面遷移の実行を指示する。
次の発明によるパーソナルコンピュー夕組込み型数値制御装置は、 上 述の発明によるパーソナルコンピュータ組込み型数値制御装置において、 前記画面制御手段は起動時に前記画面管理テーブルを画面管理テーブル 定義ファイルをもとに初期化するものである。 なお、 画面管理テーブル 定義ファイルは、 テキストファイル形式で作成され、 W i n d o w sの 標準ツールであるメモ帳などで簡単に修正することができる。
このパーソナルコンピュータ組込み型数値制御装置では、 画面制御手 段の起動の度に画面管理テーブルが初期化、 再構築される。
また、 上述の目的を達成するために、 この発明によるパーソナルコン ピュー夕組込み型数値制御装置は、 パーソナルコンピュータが組み込ま れ、 加工プログラムを実行する数値制御装置部と、 前記加工プログラム の編集や前記数値制御装置部による数値制御動作をモニタするパーソナ ルコンピュータ部とを有するパーソナルコンピュータ組込み型数値制御 装置において、 数値制御装置部とパーソナルコンピュータ部とが共にァ クセス可能で、 モーダル情報テーブルを画定された共用メモリと、 パ一 ソナルコンピュータ部に設けられ、 座標値等、 数値制御装置部で常時〜 周期的に更新されるデ一夕を画面単位で一括して登録するリクエストを 数値制御装置部に対して通知するモーダルデーター括登録手段と、 数値 制御装置部に設けられ、 前記モーダルデーター括登録手段からのリクェ ストにより常時〜周期的更新の画面単位のデータを収集し、 当該データ を前記共用メモリのモーダル情報テーブルにセッ 卜するモーダル情報管 理手段とを有し、 パーソナルコンピュータ部は共用メモリのモ一ダル情 報テーブルにセッ 卜されたデータを画面単位で読み取り、 画面表示する 処理を行うものである。
この発明によるパーソナルコンピュータ組込み型数値制御装置では、 モーダルデーター括登録手段からのデーター括登録のリクエストにより 常時〜周期的更新のデータがモーダル情報管理手段によって画面単位で 共用メモリのモーダル情報テーブルにセッ 卜され、 パーソナルコンビュ 一夕部が共用メモリのモーダル情報テーブルにセッ 卜されたデータを画 面単位で読み取り、 画面表示する。
次の発明によるパーソナルコンピュータ組込み型数値制御装置は、 上 述の発明によるパーソナルコンピュータ組込み型数値制御装置において、 前記モーダルデーター括登録手段により登録されたデータを画面単位で 一括解除するリクエストを数値制御装置部に対して通知するモーダルデ 一夕一括解除手段を有し、 前記モーダル情報管理手段は前記モーダルデ 一夕一括解除手段からのリクエストにより共用メモリのモーダル情報テ 一ブルにセッ トされたデー夕を一括削除するものである。
この発明によるパーソナルコンピュータ組込み型数値制御装置では、 モーダルデーター括解除手段からのデ一夕一括解除のリクエストにより 共用メモリのモーダル情報テーブルにセッ 卜されているデ一夕が一括削 除される。
また、 上述の目的を達成するために、 この発明によるパーソナルコン ピュー夕組込み型数値制御装置は、 パーソナルコンピュータが組み込ま れ、 加工プログラムを実行する数値制御装置部と、 前記加工プログラム の編集や前記数値制御装置部による数値制御動作をモニタするパーソナ ルコンピュータ部とを有するパーソナルコンピュータ組込み型数値制御 装置において、 数値制御装置部に設けられ、 画面表示で必要になるパラ メータ等の数値制御装置部のデータを格納する画面データメモリと、 パ 一ソナルコンピュータ部に設けられ、 数値制御装置部のデータを画面単 位で一括して登録するリクエストを数値制御装置部に通知する画面デー 夕登録手段と、 パーソナルコンピュータ部に設けられ、 画面選択時に指 定された画面データを一括して読み出すリクエストを数値制御装置部に 通知し、 数値制御装置部よりの画面データを一括して読み取る画面デー 夕一括読出し手段と、 数値制御装置部に設けられ、 画面データ登録手段 からのリクエストにより各画面の表示で必要になるパラメ一夕等のデ一 夕を前記画面データメモリに格納し、 前記画面データー括読出し手段か らのリクエストにより前記画面デ一夕メモリよりデータを読み出し、 そ のデータを一括して前記画面データー括読出し手段に渡す画面データ登 録手段とを有し、 パーソナルコンピュータ部は前記一括読出し手段に渡 されたデ一夕を画面表示する処理を行うものである。
この発明によるパーソナルコンピュータ組込み型数値制御装置では、 画面デ一夕登録手段による画面データ登録のリクエストにより、 画面デ 一夕登録手段が各画面の表示で必要になるパラメ一夕等のデータを画面 デ一夕メモリに格納し、 画面データー括読出し手段が画面選択時に指定 されたデータを一括して読み出すリクエストを数値制御装置部に通知す ることにより、 画面データメモリのデータを一括して読み取り、 このデ 一夕を画面表示する。 図面の簡単な説明
第 1図は、 この発明によるパーソナルコンピュータ組込み型数値制御 装置の実施の形態 1を示すブロック線図である。
第 2図は、 画面管理テーブルの一例を示す説明図である。
第 3図は、 この発明によるパーソナルコンピュータ組込み型数値制御 装置における画面遷移処理のためのファイル構成を示す説明図である。 第 4図は、 画面表示処理用の D L Lの詳細を示す説明図である。
第 5図は、 画面遷移用のアプリケーションプログラムの起動時処理を 示すフローチヤ一トである。
第 6図は、 画面遷移の手順を示すフローチャートである。
第 7図は、 この発明によるパーソナルコンピュータ組込み型数値制御 装置の実施の形態 2を示すブロック線図である。
第 8図は、 画面データの読み出し例を示す説明図である。
第 9図は、 モーダルデ一夕一括登録のプロセスフローを示す説明図で ある。
第 1 0図は、 画面データ登録の電源投入時の処理フローを示すフロー チヤ一卜である。
第 1 1図は、 画面選択時の画面データ読み出しルーチンを示すフロー チヤ一トである。
第 1 2図は、 画面データの登録例を示す説明図である。
第 1 3図は、 画面表示例を示す説明図である。
第 1 4図は、 従来のパーソナルコンピュータ組込み型数値制御装置を 示すブロック線図である。
第 1 5図は、 従来のパーソナルコンピュータ組込み型数値制御装置に おける画面遷移処理のためのファイル構成図である。 発明を実施するための最良の形態
以下に添付の第 1図〜第 1 3図を参照してこの発明に係るパーソナル コンピュータ組込み型数値制御装置およびパーソナルコンピュータ組込 み型数値制御装置における画面遷移方法の実施の形態を詳細に説明する。 なお、 以下に説明するこの発明の実施の形態において上述の従来例と同 一構成の部分は、 上述の従来例に付した符号と同一の符号を付してその 説明を省略する。
(実施の形態 1 )
第 1図はこの発明によるパーソナルコンピュータ組込み型数値制御装 置の実施の形態 1を示している。 なお、 このパーソナルコンピュータ組 込み型数値制御装置の P C部 2 0 0のオペレーティングシステムは、 マ イクロソフト社の "W i n d ow s " であり、 これより以降の説明では、 マイクロソフト社の "V i s u a l C+ + " 、 "MF C (M i c r o s o f t F o u n d a t i o n C l a s s L i b r a r y) , 'W i n d ow s " で使用する用語、 名称を使用することがある。
実施の形態 1によるパーソナルコンピュータ組込み型数値制御装置は、 P C部 2 0 0の画面表示部 2 6 0が、 実行モジュールによるメイン処理 部 2 6 1以外に、 一つの実行モジュールである画面制御手段 2 6 2と、 ライブラリによる複数個の画面処理手段 2 6 3とを有している。 また P C部 2 0 0には、 RAMなどによる画面管理テーブル 2 7 0が設けられ ている。
画面処理手段 2 6 3は、 各画面毎に設けられたライブラリ、 詳細には "W i n d ow s " で使用する D L L (ダイナミック · リンク ' ライブ ラリ) であり、 各画面の表示内容および N C部 1 0が使用するデータの 設定管理の内容を定義する各画面毎の独自処理部と画面遷移のための共 通処理部とを含んでいる。
画面制御手段 2 6 2は、 それぞれ画面表示処理用 D L L (画面処理ラ イブラリ) としてファイル形式でハードディスク記憶装置 1 0 0に格納 され、 画面制御手段 2 6 2の起動によりオペレーティングシステム、 こ こでは "W i n d o w s " が管理するメモリ上にすべて読み出される。 画面管理テーブル 2 7 0は、 画面制御手段 2 6 2の起動時に初期化さ れ、 メモリ上に読出し (登録) されたすべての画面処理手段 2 6 3の所 在を識別コード (モジュールハンドル) で管理する。
画面管理テーブル 2 7 0は、 第 2図に例示されているように、 マトリ ックス構造をなし、 行数と列数とによるモジュールハンドルにより画面 処理手段 2 6 3を識別する。 画面管理テ一ブル 2 7 0の各セルにはモジ ユールハンドルに加えて画面情報フラグが記述される。
画面情報フラグは、 メインウィンドウ画面とサブウインドウ画面のい ずれかを指定するものであり、 メインウィンドウ画面として登録された 画面は、 常に 1画面しか表示されず、 画面遷移関数が呼び出されると、 指定されたウインドウを表示すると共に自動的に直前のウインドウを閉 じる。 これに対しサブウィンドウ画面として登録された画面では、 画面 遷移関数が呼び出されると、 表示中のウィンドウを閉じることなく指定 されたウィンドウを新たに表示する。
画面制御手段 2 6 2は、 画面遷移実行ファイル (アプリケーションプ ログラム) により構成され、 起動中はデ一夕入力部 1 1 2などより画面 遷移リクエストを受け付け、 画面遷移リクエス卜によって指定された識 別コードに対応する画面処理手段 2 6 3を画面管理テーブル 2 7 0によ つて選定し、 選定された画面処理手段 2 6 3による画面遷移の実行を指 示する。 ここで、 上述の構成による P c組込み型数値制御装置における画面遷 移方法は、 各画面の表示内容および NC部が使用するデータの設定管理 の内容を定義する各画面毎の独自処理部と画面遷移のための共通処理部 とを含む画面処理ライブラリ (画面処理手段 2 6 3 ) を各画面毎に登録 し、 画面遷移実行プログラム (画面制御手段 2 62 ) の起動時に、 登録 されている画面処理ライブラリ (画面表示処理用 DL L) の全てをオペ レーティングシステムが管理するメモリ上に読み出し、 その各画面処理 ライブラリの所在を画面管理テーブル 2 7 0によって個別の識別コード で管理し、 画面遷移実行ファイルの起動下で、 画面遷移リクエストを受 付けてその画面遷移リクエス卜によって指定された識別コードに対応す る画面処理ライブラリを画面管理テーブル 2 70のデータ (モジュール ハンドル) より選定し、 選定された画面処理ライブラリによる画面遷移 を実行する。
第 3図はこの発明による P C組込み型数値制御装置における画面遷移 処理のためのファイル構成を示している。 ここでは、 画面" と "〇〇〇画面" の二つの画面を表示する場合について説明する。 この例 では、 " * * *画面" 用の D L L " * * *画面. d 1 1 " と、 "〇〇〇 画面" 用の D L L "〇〇〇画面. d 1 ' と、 "MM Iアプリケーショ ン管理ライブラリ" と、 ユーザオプションの "ユーザ定義画面共通ライ ブラリ" と、 "MM Iアプリケーション ' メインモジュ一ル" とがある。 画面表示用のダイナミック · リンク · ライブラリである "* * *画面. d 1 1 " と、 "〇〇〇画面. d 1 1 " は、 画面処理手段 2 6 3に相当し、 各画面の表示内容および NC部 1 0が使用するデータの設定管理の内容 を定義する各画面毎の独自処理部として、 "CF o rmV i ew C 1 a s s " と、 "CD o c ume n t C l a s s " の関数を有し、 画面 遷移のための共通処理部として MM I共通 I ZF関数を有し、 共通の骨 格構造をなしている。
"C F o rmV i ew C l a s s " は、 コントロールをもつビュー で使用される基本クラスであり、 ダイアログエディ夕で作成されたダイ ァログボックスなどの表示内容 (レイアウト) を定義している。
"CD o c ume n t C 1 a s s " は、 ユーザ定義のドキュメントク ラスの基本的な機能を提供するものであり、 アプリケーションが使用す るデータ (ドキュメント) の新規作成、 読み込み、 保存のような標準的 な操作をサポー卜する。
"MM Iアプリケーション管理ライブラリ " は、 MM I, Ap p管理 関数と、 "C F r ameWn d C 1 a s s " の関数を有し、 画面管理 テーブル 2 7 0を定義する。
"CF r ameWn d C l a s s " は、 W i n d ow sの SD I ( s i n g l e d o c ume n t i n t e r f a c e) のォーノヾラップフ レームウインドウあるいはポップアップフレームウインドウの機能を、 ウィンドウを管理するメンバと共に提供するものであり、 ウィンドウの フレーム部分 (タイ トルバー、 システムメニュー、 最大化 Z最小化ポ夕 ン等) の制御機能を有している。
"MM Iアプリケーション · メインモジュール" は、 画面制御手段 2 62に相当し、 "CW i nAp p C 1 a s s " の関数を有している。
" C W i n A p p C l a s s " は W i n d owsアプリケーション オブジェク トを派生されるための基本クラスであり、 W i n d ow sァ プリケ一シヨンの初期化、 実行、 終了を行うためのメンバ関数を提供す る。
次に、 第 4図〜第 6図を参照して、 画面表示処理用の D L Lの詳細の 構成、 " MM Iアプリケーション · メインモジュール " の起動時処理, 画面遷移の手順について説明する。 第 4図の例では、 画面表示処理 D L Lとして、 "U s e r 1. d 1 1 " と、 "U s e r 2. d l l " とがあり、 これらは、 前述の "C F◦ r m V i ew C l a s s と、 CD o c ume n t C l a s s によ る各 DLL (画面) 独自の処理部と、 各 DL Lに共通の "D 1 1 M a i n" と、 "画面初期化処理" と、 "画面作成処理" と、 "画面終了処理" と、 "画面作成前処理" と云う関数を有している。
"画面初期化処理" は、 アプリケーション起動時、 即ち " MM Iアブ リケーシヨン ' メインモジュール" の起動時に、 "MM Iアプリケーシ ョン管理ライブラリ" の初期化関数から各画面の初期化処理を順次実行 する際に呼び出す関数であり、 各画面の初期化に必要な処理をこの関数 の中にプログラミングしておくことにより、 画面独自の初期化処理が起 動時に実行されることになる。
"画面作成処理" は、 画面遷移要求において、 " MM Iアプリケ―シ ヨン管理ライブラリ" に存在する後述の "画面表示要求処理" から呼び 出され、 遷移先の画面表示を行う。
"画面終了処理" は、 画面遷移要求において、 " MM Iアプリケーシ ヨン管理ライブラリ" に存在する後述の "画面消去要求処理" から呼び 出され、 現在表示中の画面、 即ち遷移元の画面表示を終了する操作を行 う。
"画面作成前処理" は、 "画面表示要求処理" の実行直後に呼び出さ れ、 画面世界を禁止する条件判定により、 「TRUE」 の場合には画面 作成処理を実行し、 「FAL S E」 の場合には、 画面作成処理を実行せ ずに処理を中断する。 なお、 画面遷移チェック関数は、 "ユーザ定義画 面共通ライブラリ" が存在すれば、 "ユーザ定義画面共通ライブラリ" で定義され、 "画面作成前処理" は "ユーザ定義画面共通ライブラリ" より画面遷移チェック関数を呼び出す。 "MM Iアプリケ―ション管理ライブラリ " は、 前述の "C F r am e Wn d C l a s s " と、 "画面表示要求処理" と、 "画面消去要求 処理" と云う関数を有している。
"画面表示要求処理" は、 画面遷移要求により画面管理テーブル番号 (識別コード) によって指定されたウィンドウを表示するために、 対応 する画面表示処理用の DL L、 換言すれば、 画面遷移先の画面表示処理 DL Lの "画面作成処理" を呼び出す。
この時、 "画面表示要求処理" の処理の先頭で W i n d o w s AP I の " S e t P r i o r t y C l a s s " を利用して画面遷移実行プログ ラムの処理の優先度を 「最優先」 に設定する。 なお、 W i n d ows A P I とは、 オペレーティングシステムである "W i n d ow s " によつ て提供される関数群の総称である。
そして "画面表示要求処理" の最後で W i n d ow s AP Iの " S e t P r i o r t y C l a s s " を利用して画面遷移実行プログラムの処 理の優先度を元の状態 「通常」 に設定する。
"画面消去要求処理" は、 画面遷移要求により画面管理テーブル番号 (識別コード) によって指定されたウィンドウを閉じるために、 対応す る画面表示処理用の D L L、 換言すれば、 画面遷移元の画面表示処理 D ししの "画面終了処理" を呼び出す。
この時、 "画面消去要求処理" の処理の先頭で W i n d o w s A P I の " S e t P r i o r t y C l a s s " を利用して画面遷移実行プログ ラムの処理の優先度を 「最優先」 に設定する。
そして "画面消去要求処理" の最後で W i n d ow s AP Iの " S e t P r i o r t y C l a s s " を利用して画面遷移実行プログラムの処 理の優先度を元の状態 「通常」 に設定する。
次に、 第 5図を参照して " M M Iアプリケーション · メインモジュ— ル" の起動時処理ルーチンついて説明する。
まず、 "MM Iアプリケーション管理ライブラリ" を読み込み (ステ ップ S 1 0) 、 "MM I アプリケーション管理ライブラリ" の初期化処 理を呼び出す (ステップ S 2 0) 。 これにより、 タイ トル画面の表示が 行われる (ステツプ S 3 0 ) 。
また、 "MM Iアプリケーション管理ライブラリ" の初期化処理の呼 び出しと同時に、 "MM I アプリケーション管理ライブラリ初期化処理" のル一チンで、 "画面管理テーブル定義ファイル" をもとに画面管理テ 一ブル 2 7 0を初期化 ·作成する (ステップ S 40) 。
タイ トル画面の表示が数秒間行われることにより、 一定時間、 待つこ とが行われ (ステップ S 5 0) 、 この後に画面管理テーブル 2 7 0の画 面管理テーブル定義ファイルに最初の画面として指定されている画面を 表示する (ステップ S 6 0 ) 。
次に、 第 6図を参照して、 "U s e r 2. d l ' による画面表示か ら " U s e r 1. d 1 ' による画面表示の際の画面遷移処理について 説明する。
画面遷移要求により、 "MM I アプリケ—ション管理ライブラリ " の "画面表示要求処理" を呼び出す (ステップ S 1 0 0) , (第 4図の①) 。 次に "画面表示要求処理" の先頭で W i n d ow s AP Iの " S e t P r i o r t y C l a s s " を利用して画面遷移実行プログラムの処理 の優先度を 「最優先」 に設定する。
次に、 画面管理テーブルの情報をもとに、 遷移先の画面表示処理 DL しの "画面作成前処理" を呼び出す (ステップ S 1 1 0) , (第 4図の ②) 。
次に、 遷移先の画面表示処理 D Lしの "画面作成前処理" により画面 遷移前処理を行う (ステップ S 1 2 0) 。 これは、 画面遷移チェック関 数を呼び出し、 画面遷移を行う場合には戻り値を 「TRUE」 とし、 画 面遷移を行いたくない場合には戻り値を 「FAL S E」 として、 "MM Iアプリケーション管理ライブラリ" に返す。
次に、 "MM Iアプリケ―ション管理ライブラリ " で戻り値の判定を 行う (ステップ S 1 30) 。 戻り値が 「F AL S E」 であれば、 画面遷 移処理をすぐに終了し、 戻り値が 「TRUE」 であれば、 画面管理テー ブルの情報をもとに、 遷移先の画面表示処理 DLLの "画面作成処理" を呼び出す (ステップ S 140) , (第 4図の③) 。
次に、 遷移先の画面表示処理 DL Lの "画面作成処理" によってウイ ンドウ表示を行う (ステップ S 1 5 0 ) 。
なお、 遷移先の画面表示処理 D L Lの属性がメインウインドウ画面で あれば、 遷移元 DLLの "画面終了処理" を呼び出し遷移先のウィンド ゥ表示を止める。
次に、 "画面表示要求処理" の最後で W i n d ows AP Iの " S e t P r i o r t y C l a s s " を利用して画面遷移実行プログラムの 処理の優先度を元の状態 「通常」 に設定する。
以上説明した画面遷移処理により、 画面遷移の都度、 アプリケーショ ンプログラムの起動、 終了が発生することがなく、 画面遷移の高速化が 図られる。
(実施の形態 2)
第 7図はこの発明によるパーソナルコンピュータ組込み型数値制御装 置の実施の形態 2を示している。 なお、 第 7図において、 第 1図に対応 する部分は第 1図に付した符号と同一の符号を付けてその説明を省略す る。
この実施の形態では、 P C部 20 0の画面表示処理部 260に、 即ち 実施の態様 1で説明したものに、 モーダルデーター括登録手段 2 64と、 モーダルデーター括解除手段 2 6 5と、 画面データ登録手段 2 6 6と、 画面データー括読出し手段 2 6 7とが追加されている。
また、 NC部 1 0の P Cイン夕フエ一ス部 2 0には、 モーダル情報管 理手段 2 1と、 画面データ管理手段 2 2とが設けられ、 デュアルポート RAM (N C部 1 0と P C部 2 0 0とが共にアクセス可能な共用メモ リ) 5 0にはモーダル情報テーブル 5 1が画定されている。 また、 NC 部 1 0には画面表示で必要になるパラメ一夕等の NC部のデータを格納 する画面デ一夕メモリ 3 0が設けられている。
モーダルデーター括登録手段 2 64は、 座標値、 移動速度、 回転数、 等の NC部 1 0で常時〜周期的に更新されるデータを画面単位で一括し て登録するリクエストを、 デュアルポート RAM 5 0を介して NC部 1 0に対して通知する。
モーダルデ一夕一括解除手段 2 6 5は、 モーダルデーター括登録手段 2 54により登録されたデータを画面単位で一括解除するリクエストを、 デュアルポート RAM 5 0を介して NC部 1 0に対して通知する。
NC部 1 0のモーダル情報管理手段 2 1は、 モーダルデーター括登録 手段 2 64からのリクエス卜により常時〜周期的更新のデータを画面単 位で収集し、 このデータをデュアルポ一ト RAM 5 0のモーダル情報テ 一ブル 5 1にセットし、 また、 モーダルデーター括解除手段 2 6 5から のリクエストによりデュアルポート RAM 5 0のモーダル情報テーブル 5 1にセッ 卜されたデータを一括削除する。
このようにしてデュアルポ一ト RAM 5 0のモ一ダル情報テーブル 5 1にセッ卜にセッ卜されたデータは、 任意の時点において画面単位で一 括して画面表示される。 これによりモーダルデータの画面表示が応答性 よく高速に行われるようになる。
画面デ一夕登録手段 2 6 6は、 NC部 1 0のデ一夕を画面単位で一括 して登録するリクエストを NC部に通知する。
画面データー括読出し手段 2 6 7は、 画面選択時に指定された画面デ 一夕を一括して読み出すリクエストをデュアルポート RAM 50を介し て NC部 1 0に対して通知し、 NC部 1 0よりの画面データを一括して 読み取る。
NC部に設けられた画面デ一夕管理手段 22は、 画面データ登録手段 26 6からのリクエストにより各画面の表示で必要になるパラメ一夕等 のデータを画面データメモリ 30に格納し、 画面デ一夕一括読出し手段 26 7からのリクエストにより画面デ一夕メモリ 30よりデータを読出 し、 そのデータを一括して画面データー括読出し手段 2 6 7に渡す。 また、 画面データ管理手段 2 2は、 操作パネル 1 1 0のキー入力等で パラメ一夕等の画面データに関するメモリ 1 2の内容が変更された場合、 画面データメモリ 30にも変更内容を反映させる。
このようにして画面データー括読出し手段 267に渡されたデータは 任意の時点での画面データ表示において画面単位で一括して画面表示さ れる。
これにより画面データの画面表示が応答性よく高速に行われるように なる。
次に、 第 9図に示されているプロセスフロー図とを参照してモーダル データー括登録 ·解除の処理手順を説明する。
1. モーダルデーター括登録 (E x R e g i s t e r Mo d a l )
( 1 ) アプリケーションより、 データ高速読み出しを行う登録デ一 夕と、 その登録個数を入力デ一夕とし、 E x R e g i s t e r Mo d a 1をコールする。
(2) 登録データをシフト B C Dコードに変換して W r i t e D a t aをコールする。 (3) Wr i t e D a t aは E x R e g i s t e r Mo d a lより 送られてきたデータに、 コマンド I Dを付加して通信タスクへ送る。
(4) デュアルポート RAM ( 2ポート RAM) 50上の要求メッ セージ領域に要求メッセージを書き込む。
(5) 登録デ一夕の書き込みが正常に終了した場合、 コマンド I D と完了 I Dが返ってくる。 失敗した場合は、 コマンド I Dとエラ一ステ 一タスが返ってくる。
(6) 通信タスクをコールした W r i t e D a t aに対し、 登録 I Dを返す。
( 7 ) W r i t e D a t aをコールした E x R e g i s t e r Mo d a 1 に対し登録 I Dを返す。 エラーステータスが返ってきた場合には、 E x R e g i s t e rMo d a lは処理を終了する。
(8) 登録 I Dを小区分番号にセッ トし、 R e a dD a t aをコ一 ルする。
(9) R e a dD a t aは E x R e g i s t e rMo d a lより送 られてきたデータに、 コマンド I Dを付加して通信タスクへ送る。
( 1 0) デュアルポ一卜 RAM 3 0上の要求メッセージ領域に要求 メッセージを書き込む。
( 1 1 ) 登録結果の読み込みが正常に終了した場合、 コマンド I D と完了 I D、 登録結果が返ってくる。 失敗した場合には、 コマンド I D とエラ一ステータスが返ってくる。
( 1 2) 通信タスクをコールした R e a d D a t aに対し、 完了 I Dと登録結果を返す。
( 1 3) R e a d D a t aをコールした E x R e g i s t e r Mo d a 1に対し完了 I Dと登録結果を返す。 エラ一ステータスが返ってき た場合には、 E xR e g i s t e r Mo d a lは処理を終了する。 ( 1 4) 登録結果 (シフト BCDコード) を変換した結果と、 登録 できなかったデ一夕の個数をアプリケーションへ返す。
2. モーダルデーター括解除 (E x C a n c e l Mo d a l )
( 1 ) モーダルデーター括解除では、 上述の(1)の登録データの代わ りに登録 I Dを入力デ一夕とし、 E X C a n c e 1 M o d a 1をコール する。
(, 2 ) E x C a n c e l Mo d a lは、 E xR e g i s t e r Mo d a 1 と同様に、 登録 I Dをシフト B CDコードに変換して、 Wr i t e D a t aをコールする。 このとき、 大区分番号には [ 9 000 0 00 00 ] がセットされる。
( 3 ) ( 3 ) 以降の処理は、 E x R e g i s t e r Mo d a l と同 処理である。
(4) ( 1 1 ) 以降の NC部からの出力デ一夕は登録解除結果とな る。 よって、 ( 14) に出力されるデータも登録解除結果が出力される。 第 1 0図は、 NC部 1 0における画面データ登録の電源投入時の処理 フローを示している。
まず、 画面情報テーブル 2 7 1の初期化後、 各画面毎に画面情報テー ブル 2 7 1に設定されている最初の画面情報テーブル 2、 即ち第 1画面 情報テーブル 2 7 1を選択する (ステップ S 2 00 ) 。 該画面情報テ一 ブル 2 7 1には、 各画面で表示されるパラメ一夕の識別子に相当する大 区分番号、 小区分番号が登録されている。 次に、 すべての画面情報テー ブル 2 7 1を選択したかを確認し (ステップ S 2 1 0) 、 選択された画 面情報テーブル 2 7 1に登録されている大区分番号、 小区分番号をテン ポラリイテーブルにセッ トする (ステップ S 220 ) 。
次に、 第 1 2図に示したように、 画面 I Dを付け、 制御テーブルのリ クェストデータに登録を示す 「 1」 を設定して、 画面データ登録要求を 行う (ステップ S 2 3 0 ) 。
次に、 N C部 1 0の画面データ管理手段 2 2で大区分、 小区分番号を 解析して画面データメモリ 3 0に画面データの登録を行い、 完了通知を P C部 2 0 0に返す (ステップ S 2 4 0 ) 。 登録が正常に終了すれば、 即ち、第 1 2図の制御テーブルのステータスデータが「 0」であれば(ス テツプ S 2 5 0肯定) 、 次の画面情報テーブル 2 7 1を指定し (ステツ プ S 2 6 0 ) 、 ステップ S 2 1 0に戻り、 すべての画面情報テーブル 2 7 1を指定するまで、 ステップ S 2 2 0〜ステップ S 2 6 0の処理を繰 り返す。
登録が正常に終了しない場合には、 即ち、 第 1 2図の制御テーブルの ステータスデータが 「0」 以外であれば (ステップ S 2 5 0否定) 、 画 面データ登録を中止してエラー処理 (エラー表示) を行い (ステップ S 2 7 0 ) 、 画面デ一夕登録ルーチンを終了する。
第 1 1図は、 画面選択時の画面データ読み出しルーチンを示している。 画面データ読み出しでは、 画面デ一夕一括読み出し手段 2 6 7にて、 ま ず画面デ一夕登録時に使用した画面 I Dをセットし、 第 8図に示した制 御テーブルに読み出しを示す 「2」 を設定し、 デュアルポート R A M 5 0を介して N C部 1 0の画面データ管理手段 2 2に画面データの読み出 し要求を行う (ステップ S 3 0 0 ) 。
次に、 画面データ管理手段 2 2は、 画面 I Dに対応する画面データを 一括して読み出して、 デュアルポ一ト R A M 3 0を介して画面データー 括読み出し手段 2 6 7に通知する (ステップ S 3 1 0 ) 。
なお、 第 1 2図は画面データの登録例を、 第 1 3図は画面表示例をそ れぞれ示している。
以上の説明から理解される如く、 この発明によるパーソナルコンビュ 一夕組込み型数値制御装置における画面遷移方法によれば、 複数個の画 面処理ライブラリと一つの画面遷移実行ファイルにより、 画面遷移の度 にアプリケーションプログラムを起動、 終了することなく、 高速度な画 面遷移が行われるようになる。
次の発明によるパーソナルコンピュータ組込み型数値制御装置によれ ば、 各画面毎に一つのライブラリとして画面処理手段が登録され、 画面 制御手段が画面遷移リクエストによって指定された識別コードに対応す る画面処理手段を画面管理テーブルによって選定し、 選定された画面処 理手段による画面遷移の実行を指示するから、 複数個の画面処理手段と 一つの画面制御手段により、 画面遷移の度にアプリケ一シヨンプロダラ ムを起動、 終了することなく、 高速度な画面遷移が行われるようになる。 次の発明によるパーソナルコンピュータ組込み型数値制御装置によれ ば、 画面制御手段の起動の度に画面管理テーブルが初期化、 または再構 築されるから、 画面処理手段が変更されても、 障害を生じることなく、 高速度な画面遷移が行われるようになる。
次の発明によるパーソナルコンピュータ組込み型数値制御装置によれ ば、 モーダルデーター括登録手段からのデーター括登録のリクエストに より常時〜周期的更新のデータがモーダル情報管理手段によって画面単 位で共用メモリのモーダル情報テーブルにセッ 卜され、 P C部が共用メ モリのモーダル情報テーブルにセッ トされたデ一夕を画面単位で読み取 り、 画面表示するから各画面毎のモーダルデータ表示が応答性よく、 迅 速に行われるようになる。
この発明によるパーソナルコンピュー夕組込み型数値制御装置によれ ば、 モーダルデーター括解除手段からのデーター括解除のリクェストに より共用メモリのモーダル情報テ一ブルにセッ 卜されているデ一夕が一 括削除されるから、 各画面毎の不要なモーダルデ一夕表示の解除が迅速 に行われるようになる。 次の発明によるパーソナルコンピュータ組込み型数値制御装置によれ ば、 画面データ登録手段による画面デ一夕登録のリクエストにより、 画 面デ一夕登録手段が各画面の表示で必要になるパラメ一夕等のデ一夕を 画面データメモリに格納し、 画面データー括読出し手段が画面選択時に 指定されたデータを一括して読み出すリクエストを N C部に通知するこ とにより、 画面データメモリのデータを一括して読み取り、 このデータ を画面表示するから、 各画面毎のデ一夕表示が迅速に行われるようにな る。
産業上の利用可能性
以上のように本発明は、 パーソナルコンピュータ組込み型数値制御装 置おいて用いられるのに適している。

Claims

請 求 の 範 囲
1 . パーソナルコンピュータが組み込まれ、 加工プログラムを実行する 数値制御装置部と、 前記加工プログラムの編集や前記数値制御装置部に よる数値制御動作をモニタするパーソナルコンピュータ部とを有するパ 一ソナルコンピュータ組込み型数値制御装置における画面遷移方法にお いて、
各画面の表示内容および数値制御装置部が使用するデ一夕の設定管理 の内容を定義する各画面毎の独自処理部と画面遷移のための共通処理部 とを含む画面処理ライブラリを各画面毎に登録し、 画面遷移実行プログ ラムの起動時に、 登録されている画面処理ライブラリの全てをオペレー ティングシステムが管理するメモリ上に読出し、 その各画面処理ライブ ラリの所在を画面管理テーブルによって個別の識別コードで管理し、 前 記画面遷移実行プログラムの起動下で、 画面遷移リクエストを受付けて その画面遷移リクエス卜によって指定された識別コードに対応する画面 処理ライブラリを前記画面管理テーブルのデータより選定し、 選定され た画面処理ライブラリによる画面遷移を実行することを特徴とするパー ソナルコンピュータ組込み型数値制御装置における画面遷移方法。
2 . パーソナルコンピュータが組み込まれ、 加工プログラムを実行する 数値制御装置部と、 前記加工プログラムの編集や前記数値制御装置部に よる数値制御動作をモニタするパーソナルコンピュータ部とを有するパ 一ソナルコンピュータ組込み型数値制御装置において、
各画面の表示内容および数値制御装置部が使用するデータの設定管理 の内容を定義する各画面毎の独自処理部と画面遷移のための共通処理部 とを含み各画面毎に一つのライブラリとして登録された各画面毎の複数 個の画面処理手段と、
登録された前記画面処理手段の所在を識別コードで管理する画面管理 テーブルと、
画面遷移リクエストによって指定された識別コードに対応する画面処 理手段を前記画面管理テーブルによって選定し、 選定された画面処理手 段による画面遷移の実行を指示する画面制御手段と、
を有していることを特徴とするパーソナルコンピュータ組込み型数値 制御装置。
3 . 前記画面制御手段は起動時に前記画面管理テーブルを初期化するこ とを特徴とする請求の範囲第 2項に記載のパーソナルコンピュータ組込 み型数値制御装置。
4 . 前記画面遷移処理手段は、 画面遷移時に画面遷移実行プログラムの 処理優先度を画面遷移中に限って最優先とする機能を有することを特徴 とする請求の範囲第 2項に記載のパーソナルコンピュータ組込み型数値 制御装置。
5 . パーソナルコンピュータが組み込まれ、 加工プログラムを実行する 数値制御装置部と、 前記加工プログラムの編集や前記数値制御装置部に よる数値制御動作をモニタするパーソナルコンピュータ部とを有するパ 一ソナルコンピュータ組込み型数値制御装置において、
数値制御装置部とパーソナルコンピュータ部とが共にアクセス可能で、 モーダル情報テーブルを画定された共用メモリと、
パーソナルコンピュータ部に設けられ、 座標値等、 数値制御装置部で 常時〜周期的に更新されるデータを画面単位で一括して登録するリクェ ストを数値制御装置部に対して通知するモーダルデーター括登録手段と、 数値制御装置部に設けられ、 前記モーダルデーター括登録手段からの リクエストにより常時〜周期的更新の画面単位のデータを収集し、 当該 データを前記共用メモリのモーダル情報テーブルにセッ 卜するモーダル 情報管理手段とを有し、
パーソナルコンピュータ部は共用メモリのモーダル情報テーブルにセ ッ 卜されたデータを画面単位で読み取り、 画面表示する処理を行うこと を特徴とするパーソナルコンピュータ組込み型数値制御装置。
6 . 前記モーダルデーター括登録手段により登録されたデータを画面単 位で一括解除するリクエストを数値制御装置部に対して通知するモーダ ルデーター括解除手段を有し、 前記モーダル情報管理手段は前記モーダルデ一夕一括解除手段からの リクエストにより共用メモリのモーダル情報テーブルにセッ 卜されたデ 一夕を一括削除することを特徴とする請求の範囲第 5項に記載のパーソ ナルコンピュータ組込み型数値制御装置。
7 . パーソナルコンピュータが組み込まれ、 加工プログラムを実行する 数値制御装置部と、 前記加工プログラムの編集や前記数値制御装置部に よる数値制御動作をモニタするパーソナルコンピュータ部とを有するパ 一ソナルコンピュータ組込み型数値制御装置において、
数値制御装置部に設けられ、 画面表示で必要になるパラメ一夕等の数 値制御装置部のデ一夕を格納する画面データメモリと、
パーソナルコンピュータ部に設けられ、 数値制御装置部のデータを画 面単位で一括して登録するリクエストを N C部に通知する画面データ登 録手段と、
パーソナルコンピュータ部に設けられ、 画面選択時に指定された画面 データを一括して読み出すリクエストを数値制御装置部に通知し、 数値 制御装置部よりの画面データを一括して読み取る画面データー括読出し 手段と、
数値制御装置部に設けられ、 画面データ登録手段からのリクエス卜に より各画面の表示で必要になるパラメ一夕等のデータを前記画面データ メモリに格納し、 前記画面データー括読出し手段からのリクエス卜によ り前記画面データメモリよりデータを読み出し、 そのデータを一括して 前記画面データー括読出し手段に渡す画面データ管理手段とを有し、 パーソナルコンピュータ部は前記一括読出し手段に渡されたデータを 画面表示する処理を行うことを特徴とするパーソナルコンピュータ組込 み型数値制御装置。
PCT/JP1998/000069 1997-02-19 1998-01-12 Personal computer-incorporated numerical control apparatus, and image transfer method for personal computer-incorporated numerical control apparatuses Ceased WO1998037467A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP53647498A JP3662594B2 (ja) 1997-02-19 1998-01-12 パーソナルコンピュータ組込み型数値制御装置
US09/367,663 US6445973B1 (en) 1997-02-19 1998-01-12 Personal computer-incorporated numerical control apparatus, and image transfer method for personal computer-incorporated numerical control apparatuses

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP9/35336 1997-02-19
JP3533697 1997-02-19

Publications (1)

Publication Number Publication Date
WO1998037467A1 true WO1998037467A1 (en) 1998-08-27

Family

ID=12439008

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1998/000069 Ceased WO1998037467A1 (en) 1997-02-19 1998-01-12 Personal computer-incorporated numerical control apparatus, and image transfer method for personal computer-incorporated numerical control apparatuses

Country Status (4)

Country Link
US (1) US6445973B1 (ja)
JP (1) JP3662594B2 (ja)
TW (1) TW468100B (ja)
WO (1) WO1998037467A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003533810A (ja) * 2000-05-16 2003-11-11 ブリガム・ヤング・ユニバーシティ 機械加工データの直接転送を用いた工作機械の制御方法及びシステム

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1467272A1 (en) * 1998-12-25 2004-10-13 Yamazaki Mazak Kabushiki Kaisha Parts classification unit
JP4398044B2 (ja) * 2000-02-03 2010-01-13 東芝機械株式会社 工作機械の数値制御装置および制御方法
US7117371B1 (en) 2000-06-28 2006-10-03 Microsoft Corporation Shared names
US7124408B1 (en) * 2000-06-28 2006-10-17 Microsoft Corporation Binding by hash
US20020173860A1 (en) * 2001-05-15 2002-11-21 Bruce Charles W. Integrated control system
WO2003096596A2 (en) * 2002-05-13 2003-11-20 Robotic Cranes, Lp Equipment control system and methods for its use
KR100471253B1 (ko) * 2002-08-23 2005-03-08 현대자동차주식회사 공작기계용 수치 제어기의 내부 데이터 표시장치 및 내부데이터 표시방법
KR100630104B1 (ko) * 2004-02-10 2006-09-27 삼성전자주식회사 모바일 컴퓨팅 시스템의 다중 윈도우 환경 시스템 및 방법
JP5921165B2 (ja) * 2011-11-29 2016-05-24 キヤノン株式会社 印刷システム、中継サーバ、印刷システムの制御方法、およびコンピュータプログラム
BR112015025405A2 (pt) * 2013-04-08 2017-07-18 Mitsubishi Electric Corp aparelho de controle numérico
TWI590092B (zh) * 2015-11-30 2017-07-01 Chunghwa Telecom Co Ltd Authentication code generation system and method using virtual reality
JP6621962B2 (ja) * 2017-03-21 2019-12-18 三菱電機株式会社 監視画面データ生成装置、監視画面データ生成方法、および監視画面データ生成プログラム

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256006A (ja) * 1986-04-30 1987-11-07 Mitsubishi Electric Corp 数値制御装置
JPH0527819A (ja) * 1991-07-19 1993-02-05 Fanuc Ltd 数値制御装置の画面表示装置
JPH06332521A (ja) * 1993-05-25 1994-12-02 Okuma Mach Works Ltd マルチウインドウ表示機能を有する数値制御装置
JPH0816223A (ja) * 1994-07-01 1996-01-19 Fanuc Ltd 画面切替え方式
JPH08115115A (ja) * 1994-10-17 1996-05-07 Mitsubishi Electric Corp 位置決め装置および位置決め装置のモニタ方法
JPH09120352A (ja) * 1995-10-25 1997-05-06 Fanuc Ltd マルチウィンドウシステム

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6275585A (ja) 1985-09-30 1987-04-07 株式会社日立製作所 画像表示装置
JPS63131225A (ja) 1986-11-21 1988-06-03 Fanuc Ltd マルチウインドウ画像表示方法
JPH03231305A (ja) 1990-02-07 1991-10-15 Mitsubishi Electric Corp 産業用機械の制御装置
JPH0465711A (ja) 1990-07-05 1992-03-02 Nippon Avionics Co Ltd 表示装置の表示制御方式
JPH04114231A (ja) 1990-09-05 1992-04-15 Canon Inc 情報処理装置
JPH04235591A (ja) 1991-01-10 1992-08-24 Toshiba Corp 表示制御システム
JPH06242913A (ja) 1993-02-17 1994-09-02 Toshiba Medical Eng Co Ltd マルチウインドウにノードをもたせた表示装置
JPH07104984A (ja) 1993-10-08 1995-04-21 Fuji Electric Co Ltd ウィンドウ制御方式
JP3231305B2 (ja) 1994-08-24 2001-11-19 シャープ株式会社 アクティブマトリクス基板の製造方法
JPH08335106A (ja) 1995-06-06 1996-12-17 Okuma Mach Works Ltd マルチウインドウ表示機能を有する数値制御装置
US6101425A (en) * 1997-11-26 2000-08-08 Allen-Bradley Company, Llc Multiple connection networked man-machine interfaces for computer numerical controls

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256006A (ja) * 1986-04-30 1987-11-07 Mitsubishi Electric Corp 数値制御装置
JPH0527819A (ja) * 1991-07-19 1993-02-05 Fanuc Ltd 数値制御装置の画面表示装置
JPH06332521A (ja) * 1993-05-25 1994-12-02 Okuma Mach Works Ltd マルチウインドウ表示機能を有する数値制御装置
JPH0816223A (ja) * 1994-07-01 1996-01-19 Fanuc Ltd 画面切替え方式
JPH08115115A (ja) * 1994-10-17 1996-05-07 Mitsubishi Electric Corp 位置決め装置および位置決め装置のモニタ方法
JPH09120352A (ja) * 1995-10-25 1997-05-06 Fanuc Ltd マルチウィンドウシステム

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003533810A (ja) * 2000-05-16 2003-11-11 ブリガム・ヤング・ユニバーシティ 機械加工データの直接転送を用いた工作機械の制御方法及びシステム
EP1290517A4 (en) * 2000-05-16 2004-04-21 Univ Brigham Young METHOD AND DEVICE FOR CONTROLLING A MACHINE TOOL WITH DIRECT TRANSMISSION OF MACHINING DATA
US7283888B2 (en) 2000-05-16 2007-10-16 Brigham Young University Method and system for controlling a machine tool with direct transfer of machining data
CN100368950C (zh) * 2000-05-16 2008-02-13 杨伯翰大学 通过直接传送加工数据控制机床的方法和系统

Also Published As

Publication number Publication date
TW468100B (en) 2001-12-11
JP3662594B2 (ja) 2005-06-22
US6445973B1 (en) 2002-09-03

Similar Documents

Publication Publication Date Title
WO1998037467A1 (en) Personal computer-incorporated numerical control apparatus, and image transfer method for personal computer-incorporated numerical control apparatuses
JP3476484B2 (ja) 制御装置における操作履歴表示装置
JP4485326B2 (ja) プログラマブル表示器、表示制御プログラムおよびそのプログラムを記録した記録媒体
JPWO1998037467A1 (ja) パーソナルコンピュータ組込み型数値制御装置およびパーソナルコンピュータ組込み型数値制御装置における画面遷移方法
US20010027387A1 (en) Debugging supporting apparatus, debugging supporting method and recording medium readable by computer with its programs recorded thereon
JPH0766334B2 (ja) 画像表示装置
JP4122725B2 (ja) リアルタイム制御システム
JP2003076543A (ja) プログラム生成装置、プログラム生成方法およびその方法をコンピュータに実行させるプログラム
JPH0686580A (ja) サーボ波形表示方式
JP2021039568A (ja) 情報処理システム、プログラマブル表示器および情報処理装置
JPH0962324A (ja) 数値制御システム
JPS60134282A (ja) システム画面表示方式
JPH10289011A (ja) 数値制御装置及び数値制御装置におけるバックグラウンド処理のカスタマイズ方法
JP3129889B2 (ja) 数値制御装置
JPH1021191A (ja) 情報処理装置のコマンド履歴管理装置
JP2921899B2 (ja) 印字動作制御装置
JPH01236309A (ja) 数値制御装置の表示装置
JPH08272405A (ja) シーケンス制御装置
JPH04220716A (ja) ウィンドウ表示方式
JPH0619659A (ja) オンラインヘルプシステム
JPS60101612A (ja) プログラマブルコントロ−ラ
JPS59119413A (ja) プログラマブルコントロ−ラ
JPH07230307A (ja) シーケンサのプログラム開発装置
JP2001022411A (ja) プログラマブルコントローラ及びそのプログラム設定装置並びにそのプログラムを記録した記録媒体
JPH04295905A (ja) プラント監視制御装置

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): DE GB JP KR US

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
WWE Wipo information: entry into national phase

Ref document number: 09367663

Country of ref document: US

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642