CN115033287A - Register operation method, system and conversion equipment - Google Patents

Register operation method, system and conversion equipment Download PDF

Info

Publication number
CN115033287A
CN115033287A CN202210759968.7A CN202210759968A CN115033287A CN 115033287 A CN115033287 A CN 115033287A CN 202210759968 A CN202210759968 A CN 202210759968A CN 115033287 A CN115033287 A CN 115033287A
Authority
CN
China
Prior art keywords
register
address
plc
plcs
protocol
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.)
Pending
Application number
CN202210759968.7A
Other languages
Chinese (zh)
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210759968.7A priority Critical patent/CN115033287A/en
Publication of CN115033287A publication Critical patent/CN115033287A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30145Instruction analysis, e.g. decoding, instruction word fields
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Abstract

The present disclosure provides a register operation method, system and conversion device, relating to the technical field of industrial internet, wherein the method comprises the following steps: receiving a plurality of operation instructions corresponding to a plurality of first PLCs one to one based on a first protocol, wherein each operation instruction carries a first address corresponding to a target register in the corresponding first PLC, the plurality of first PLCs support second protocols different from each other, and the second protocols are different from the first protocols; converting the first address into a corresponding second address according to a preset corresponding relation between the first address and the second address, wherein the second address is a physical address of the target register; based on a second protocol supported by each first PLC, executing an operation represented by a corresponding operation instruction on the target register according to the second address, wherein the operation instructions come from one or more second PLCs, and each second PLC is a cloud PLC.

Description

Register operation method, system and conversion equipment
Technical Field
The disclosure relates to the technical field of industrial internet, in particular to a register operation method, a register operation system and a register conversion device.
Background
With the increasing demand for intelligence, the traditional Programmable Logic Controller (PLC) cannot meet the demand for intelligence in industrial production, and the cloud PLC is in operation. The cloud PLC is a virtual PLC which is defined by software and can run in a cloud. The cloud PLC can be directly communicated with an industrial internet platform, and industrial control is transferred from a wired mode to a wireless mode and from a local mode to a cloud side.
In the related art, when intelligent control of industrial production is performed by using a cloud PLC, development of related applications is generally performed based on IEC61499 standards.
Disclosure of Invention
The inventor notices that a great amount of traditional PLCs are still used in industrial production, and if the traditional PLCs are directly abandoned, a great amount of assets are wasted, but an application program developed based on the IEC61499 standard cannot be directly deployed on the traditional PLCs, so in order to utilize the traditional PLCs, communication needs to be carried out between the cloud PLC and the traditional PLCs to cooperatively realize the application program.
In the related art, in order to implement communication between a clouded PLC and a conventional PLC, a developer needs to design an adaptive communication interface between each clouded PLC and the conventional PLC communicating with the clouded PLC in a development process of an application program.
However, the conventional PLC performs data access and logic operation execution through an internal register, and the design and management standards of the register of the conventional PLC provided by different manufacturers are not uniform, which causes a developer to develop an adaptive communication interface by deeply knowing detailed information such as register type, access mode, instruction format, and the like of the conventional PLC communicating with each cloud PLC during application development, resulting in a relatively high development complexity and a low development efficiency.
In order to solve the above problem, the embodiments of the present disclosure propose the following solutions.
According to an aspect of the embodiments of the present disclosure, there is provided a register operation method, including: receiving a plurality of operation instructions corresponding to a plurality of first PLCs one to one based on a first protocol, wherein each operation instruction carries a first address corresponding to a target register in the corresponding first PLC, the plurality of first PLCs support second protocols different from each other, and the second protocols are different from the first protocols; converting the first address into a corresponding second address according to a preset corresponding relation between the first address and the second address, wherein the second address is a physical address of the target register; based on a second protocol supported by each first PLC, executing the operation represented by the corresponding operation instruction to the target register according to the second address, wherein the operation instructions come from one or more second PLCs, and each second PLC is a cloud PLC.
In some embodiments, the first protocol is a MODBUS communication protocol, the first address is an address of a register of the MODBUS communication protocol, the register of the MODBUS communication protocol and the target register have the same attribute, and the attribute includes an access attribute and an operation unit.
In some embodiments, in a case that the target register is a read-write register that operates by bits, a register of the corresponding MODBUS communication protocol is a coil register.
In some embodiments, in a case that the target register is a read-only register operated by bits, the register of the corresponding MODBUS communication protocol is a discrete magnitude input register.
In some embodiments, in a case where the target register is a read-write register operating by bytes, a corresponding register of the MODBUS communication protocol is a hold register.
In some embodiments, in the case that the target register is a read-only register operating by bytes, a corresponding register of the MODBUS communication protocol is an input register.
In some embodiments, each second PLC is based on IEC61499 standards.
According to another aspect of the embodiments of the present disclosure, there is provided a conversion apparatus including: the receiving module is configured to receive a plurality of operation instructions corresponding to a plurality of first PLCs one to one based on a first protocol, each operation instruction carries a first address corresponding to a target register in the corresponding first PLC, the plurality of first PLCs are non-clouded PLCs and support second protocols different from each other, and the second protocols are different from the first protocols; the conversion module is configured to convert the first address into a corresponding second address according to a preset corresponding relationship between the first address and the second address, wherein the second address is a physical address of the target register; an execution module configured to execute, based on a second protocol supported by each first PLC, an operation represented by a corresponding operation instruction on the target register according to the second address, wherein the plurality of operation instructions are from one or more second PLCs, and each second PLC is a clouded PLC.
According to still another aspect of an embodiment of the present disclosure, there is provided a conversion apparatus including: a memory; and a processor coupled to the memory, the processor configured to perform the method of any of the above embodiments based on instructions stored in the memory.
According to still another aspect of the embodiments of the present disclosure, there is provided a register operating system including: the conversion apparatus according to any one of the above embodiments; and one or more second PLCs configured to transmit a plurality of operation instructions corresponding to the plurality of first PLCs one to one based on the first protocol, each of the second PLCs being a clouded PLC.
According to a further aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium comprising computer program instructions, wherein the computer program instructions, when executed by a processor, implement the method of any one of the above embodiments.
According to a further aspect of the embodiments of the present disclosure, there is provided a computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the method of any one of the above embodiments.
In the embodiment of the disclosure, for each operation instruction in a plurality of operation instructions received from a second PLC (i.e., a cloud PLC) based on a first protocol, a first address corresponding to a target register carried in the operation instruction may be converted into a corresponding second address according to a preset correspondence, and based on a second protocol supported by a first PLC (i.e., a legacy PLC) to which the target register belongs, an operation represented by the corresponding operation instruction may be executed on the target register according to the second address. In this way, even if the second protocols supported by the plurality of legacy PLCs are different from each other, each of the clouded PLCs can transmit an operation instruction to operate a target register in any one of the legacy PLCs based on the same first protocol.
Therefore, in this way, a developer can develop a unified communication interface for each of the cloud PLCs communicating with the plurality of different traditional PLCs based on the first protocol during the development process, without developing a communication interface adapted to the cloud PLCs in a one-to-one correspondence to detailed information such as register types, access manners, instruction formats, and the like of the plurality of different traditional PLCs, thereby reducing the development complexity and improving the development efficiency.
The technical solution of the present disclosure is further described in detail by the accompanying drawings and examples.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow diagram of a method of register operation according to some embodiments of the present disclosure;
FIG. 2 is a schematic structural diagram of a translation device according to some embodiments of the present disclosure;
FIG. 3 is a schematic structural diagram of a translation device according to further embodiments of the present disclosure;
FIG. 4 is a schematic block diagram of a translation device according to further embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the embodiments described are only some embodiments of the present disclosure, rather than all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be discussed further in subsequent figures.
In the present disclosure, unless specifically emphasized, the term "PLC" refers to a non-clouded PLC, i.e., a conventional PLC.
FIG. 1 is a schematic flow diagram of a method of register operation, according to some embodiments of the present disclosure.
At step 102, a plurality of operating instructions are received in a one-to-one correspondence with a plurality of first PLCs based on a first protocol.
Here, the plurality of operating instructions may be from one or more second PLCs, each of which may be a clouded PLC. Each operation instruction may carry a first address corresponding to a target register in a corresponding first PLC.
In some embodiments, the first protocol may be a MODBUS communication protocol.
In some embodiments, the plurality of operating instructions from the one or more second PLCs may be received in an event-triggered manner.
In some embodiments, the plurality of first PLCs may be conventional PLCs from different vendors.
In some embodiments, the one or more second PLCs transmit a plurality of operation instructions corresponding to the plurality of first PLCs one to one based on the same first protocol, the plurality of operation instructions having the same instruction format, and each operation instruction may be a read register instruction or a write register instruction.
It should be noted that the register operation mainly includes a register reading operation and a register writing operation. A read register operation refers to reading the value of a single or multiple bits of a register without changing the original value on the bit. The register writing operation mainly includes a direct value assignment method, a multi-bit value assignment method, a unit value assignment method and the like, wherein the direct value assignment method refers to modifying all values in a register, and the multi-bit value assignment method and the unit value assignment method refer to changing values of one or more bits in the register without changing values of other bits.
In step 104, the first address is converted into a corresponding second address according to a preset corresponding relationship between the first address and the second address. Here, the second address is a physical address of the target register.
In some embodiments, in the case that the first protocol is a MODBUS communication protocol, the first address may be an address of a register of the MODBUS communication protocol.
At step 106, based on the second protocol supported by each first PLC, the operation indicated by the corresponding operation instruction is executed on the destination register according to the second address.
Here, the plurality of first PLCs may support a second protocol different from each other, and the second protocol is different from the first protocol.
For example, the operation instruction corresponding to the target register is a register reading instruction, and the communication protocol adopted in the process of executing register reading operation on the target register according to the second address is a second protocol supported by the first PLC to which the target register belongs. The second protocol may be a protocol used by each manufacturer in developing the PLC.
In the above embodiment, for each operation instruction from the second PLC (i.e., the clouded PLC) received based on the first protocol, the first address corresponding to the target register carried in the operation instruction may be converted into the corresponding second address according to the preset corresponding relationship, and based on the second protocol supported by the first PLC (i.e., the legacy PLC) to which the target register belongs, the operation represented by the corresponding operation instruction may be executed on the target register according to the second address. In this way, even if the second protocols supported by the plurality of legacy PLCs are different from each other, each of the clouded PLCs can transmit an operation instruction to operate a target register in any one of the legacy PLCs based on the same first protocol.
Therefore, in this way, a developer can develop a unified communication interface for each of the plurality of different traditional PLCs communicating with the cloud PLC based on the first protocol during the development process, without developing a communication interface adapted to the cloud PLC in a one-to-one correspondence manner according to detailed information of register types, access manners, instruction formats, and the like of the plurality of different traditional PLCs, thereby reducing the development complexity and improving the development efficiency.
In some embodiments, the first protocol may be a MODBUS communication protocol. In this case, the first address may be an address of a register of the MODBUS communication protocol, and the attributes of the register of the MODBUS communication protocol and the target register are consistent, where the attributes may include an access attribute and an operation unit. For example, the access attribute may include a readable writable attribute or a read-only attribute, and the operation unit may include a bit operation or a byte operation.
In this way, after the address conversion is performed on the first address corresponding to the received target register according to the preset corresponding relation, the operation indicated by the corresponding operation instruction can be executed on the target register according to the second address corresponding to the first address, so that the reliability of the register operation is improved.
In addition, for the physical address of any register in different traditional PLCs, the corresponding relationship between the physical address of the register and the address of the register of the MODBUS communication protocol can be uniformly set according to the above embodiment, which is beneficial to the uniform development of the communication interface, further reduces the development complexity, and further improves the development efficiency.
The setting of the corresponding relationship is further described below with reference to some embodiments.
In some embodiments, in the case that the target register is a read-write register operating by bits, the register of the corresponding MODBUS communication protocol may be a coil register.
For example, the destination register is an M (bit) register inside a PLC of a certain manufacturer, which is a read-write register operating on bits and can be used to store boolean type data. In this case, when the correspondence relationship is set, a segment of an address (i.e., a first address) in the coil register of the MODBUS communication protocol may be bit-wise corresponding to a physical address (i.e., a second address) of the destination register.
For another example, the destination register is an R (bit) register internal to another vendor's PLC, which is also a read-write register that operates on a bit-by-bit basis. In this case, when the correspondence relationship is set, another address in the coil register of the MODBUS communication protocol may be bit-wise corresponding to the physical address of the destination register.
In some embodiments, in the case that the target register is a read-only register operating by bits, the register of the corresponding MODBUS communication protocol may be a discrete magnitude input register.
In some embodiments, in the case that the target register is a read-write register operating by bytes, the register of the corresponding MODBUS communication protocol may be a hold register.
For example, the destination register is a WR (word) register inside a PLC of a certain manufacturer, and the register is a read-write register operated by bytes and can be used for storing integer data. In this case, when the correspondence relationship is set, a segment of the address in the holding register of the MODBUS communication protocol may be bit-wise corresponded to the physical address of the destination register.
In some embodiments, in the case that the target register is a read-only register operating by bytes, the register of the corresponding MODBUS communication protocol may be an input register.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the embodiment of the conversion device, since it basically corresponds to the embodiment of the method, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the embodiment of the method.
Fig. 2 is a schematic structural diagram of a translation device, according to some embodiments of the present disclosure.
As shown in fig. 2, the conversion apparatus 200 includes a receiving module 201, a converting module 202, and an executing module 203.
The receiving module 201 may be configured to receive a plurality of operation instructions corresponding to the plurality of first PLCs one to one based on the first protocol. Each operation instruction carries a first address corresponding to a target register in a corresponding first PLC, the first PLCs are non-cloud PLCs and support mutually different second protocols, and the second protocols are different from the first protocols.
The conversion module 202 may be configured to convert the first address into a corresponding second address according to a preset correspondence between the first address and the second address, where the second address is a physical address of the target register.
The execution module 203 can be configured to execute the operation represented by the corresponding operation instruction to the destination register according to the second address based on the second protocol supported by each first PLC. Wherein the plurality of operating instructions are from one or more second PLCs, each second PLC being a clouded PLC.
FIG. 3 is a schematic block diagram of a transition device according to further embodiments of the present disclosure.
As shown in fig. 3, the conversion device 300 comprises a memory 301 and a processor 302 coupled to the memory 301, the processor 302 being configured to perform the method of any of the previous embodiments based on instructions stored in the memory 301.
The memory 301 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory may store, for example, an operating system, application programs, a Boot Loader (Boot Loader), and other programs.
The conversion apparatus 300 may further include an input-output interface 303, a network interface 304, a storage interface 305, and the like. The interfaces 303, 304, 305 and the memory 301 and the processor 302 may be connected by a bus 306, for example. The input/output interface 303 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 304 provides a connection interface for various networking devices. The storage interface 305 provides a connection interface for external storage devices such as an SD card and a usb disk.
FIG. 4 is a schematic block diagram of a translation device according to further embodiments of the present disclosure.
As shown in fig. 4, the translation device 400 may include a northbound interface 401 and a southbound interface 402.
The northbound interface 401 may serve as a unified interface for communicating with one or more cloud PLCs (i.e., second PLCs), and is configured to receive a plurality of operation instructions from the one or more cloud PLCs based on event triggering, perform address translation on a first address carried in each operation instruction, and then transfer a translated second address to the southbound interface 402.
The southbound interface 402 can be configured to communicate with a plurality of legacy PLCs (i.e., first PLCs) from different vendors and to uniformly manage various types of registers in the plurality of legacy PLCs that support second protocols that are different from one another to enable adaptation of the plurality of legacy PLCs that support second protocols that are different from one another.
In some embodiments, the conversion device in any of the above embodiments may be an STM32 single chip microcomputer, that is, the method in any of the above embodiments may be implemented by being deployed on an STM32 single chip microcomputer.
The embodiment of the present disclosure further provides a register operating system, which includes the conversion device (for example, the conversion device 200/300) of any one of the above embodiments and one or more second PLCs.
One or more second PLCs may be configured to transmit a plurality of operation instructions corresponding to the plurality of first PLCs one to one based on the first protocol, wherein each of the second PLCs may be a clouded PLC.
The disclosed embodiments also provide a computer-readable storage medium comprising computer program instructions, which when executed by a processor, implement the method of any of the above embodiments.
The embodiments of the present disclosure also provide a computer program product comprising a computer program, wherein the computer program realizes the method of any one of the above embodiments when executed by a processor.
Thus, various embodiments of the present disclosure have been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that the functions specified in one or more of the flows in the flowcharts and/or one or more of the blocks in the block diagrams can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be understood by those skilled in the art that various changes may be made in the above embodiments or equivalents may be substituted for elements thereof without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (12)

1. A register operation method, comprising:
receiving a plurality of operation instructions corresponding to a plurality of first PLCs one by one based on a first protocol, wherein each operation instruction carries a first address corresponding to a target register in the corresponding first PLC, the plurality of first PLCs support second protocols different from each other, and the second protocols are different from the first protocols;
converting the first address into a corresponding second address according to a preset corresponding relation between the first address and the second address, wherein the second address is a physical address of the target register;
based on a second protocol supported by each first PLC, executing an operation represented by the corresponding operation instruction to the target register according to the second address,
wherein the plurality of operating instructions are from one or more second PLCs, each second PLC being a clouded PLC.
2. The method of claim 1, wherein the first protocol is a MODBUS communication protocol, the first address is an address of a register of the MODBUS communication protocol, and attributes of the register of the MODBUS communication protocol and the target register are consistent, and the attributes include an access attribute and an operation unit.
3. The method of claim 2, wherein, in case that the target register is a read-write register operating by bits, the corresponding register of MODBUS communication protocol is a coil register.
4. The method of claim 2, wherein, in the case that the target register is a read-only register operated by bits, the corresponding register of the MODBUS communication protocol is a discrete magnitude input register.
5. The method of claim 2, wherein, in the case that the target register is a read-write register operating by bytes, the corresponding register of the MODBUS communication protocol is a hold register.
6. The method of claim 2, wherein, in the case that the target register is a read-only register operating by bytes, the corresponding register of the MODBUS communication protocol is an input register.
7. The method of any of claims 1-6, wherein each second PLC is based on IEC61499 standards.
8. A translation device, comprising:
the receiving module is configured to receive a plurality of operation instructions corresponding to a plurality of first PLCs one to one based on a first protocol, each operation instruction carries a first address corresponding to a target register in the corresponding first PLC, the plurality of first PLCs are non-clouded PLCs and support second protocols different from each other, and the second protocols are different from the first protocols;
the conversion module is configured to convert the first address into a corresponding second address according to a preset corresponding relationship between the first address and the second address, wherein the second address is a physical address of the target register;
an execution module configured to execute, based on a second protocol supported by each first PLC, an operation represented by the corresponding operation instruction to the destination register according to the second address,
wherein the plurality of operating instructions are from one or more second PLCs, each second PLC being a clouded PLC.
9. A translation device, comprising:
a memory; and
a processor coupled to the memory and configured to perform the method of any of claims 1-7 based on instructions stored in the memory.
10. A register operating system, comprising:
the conversion apparatus of claim 8 or 9; and
one or more second PLCs configured to transmit a plurality of operation instructions in one-to-one correspondence with the plurality of first PLCs based on the first protocol, each of the second PLCs being a clouded PLC.
11. A computer readable storage medium comprising computer program instructions, wherein the computer program instructions, when executed by a processor, implement the method of any of claims 1-7.
12. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the method of any one of claims 1-7.
CN202210759968.7A 2022-06-30 2022-06-30 Register operation method, system and conversion equipment Pending CN115033287A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210759968.7A CN115033287A (en) 2022-06-30 2022-06-30 Register operation method, system and conversion equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210759968.7A CN115033287A (en) 2022-06-30 2022-06-30 Register operation method, system and conversion equipment

Publications (1)

Publication Number Publication Date
CN115033287A true CN115033287A (en) 2022-09-09

Family

ID=83129419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210759968.7A Pending CN115033287A (en) 2022-06-30 2022-06-30 Register operation method, system and conversion equipment

Country Status (1)

Country Link
CN (1) CN115033287A (en)

Similar Documents

Publication Publication Date Title
CN110109626B (en) NVMe SSD command processing method based on FPGA
CN112463662B (en) Method and terminal for user mode control of I2C equipment
CN102750249B (en) The method that host computer communicates with slave computer, Apparatus and system
US10162778B2 (en) Universal serial bus emulation layer
CN110837488B (en) Message transmission method and device
CN112328521A (en) Bus adapter and data transmission method
CN110244983A (en) Method, terminal device and the storage medium of fixed serial port
WO2015188586A1 (en) Data transmission method, electronic equipment, usb equipment and storage medium
CN114237714A (en) Command packet generation method and device, electronic equipment and storage medium
CN103793263A (en) DMA transaction-level modeling method based on Power PC processor
CN116909639B (en) Mounting system, method, cluster and storage medium
CN108255491B (en) Unified modeling method for servo driver data
CN104598409A (en) Method and device for processing input and output requests
CN115033287A (en) Register operation method, system and conversion equipment
CN107861803A (en) Cpci bus RS422 communications driving method under a kind of XP systems based on interruption
CN115794701A (en) BMC chip and method of DMA function virtual serial port
CN111371799B (en) Method, device and equipment for controlling data receiving and transmitting of MCTP (Multi-channel media Port) controller
CN110362526B (en) SPI slave device, storage and adaptation method and computer storage medium
CN116745753A (en) Tag for request packets on a network communication link
CN208077160U (en) SD card driver based on SPI mode
CN113452538B (en) Control device, execution device, device management method, and device management system
CN114095303B (en) Communication device, data transmission method and electronic device
WO2021208805A1 (en) Configuration method for logical address space of hardware single board, device, and storage medium
US20230305816A1 (en) Device and method for handling programming language function
CN111831226B (en) Autonomous output NVME protocol command acceleration processing method

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