CN105991454A - Method of using PLC to regulate and control industrial-grade switch - Google Patents
Method of using PLC to regulate and control industrial-grade switch Download PDFInfo
- Publication number
- CN105991454A CN105991454A CN201510043946.0A CN201510043946A CN105991454A CN 105991454 A CN105991454 A CN 105991454A CN 201510043946 A CN201510043946 A CN 201510043946A CN 105991454 A CN105991454 A CN 105991454A
- Authority
- CN
- China
- Prior art keywords
- switch
- industrial grade
- plc
- grade switch
- industrial
- 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
Links
Abstract
The present invention relates to a method of using a PLC to regulate and control an industrial-grade switch. The industrial-grade switch and a plurality of PLCs form an optical fiber ring network, and the industrial-grade switch is connected with the PLCs. The method comprises the steps of S1 configuring the switch modules used for regulating and controlling the industrial-grade switch on the PLCs, wherein the switch modules are equipped with the corresponding regulation and control operation information and are equipped with the EtherNet/IP communication modules communicating with the industrial-grade switch; S2 after the PLCs establish links with the industrial-grade switch via the EtherNet/IP communication modules, monitoring the industrial-grade switch by the operation information, acquiring the operation parameter and the port traffic of the industrial-grade switch, resetting the industrial-grade switch and regulating the port traffic of the industrial-grade switch. Compared with the prior art, the method of the present invention enables the network traffic to be regulated, provides the reliability of an industrial ring network, and has the advantages of being simple and convenient to operate, being strong in practicality and low in cost, etc.
Description
Technical field
The present invention relates to the communications field, the method especially relating to a kind of PLC regulation and control industrial grade switch.
Background technology
Industrial automation system is to distribution, the development of intelligent control direction in real time and and information management system
The closest association, it is desirable to it is integrated that enterprise realizes comprehensive seamless information from field control layer to information management layer,
And the base frame of an opening based on CIP universal industrial protocol is provided, the implementation of CIP makes Ethernet be become
For the mainstream network of Industry Control, industrial grade switch also arises at the historic moment, and the main force playing framework industrial control network makees
With, such as: industrial grade switch and the PLC for controlling equipment may make up looped network, and technical grade exchanges
Machine is connected in bus as the node of looped network, the most multiple industrial grade switch.
The feature of industrial control system, one is dynamically change, and two is reliability and controllability requirement height, this 2 point
Basic demand, all relevant with to the control of equipment, but, the industrial grade switch of different looped network nodes is due to port
Flow cannot monitor, and can clash between looped network, causes network transmission efficiency to reduce, and even network crashes, mesh
Before not yet have a report that by CIP, industrial grade switch is carried out monitoring effectively continuous, real-time, therefore, this
Invention proposes the method for a kind of PLC regulation and control industrial grade switch, runs industrial grade switch by CIP
The continuous real-time monitoring of situation, and control to adjust the operation of industrial grade switch.
Summary of the invention
Defect that the purpose of the present invention is contemplated to overcome above-mentioned prior art to exist and provide a kind of PLC to regulate and control work
The method of industry level switch, it is achieved the regulation of network traffics, it is provided that the reliability of industry looped network, has easy to operate
Simplicity, practical, low cost and other advantages.
The purpose of the present invention can be achieved through the following technical solutions:
The method of a kind of PLC regulation and control industrial grade switch, industrial grade switch and multiple PLC device constitute optical fiber
Looped network, industrial grade switch connects PLC, and the method for PLC regulation and control industrial grade switch includes
Following steps:
It is configured to the switch module of industrial grade switch, switch mould on step S1:PLC controller
Block is provided with the operation information of corresponding regulation and control, and configures the EtherNet/IP communication mould communicated with industrial grade switch
Block, including local communication protocol, IP address and PRI;
After step S2:PLC controller is established the link by EtherNet/IP communication module and industrial grade switch,
By operation information, industrial grade switch is monitored, including gathering operational factor and port flow, to technical grade
Switch resets, and is adjusted the flow of industrial grade switch port.
Described operation information includes: read switch parameter command, switch reset command and switch ports themselves flow
Regulating command, switch parameter includes operational factor and the port flow of switch.
Concretely comprising the following steps of described step S2:
201: call the operation information in switch module;
202: read the operational factor of industrial grade switch;
203: judge whether the operational factor of industrial grade switch is in the normality threshold of setting, if so, perform
Step 204, resets if it is not, control switch, jump procedure 202;
204: read the port flow of industrial grade switch;
205: judge that port flow, whether more than Q, if so, performs step 206, if it is not, increase switch end
Mouth flow, jump procedure 204;
206: read the operational factor of industrial grade switch;And be written in the data file of switch module.
Described Q value is the 60% of industrial grade switch port flow limit value.
Described industrial grade switch is N-Tron 700 and 7000 series of switch.
Described PLC device and industrial grade switch are all by CIP agreement UNICOM network.
Compared with prior art, the invention have the advantages that
1) each looped network node PLC can be monitored management to node switch, according to the actual feelings of network
Condition regulation regulation port flow, it is to avoid clash between looped network, cause network transmission efficiency to reduce, even network
Crash, it is achieved the regulation of network traffics, it is provided that the reliability of industry looped network.
2) the CIP agreement of N-Tron 700 and 7000 series of switch is utilized, it is achieved in the company of PLC
Connect, and then by PLC to the network port state of N-Tron 700 and 7000 series of switch, letter
The control operations such as breath flow, the real-time monitoring of switch configuration parameter, and switch is restarted, reset, thus real
The regulation and control of existing industrial grade switch, easy to operate simplicity, practical, low cost.
Accompanying drawing explanation
Fig. 1 is optical fiber ring network structural representation in the present invention;
Fig. 2 is the flow chart that in the present invention, PLC specifically regulates and controls industrial grade switch;
In the switch module of Fig. 3 position present invention, the schematic diagram of AOI object quoted in trapezoidal language.
In figure: 1, industrial grade switch, 2, PLC device, 3, PLC.
Detailed description of the invention
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.The present embodiment is with the technology of the present invention side
Implement premised on case, give detailed embodiment and concrete operating process, but the protection model of the present invention
Enclose and be not limited to following embodiment.
As it is shown in figure 1, industrial grade switch 1 and multiple PLC device 2 constitute optical fiber ring network, technical grade exchanges
Machine 1 connects PLC 3, and industrial grade switch 1 is N-Tron 700 and 7000 series of switch.PLC
Equipment 2 and industrial grade switch 1 are all by CIP agreement UNICOM network.
N-Tron switch is high-performance, reinforced industrial ethernet switch, uses storage, retransmission technique,
Aim at the harsh industrial environment design of wide temperature (-40 DEG C~55 DEG C), HI high impact, high vibrations and strong-electromagnetic field interference.
Product is assert by UL, has Class I, Div.2 explosive-proof grade, and provides wide pressure (10~30VDC) superfluous
Remaining power supply input, uses the multiple mounting modes such as DIN guide rail, panel or frame, supports IEEE802.3 simultaneously
10/10DBaseTX RJ-45 port and 10DBaseFX fiber port.CIP by N-Tron intension
CIP label in Messaging function and ControlLogix controller programming software RSLogix can realize this
The network monitoring target of industrial grade switch 1 in invention.
PLC 3 regulates and controls the method for industrial grade switch 1 and comprises the following steps:
Step S1: by RJ45 ether between the Ethernet interface of industrial grade switch 1 and PLC 3
Netting twine connects, and is joined in PLC 3 by HMI (Human Machine Interface) operation computer
Putting the switch module for regulating and controlling industrial grade switch 1, switch module is provided with the operation letter of corresponding regulation and control
Breath, and configure the EtherNet/IP communication module that communicates with industrial grade switch 1, including local communication protocol,
IP address and PRI;Operation information includes: read switch parameter command, switch reset command and switch end
Mouth Flow-rate adjustment order, switch parameter includes operational factor and the port flow of switch.
In step S1, N-Tron switch is arranged in PLC programming software RSLogix 5000 and carries out,
Installing RSLogix 5000, RSLogix 5000 release requirement Version 17.0 or more highest version, N-Tron hands over
The firmware changed planes should be Version 3.0 or more highest version, as it is shown on figure 3, concrete steps include:
1) CIP assembly is installed, builds N-Tron object.
First, using the EDS hardware installation instrument of Rockwell, installation kit is noted containing N-Tron switch certification
The EDS file (N-Tron electronic data worksheet) of volume.
Secondly, on the basis of N-Tron EDS file registration wound is installed, creates and comprise N-Tron switch letter
The CIP object of breath, including: identity objects, TCP/IP interface object, Ethernet connecting object, N-Tron
Switch object.
Finally, the N-Tron option of definition CIP service, it is achieved the data access to N-Tron switch.I/O
The data being connected to two equipment rooms send and connect, and its data interaction form is as follows:
N-TRON switch | Assembly Number | Size(bytes) |
Input(to switch)* | 101 | 4 |
Output(from switch) | 102 | 104 |
Configuration | 103 | 0 |
*-not currently used
2) in RSLogix 5000 programmed environment, import the Add-On Instruction (AOI) of N-Tron,
Then in the config option of RSLogix, automatically increase the control option of N-Tron object, N-Tron is added
In the I/O configuration tree construction of RSLogix 5000 programming software, AOI is added PLC application program, set up and
Tag in configuration AOI.
Therefore, PLC application program possesses N-Tron AOI object, PLC program can be quoted AOI
Object, programming personnel can embed this object in the trapezoidal language of PLC.Corresponding trapezoidal statement includes:
Switch_Inputs switch inputs
Switch_Output switch exports
Switch_Parameters switch parameter
Input_Assembly input module
Get_Message information acquisition
Get_Message_Extended information acquisition extends
Storage stores
Set_Message information setting
SetData data give
Operation information by above-mentioned trapezoidal statement, it is possible to achieve N-Tron 700 and 7000 Series Industrial is exchanged
Machine carries out data interaction and controls operation.
3) the switch model needing to connect is selected, such as: N-Tron 708FX2, after choosing switch object,
Just can enter the configuration operation of EtherNet/IP communication module, including: choose local communication protocol and (i.e. exist
The I/O Configuration of RSLogix 5000 selects Ethernet Module), carry out network parameter setting (i.e.
Set IP address and other link parameters), and (requested Packet Interval needs to configure network RPI.
Pack interval).
After confirmation, configure at the I/O of PLC and show with the ETHERNET mould of node N228 name on tree construction
Block object, then, can read and control its N-Tron represented by calling N228 object in programming process
Switch.
Utilize the CIP function that N-Tron switch is embedded, can pass through at A-B PLCN-Tron switch device
Information and the configuration of PLC and HMI are directly accessed by CIP Messaging.Switch status, trend and configuration
Can check from computer and PanelView Plus easily.Under RSLogix 5000 environment
The CIP label of FactoryTalk View ME/SE software and diagnosis panel provide Fast Installation and configuration.
Step S2:PLC controller 3 sets up chain by EtherNet/IP communication module and industrial grade switch 1
After connecing, by operation information, industrial grade switch 1 is monitored, including gathering operational factor and port flow,
Reset industrial grade switch 1, verification etc. controls, and carries out the flow of industrial grade switch 1 port
Regulation, thus realize program level and control.As in figure 2 it is shown, concretely comprise the following steps:
201: call the operation information in switch module;
202: read the operational factor of industrial grade switch 1;
203: judge whether the operational factor of industrial grade switch 1 is in the normality threshold of setting, if so, hold
Row step 204, resets if it is not, control switch, jump procedure 202;
204: read the port flow of industrial grade switch 1;
205: judge that port flow, whether more than Q, if so, performs step 206, if it is not, increase switch end
Mouth flow, jump procedure 204;Q value is the 60% of industrial grade switch 1 port flow limit value;
206: read the operational factor of industrial grade switch 1;And be written in the data file of switch module.
The present invention utilizes the open nature of the CIP universal industrial protocol of N-Tron 700 and 7000 series of switch,
Create a N-Tron plug-in object, and then in PLC programmed environment, quote this plug-in unit, behaviour is set by above-mentioned
Making, add the programmed statements of N-Tron object in the trapezoidal programming language of PLC, programming personnel calls this statement,
The program level that just can realize N-Tron 700 and 7000 series of switch is controlled, and then realizes PLC regulation and control
Industrial grade switch 1, monitors in real time to the port of switch.
Claims (6)
1. the method for PLC regulation and control industrial grade switch, it is characterised in that industrial grade switch and multiple
PLC device constitutes optical fiber ring network, and industrial grade switch connects PLC, PLC regulation and control technical grade
The method of switch comprises the following steps:
It is configured to the switch module of industrial grade switch, switch mould on step S1:PLC controller
Block is provided with the operation information of corresponding regulation and control, and configures the EtherNet/IP communication mould communicated with industrial grade switch
Block, including local communication protocol, IP address and PRI;
After step S2:PLC controller is established the link by EtherNet/IP communication module and industrial grade switch,
By operation information, industrial grade switch is monitored, including gathering operational factor and port flow, to technical grade
Switch resets, and is adjusted the flow of industrial grade switch port.
The method of a kind of PLC the most according to claim 1 regulation and control industrial grade switch, it is characterised in that
Described operation information includes: read switch parameter command, switch reset command and switch ports themselves Flow-rate adjustment
Order, switch parameter includes operational factor and the port flow of switch.
The method of a kind of PLC the most according to claim 1 regulation and control industrial grade switch, it is characterised in that
Concretely comprising the following steps of described step S2:
201: call the operation information in switch module;
202: read the operational factor of industrial grade switch;
203: judge whether the operational factor of industrial grade switch is in the normality threshold of setting, if so, perform
Step 204, resets if it is not, control switch, jump procedure 202;
204: read the port flow of industrial grade switch;
205: judge that port flow, whether more than Q, if so, performs step 206, if it is not, increase switch end
Mouth flow, jump procedure 204;
206: read the operational factor of industrial grade switch;And be written in the data file of switch module.
The method of a kind of PLC the most according to claim 3 regulation and control industrial grade switch, it is characterised in that
Described Q value is the 60% of industrial grade switch port flow limit value.
The method of a kind of PLC the most according to claim 1 regulation and control industrial grade switch, it is characterised in that
Described industrial grade switch is N-Tron 700 and 7000 series of switch.
The method of a kind of PLC the most according to claim 1 regulation and control industrial grade switch, it is characterised in that
Described PLC device and industrial grade switch are all by CIP agreement UNICOM network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510043946.0A CN105991454A (en) | 2015-01-28 | 2015-01-28 | Method of using PLC to regulate and control industrial-grade switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510043946.0A CN105991454A (en) | 2015-01-28 | 2015-01-28 | Method of using PLC to regulate and control industrial-grade switch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105991454A true CN105991454A (en) | 2016-10-05 |
Family
ID=57036495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510043946.0A Pending CN105991454A (en) | 2015-01-28 | 2015-01-28 | Method of using PLC to regulate and control industrial-grade switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105991454A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070186011A1 (en) * | 2006-02-03 | 2007-08-09 | Rockwell Automation Technologies, Inc. | Industrial protocol and gateway |
CN102317876A (en) * | 2008-12-31 | 2012-01-11 | 施耐德电气美国股份有限公司 | Communication Module with Network Isolation and Communication Filter |
CN102339046A (en) * | 2011-07-15 | 2012-02-01 | 方舟 | Interconnected control system (ICS) |
-
2015
- 2015-01-28 CN CN201510043946.0A patent/CN105991454A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070186011A1 (en) * | 2006-02-03 | 2007-08-09 | Rockwell Automation Technologies, Inc. | Industrial protocol and gateway |
CN102317876A (en) * | 2008-12-31 | 2012-01-11 | 施耐德电气美国股份有限公司 | Communication Module with Network Isolation and Communication Filter |
CN102339046A (en) * | 2011-07-15 | 2012-02-01 | 方舟 | Interconnected control system (ICS) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107734042B (en) | Low-cost remote debugging system and method | |
CN104765321A (en) | Motion controller being compatible with various field bus protocols | |
WO2016127778A1 (en) | Data transmission and control device in multi-node sensor network | |
CN106374439A (en) | Intelligent substation protection control system-based software definition implementation method | |
CN100426167C (en) | Control device, control module, module battery and control system | |
CN105141475B (en) | A kind of intelligent substation station level equipment assistant adjustment system | |
EP3690561A1 (en) | Method and system for 3d visually monitoring a building, and memorizer | |
CN103676849A (en) | Distributed control system and distributed control method | |
CN105137928A (en) | Full-automatic production line data collection method and system thereof | |
CN105116860A (en) | Central air conditioning system remote supervising device and method | |
CN110300055B (en) | Gateway system for heterogeneous field bus | |
CN203275977U (en) | Automation bus network electric control system | |
CN201163782Y (en) | Intelligent network gateway used for EPA/HART interconnection | |
WO2012131074A1 (en) | Method for managing process automation control and associated system | |
CN105991454A (en) | Method of using PLC to regulate and control industrial-grade switch | |
CN103491058A (en) | TR069 and UPnP protocol conversion method and home network terminal management method and system | |
CN105759746B (en) | The online updating method of DDC controller control strategies based on Lonworks communication protocols | |
CN104578410A (en) | Method and system for transmitting security and protection monitoring data | |
CN103530258A (en) | Multi-drive supported server based on OPC technology | |
CN103454989A (en) | Large-scale fan, high voltage motor operation monitoring system of large-scale fan and monitoring method of monitoring system | |
CN102495579A (en) | Monitoring system of large-sized hydraulic machine | |
CN105005486A (en) | Program online upgrading system and method for intelligent transformer substation equipment | |
CN204406097U (en) | The operation supervise and control device of Pneumatic silk feeding and environmental dust removal equipment | |
CN208597088U (en) | A kind of PROFINET communication system for automatic assembly line | |
CN205375141U (en) | Industrial computer and PLC workstation use automated control system of wireless network transmission and control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161005 |