Supercharge Your Innovation With Domain-Expert AI Agents!

Pulse axis control method based on CoDeSys controller

A control method and pulse axis technology, applied in the field of PLC technology, can solve problems such as inequitable treatment and inability to do closed-loop control, and achieve the effect of simplifying user operations

Active Publication Date: 2021-05-04
SHANGHAI STEP ELECTRIC +2
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the characteristics of the virtual axis in CoDeSys, that is, the actual position is equal to the target position, it cannot be used for closed-loop control; in addition, when using the virtual axis method to control the pulse axis, it is not as good as other buses when using the PLCopen standard interface specification for motion planning. The axes are treated equally, and additional operations (such as complex and cumbersome operations such as control IO, pulse value encoder value conversion, variable mapping, etc.) are required to perform operations such as up / down enable, motion control, and error clearing on the pulse axis.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Pulse axis control method based on CoDeSys controller
  • Pulse axis control method based on CoDeSys controller
  • Pulse axis control method based on CoDeSys controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] figure 1 It shows a schematic flow chart of a method for controlling a pulse axis based on a CoDeSys controller according to a specific embodiment of the present invention. The CoDeSys controller refers to a motion controller using the CoDeSys software of the German 3S company. Please refer to figure 1 , the pulse axis control method based on CoDeSys controller according to the embodiment of the present invention, comprises the following steps:

[0020] Create the device description file of the pulse axis master station and the device description file of the pulse axis slave station, and import the created device description file of the pulse axis master station and the device description file of the pulse axis slave station into the device warehouse of CoDeSys software;

[0021] Create the IoDrvStepPulseAxis library and the CmpStepPulseEncoder library, and import the IoDrvStepPulseAxis library and the CmpStepPulseEncoder library into the library warehouse of the CoDeS...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A pulse axis control method based on a CoDeSys controller comprises the following steps that: a pulse axis master station equipment description file and a pulse axis slave station equipment description file are created and imported into an equipment warehouse; an IoDrvStepPulseAxis library and a CmpStepPulseEncoder library which is used for setting the number of pulses and reading the value of an encoder are created, and the IoDrvStepPulseAxis library and the CmpStepPulseEncoder library are imported into a library warehouse, wherein the IoDrvStepPulseAxis library comprises a pulse axis master station equipment function block and a pulse axis slave station equipment function block, and the pulse axis slave station equipment function block is inherited by a function block AXIS_REF_SM3 of CoDeSys software; pulse axis master station equipment and pulse axis slave station equipment are added in a CoDeSys project, and working parameters of a pulse axis are configured; and the pulse type servo driver is controlled by using the added pulse axis master station equipment and pulse axis slave station equipment. According to the invention, closed-loop control of the pulse shaft can be realized, and the pulse shaft is completely equal to other bus shafts.

Description

technical field [0001] The present invention relates to PLC technology. Background technique [0002] In recent years, because CoDeSys (Controller Development System) has the advantages of openness, reconfigurability, componentization, and compliance with the IEC 61131-3 international standard, more and more manufacturers develop motion controllers based on the CoDeSys software platform. CoDeSys software supports most industrial field buses, such as EtherCAT, CANopen, EtherNET / IP, etc., but does not provide support for pulse axes. [0003] At present, domestic methods based on CoDeSys software to control the pulse axis all adopt the virtual axis method, and then convert the output of the virtual axis into specific pulses to control the pulse-type servo drive. A Chinese patent application for a method for instantiating pulse axes using codesys imaginary axes. Due to the characteristics of the virtual axis in CoDeSys, that is, the actual position is equal to the target posit...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G05B19/05
CPCG05B19/054
Inventor 王科李延法钟前进郝佳佳谭宝
Owner SHANGHAI STEP ELECTRIC
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More