CN106959672A - A kind of industrial kinetic control system and method based on API - Google Patents
A kind of industrial kinetic control system and method based on API Download PDFInfo
- Publication number
- CN106959672A CN106959672A CN201710293042.2A CN201710293042A CN106959672A CN 106959672 A CN106959672 A CN 106959672A CN 201710293042 A CN201710293042 A CN 201710293042A CN 106959672 A CN106959672 A CN 106959672A
- Authority
- CN
- China
- Prior art keywords
- control
- plc
- industrial
- instruction
- api
- 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
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/414—Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
- G05B19/4147—Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using a programmable interface controller [PIC]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31137—Sercos serial real time communications system between servo and cpu
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
The invention discloses a kind of industrial kinetic control system based on API and method.Industrial kinetic control system includes industrial PC subsystem and PLC control subsystems, and industrial PC subsystem includes control module and API library, and PLC control subsystems include PLC motion controllers and multiple servo-drivers;Control module is used to generate the feedback data of motion control instruction and processing from PLC control subsystems;API library is used to cache the motion control instruction from control module and multiple motion control instructions is disposably sent into PLC control subsystems, and the feedback data of PLC control subsystems is disposably read into industrial PC subsystem;PLC motion controllers, for controlling multiple servo-drivers according to multiple motion control instructions and generating feedback data;Multiple servo-drivers, under the control of PLC motion controllers, controlling corresponding motor movement.Communication data redundancy can be greatly reduced by the present invention, raising communication speed has been reached, the purpose of system requirements is met.
Description
Technical field
It is more particularly to a kind of to be based on API (Application the present invention relates to technical field of automatic control
Programming Interface, application programming interfaces) industrial kinetic control system and method.
Background technology
At present, in industrial motion control field, mainly there are two kinds of control modes:One kind is by motion control card come real
It is existing;One kind is realized by PLC (Programmable Logic Controller, programmable logic controller (PLC)).
In by way of being realized motion control card, pass through PCI (Peripheral Component
Interconnect, peripheral component interconnection) control card is inserted in PC (Personal Computer, PC) by slot
Main frame on;Developed using programming languages such as high-level programming language C++, C#, VB, VB.NET, LabVIEW;Make in programming
The control card api interface function provided with motion control card manufacturer, to realize the use to control card resource;Motion control cartoon
The mode for crossing transmission pulse controls servo or step actuator to control servomotor or stepper motor, by reading input letter
Number, control output signal realize the control to input-output equipment such as relay, sensor, cylinders.Motion control card is main
Advantage be the powerful functions of integrated PC, such as CAD (Computer Aided Design, CAD) function,
Machine vision function, software advanced programming etc..Due to the power of PC, therefore the motion controller therewith constituted
Function is most strong, but its job stability, reliability are poor.
In by way of being realized PLC, logic control is carried out by PLC switch amounts, can also realize that motion control is (straight
Line tracking is controlled), computing, the function such as data processing.Therefore, have the advantages that reliable operation, programming are simple.But, due to it
Man-machine interface is generally done using touch-screen, this results in visualization interface and greatly limited.In actual application, its
Maximum the problem of, which can not exactly be realized, leads figure function;It is difficult to be combined with other applications such as machine vision.
Therefore, if two ways can be combined, it is possible to while taking into account stability and visualization.But, industry
PC and PLC are the equipment of two different entities, are communicated between the two by Modbus Transmission Control Protocol.Due to Modbus TCP
Agreement is communicated in the way of question-response formula, and communication needs the regular hour, when there is many orders, and call duration time is folded
It is added together and quite obvious delay occurs.And it is action interim card that this delay, which is reflected in motion control, this substantially can not
Meet and require.
The content of the invention
It is an object of the invention to provide a kind of industrial kinetic control system based on API and method to reduce communication data
Redundancy, has reached raising communication speed.
In order to achieve the above object, the technical scheme of use is the present invention:A kind of industrial motion control system based on API
System, including industrial individual PC control subsystems and PLC control subsystems, the industrial PC subsystem include control module with
API library, the PLC control subsystems include PLC motion controllers and multiple servo-drivers, wherein:
The control module, for generating the feedback data of motion control instruction and processing from PLC control subsystems;
The API library, for caching the motion control instruction from the control module and by multiple motion control instructions
The PLC control subsystems are disposably sent to, and the feedback data of the PLC control subsystems is disposably read into institute
State industrial PC subsystem;
The PLC motion controllers, for controlling the multiple servo-driver according to the multiple motion control instruction
And generate feedback data;
The multiple servo-driver, under the control of the PLC motion controllers, controlling corresponding motor fortune
It is dynamic.
Preferably, by the Modbus of extension between the industrial PC subsystem and the PLC control subsystems
Transmission Control Protocol communicates, and the Modbus Transmission Control Protocol of the extension includes batch reading function code and batch writes function code.
Preferably, the PLC motion controllers include multiple data storage cells, for storing the PLC controls subsystem
The feedback data of system;The feedback data of the PLC control subsystems includes what the multiple servo-driver controlled motor was moved
Implementing result data and motor status data;
The multiple servo-driver is additionally operable to the implementing result data and the motor status data being back to institute
State multiple data storage cells.
Preferably, the API library includes dynamic link library, processing unit, the location of instruction, wherein:
The dynamic link library, for providing api interface function for the control module, so that the control module passes through
Call the api interface function that multiple motion control instructions are stored into the location of instruction successively;
The processing unit, the multiple motion control instruction for the location of instruction to be stored is same disposable
Send to the PLC control subsystems, and disposably read the implementing result data and the motor status data;
The location of instruction, for keeping in the multiple motion control instruction.
Preferably, the processing unit is additionally operable to:
It is space-time in the location of instruction, the motor status data is disposably read into the industrial PC
Subsystem.
Correspondingly, the present invention also provides a kind of industrial motion control method based on API, comprises the following steps:
Step S1:Generation motion control instruction simultaneously disposably sends multiple motion control instructions to PLC control subsystems;
Step S2:PLC motion controllers control multiple servo-drivers according to the multiple motion control instruction;
Step S3:The multiple servo-driver controls corresponding motor movement;
Step S4:The feedback data of the PLC control subsystems is disposably read into the industrial PC subsystem.
Preferably, by the Modbus of extension between the industrial PC subsystem and the PLC control subsystems
Transmission Control Protocol communicates, and the Modbus Transmission Control Protocol of the extension includes batch reading function code and batch writes function code.
Preferably, the feedback data of the PLC control subsystems is moved including the multiple servo-driver controlled motor
Implementing result data and motor status data;
In the step S4, the PLC control subsystems are by the implementing result data and the motor status data
Send simultaneously to the industrial PC subsystem.
Preferably, the step S1 includes:
Step S11:The control module generation motion control instruction of industrial PC subsystem;
Step S12:Call the api interface function of API library that multiple motion control instructions are stored into instruction successively to deposit
Storage unit;
Step S13:The multiple motion control instruction that the location of instruction is stored disposably is sent to described
PLC control subsystems.
Preferably, the industrial motion control method based on API also includes:
It is space-time in the location of instruction, the motor status data is disposably read into the industrial PC
Subsystem.
The present invention has the following advantages:Industrial kinetic control system based on API and method that the present invention is provided, Industrial PC control
Subsystem disposably sends multiple motion control instructions by API library to PLC control subsystems;PLC control subsystems according to
The plurality of motion control instruction controlled motor axle is completed after corresponding motion, and property reads PLC to industrial PC subsystem again
The feedback data of control subsystem.Thus, both visualization function can be provided by industrial PC subsystem, can utilized again
PLC stability realizes the control to motor shaft;Meanwhile, industrial PC subsystem can be to PLC control subsystems one
Secondary property sends multiple motion control instructions, and the disposable feedback data for reading PLC control subsystems simultaneously, thus, subtracts significantly
Lack communication data redundancy, reached raising communication speed, meet the purpose of system requirements.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
It is the schematic diagram for the industrial kinetic control system based on API that one embodiment of the invention is provided shown in Fig. 1;
It is the schematic diagram for the API library that one embodiment of the invention is provided shown in Fig. 2;
It is the flow chart for the industrial motion control method based on API that one embodiment of the invention is provided shown in Fig. 3;
It is the flow chart for the step S1 that one embodiment of the invention is provided shown in Fig. 4.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
It is the schematic diagram for the industrial kinetic control system based on API that one embodiment of the invention is provided shown in Fig. 1.Such as Fig. 1
Shown, the industrial kinetic control system of the invention based on API includes industrial PC subsystem 10 and PLC control subsystems
20.The industrial PC subsystem 10 includes control module 110 and API library 120, and the PLC control subsystems 20 include PLC
Motion controller 210 and multiple servo-drivers 220.
In an embodiment of the present invention, lead between the industrial PC subsystem 10 and the PLC control subsystems 20
The Modbus Transmission Control Protocol communication of extension is crossed, the Modbus Transmission Control Protocol of the extension includes batch reading function code and batch writes work(
Can code.Function code 0x61 is read by the batch, host computer can disposably read discrete registers data;Work(is write by this in batches
Energy code 0x62, host computer can be by the multiple discrete registers of data write once.
The control module 110, for generating the feedback coefficient of motion control instruction and processing from PLC control subsystems
According to.Specifically, in an embodiment of the present invention, motion control instruction refers to the instruction that controlled motor axle is rotated, for example, starting electricity
Arbor instruction, halt instruction, assisted instruction and deceleration instruction etc..Need to control some motor shaft in some way in system
During motion, corresponding multiple motion control instructions will be disposably sent to PLC simultaneously by control module 110 and control son
System, rather than control instruction is sent over one by one.
The API library 120, for caching the motion control instruction from the control module 110 and controlling multiple motions
System instruction is disposably sent to the PLC control subsystems 20, and by the feedback data of the PLC control subsystems 20 once
Property reads the industrial PC subsystem 10.Specifically, API library 120 is that control module 110 provides data buffering, is responsible for
The instruction of control module 110 is sent to PLC control subsystems, then implementing result is fed back to operation layer.110 need of control module
The interface function for calling API library 120 to provide, can be achieved with the startup, stopping, acceleration-deceleration of axle, obtain the various states etc. of axle.
The PLC motion controllers 210, for controlling the multiple servo-drive according to the multiple motion control instruction
Device 220 simultaneously generates feedback data.The multiple servo-driver 220, under the control of the PLC motion controllers 210,
Control corresponding motor movement.Specifically, PLC motion controllers 210 pass through EtherCAT (EtherControl
Automation Technology, Ethernet auto-control technology) bus is connected with multiple servo-drivers 220, constitutes
PLC control subsystems 20.PLC motion controllers 210 are according to control needs, beforehand through ladder diagram, ST (Structured
Text, structure text) etc. PLC programming languages finish functional module corresponding to different motion control instruction.According to Industrial PC control
The motion control instruction that subsystem 10 is sent, PLC motion controllers 210 transfer corresponding functional module, pass through EtherCAT
The corresponding servo-driver 220 of bus marco, so as to realize the motion control to corresponding motor axle.
Further, in an embodiment of the present invention, the PLC motion controllers 210 include multiple data storage cells,
Feedback data for storing the PLC control subsystems 20;The feedback data of the PLC control subsystems 20 includes described many
The implementing result data and motor status data of the individual controlled motor of servo-driver 220 motion;The multiple servo-driver 220
It is additionally operable to the implementing result data and the motor status data being back to the multiple data storage cell.Specifically,
Servo-driver is after the motion of controlled motor axle, it is necessary to return according to an implementing result, this implementing result is stored in PLC
In the data storage cell of motion controller;Meanwhile, motor is also by itself status data (for example, motor rotating speed now, position
The data such as put) updated in real time by servo-driver into data storage cell.Thus, it is possible to facilitate industrial PC subsystem
Read.Wherein, multiple data storage cells are multiple discrete registers, and what the servo-driver for being stored with respectively different fed back holds
The motor status data of row result data and each motor.
Further, as shown in Fig. 2 in an embodiment of the present invention, the API library 120 include dynamic link library 122,
The location of instruction 124, processing unit 126.The dynamic link library 122 is used to provide api interface for the control module 110
Function, so that the control module 110 is stored multiple motion control instructions by calling the api interface function successively
The location of instruction 124;The processing unit 126, for the multiple fortune for storing the location of instruction 124
Dynamic control instruction is disposably sent to the PLC control subsystems 20, and disposably reads the implementing result data and institute
State motor status data;The location of instruction 124, for keeping in the multiple motion control instruction.
Specifically, as described above, by expanding between the industrial PC subsystem 10 and the PLC control subsystems 20
The Modbus Transmission Control Protocol communication of exhibition.Therefore, control module 110 needs to send multiple motion controls to PLC control subsystems 20
During instruction, the multiple motion control instruction can be sequentially successively read by calling the api interface function
To the location of instruction 124;Processing unit 126 is polled to the above-mentioned location of instruction 124, works as the location of instruction
124 be not space-time (when having motion control instruction), and processing unit 126 reads the location of instruction 124, and function is write by batch
Multiple orders are issued to PLC control subsystems by code simultaneously;When PLC control subsystems are responded, processing unit will not only read and hold
Row result data, and by motor status data, also reading comes up together, i.e., read function code by PLC control subsystems by batch
Multiple discrete registers in the data that store once update the internal memory of industrial PC subsystem.Thus, greatly reduce
Communication data redundancy, has reached raising communication speed, meets the purpose of system requirements.
Further, in an embodiment of the present invention, the processing unit 126 is additionally operable in the location of instruction
124 be space-time, and the motor status data are disposably read into the industrial PC subsystem 10.Specifically, instruction is worked as
Memory cell 124 is space-time (when not having motion control instruction), and PLC is controlled son by processing unit 126 by 0x61 function codes
The feedback data of system disposably reads industrial PC subsystem deposit internal memory.So, when industrial PC subsystem is needed
When wanting, it can be read directly from internal memory, substantially increase efficiency.
Advantageously, the industrial kinetic control system based on API that the present embodiment is provided, industrial PC subsystem passes through institute
State API library and disposably send multiple motion control instructions to the PLC control subsystems;PLC control subsystems are according to the plurality of
Motion control instruction controlled motor axle is completed after corresponding motion, and industrial PC subsystem disposably reads PLC control subsystems
The feedback data of system.Thus, both visualization function can be provided by industrial PC subsystem, the steady of PLC can be utilized again
Qualitative control that can be to realize to motor shaft;Meanwhile, pass through extension between industrial PC subsystem and PLC control subsystems
Modbus Transmission Control Protocol communicates, and industrial PC subsystem can write function code simultaneously by multiple motion control instructions by batch
PLC control subsystems disposably are sent to, the feedback data that function code disposably reads PLC control subsystems is write by batch,
It is possible thereby to greatly reduce communication data redundancy, raising communication speed has been reached, the purpose of system requirements is met.
It should be noted that multiple motion control instructions and feedback data can disposably be sent in the embodiment of the present invention
And reading, it can also be divided into according to application scenarios and be transmitted and read repeatedly, then this is not limited.
It is the flow chart for the industrial motion control method based on API that one embodiment of the invention is provided shown in Fig. 3.Such as Fig. 3
It is shown, it is somebody's turn to do the industrial motion control method based on API and comprises the following steps:
Step S1:Generation motion control instruction simultaneously disposably sends multiple motion control instructions to PLC control subsystems;
Specifically, in an embodiment of the present invention, motion control instruction refers to the instruction that controlled motor axle is rotated, for example,
Start motor shaft instruction, halt instruction, assisted instruction and deceleration instruction etc..Need to control some motor shaft in system with certain
Mode when moving, corresponding multiple motion control instructions will be disposably sent to PLC simultaneously by control module and controlled
Subsystem, rather than control instruction is sent over one by one.
Step S2:PLC motion controllers control multiple servo-drivers according to the multiple motion control instruction;
Step S3:The multiple servo-driver controls corresponding motor movement;
Specifically, PLC motion controllers are connected by EtherCAT buses with multiple servo-drivers.PLC motion controls
Device processed is finished according to control needs beforehand through PLC programming languages such as ladder diagram, ST (Structured Text, structure text)
Corresponding to the functional module of different motion control instruction.The motion control instruction sent according to industrial PC subsystem, PLC fortune
Movement controller transfers corresponding functional module, by the corresponding servo-driver of EtherCAT bus marcos, so as to realize to phase
Answer the motion control of motor shaft
Step S4:The feedback data of the PLC control subsystems is disposably read into the industrial PC subsystem.
Further, in an embodiment of the present invention, the feedback data of PLC control subsystems is driven including the multiple servo
The implementing result data and motor status data of dynamic device controlled motor motion;In the step S4, the PLC control subsystems
The implementing result data and the motor status data are sent to the industrial PC subsystem simultaneously.It is the multiple to watch
Take multiple data storages that the implementing result data and the motor status data are back to PLC motion controllers by driver
Unit.Specifically, servo-driver controlled motor axle motion after, it is necessary to return according to an implementing result, this performs knot
Fruit is stored in the data storage cell of PLC motion controllers;Meanwhile, motor is also by the status data of itself (for example, motor
The data such as rotating speed, position now) updated in real time by servo-driver into data storage cell.Thus, it is possible to facilitate work
Industry PC control subsystems are read.Wherein, multiple data storage cells are multiple discrete registers, and be stored with different servos respectively
The implementing result data of driver feedback and the motor status data of each motor.
In an embodiment of the present invention, lead between the industrial PC subsystem 10 and the PLC control subsystems 20
The Modbus Transmission Control Protocol communication of extension is crossed, the Modbus Transmission Control Protocol of the extension includes batch reading function code and batch writes work(
Can code.Function code 0x61 is read by batch, host computer can disposably read discrete registers data by new function code;Separately
Outer One function be batch write 0x62, i.e. host computer can be by the multiple discrete registers of the function code write once.
Further, as shown in figure 4, above-mentioned steps S1 comprises the following steps:
Step S11:The control module generation motion control instruction of industrial PC subsystem;
Step S12:
Call the api interface function of API library that multiple motion control instructions are stored into the location of instruction successively;
Step S13:The multiple motion control instruction that the location of instruction is stored disposably is sent to described
PLC control subsystems.
Specifically, as described above, passing through extension between the industrial PC subsystem and the PLC control subsystems
Modbus Transmission Control Protocol communicates.Therefore, can when control module is needed to PLC control subsystems transmission multiple motion control instructions
So that by calling the api interface function, by the multiple motion control instruction, sequentially the instruction is arrived in storage successively
Memory cell;Processing unit is polled to the location of instruction, when the location of instruction (does not have motion control to refer to for space-time
When making), processing unit reads the location of instruction, writes function code multiple orders by batch while being issued to PLC control
System;When PLC control subsystems are responded, processing unit will not only read implementing result data, and by motor status data
Also read to come up together, i.e., the data one that function code will be stored in multiple discrete registers of PLC control subsystems are read by batch
The secondary internal memory updated to industrial PC subsystem.Thus, communication data redundancy is greatly reduced, raising communication speed has been reached
Degree, meets the purpose of system requirements.
Further, in the present embodiment, the industrial motion control method based on API also includes:
It is space-time in the location of instruction, the motor status data is disposably read into the industrial PC
Subsystem.
Specifically, when the location of instruction is space-time (when not having motion control instruction), processing unit passes through 0x61 work(
The feedback data of PLC control subsystems, is disposably read industrial PC subsystem deposit internal memory by energy code.So, work is worked as
When industry PC control subsystems need, it can be read directly from internal memory, substantially increase efficiency.
Advantageously, the industrial motion control method based on API that the present embodiment is provided, industrial PC subsystem passes through institute
State API library and disposably send multiple motion control instructions to the PLC control subsystems;PLC control subsystems are according to the plurality of
Motion control instruction controlled motor axle is completed after corresponding motion, and industrial PC subsystem disposably reads PLC control subsystems
The feedback data of system.Thus, both visualization function can be provided by industrial PC subsystem, the steady of PLC can be utilized again
Qualitative control that can be to realize to motor shaft;Meanwhile, pass through extension between industrial PC subsystem and PLC control subsystems
Modbus Transmission Control Protocol communicates, and industrial PC subsystem can write function code simultaneously by multiple motion control instructions by batch
PLC control subsystems disposably are sent to, the feedback data that function code disposably reads PLC control subsystems is write by batch,
It is possible thereby to greatly reduce communication data redundancy, raising communication speed has been reached, the purpose of system requirements is met.
Above disclosed is only a kind of preferred embodiment of the invention, can not limit the power of the present invention with this certainly
Sharp scope, one of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and according to present invention power
Profit requires made equivalent variations, still falls within and invents covered scope.
Claims (10)
1. a kind of industrial kinetic control system based on application programming interfaces API, it is characterised in that including industrial PC PC
Control subsystem and programmable logic controller (PLC) PLC control subsystems, the industrial PC subsystem include control module and
API library, the PLC control subsystems include PLC motion controllers and multiple servo-drivers, wherein:
The control module, for generating the feedback data of motion control instruction and processing from PLC control subsystems;
The API library, for cache the motion control instruction from the control module and by multiple motion control instructions once
Property is sent to the PLC control subsystems, and the feedback data of the PLC control subsystems is disposably read into the work
Industry PC control subsystems;
The PLC motion controllers, for controlling the multiple servo-driver and life according to the multiple motion control instruction
Into feedback data;
The multiple servo-driver, under the control of the PLC motion controllers, controlling corresponding motor movement.
2. the industrial kinetic control system according to claim 1 based on API, it is characterised in that the industrial PC
Communicated between subsystem and the PLC control subsystems by the Modbus Transmission Control Protocol of extension, the Modbus of the extension
Transmission Control Protocol includes batch and reads function code and write function code in batches.
3. the industrial kinetic control system according to claim 1 based on API, it is characterised in that the PLC motion controls
Device includes multiple data storage cells, the feedback data for storing the PLC control subsystems;The PLC control subsystems
Feedback data include the multiple servo-driver controlled motor move implementing result data and motor status data;
The multiple servo-driver is additionally operable to the implementing result data and the motor status data being back to described many
Individual data storage cell.
4. the industrial kinetic control system according to claim 3 based on API, it is characterised in that the API library includes dynamic
State chained library, processing unit, the location of instruction, wherein:
The dynamic link library, for providing api interface function for the control module, so that the control module is by calling
Multiple motion control instructions are stored the location of instruction by the api interface function successively;
The processing unit, the multiple motion control instruction for the location of instruction to be stored is sent with disposable
To the PLC control subsystems, and disposably read the implementing result data and the motor status data;
The location of instruction, for keeping in the multiple motion control instruction.
5. the industrial kinetic control system according to claim 4 based on API, it is characterised in that the processing unit is also
For:
It is space-time in the location of instruction, the motor status data is disposably read into the industrial PC subsystem
System.
6. a kind of industrial motion control method based on API, it is characterised in that comprise the following steps:
Step S1:Generation motion control instruction simultaneously disposably sends multiple motion control instructions to PLC control subsystems;
Step S2:PLC motion controllers control multiple servo-drivers according to the multiple motion control instruction;
Step S3:The multiple servo-driver controls corresponding motor movement;
Step S4:The feedback data of the PLC control subsystems is disposably read into the industrial PC subsystem.
7. the industrial motion control method according to claim 6 based on API, it is characterised in that the industrial PC
Communicated between subsystem and the PLC control subsystems by the Modbus Transmission Control Protocol of extension, the Modbus of the extension
Transmission Control Protocol includes batch and reads function code and write function code in batches.
8. the industrial motion control method according to claim 6 based on API, it is characterised in that the PLC controls subsystem
The feedback data of system includes the implementing result data and motor status data that the multiple servo-driver controlled motor is moved;
In the step S4, the PLC control subsystems by the implementing result data and the motor status data simultaneously
Send to the industrial PC subsystem.
9. the industrial motion control method according to claim 8 based on API, it is characterised in that
The step S1 includes:
Step S11:The control module generation motion control instruction of industrial PC subsystem;
Step S12:Call the api interface function of API library that multiple motion control instructions are stored into instruction storage list successively
Member;
Step S13:The multiple motion control instruction that the location of instruction is stored disposably is sent to PLC controls
Subsystem.
10. the industrial motion control method according to claim 9 based on API, it is characterised in that described based on API's
Industrial motion control method also includes:
It is space-time in the location of instruction, the motor status data is disposably read into the industrial PC subsystem
System.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710293042.2A CN106959672B (en) | 2017-04-28 | 2017-04-28 | Industrial motion control system and method based on API |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710293042.2A CN106959672B (en) | 2017-04-28 | 2017-04-28 | Industrial motion control system and method based on API |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106959672A true CN106959672A (en) | 2017-07-18 |
CN106959672B CN106959672B (en) | 2020-07-28 |
Family
ID=59484079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710293042.2A Active CN106959672B (en) | 2017-04-28 | 2017-04-28 | Industrial motion control system and method based on API |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106959672B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107398902A (en) * | 2017-08-02 | 2017-11-28 | 合肥中导机器人科技有限公司 | robot control method, robot control system |
CN108344476A (en) * | 2018-02-01 | 2018-07-31 | 南京航空航天大学 | A kind of system integrating formula coal sample precision weighing system and method based on PC machine |
CN109491811A (en) * | 2018-11-20 | 2019-03-19 | 网易(杭州)网络有限公司 | Game test method, device and storage medium |
CN111381552A (en) * | 2018-12-29 | 2020-07-07 | 苏州灵猴机器人有限公司 | Driving and control integrated technical framework |
CN111385118A (en) * | 2018-12-29 | 2020-07-07 | 苏州灵猴机器人有限公司 | EtherCAT equipment configuration software communication scheme |
CN111596591A (en) * | 2020-05-28 | 2020-08-28 | 浙江禾川科技股份有限公司 | Motion control method, device and system of motion sensing game equipment and storage medium |
CN111800435A (en) * | 2020-07-24 | 2020-10-20 | 西门子(中国)有限公司 | Motion controller and communication method of motion controller and equipment |
CN112650148A (en) * | 2019-10-10 | 2021-04-13 | 摩梁(上海)智能科技有限公司 | Multi-axis motion control system and method |
CN114905723A (en) * | 2022-05-27 | 2022-08-16 | 广州达意隆包装机械股份有限公司 | Bottle blowing machine control system, bottle blowing machine control method, electronic equipment and storage medium |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1375769A (en) * | 2001-03-20 | 2002-10-23 | 珠海市万禾网络技术有限公司 | Single chip system capable of loading and running specific operation system |
US20030014149A1 (en) * | 2001-07-13 | 2003-01-16 | Volker Kreidler | Method and system for the electronic provision of services for machines via a data communication link |
CN1451108A (en) * | 2000-01-10 | 2003-10-22 | 西门子公司 | Universal motion controller |
CN101587353A (en) * | 2008-05-23 | 2009-11-25 | 深圳市先阳软件技术有限公司 | Constant tension controller and control method for winding equipment |
CN101673106A (en) * | 2009-09-25 | 2010-03-17 | 江俊逢 | Digital control information manufacturing system, method and data control flow file thereof |
CN201749327U (en) * | 2010-08-05 | 2011-02-16 | 东莞市升力智能科技有限公司 | Laser movement controller |
CN201886337U (en) * | 2010-08-04 | 2011-06-29 | 大连智云自动化装备股份有限公司 | Assembling detection line control system of high-voltage common rail system |
CN102364430A (en) * | 2010-09-17 | 2012-02-29 | 杭州士兰微电子股份有限公司 | Microcontroller for supporting multi-programming on one time programmable memory and programming method |
CN103092980A (en) * | 2013-01-31 | 2013-05-08 | 中国科学院自动化研究所 | Method and system of data automatic conversion and storage |
US8542104B2 (en) * | 2007-03-01 | 2013-09-24 | Oracle International Corporation | RFID edge server having a programmable logic controller API |
CN103345420A (en) * | 2013-06-03 | 2013-10-09 | 百度在线网络技术(北京)有限公司 | Method for massively calling API interfaces, system for massively calling API interfaces and device for massively calling API interfaces |
CN103439866A (en) * | 2013-08-28 | 2013-12-11 | 哈尔滨工业大学 | VxWorks-based lithography machine double-workbench communication method and device |
CN103809560A (en) * | 2014-01-20 | 2014-05-21 | 李鑫 | Multi-axis motion control system based on linear motor, integrated computer and PLC (programmable logic controller) |
CN103941648A (en) * | 2014-03-07 | 2014-07-23 | 东莞市升力智能科技有限公司 | Multi-axis motion control system and control method thereof |
CN103941649A (en) * | 2014-03-07 | 2014-07-23 | 东莞市升力智能科技有限公司 | Control method of multi-axis motion card control system |
CN103973798A (en) * | 2014-05-14 | 2014-08-06 | 哈尔滨工业大学 | Method and device for communication between upper computer and lower computer under control of secondary platform movement |
CN104238463A (en) * | 2014-09-17 | 2014-12-24 | 华南理工大学 | Full-automatic single-ended and double-ended tangent wire stripping terminal pressure welding machine control system |
CN104903872A (en) * | 2012-08-31 | 2015-09-09 | 才智知识产权控股公司(2) | Systems, methods, and interfaces for adaptive persistence |
CN105453068A (en) * | 2013-07-31 | 2016-03-30 | 慧与发展有限责任合伙企业 | Data stream processing using a distributed cache |
WO2016068929A1 (en) * | 2014-10-30 | 2016-05-06 | Siemens Aktiengesellschaft | Using soft-sensors in a programmable logic controller |
CN106156278A (en) * | 2016-06-24 | 2016-11-23 | 努比亚技术有限公司 | A kind of database data reading/writing method and device |
CN206123682U (en) * | 2016-09-18 | 2017-04-26 | 柳州铁道职业技术学院 | Modularization robot teaching system |
-
2017
- 2017-04-28 CN CN201710293042.2A patent/CN106959672B/en active Active
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1451108A (en) * | 2000-01-10 | 2003-10-22 | 西门子公司 | Universal motion controller |
CN1375769A (en) * | 2001-03-20 | 2002-10-23 | 珠海市万禾网络技术有限公司 | Single chip system capable of loading and running specific operation system |
US20030014149A1 (en) * | 2001-07-13 | 2003-01-16 | Volker Kreidler | Method and system for the electronic provision of services for machines via a data communication link |
US8542104B2 (en) * | 2007-03-01 | 2013-09-24 | Oracle International Corporation | RFID edge server having a programmable logic controller API |
CN101587353A (en) * | 2008-05-23 | 2009-11-25 | 深圳市先阳软件技术有限公司 | Constant tension controller and control method for winding equipment |
CN101673106A (en) * | 2009-09-25 | 2010-03-17 | 江俊逢 | Digital control information manufacturing system, method and data control flow file thereof |
CN201886337U (en) * | 2010-08-04 | 2011-06-29 | 大连智云自动化装备股份有限公司 | Assembling detection line control system of high-voltage common rail system |
CN201749327U (en) * | 2010-08-05 | 2011-02-16 | 东莞市升力智能科技有限公司 | Laser movement controller |
CN102364430A (en) * | 2010-09-17 | 2012-02-29 | 杭州士兰微电子股份有限公司 | Microcontroller for supporting multi-programming on one time programmable memory and programming method |
CN104903872A (en) * | 2012-08-31 | 2015-09-09 | 才智知识产权控股公司(2) | Systems, methods, and interfaces for adaptive persistence |
CN103092980A (en) * | 2013-01-31 | 2013-05-08 | 中国科学院自动化研究所 | Method and system of data automatic conversion and storage |
CN103345420A (en) * | 2013-06-03 | 2013-10-09 | 百度在线网络技术(北京)有限公司 | Method for massively calling API interfaces, system for massively calling API interfaces and device for massively calling API interfaces |
CN105453068A (en) * | 2013-07-31 | 2016-03-30 | 慧与发展有限责任合伙企业 | Data stream processing using a distributed cache |
CN103439866A (en) * | 2013-08-28 | 2013-12-11 | 哈尔滨工业大学 | VxWorks-based lithography machine double-workbench communication method and device |
CN103809560A (en) * | 2014-01-20 | 2014-05-21 | 李鑫 | Multi-axis motion control system based on linear motor, integrated computer and PLC (programmable logic controller) |
CN103941648A (en) * | 2014-03-07 | 2014-07-23 | 东莞市升力智能科技有限公司 | Multi-axis motion control system and control method thereof |
CN103941649A (en) * | 2014-03-07 | 2014-07-23 | 东莞市升力智能科技有限公司 | Control method of multi-axis motion card control system |
CN103973798A (en) * | 2014-05-14 | 2014-08-06 | 哈尔滨工业大学 | Method and device for communication between upper computer and lower computer under control of secondary platform movement |
CN104238463A (en) * | 2014-09-17 | 2014-12-24 | 华南理工大学 | Full-automatic single-ended and double-ended tangent wire stripping terminal pressure welding machine control system |
WO2016068929A1 (en) * | 2014-10-30 | 2016-05-06 | Siemens Aktiengesellschaft | Using soft-sensors in a programmable logic controller |
CN106156278A (en) * | 2016-06-24 | 2016-11-23 | 努比亚技术有限公司 | A kind of database data reading/writing method and device |
CN206123682U (en) * | 2016-09-18 | 2017-04-26 | 柳州铁道职业技术学院 | Modularization robot teaching system |
Non-Patent Citations (2)
Title |
---|
孙艺伟: ""基于API实现工控机的高速大数据量通讯"", 《控制工程》 * |
张志燕: ""基于运动控制器的开放式数控系统关键技术研究与应用"", 《中国优秀硕士学位论文全文数据库 工程科技I辑》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107398902A (en) * | 2017-08-02 | 2017-11-28 | 合肥中导机器人科技有限公司 | robot control method, robot control system |
CN107398902B (en) * | 2017-08-02 | 2019-08-16 | 合肥中导机器人科技有限公司 | Robot control method, robot control system |
CN108344476A (en) * | 2018-02-01 | 2018-07-31 | 南京航空航天大学 | A kind of system integrating formula coal sample precision weighing system and method based on PC machine |
CN109491811A (en) * | 2018-11-20 | 2019-03-19 | 网易(杭州)网络有限公司 | Game test method, device and storage medium |
CN111381552A (en) * | 2018-12-29 | 2020-07-07 | 苏州灵猴机器人有限公司 | Driving and control integrated technical framework |
CN111385118A (en) * | 2018-12-29 | 2020-07-07 | 苏州灵猴机器人有限公司 | EtherCAT equipment configuration software communication scheme |
CN112650148A (en) * | 2019-10-10 | 2021-04-13 | 摩梁(上海)智能科技有限公司 | Multi-axis motion control system and method |
CN111596591A (en) * | 2020-05-28 | 2020-08-28 | 浙江禾川科技股份有限公司 | Motion control method, device and system of motion sensing game equipment and storage medium |
CN111800435A (en) * | 2020-07-24 | 2020-10-20 | 西门子(中国)有限公司 | Motion controller and communication method of motion controller and equipment |
CN114905723A (en) * | 2022-05-27 | 2022-08-16 | 广州达意隆包装机械股份有限公司 | Bottle blowing machine control system, bottle blowing machine control method, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106959672B (en) | 2020-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106959672A (en) | A kind of industrial kinetic control system and method based on API | |
CN109557890B (en) | Control device | |
CN109388107B (en) | Control device | |
JP6903275B2 (en) | Control device and control method | |
US10908577B2 (en) | Control device | |
US20080147206A1 (en) | Control system for Real Time Applications for Cooperative Industrial Robots | |
CN106062648A (en) | Controller | |
CN107765629A (en) | A kind of DELTA2 robot control systems based on Soft- PLC and EtherCAT buses | |
US20190095246A1 (en) | Support device and non-transitory storage medium | |
CN103901822A (en) | Multi-shaft linkage motion control system | |
CN102540973B (en) | Implementation method for command multi-transmitting mechanism of numerical control system | |
JP6900863B2 (en) | Control unit, control method and control program | |
CN104796055A (en) | Touch screen control and drive integrated four-axis steeping motor closed-loop control system | |
Wu et al. | A customized real-time compilation for motion control in embedded PLCs | |
CN111213099A (en) | Motion control card, motion control system, robot system and numerical control machine tool | |
CN111650886A (en) | Motion control system | |
CN203849591U (en) | Multi-shaft linkage motion control system | |
CN111176225B (en) | Method and apparatus for proxy execution and calculation using industrial controller | |
WO2017101700A1 (en) | Computer aided manufacturing method, device and system in direct communication with numerical control system | |
CN108062049A (en) | A kind of embedded multi-shaft motion control system based on STM32 | |
CN109491324B (en) | Control device and control method | |
CN110543095A (en) | Design method of numerical control gear chamfering machine control system based on quantum frame | |
US5060133A (en) | Transputer CNC processor | |
CN116330263A (en) | Intelligent industrial robot platform implementation method based on Codesys | |
Zhang et al. | An USB-based software CNC system |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221212 Address after: 518000 Huichuan technology headquarters building, Guanlan high tech Industrial Park, Longhua New District, Shenzhen City, Guangdong Province Patentee after: SHENZHEN INOVANCE TECHNOLOGY Co.,Ltd. Address before: 518000 room 306, 3rd floor, building 16, Shangsha innovation and Technology Park, Binhe Road, Futian District, Shenzhen City, Guangdong Province Patentee before: Shenzhen Inovance Control Technology Co.,Ltd. |