CN109948251A - Data processing method, device, equipment and storage medium based on CAD - Google Patents

Data processing method, device, equipment and storage medium based on CAD Download PDF

Info

Publication number
CN109948251A
CN109948251A CN201910212165.8A CN201910212165A CN109948251A CN 109948251 A CN109948251 A CN 109948251A CN 201910212165 A CN201910212165 A CN 201910212165A CN 109948251 A CN109948251 A CN 109948251A
Authority
CN
China
Prior art keywords
data
target
cad
variable
pending
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.)
Granted
Application number
CN201910212165.8A
Other languages
Chinese (zh)
Other versions
CN109948251B (en
Inventor
徐海栋
范晋
孙国春
夏志军
王静
丁承业
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.)
Rongzhi Industrial And Enterprise Intelligent Technology (kunshan) Co Ltd
Original Assignee
Rongzhi Industrial And Enterprise Intelligent Technology (kunshan) Co Ltd
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 Rongzhi Industrial And Enterprise Intelligent Technology (kunshan) Co Ltd filed Critical Rongzhi Industrial And Enterprise Intelligent Technology (kunshan) Co Ltd
Priority to CN201910212165.8A priority Critical patent/CN109948251B/en
Publication of CN109948251A publication Critical patent/CN109948251A/en
Application granted granted Critical
Publication of CN109948251B publication Critical patent/CN109948251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of data processing method based on CAD, device, equipment and storage mediums, transfer instruction this method comprises: receiving and carrying out the data that data are transferred to the target object in the layout created based on CAD;Instruction is transferred according to data and transfers pending data corresponding with target object, and target data is extracted from pending data according to the attribute information of pending data;Target data is exported.The technical solution of the embodiment of the present invention, it solves in the prior art when project is larger, there will be heavy workload, by manually come when modifying variable, just become time-consuming and laborious, the technical issues of lavishing labor on, it realizes during doing layout, by data corresponding with objective attribute target attribute storage into the data input block imported in advance, when needing data change, the content in corresponding position modification data input block is only needed, the workload of data input and modification is reduced, improves the technical effect for the treatment of effeciency.

Description

Data processing method, device, equipment and storage medium based on CAD
Technical field
The present embodiments relate to technical field of data processing more particularly to a kind of data processing methods based on CAD, dress It sets, equipment and storage medium.
Background technique
With automated manufacturing equipment development, the advantages that process centralization shortens process-cycle with it, is increasingly by manufacturing industry Value.The information such as common equipment track need special programmer to write or generate program such as generation by third party software Code imports, and the relevant information of distinct device is also required to the typing PLC argument table of related personnel, that is, establishes inside variable and PLC I/O relationship.
After establishing PLC argument table and establishing online connection with PLC, hardware configuration and program can be downloaded in PLC, The problems in user can carry out on-line debugging program, find and find programming.It can show that user's sense is emerging on argument table The variable of interest, it can be used for monitoring and modifying variate-value.
During specifically used, user is needed to input corresponding information, when running when the error occurs, needed artificial Variable is checked and modified, if project is huge, when there are thousands of a input and output, there will be heavy workload, pass through people Work when modifying variable, just becomes time-consuming and laborious, the technical issues of lavishing labor on.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method based on CAD, device, equipment and storage medium, to realize The workload for reducing data input and modification, improves the technical effect of processing data efficiency.
In a first aspect, the embodiment of the invention provides a kind of data processing methods based on CAD, this method comprises:
It receives the data transferred to the target object progress data in the layout created based on CAD and transfers instruction;
Transfer instruction according to the data and transfer pending data corresponding with the target object, and according to it is described to The attribute information of processing data extracts target data from the pending data;
The target data is exported.
Second aspect, the embodiment of the invention also provides a kind of data processing equipment based on CAD, which includes:
Data transfer module, carry out what data were transferred to the target object in the layout created based on CAD for receiving Data transfer instruction;
Extract target data module, for according to the data transfer instruction transfer it is corresponding with the target object to Data are handled, and target data is extracted from the pending data according to the attribute information of the pending data;
Data export module, for exporting the target data.
The third aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the data processing method based on CAD as described in the embodiment of the present invention is any.
Fourth aspect, it is described the embodiment of the invention also provides a kind of storage medium comprising computer executable instructions Computer executable instructions when being executed by computer processor for execute as described in the embodiment of the present invention is any based on CAD Data processing method.
The technical solution of the embodiment of the present invention, by receiving to target object data tune in the layout created based on CAD The instruction of the triggering taken transfers instruction according to data and transfers pending data corresponding with image to be processed, receives to being based on Target object in the layout of CAD creation carries out the data that data are transferred and transfers instruction;According to data transfer instruction transfer with The corresponding pending data of target object, and number of targets is extracted from pending data according to the attribute information of pending data According to, finally target data is exported, solves and needs that manually corresponding numerical value is input in PLC argument table in the prior art, If there is run-time error, it is also necessary to go to check and modify corresponding variate-value manually, when project is larger, will there is work Work amount is big, when modifying variable, just becomes time-consuming and laborious by manually, the technical issues of lavishing labor on, realizes and making cloth During office's figure, by data corresponding with objective attribute target attribute storage into the data input block imported in advance, when needing data When change, it is only necessary to which the content in corresponding position modification data input block reduces the work of data input and modification Amount improves the technical effect of processing data efficiency.
Detailed description of the invention
In order to more clearly illustrate the technical scheme of the exemplary embodiment of the present invention, below to required in description embodiment The attached drawing to be used does a simple introduction.Obviously, the attached drawing introduced is present invention a part of the embodiment to be described Attached drawing, rather than whole attached drawings without creative efforts, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow diagram of the data processing method based on CAD provided by the embodiment of the present invention one;
Fig. 2 is the flow diagram of the data processing method based on CAD provided by the embodiment of the present invention two;
Fig. 3 is the structural schematic diagram of the data processing equipment based on CAD provided by the embodiment of the present invention three;
Fig. 4 is a kind of structural schematic diagram of equipment provided by the embodiment of the present invention four.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of data processing method flow diagram based on CAD provided by the embodiment of the present invention one, this implementation Example is applicable to input required variable name and address of variable when PLC programming in advance in the data input block imported, and The situation being conducted into the argument table in programmable logic controller (PLC), this method can be filled by the data processing based on CAD It sets to execute, which can be realized by way of software and/or hardware.
As described in Figure 1, the method for the present embodiment includes:
S110, reception are carried out the data that data are transferred to the target object in the layout created based on CAD and transfer instruction.
Wherein, layout before programmable logic controller (PLC) programming in CAD it is to be understood that can make and project Corresponding layout.Target object can be understood as constitute layout in a part, it can by layout regard as by What at least one subgraph was constituted, at least one subgraph can be chosen as target object from layout user.Example Property, it, can if user has selected a NAND gate if layout is made of at least one NAND gate and corresponding connecting line Using by this NAND gate as target object.
Specifically, can be transferred after user clicks the target object in the layout that selection is established based on CAD with trigger data Button, can generate accordingly and transfer the corresponding data of operation with data and transfer instruction.
S120, instruction is transferred according to data transfer pending data corresponding with target object, and according to number to be processed According to attribute information target data is extracted from pending data.
During CAD operation, may exist corresponding data processing module, which can receive and touching Hair data transfer the corresponding data of operation and transfer instruction, and it is corresponding with target object that instruction acquisition can be transferred according to data Pending data.
Wherein, pending data can be understood as all data associated with target object, optionally, target object Size and the length of lines etc. data.Target data be understood that for according to preset screening conditions from pending data In the data that screen.
It should be noted that different data can be corresponded to different attribute classifications.It is transferred when receiving data When instruction, available pending data information corresponding with target object, and according to the attribute information in pending data, Extract target data.That is, after getting pending data, can according to attribute in pending data, to Data corresponding with preset attribute information are filtered out in processing data, using the data got at this time as target data.
Optionally, at least one attribute classification is shown in default display interface, and it is other to receive at least one Attribute class Choose instruction;When receiving the operational order of trigger data extraction, attribute classification is extracted and chosen from pending data Corresponding data are as target data.
It is to be understood that when user chooses target object, and trigger data extract operation when, data processing module can be with It receives data and extracts instruction, and extract instruction according to data and extract pending data corresponding with target object.
After getting pending data, data processing module can also receive data screening instruction.It specifically may is that use The operation of family trigger data data screening, corresponding data processing module can receive screening instruction corresponding with screening operation. , can be on preset interface, optionally when receiving screening instruction, any position of current display interface, either Preset specific location shows at least one attribute classification.User can choose at least one attribute that will be screened Classification, optionally, objective attribute target attribute, and click confirming button is equivalent to data processing module and has sent attribute and chooses instruction, data Processing module receives data selection instruction, and data corresponding with instruction is chosen is filtered out from pending data, i.e., to It handles in data and extracts for the corresponding target data of objective attribute target attribute.
It should be noted that a data input block can be imported in CAD in advance.
It wherein, may include variable name and the corresponding address of variable of variable name in data input block.Doing layout During, it can will corresponding with subgraph variable name and variable be added in each subgraph that constitute layout Location.
Specifically, can be added and be instructed with trigger data during doing layout, instructed when receiving data addition When, the data input screen of the data input block imported in advance can be popped up in the display interface, can be added on input interface Add variable name corresponding with subgraph and address of variable.That is, a data input can be imported in CAD in advance The attribute definition of the block is objective attribute target attribute by block, be can store in the block opposite with each of composition layout image The variable name and address of variable answered.Correspondingly, can only include opposite with each image in composition layout in target data The variable name and address of variable corresponding with variable name answered.
Wherein, the variable name stored in data input block, and address of variable corresponding with variable name are programmable patrol It is required when volume controller programming, therefore can be only written in the data input block imported in advance corresponding with subgraph Variable name and address of variable.
S130, target data is exported.
According to attribute information after filtering out target data in pending data, can also be by target data from CAD Middle export, so as to apply it in programmable logic controller (PLC) programming.
Optionally, when receiving the derived export instruction from CAD by target data, by target data according to default lattice Formula export.
Wherein, preset format can be can also be with formats such as .doc .txt and be programmed Shi Suoying with programmable logic controller (PLC) The same format used, specific preset format type are not specifically limited herein, and mesh can be arranged in user according to actual needs Mark the export format of data.
After exporting target data according to preset format, it can use in programmable logic controller (PLC).Wherein, may be used The data that programmed logic controller is applied to mainly include the variable name and address of variable for forming layout, if therefore by mesh It only may include opposite with the subgraph of layout is constituted when marking data application into programmable logic controller (PLC), in target data The variable name and address of variable answered.
Wherein, variable name can be understood as specific symbol and shape etc., and address of variable can be understood as and variable name Corresponding number.
It therefore, can be and corresponding with variable name by the variable name in target data after exporting target data Address of variable copies in the argument table in programmable logic controller (PLC), as programmable target variable table;By programmable target Argument table is imported into programmable logic controller (PLC), so that programmable logic controller (PLC) is transported according to the data in target matrix Row.
It should be noted that if required format is identical when preset format is programmed with programmable logic controller (PLC), then may be used Directly by derived data call into programmable logic controller (PLC).If preset format and programmable logic controller (PLC) program Required variable sheet format is different, can from programmable logic controller (PLC) induced variable table, and by the change in target data Measure name, and the argument table that address of variable corresponding with variable name is copied in argument table, and will be obtained at this time, as can compile Journey target variable table.Programmable target variable table can be imported into programmable logic controller (PLC), so that programmable logic control Device processed is according to the data run in programmable target variable table.
The technical solution of the embodiment of the present invention, by receiving to target object data tune in the layout created based on CAD The instruction of the triggering taken transfers instruction according to data and transfers pending data corresponding with image to be processed, receives to being based on Target object in the layout of CAD creation carries out the data that data are transferred and transfers instruction;According to data transfer instruction transfer with The corresponding pending data of target object, and number of targets is extracted from pending data according to the attribute information of pending data According to finally target data is exported, solves and needs that corresponding numerical value is manually input to programmable logic control in the prior art In device argument table processed, if there is run-time error, it is also necessary to go to check and modify corresponding variate-value manually, when project is larger When, there will be heavy workload, when modifying variable, just become time-consuming and laborious by manually, the technical issues of lavishing labor on, It realizes during doing layout, by data corresponding with objective attribute target attribute storage to the data input block imported in advance In, when needing data change, it is only necessary to corresponding position modification data input block in content, reduce data input with And the workload of modification, improve the technical effect of data-handling efficiency.
Embodiment two
As a preferred embodiment of above-described embodiment, as shown in Fig. 2, the method for the embodiment of the present invention includes:
S201, it enters data into block in advance and imported into CAD.
It enters data into block in advance to imported into CAD, can store programmable logic controller (PLC) programming in data input block Required variable name in time-varying scale, and address of variable corresponding with variable name.Wherein, programmable logic controller (PLC) can To be programmed and run according to the variable name and address of variable that are stored in argument table.
That is, can only store variable name required for argument table in programmable logic controller (PLC) in data input block And address of variable.
S202, trigger data are extracted, and the part for needing to extract data is chosen.
Before trigger data extraction, it should be noted that during doing layout, can will form layout Data are added in each subgraph.The data of addition are it is to be understood that in the data block imported in advance, write-in and subgraph Corresponding variable name and address of variable.
When user chooses partial subgraph picture, and trigger data is extracted, can extract corresponding with subgraph wait locate Manage data.
It should be noted that can be objective attribute target attribute to the data definition being written in data input block.
Wherein, pending data at this time not only includes the data being written in the data input block imported in advance, i.e. target Attribute data further includes the data of other attributes.
S203, data corresponding with objective attribute target attribute are filtered in the filter.
In order into programmable logic controller (PLC), export data application derived in CAD opposite with objective attribute target attribute The data answered.
Specifically, can be filtered from pending data when the screening of user's trigger data or the operation of data filtering Data corresponding with objective attribute target attribute out optionally, in the data filtered out only include change corresponding with each subgraph Measure name, and address of variable corresponding with variable name.
S204, judge whether data need to export, if so, executing S205;S202 is executed if it is not, then returning.
It should be noted that can pop up whether need to export in the display interface after filtering out target data The instruction of data then can be by number of targets if user's confirmation exports target data, and triggers button derived from confirmation data According to export, i.e. execution S205;If user clicks no button, target data can not be exported, and return and execute S202.
S205, target data is exported.
Target data can be exported according to preset format.Wherein, preset format can be and programmable logic controller (PLC) Variable tableau format is identical, is also possible to format defined in CAD.
It should be noted that in target data only include constitute layout subgraph variable name, and with variable famous prime minister Corresponding address of variable.
S206, the argument table of PLC programming software is exported, derived file has fixed format.
If format derived from target data is different from format required for programmable logic controller (PLC), then can compile Argument table in journey logic controller is exported from programmable logic controller (PLC) software, at this time derived format and programmable logic Required file format is identical when controller programming.
S207, file file derived from PLC argument table of CAD output is merged, and the file of fusion is imported into PLC In argument table, can directly it be used in programming.
Content in derived target data can be replicated, paste the derived variable from programmable logic controller (PLC) In table, so that programmable logic controller (PLC) uses when programming.
The technical solution of the embodiment of the present invention, by receiving to target object data tune in the layout created based on CAD The instruction of the triggering taken transfers instruction according to data and transfers pending data corresponding with image to be processed, receives to being based on Target object in the layout of CAD creation carries out the data that data are transferred and transfers instruction;According to data transfer instruction transfer with The corresponding pending data of target object, and number of targets is extracted from pending data according to the attribute information of pending data According to finally target data is exported, solves and needs that corresponding numerical value is manually input to programmable logic control in the prior art In device argument table processed, if there is run-time error, it is also necessary to go to check and modify corresponding variate-value manually, when project is larger When, there will be heavy workload, when modifying variable, just become time-consuming and laborious by manually, the technical issues of lavishing labor on, It realizes during doing layout, by data corresponding with objective attribute target attribute storage to the data input block imported in advance In, when needing data change, it is only necessary to corresponding position modification data input block in content, reduce data input with And the workload of modification, improve the technical effect for the treatment of effeciency.
Embodiment three
Fig. 3 is a kind of structural schematic diagram of the data processing equipment based on CAD provided by the embodiment of the present invention three, the dress Setting includes: that data transfer module 310, extracts target data module 320 and data export module 330.
Data transfer module 310, transfer for receiving to the target object progress data in the layout created based on CAD Data transfer instruction;Target data module 320 is extracted, is transferred and the target object for transferring instruction according to the data Corresponding pending data, and number of targets is extracted from the pending data according to the attribute information of the pending data According to;Data export module 330, for exporting the target data.
Based on the above technical solution, target data module 320 is extracted, further includes: attribute classification acquiring unit is used In obtaining at least one attribute classification corresponding with the attribute information of the pending data, wherein the attribute classification includes Variable name and address of variable corresponding with the variable name;Determine target data unit, for according to the attribute classification from Target data is extracted in the pending data.
On the basis of above-mentioned each technical solution, the determining target data unit is also used to:
At least one attribute classification is shown in default display interface, and is received at least one attribute classification Choose instruction;When receiving the operational order of trigger data extraction, extracts and choose from the pending data The corresponding data of attribute classification are as target data.
On the basis of above-mentioned each technical solution, further includes:
It include that variable name and address of variable corresponding with the variable name are previously written in preparatory by the attribute classification In the data input block of importing.
On the basis of above-mentioned each technical solution, further includes:
When detecting the operation of triggering addition data in the layout, the data input block imported in advance is shown Data input screen.
On the basis of above-mentioned each technical solution, data export module is also used to: when receive by the target data from When derived export instructs in CAD, the target data is exported according to preset format.
On the basis of above-mentioned each technical solution, data export module is being used for the target data according to default lattice After formula export, it is also used to:
By the variable name in the target data and address of variable corresponding with the variable name, copies to and can compile In journey logic controller variable, as programmable target variable table;The programmable target variable table is imported into programmable patrol It collects in controller, so that the programmable logic controller (PLC) is according to the data run in the target data table.
The technical solution of the embodiment of the present invention, by receiving to target object data tune in the layout created based on CAD The instruction of the triggering taken transfers instruction according to data and transfers pending data corresponding with image to be processed, receives to being based on Target object in the layout of CAD creation carries out the data that data are transferred and transfers instruction;According to data transfer instruction transfer with The corresponding pending data of target object, and number of targets is extracted from pending data according to the attribute information of pending data According to finally target data is exported, solves and needs that corresponding numerical value is manually input to programmable logic control in the prior art In device argument table processed, if there is run-time error, it is also necessary to go to check and modify corresponding variate-value manually, when project is larger When, there will be heavy workload, when modifying variable, just become time-consuming and laborious by manually, the technical issues of lavishing labor on, It realizes during doing layout, by data corresponding with objective attribute target attribute storage to the data input block imported in advance In, when needing data change, it is only necessary to corresponding position modification data input block in content, reduce data input with And the workload of modification, improve the technical effect for the treatment of effeciency.
A kind of executable any embodiment of that present invention institute of the data processing equipment based on CAD provided by the embodiment of the present invention A kind of data processing method based on CAD of offer, has the corresponding functional module of execution method and beneficial effect.
It is worth noting that, each unit included by above-mentioned apparatus and module are only divided according to function logic , but be not limited to the above division, as long as corresponding functions can be realized;In addition, the specific name of each functional unit Title is also only for convenience of distinguishing each other, and is not intended to restrict the invention the protection scope of embodiment.
Example IV
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.Fig. 4, which is shown, to be suitable for being used to realizing this The block diagram of the example devices 40 of inventive embodiments embodiment.The equipment 40 that Fig. 4 is shown is only an example, should not be to this The function and use scope of inventive embodiments bring any restrictions.
As shown in figure 4, equipment 40 is showed in the form of universal computing device.The component of equipment 40 may include but unlimited In one or more processor or processing unit 401, system storage 402, different system components (including system is connected Memory 402 and processing unit 401) bus 403.
Bus 403 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 40 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 40 The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 402 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 404 and/or cache memory 405.Equipment 40 may further include other removable/not removable Dynamic, volatile/non-volatile computer system storage medium.Only as an example, storage system 406 can be used for read and write can not Mobile, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, Ke Yiti For the disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to moving non-volatile light The CD drive of disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver It can be connected by one or more data media interfaces with bus 403.Memory 402 may include that at least one program produces Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 408 with one group of (at least one) program module 407, can store in such as memory In 402, such program module 407 includes but is not limited to operating system, one or more application program, other program modules And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 407 Usually execute the function and/or method in embodiment described in the invention.
Equipment 40 can also be logical with one or more external equipments 409 (such as keyboard, sensing equipment, display 410 etc.) Letter can also enable a user to equipment interact with the equipment 40 with one or more and communicate, and/or with enable the equipment 40 Any equipment (such as network interface card, modem etc.) communicated with one or more of the other calculating equipment communicates.It is this Communication can be carried out by input/output (I/O) interface 411.Also, equipment 40 can also pass through network adapter 412 and one A or multiple networks (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as figure Shown, network adapter 412 is communicated by bus 403 with other modules of equipment 40.It should be understood that although not shown in fig 4, Other hardware and/or software module can be used with bonding apparatus 40, including but not limited to: microcode, device driver, at redundancy Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 401 by the program that is stored in system storage 402 of operation, thereby executing various function application with And data processing, such as realize the data processing method based on CAD provided by the embodiment of the present invention.
Embodiment five
The embodiment of the present invention five also provides a kind of storage medium comprising computer executable instructions, and the computer can be held Row instruction by computer processor when being executed for executing the data processing method based on CAD.
This method comprises:
The instruction for receiving the triggering transferred to target object data in the layout created based on CAD, according to the data It transfers instruction and transfers pending data corresponding with the image to be processed;It receives in the layout created based on CAD Target object carries out the data that data are transferred and transfers instruction;According to the data transfer instruction transfer it is opposite with the target object The pending data answered, and target data is extracted from the pending data according to the attribute information of the pending data; The target data is exported.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the embodiment of the present invention operation Computer program code, described program design language include object oriented program language-such as Java, Smalltalk, C++ further include conventional procedural programming language --- such as " C " language or similar program design language Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of data processing method based on CAD characterized by comprising
It receives the data transferred to the target object progress data in the layout created based on CAD and transfers instruction;
Instruction is transferred according to the data and transfers pending data corresponding with the target object, and according to described to be processed The attribute information of data extracts target data from the pending data;
The target data is exported.
2. the method according to claim 1, wherein the attribute information according to the pending data is from institute It states and extracts target data in pending data, comprising:
Obtain at least one attribute classification corresponding with the attribute information of the pending data, wherein the attribute classification packet Include variable name and address of variable corresponding with the variable name;
Target data is extracted from the pending data according to the attribute classification.
3. according to the method described in claim 2, it is characterized in that, it is described according to the attribute classification from the pending data Middle extraction target data, comprising:
At least one attribute classification is shown in default display interface, and is received to the other choosing of at least one Attribute class Middle instruction;
When receiving the operational order of trigger data extraction, the attribute classification that extracts and choose from the pending data Corresponding data are as target data.
4. according to the method described in claim 3, it is characterized by further comprising:
It include that variable name and address of variable corresponding with the variable name are previously written and import in preparatory by the attribute classification Data input block in.
5. according to the method described in claim 4, it is characterized by further comprising:
When detecting the operation of triggering addition data in the layout, the data of the data input block imported in advance are shown Input interface.
6. the method according to claim 1, wherein described include: by target data export
When receiving the derived export instruction from CAD by the target data, by the target data according to preset format Export.
7. according to the method described in claim 6, it is characterized in that, the target data is exported according to preset format described Later, further includes:
By the variable name and address of variable corresponding with the variable name in the target data, PLC argument table is copied to In, as programmable target variable table;
The programmable target variable table is imported into programmable logic controller (PLC), so that the programmable logic controller (PLC) root According to the data run in the programmable target variable table.
8. a kind of data processing equipment based on CAD characterized by comprising
Data transfer module, carry out the data that data are transferred to the target object in the layout created based on CAD for receiving Transfer instruction;
Extract target data module, for according to the data transfer instruction transfer it is corresponding with the target object to be processed Data, and target data is extracted from the pending data according to the attribute information of the pending data;
Data export module, for exporting the target data.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now data processing method based on CAD as described in any in claim 1-7.
10. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal For executing the data processing method based on CAD as described in any in claim 1-7 when device executes.
CN201910212165.8A 2019-03-20 2019-03-20 CAD-based data processing method, device, equipment and storage medium Active CN109948251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910212165.8A CN109948251B (en) 2019-03-20 2019-03-20 CAD-based data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910212165.8A CN109948251B (en) 2019-03-20 2019-03-20 CAD-based data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109948251A true CN109948251A (en) 2019-06-28
CN109948251B CN109948251B (en) 2023-12-19

Family

ID=67011082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910212165.8A Active CN109948251B (en) 2019-03-20 2019-03-20 CAD-based data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109948251B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113764110A (en) * 2021-01-29 2021-12-07 北京京东拓先科技有限公司 Data processing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001075614A (en) * 1999-08-31 2001-03-23 Digital Electronics Corp Editor device and recording medium recording editor program
JP2001184198A (en) * 1999-12-27 2001-07-06 Digital Electronics Corp Retrieval system and computer readable recording medium storing retrieval program
US20020040290A1 (en) * 2000-09-29 2002-04-04 J.G. Walacavage Method of part flow model for programmable logic controller logical verification system
EP1638028A2 (en) * 2004-08-24 2006-03-22 Siemens Aktiengesellschaft Computer aided generation and change management for user interfaces
EP2110762A1 (en) * 2008-04-18 2009-10-21 Siemens Aktiengesellschaft Digital plant structure method and system thereof
US20130055196A1 (en) * 2011-08-26 2013-02-28 Siemens Product Lifecycle Management Software Inc. Generating plc code from cad models
US20130304248A1 (en) * 2012-05-11 2013-11-14 Artis Gmbh Method and Apparatus for Automated Configuration of a Monitoring Function of a Machine Tool
US20140180644A1 (en) * 2012-12-21 2014-06-26 Rockwell Automation Technologies, Inc. Integration of simulation of a machine for industrial automation
WO2018232234A1 (en) * 2017-06-15 2018-12-20 Trounson James Edmund Iii Integrated cad/cam/cnc software machine tool and machine tool therewith

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001075614A (en) * 1999-08-31 2001-03-23 Digital Electronics Corp Editor device and recording medium recording editor program
JP2001184198A (en) * 1999-12-27 2001-07-06 Digital Electronics Corp Retrieval system and computer readable recording medium storing retrieval program
US20020040290A1 (en) * 2000-09-29 2002-04-04 J.G. Walacavage Method of part flow model for programmable logic controller logical verification system
EP1638028A2 (en) * 2004-08-24 2006-03-22 Siemens Aktiengesellschaft Computer aided generation and change management for user interfaces
EP2110762A1 (en) * 2008-04-18 2009-10-21 Siemens Aktiengesellschaft Digital plant structure method and system thereof
US20130055196A1 (en) * 2011-08-26 2013-02-28 Siemens Product Lifecycle Management Software Inc. Generating plc code from cad models
US20130304248A1 (en) * 2012-05-11 2013-11-14 Artis Gmbh Method and Apparatus for Automated Configuration of a Monitoring Function of a Machine Tool
US20140180644A1 (en) * 2012-12-21 2014-06-26 Rockwell Automation Technologies, Inc. Integration of simulation of a machine for industrial automation
WO2018232234A1 (en) * 2017-06-15 2018-12-20 Trounson James Edmund Iii Integrated cad/cam/cnc software machine tool and machine tool therewith

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113764110A (en) * 2021-01-29 2021-12-07 北京京东拓先科技有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109948251B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
US10176239B2 (en) Automation-assisted curation of technical support information
CN109144695A (en) A kind of processing method, device, equipment and the medium of task topological relation
CN108416003A (en) A kind of picture classification method and device, terminal, storage medium
CN110008045A (en) Polymerization, device, equipment and the storage medium of micro services
JP6756079B2 (en) Artificial intelligence-based ternary check method, equipment and computer program
CN110049118A (en) Information push method, device, equipment and storage medium
CN103279846A (en) Project acceptance method and system based on BIM model
CN108399072A (en) Five application page update method and device
CN107423894A (en) The task measures and procedures for the examination and approval, device and computer equipment
CN110941488A (en) Task processing method, device, equipment and storage medium
US20170200153A1 (en) Technologies for conversion of mainframe files for big data ingestion
CN107368568A (en) A kind of method, apparatus, equipment and storage medium for taking down notes generation
CN112765368B (en) Knowledge graph establishment method, device, equipment and medium based on industrial APP
CN109683917A (en) For the method for being deployed in application server, equipment and medium will to be applied
CN109948251A (en) Data processing method, device, equipment and storage medium based on CAD
CN102779076B (en) The method and apparatus of interprocess communication in a kind of browser
CN110889013A (en) Data association method, device, server and storage medium based on XML
CN109815455A (en) Item file treating method and apparatus
CN110471730A (en) Methods of exhibiting, system, big screen system and medium based on Echarts
CN110443062A (en) Operating method, device and the computer equipment of multi-tenant database
CN109960590A (en) A method of optimization embedded system diagnostic printing
JP2017524211A (en) Method for unifying information and tools from a plurality of information sources, and computer program product and apparatus applying said method
CN109062973A (en) A kind of method for digging, device, server and the storage medium of question and answer resource
CN109241110A (en) Order management method and system, electronic equipment, storage medium
CN113010129A (en) Virtual studio full-flow multi-terminal blackboard writing extraction method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant