Control method and system of fmmu in ethercat slave station

A control method and number technology, applied in the field of automation, can solve problems such as the inability to realize bitwise mapping and the inability to realize multiple address mapping of the master station in the EtherCAT protocol, so as to reduce the consumption of hardware resources and achieve the effect of fast read and write operations

CN107229571BActive Publication Date: 2020-07-28CHINA ELECTRONICS CORP 6TH RES INST +1
1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2020-07-28

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a control method and system of a FMMU in a EtherCAT slave station. The control method includes the steps of acquiring an initial value of a start byte bit number counter, an initial value of a byte number counter and an initial value of an end byte bit number counter; according to the initial value of the start byte bit number counter, the initial value of the byte number counter and the initial value of the end byte bit number counter, counting the bit number of a start byte, the number of bytes and the bit number of an end byte; according to the bit number of the start byte, the number of the bytes and the bit number of the end byte, and determining mapping activation signals so that the FMMU can obtain an offset address according to the mapping activation signals and realize bitwise mapping betweena logical address and a physical address of the slave station. By the adoption of the control method and system of the FMMU in the EtherCAT slave station, the rapid read-write operation of the FMMU can be achieved, and meanwhile the assumption of hardware resources can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of automation, in particular to a control method and system for an FMMU in an EtherCAT slave station. Background technique

[0002] At present, Ethernet Control Automation Technology (EtherCAT for short) was originally a real-time industrial Ethernet technology proposed by Beckhoff Automation GmbH in 2003 based on Ethernet technology. Not only has the characteristics of high speed and high data efficiency, but also has a flexible network topology, and encapsulates IP / UDP in the protocol, so the communication can be realized without the IP protocol. Therefore, EtherCAT has the following advantages: wide adaptability; conforms to the Ethernet standard; can be used as an EtherCAT slave without using a slave subnet; high data transmission efficiency; short refresh cycle; good synchronization performance. This technology adopts a master-slave structure. The master station has the right to control the bus. The ma...

Examples

Embodiment Construction

[0065] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0066] Embodiments of the present invention provide a method for controlling FMMU in an EtherCAT slave station, such as figure 1 As shown, the method includes:

[0067] S1. Obtain the initial value of the start byte bit number counter, the initial value of the byte number counter and the initial value of the end byte bit number counter;

[...