Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of address distribution method and plc system

An allocation method and address technology, applied in the direction of memory address/allocation/relocation, memory system, instrument, etc., can solve the problems of increasing hardware cost and weak module address capability, and achieve the effect of reducing hardware cost and reducing modification.

Active Publication Date: 2020-09-25
SHENZHEN UNIMAT AUTOMATION TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional method is to add an additional address line to assign an address to the module, or use a chip select signal similar to the Serial Peripheral Interface (SPI) bus, but no matter which method is used above, if the number of modules needs to be expanded, It is necessary to modify the hardware and add more address lines to meet the demand, and adding additional address lines will inevitably increase the hardware cost, which leads to the weak ability of the traditional method to expand the module address

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
  • A kind of address distribution method and plc system
  • A kind of address distribution method and plc system
  • A kind of address distribution method and plc system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 The implementation flow of the address allocation method provided by Embodiment 1 of the present invention is shown, wherein the above address allocation method is described in detail as follows:

[0022] In step S101, when the address data sent by the upper-level device of the i-th module is received, the address of the above-mentioned i-th module is determined based on the above-mentioned address data;

[0023] In the embodiment of the present invention, the above-mentioned address allocation method is applied to a PLC system, and the above-mentioned PLC system includes at least one PLC and at least two modules, and the above-mentioned at least one PLC and the above-mentioned at least two modules form a daisy chain structure, wherein the above-mentioned daisy chain The structure is a simplified cascade structure. In the above daisy chain structure, the signal is transmitted serially. In order to make the daisy chain structure clearer and clearer, figure 2 I...

Embodiment 2

[0068] Corresponding to the address allocation method of the above embodiment, Figure 5 Shows the structural block diagram of the PLC system provided by the present invention, for the convenience of description, only shows the part relevant to the embodiment of the present invention, refer to Figure 5 , the address distribution system 5 includes at least one PLC 51 and at least two modules 52, the above-mentioned at least one PLC 51 and the above-mentioned at least two modules 52 form a daisy chain structure, wherein the above-mentioned PLC 51 is used for: sending to the first module 52 The address data of the above-mentioned first module 52, the above-mentioned first module 52 is a module 52 directly connected with the above-mentioned PLC 51;

[0069] The above-mentioned module 52 is used for: when receiving the address data sent by the upper-level device, determine the address of the above-mentioned module 52 based on the above-mentioned address data; use the preset data p...

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

The invention discloses an address distribution method and a PLC system. The address distribution method is applied to the PLC system. The PLC system includes at least one PLC and at least two modules, wherein the PLCs form a daisy chain structure with the modules. The address distribution method includes the steps of when address data sent by a component at the previous level of the ith module isreceived, determining the address of the ith module on the basis of the address data, wherein when i is equal to 1, the component at the previous level of the ith module is the PLCs, and when i is greater than 1, the component at the previous level of the ith module is the (i-1)th module; according to a preset data processing method, processing the address data received by the ith module, and obtaining the processed address data; sending the processed address data to the (i+1)th module, wherein i is selected from 1, 2, 3, 4, ... and n-1, and n refers to the number of the modules in the PLC system. According to the scheme, on the premise of reducing modification on hardware of the PLC system, addresses can be distributed for the modules.

Description

technical field [0001] The invention belongs to the technical field of programmable logic controllers, and in particular relates to an address allocation method and a PLC system. Background technique [0002] In the Programmable Logic Controller (PLC) system, a modular system structure is generally adopted, that is, the daisy chain structure of "PLC+module". The PLC accesses each module through the backplane bus, and before accessing the module, Addresses must first be assigned to the individual modules. The traditional method is to add an additional address line to assign an address to the module, or use a chip select signal similar to the Serial Peripheral Interface (SPI) bus, but no matter which method is used above, if the number of modules needs to be expanded, It is necessary to modify the hardware and add more address lines to meet the requirements, and adding additional address lines will inevitably increase the hardware cost, which leads to the weak ability of the ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/02G06F9/305
CPCG06F9/30029G06F12/0223
Inventor 李华平
Owner SHENZHEN UNIMAT AUTOMATION TECH