CN105515612A - PLC test method and system - Google Patents

PLC test method and system Download PDF

Info

Publication number
CN105515612A
CN105515612A CN201510855985.0A CN201510855985A CN105515612A CN 105515612 A CN105515612 A CN 105515612A CN 201510855985 A CN201510855985 A CN 201510855985A CN 105515612 A CN105515612 A CN 105515612A
Authority
CN
China
Prior art keywords
plc
reset
file
burning
identification code
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.)
Granted
Application number
CN201510855985.0A
Other languages
Chinese (zh)
Other versions
CN105515612B (en
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.)
Shenzhen Chenggu Intelligent Technology Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510855985.0A priority Critical patent/CN105515612B/en
Publication of CN105515612A publication Critical patent/CN105515612A/en
Application granted granted Critical
Publication of CN105515612B publication Critical patent/CN105515612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/02Details
    • H04B3/46Monitoring; Testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a PLC test method and system. Configuration files for deleting network encryption identification codes are burnt in PLCs in advance; the configuration files are loaded by the PLCs; PCL is tested; when testing the PCL, because no network encryption identification code is in the PLCs, two adjacent PLCs cannot communicate, there is no interference on the test, the interference comprises incapability of burning MAC numbers to corresponding PLCs or repeatedly burning the MAC numbers.

Description

A kind of PLC method of testing and system
Technical field
The present invention relates to field tests, particularly relate to a kind of PLC method of testing and system.
Background technology
PLC is a kind of power line communication technology emerged.It is widely used in computer network. communication. and Smart Home. health care. multiple industry such as electric power.Nearly 10 years, particularly since 2000, because people are to the continuous growth of bandwidth demand, the broadband access technology comprising ADSL.PLC technology was developed rapidly.Particularly PLC technology, owing to making full use of electric power networks resource the most universal, construction speed is fast, small investment, indoorly need not connect up, and can carry out high speed Internet access by the supply socket spreading all over each room, possess the advantage that other access way is incomparable, be subject to extensive concern both domestic and external.Therefore the production test efficiency of PLC product and production cost also receive the great attention of vast manufacturer.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of PLC method of testing and system, for solving the problem of XXX in prior art.
For achieving the above object and other relevant objects, the invention provides a kind of PLC method of testing, comprise the steps: the configuration file deleting network encryption identification code in advance to burning one in described PLC; Described PLC is made to load described configuration file; Described PCL is tested.
In a specific embodiment of the present invention, when testing described PLC, in described PLC, add corresponding physical address.
In a specific embodiment of the present invention, while configuration file described in burning in described PLC, in described PCL, burning one comprises the reset file of the image file of described network encryption identification code, whether calls described reset file to make described PLC according to a reset operation automatic decision.
In a specific embodiment of the present invention, described reset operation comprises: to the pressing of a reset key; Judge the compressing time to described reset key, when described compressing time is less than a time threshold, make described PLC perform reset operation; When described compressing time is more than or equal to described time threshold, make described PLC call described reset file, thus add the image file of described deleted network encryption identification code.
In a specific embodiment of the present invention, when described PLC performs the successful operation of the image file adding described deleted network encryption identification code, an indicator light is made to warn accordingly.
For achieving the above object and other relevant objects, the present invention also provides a kind of PLC test macro, comprising: burning unit, in order to delete the configuration file of network encryption identification code in advance to burning one in described PLC, loads described configuration file to make described PLC; Test cell, in order to test described PCL.
In a specific embodiment of the present invention, described test cell, when testing described PLC, adds corresponding physical address in described PLC.
In a specific embodiment of the present invention, described burning unit is while configuration file described in burning in described PLC, and in described PCL, burning one comprises the reset file of the image file of described network encryption identification code; Described system also comprises a reset unit, whether calls described reset file in order to make described PLC according to a reset operation automatic decision.
In a specific embodiment of the present invention, described reset operation comprises: to the pressing of a reset key; Judge the compressing time to described reset key, when described compressing time is less than a time threshold, make described PLC perform reset operation; When described compressing time is more than or equal to described time threshold, make described PLC call described reset file, thus add the image file of described deleted network encryption identification code.
In a specific embodiment of the present invention, also comprise an alarm unit, in order to when described PLC performs the successful operation of the image file adding described deleted network encryption identification code, make an indicator light warn accordingly.
As mentioned above, PLC method of testing of the present invention and system, delete the configuration file of network encryption identification code in advance to burning one in described PLC; Described PLC is made to load described configuration file; Described PCL is tested.When testing PCL, because PLC does not have network encryption identification code, cannot communicate between two adjacent PLC, so the interference of pairwise testing can not be made, such as cannot to corresponding PLC burn recording MAC number or the problem repeating burn recording MAC number.
Accompanying drawing explanation
Fig. 1 is shown as the configuration diagram of PLC test in an embodiment.
Fig. 2 is shown as PLC test macro of the present invention application schematic diagram in one embodiment.
Fig. 3 is shown as PLC test macro of the present invention application schematic diagram in one embodiment.
Fig. 4 is shown as PLC test macro of the present invention application schematic diagram in one embodiment.
Fig. 5 is shown as PLC method of testing of the present invention schematic flow sheet in one embodiment.
Element numbers explanation
11 burning unit
12 test cells
13 reset units
S11 ~ S13 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in diagram but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Along with the fast development of PLC power line communication technology, the production test efficiency of PLC product also receives the great attention of vast manufacturer.The testing scheme of current manufacturer is mainly: first the code burning containing networkID (network encryption identification code) is entered flash then at test link burn recording MAC number thus the intercommunication mutually realized between PLC product.PLC product is a kind of technology by power line transmission, if there is identical networkID (network encryption identification code) in same electric power networks, two adjacent PLC products can establish a connection, and intercom mutually.Concrete as shown in Figure 1 same production line has multiple station, and is all that the live wire L of shared civil power and zero line N.PLC product carry out data communication by L and N exactly.But in production test procedure, be need test separately, namely PLC1 read and write by computer 1, and PLC2 read and write by computer 2; If PLC1 and PLC2 sets up connecting relation, then computer 1 can be caused to read and write PLC2, and the crosstalk phenomenon of PLC1 read and write by computer 2.Current solution increases UPS insulating power supply or changes the circuit that line is produced in original production, avoids the mutual interference between station.Cost can be increased to manufacturer like this, be unfavorable for promoting the use of of PLC product.The invention provides a kind of PLC method of testing, comprise the steps: the configuration file deleting network encryption identification code in advance to burning one in described PLC; Described PLC is made to load described configuration file; Described PCL is tested.
Refer to Fig. 2, be shown as PLC test macro of the present invention application schematic diagram in one embodiment.
Described PLC test macro comprises:
Burning unit 11, in order to delete the configuration file of network encryption identification code in advance to burning one in described PLC, loads described configuration file to make described PLC; And
Test cell 12 is in order to test described PCL.Described burning unit 11 and described test cell 12 are such as a computer.
In a specific embodiment of the present invention, described test cell 12, when testing described PLC, adds corresponding physical address (No. MAC) in described PLC.
Described burning unit 11 is while configuration file described in burning in described PLC, and in described PCL, burning one comprises the reset file of the image file of described network encryption identification code.
Refer to Fig. 2, described system also comprises a reset unit 13, whether calls described reset file in order to make described PLC according to a reset operation automatic decision.
In a specific embodiment of the present invention, described reset operation comprises: to the pressing of a reset key; Judge the compressing time to described reset key, when described compressing time is less than a time threshold, make described PLC perform reset operation; When described compressing time is more than or equal to described time threshold, make described PLC call described reset file, thus add the image file of described deleted network encryption identification code.
In a specific embodiment of the present invention, also comprise an alarm unit, in order to when described PLC performs the successful operation of the image file adding described deleted network encryption identification code, make an indicator light warn accordingly, such as another LED continues to glimmer.
The Another Application of native system refers to shown in Fig. 3, be specially: first by a string code not containing networkID (network encryption identification code) of software programming and the image file that automatically can be added networkID (network encryption identification code) by the mode of pressing reset key, then flash is entered in burning, secondly flows to test station after SMT paster and carries out burn recording MAC number.Owing to not establishing a connection containing the identity of networkID (network encryption identification code) therefore with regard to None-identified the other side between two adjacent PLC products in software code, also just cannot communicate.Would not mutually disturb between station adjacent in the process of burn recording MAC number, causing cannot burn recording MAC number or the burn recording MAC number problem repeated.
Which reduces the repetition measurement rate of PLC product, improve production test efficiency, also saving UPS insulating power supply when setting up production environment, reducing production cost to manufacturer.Equally also can share a power line network with other product makes erection production line simpler.
And, wherein, the application of described reset operation is consulted shown in Fig. 4, be specially, in the functional module part of the code of burning, reset key increased a function, when the reset key triggered time of more than 5 seconds being detected, " networkID " is write PLC function, makes the PLC tested realize when shipment intercoming mutually.
Refer to Fig. 5, be shown as PLC method of testing of the present invention schematic flow sheet in one embodiment.
Described PLC method of testing comprises the steps:
S11: the configuration file deleting network encryption identification code in advance to burning one in described PLC.
S12: make described PLC load described configuration file.
S13: described PCL is tested.
In a specific embodiment of the present invention, when testing described PLC, in described PLC, add corresponding physical address.
In a specific embodiment of the present invention, while configuration file described in burning in described PLC, in described PCL, burning one comprises the reset file of the image file of described network encryption identification code, whether calls described reset file to make described PLC according to a reset operation automatic decision.
In a specific embodiment of the present invention, described reset operation comprises: to the pressing of a reset key; Judge the compressing time to described reset key, when described compressing time is less than a time threshold, make described PLC perform reset operation; When described compressing time is more than or equal to described time threshold, make described PLC call described reset file, thus add the image file of described deleted network encryption identification code.
In a specific embodiment of the present invention, when described PLC performs the successful operation of the image file adding described deleted network encryption identification code, an indicator light is made to warn accordingly.
The technical scheme of the PLC method of testing of the present embodiment is corresponding with application and PLC test macro described above, so all can apply the description of described PLC test macro with expansion and in this PLC method of testing, not add repeat at this.
In sum, PLC method of testing of the present invention and system, delete the configuration file of network encryption identification code in advance to burning one in described PLC; Described PLC is made to load described configuration file; Described PCL is tested.When testing PCL, because PLC does not have network encryption identification code, cannot communicate between two adjacent PLC, so the interference of pairwise testing can not be made, such as cannot to corresponding PLC burn recording MAC number or the problem repeating burn recording MAC number.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. a PLC method of testing, is characterized in that, comprises the steps:
The configuration file of network encryption identification code is deleted in advance to burning one in described PLC;
Described PLC is made to load described configuration file;
Described PCL is tested.
2. PLC method of testing according to claim 1, is characterized in that: when testing described PLC, in described PLC, add corresponding physical address.
3. PLC method of testing according to claim 1, it is characterized in that: while configuration file described in burning in described PLC, in described PCL, burning one comprises the reset file of the image file of described network encryption identification code, whether calls described reset file to make described PLC according to a reset operation automatic decision.
4. PLC method of testing according to claim 3, is characterized in that: described reset operation comprises:
To the pressing of a reset key;
Judge the compressing time to described reset key, when described compressing time is less than a time threshold, make described PLC perform reset operation; When described compressing time is more than or equal to described time threshold, make described PLC call described reset file, thus add the image file of described deleted network encryption identification code.
5. the PLC method of testing according to claim 3 or 4, is characterized in that: when described PLC performs the successful operation of the image file adding described deleted network encryption identification code, make an indicator light warn accordingly.
6. a PLC test macro, is characterized in that, comprising:
Burning unit, in order to delete the configuration file of network encryption identification code in advance to burning one in described PLC, loads described configuration file to make described PLC;
Test cell, in order to test described PCL.
7. PLC test macro according to claim 6, is characterized in that: described test cell, when testing described PLC, adds corresponding physical address in described PLC.
8. PLC test macro according to claim 6, is characterized in that: described burning unit is while configuration file described in burning in described PLC, and in described PCL, burning one comprises the reset file of the image file of described network encryption identification code;
Described system also comprises a reset unit, whether calls described reset file in order to make described PLC according to a reset operation automatic decision.
9. PLC test macro according to claim 8, is characterized in that: described reset operation comprises:
To the pressing of a reset key;
Judge the compressing time to described reset key, when described compressing time is less than a time threshold, make described PLC perform reset operation; When described compressing time is more than or equal to described time threshold, make described PLC call described reset file, thus add the image file of described deleted network encryption identification code.
10. PLC test macro according to claim 8 or claim 9, it is characterized in that: also comprise an alarm unit, in order to when described PLC performs the successful operation of the image file adding described deleted network encryption identification code, an indicator light is made to warn accordingly.
CN201510855985.0A 2015-11-30 2015-11-30 A kind of PLC method of testings and system Active CN105515612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510855985.0A CN105515612B (en) 2015-11-30 2015-11-30 A kind of PLC method of testings and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510855985.0A CN105515612B (en) 2015-11-30 2015-11-30 A kind of PLC method of testings and system

Publications (2)

Publication Number Publication Date
CN105515612A true CN105515612A (en) 2016-04-20
CN105515612B CN105515612B (en) 2018-01-02

Family

ID=55723323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510855985.0A Active CN105515612B (en) 2015-11-30 2015-11-30 A kind of PLC method of testings and system

Country Status (1)

Country Link
CN (1) CN105515612B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203014810U (en) * 2013-01-04 2013-06-19 上海斐讯数据通信技术有限公司 Homeplug
CN103560934A (en) * 2013-11-11 2014-02-05 深圳市共进电子股份有限公司 Power line modem production testing method and device
CN203911953U (en) * 2014-06-05 2014-10-29 武汉精测电子技术股份有限公司 Automatic testing device of power line communication modems
CN104407891A (en) * 2014-11-21 2015-03-11 深圳市金锐显数码科技有限公司 Burning method for equipment unique identification code
CN104617984A (en) * 2015-03-04 2015-05-13 深圳市汇思易达科技有限公司 Test instrument for PLC (power line communication) or EoC (Ethernet over coax)
CN105099509A (en) * 2015-09-22 2015-11-25 太仓市同维电子有限公司 PLC modem performance multi-machine test system and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203014810U (en) * 2013-01-04 2013-06-19 上海斐讯数据通信技术有限公司 Homeplug
CN103560934A (en) * 2013-11-11 2014-02-05 深圳市共进电子股份有限公司 Power line modem production testing method and device
CN203911953U (en) * 2014-06-05 2014-10-29 武汉精测电子技术股份有限公司 Automatic testing device of power line communication modems
CN104407891A (en) * 2014-11-21 2015-03-11 深圳市金锐显数码科技有限公司 Burning method for equipment unique identification code
CN104617984A (en) * 2015-03-04 2015-05-13 深圳市汇思易达科技有限公司 Test instrument for PLC (power line communication) or EoC (Ethernet over coax)
CN105099509A (en) * 2015-09-22 2015-11-25 太仓市同维电子有限公司 PLC modem performance multi-machine test system and method thereof

Also Published As

Publication number Publication date
CN105515612B (en) 2018-01-02

Similar Documents

Publication Publication Date Title
CN102916866B (en) A kind of data sharing method, terminal, server and system
CN102799511A (en) Android-based automatic test method and system
CN105227406A (en) A kind of method of testing of router combination property
CN104794034A (en) Acceptance check method and device for equipment
CN205229700U (en) Smart home system
CN105025056A (en) Internet of Things information collection and monitoring system design method
CN104394577A (en) Wireless network access method of wireless route equipment and electronic equipment
CN105071988A (en) Multi-user test system and method
CN105262638A (en) Method for simultaneously testing plurality of electronic products
CN104486182A (en) Serial Modbus communication extending method
CN107769986B (en) Network performance test system, extension system and test method
CN104363263A (en) Thing networking universal platform based on cloud services
CN106331284A (en) Communication system based on WIFI Internet of things technology
CN105827639A (en) X2bacnet protocol conversion gateway software
CN103945567A (en) Inverter system communication networking method
CN105515612A (en) PLC test method and system
CN105629949B (en) Test control method of distributed test system
CN112214331A (en) Linkage dead cycle avoidance algorithm based on smart home
CN104917725A (en) Method and system for trans-NAT communication between serial server and network device
Sapundzhi A survey of KNX implementation in building automation
CN106059635A (en) Bluetooth setting method and device for electronic equipment and Bluetooth connection method
CN110312290A (en) Communication network switching method, device and computer readable storage medium
CN204028696U (en) Testing device and system for air conditioner wire controller
CN205121860U (en) Virtual instrument data acquisition system based on mobile terminal
CN105812157A (en) Internet-of-things equipment management system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201204

Address after: Dai Xi Zhen Shang Qiang Lu, Wuxing District, Huzhou City, Zhejiang Province

Patentee after: HUZHOU AIDI ELECTRIC Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210419

Address after: 518000 101, 128 Jingkou new village, Jingkou community, Guangming Street, Guangming District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Chenggu Intelligent Technology Co.,Ltd.

Address before: Dai Xi Zhen Shang Qiang Lu, Wuxing District, Huzhou City, Zhejiang Province

Patentee before: HUZHOU AIDI ELECTRIC Co.,Ltd.

TR01 Transfer of patent right