CN114253211A - Method for mutual verification of PLC and upper computer WCS signals - Google Patents

Method for mutual verification of PLC and upper computer WCS signals Download PDF

Info

Publication number
CN114253211A
CN114253211A CN202111535676.7A CN202111535676A CN114253211A CN 114253211 A CN114253211 A CN 114253211A CN 202111535676 A CN202111535676 A CN 202111535676A CN 114253211 A CN114253211 A CN 114253211A
Authority
CN
China
Prior art keywords
plc
data
upper computer
wcs
serial number
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
CN202111535676.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.)
Eoslift Automation Technology Corp
Original Assignee
Eoslift Automation Technology Corp
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 Eoslift Automation Technology Corp filed Critical Eoslift Automation Technology Corp
Priority to CN202111535676.7A priority Critical patent/CN114253211A/en
Publication of CN114253211A publication Critical patent/CN114253211A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1179Safety, on error, fault, block, inhibit output

Abstract

The invention provides a method for verifying signal interaction between a PLC and an upper computer WCS, which comprises the following steps: interactive verification in the data sending stage: s11, the lower system acquires data at an interaction point position, and triggers the accumulation calculator to generate a unique serial number in the PLC of the lower system; s12, binding the unique serial number with the acquired data, sending the bound data packet to an upper computer, generating a time stamp by a PLC (programmable logic controller) when the data packet is sent, and receiving the data by a WCS (trusted computing system) server of the upper computer; interactive verification of the stage of receiving data: s21, after the upper computer feeds the data back to the PLC of the lower system for analysis, the upper computer returns the unique serial number analyzed by the PLC; and S22, after the PLC analyzes the unique serial number, the PLC marks a receiving time stamp on the received data, and the PLC completes data receiving. When the upper WCS and the PLC communication information generate data delay, packet loss disorder data delay and packet loss disorder, information tracking can be inquired, and the fault of the information interaction between the PLC and the upper computer can be rapidly eliminated.

Description

Method for mutual verification of PLC and upper computer WCS signals
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of intelligent warehousing, in particular to a method for verifying signal interaction between a PLC and an upper computer WCS.
[ background of the invention ]
The interactive butt joint mode of the PLC and the upper computer WCS comprises a mode of an Ethernet-based TCP/IP protocol such as OPC UA and Socket, the network topology of the system is shown in figure 1, the system comprises an upper computer and a lower PLC controller, and the execution equipment comprises a conveyor, a sorting line stacker and other execution equipment.
Because the network link has the phenomena of network delay, packet loss and the like, when the upper computer receives a data packet, the data packet may be data after several seconds, so that the data delay or packet loss disorder is generated when the upper WCS communicates with the PLC, and a method for interactively verifying signals of the PLC and the upper computer WCS is provided.
[ summary of the invention ]
The invention aims to solve the problems in the prior art and provides a method for verifying signal interaction between a PLC and an upper computer WCS.
In order to achieve the aim, the invention provides a method for verifying the interaction of signals of a PLC and an upper computer WCS, which comprises the steps of interactive verification in a data sending stage and interactive verification in a data receiving stage;
the interactive verification of the data sending stage specifically comprises the following steps:
s11, the lower system acquires data at an interaction point position, and triggers an accumulation calculator to generate a unique serial number in a PLC (programmable logic controller) of the lower system;
s12, binding the unique serial number with the acquired data, sending the bound data packet to an upper computer, generating a time stamp by a PLC (programmable logic controller) when the data packet is sent, and receiving the data by a WCS (trusted computing system) server of the upper computer;
the interactive verification in the data receiving stage specifically comprises the following steps:
s21, after the upper computer feeds the data back to the PLC of the lower system for analysis, the upper computer returns the unique serial number analyzed by the PLC;
and S22, after the PLC analyzes the unique serial number, the PLC marks a receiving time stamp on the received data, and the PLC completes data receiving.
Preferably, in step S11, the data collected by the lower system includes barcode data and size data.
Preferably, in S12, the unique serial number is bound to the collected barcode data.
Preferably, in step S11, the data is defined and the data storage area size is accumulated, the accumulation range is 1-65535, and when the count exceeds the accumulation range, the process returns to 1 to start accumulation.
Preferably, in step S12, the bound data packet is sent to the upper computer in a Socket manner.
Preferably, in step S12, the PLC generates a time stamp and stores the time stamp in the PLC data.
The invention has the beneficial effects that: by means of the method of adding the unique serial number and the systematic timestamp, when data delay or packet loss is disordered when communication information of the upper WCS and the PLC is communicated, information tracking can be inquired, time recording is provided, and faults of information interaction between the PLC and the upper WCS can be eliminated quickly. Meanwhile, the method can be used for recording various field faults detected by the PLC, and storing and recording data. The frequency and time for eliminating the fault of the equipment are used for maintaining the equipment and solving the fault of the equipment.
The features and advantages of the present invention will be described in detail by embodiments in conjunction with the accompanying drawings.
[ description of the drawings ]
FIG. 1 is a schematic network topology diagram of an interaction system of an LC and an upper computer WCS;
fig. 2 is a flowchart of a method for verifying signal interaction between a PLC and a WCS of an upper computer according to the present invention.
[ detailed description ] embodiments
Referring to fig. 2, the method for verifying the WCS signal interaction between the PLC and the upper computer of the present invention includes the interactive verification at the data sending stage and the interactive verification at the data receiving stage;
the interactive verification of the data sending stage specifically comprises the following steps:
s11, when the lower system collects bar code data or other dimension data at an interaction point position, the lower system triggers an accumulation calculator, the accumulation calculator is accumulated and calculated according to the storage size of the data, the accumulation range is 1-65535, and when the accumulation range is exceeded, the lower system returns to 1 again to start accumulation, so that a unique serial number in a PLC (programmable logic controller) of the lower system is generated;
s12, binding the unique serial number with the acquired bar code data, sending the bound data packet to an upper computer in a Socket mode, generating a time stamp by the PLC when the data packet is sent, storing the time stamp in the PLC data, and receiving the data by a WCS server of the upper computer;
the interactive verification in the data receiving stage specifically comprises the following steps:
s21, after the upper computer feeds the data back to the PLC of the lower system for analysis, the upper computer returns the unique serial number analyzed by the PLC;
and S22, after the PLC analyzes the unique serial number, the PLC marks a receiving time stamp on the received data, and the PLC completes data receiving.
The working principle of the invention is as follows:
the invention uses the method of unique serial number plus systematic timestamp, when the upper WCS and PLC communication information generate data delay or packet loss are disordered, the information tracking can be inquired, and there is time recording, and the fault of PLC and upper interactive information can be eliminated quickly. Meanwhile, the method can be used for recording various field faults detected by the PLC, and storing and recording data. The frequency and time for eliminating the fault of the equipment are used for maintaining the equipment and solving the fault of the equipment.
The above embodiments are illustrative of the present invention, and are not intended to limit the present invention, and any simple modifications of the present invention are within the scope of the present invention.

Claims (6)

1. A method for mutual signal verification of a PLC and an upper computer WCS is characterized in that: the method comprises the steps of interactive verification of a data sending stage and interactive verification of a data receiving stage;
the interactive verification of the data sending stage specifically comprises the following steps:
s11, the lower system acquires data at an interaction point position, and triggers an accumulation calculator to generate a unique serial number in a PLC (programmable logic controller) of the lower system;
s12, binding the unique serial number with the acquired data, sending the bound data packet to an upper computer, generating a time stamp by a PLC (programmable logic controller) when the data packet is sent, and receiving the data by a WCS (trusted computing system) server of the upper computer;
the interactive verification in the data receiving stage specifically comprises the following steps:
s21, after the upper computer feeds the data back to the PLC of the lower system for analysis, the upper computer returns the unique serial number analyzed by the PLC;
and S22, after the PLC analyzes the unique serial number, the PLC marks a receiving time stamp on the received data, and the PLC completes data receiving.
2. The method for signal interaction verification between the PLC and the WCS of the upper computer as claimed in claim 1, wherein: in step S11, the data collected by the lower system includes barcode data and size data.
3. The method for signal interaction verification between the PLC and the WCS of the upper computer as claimed in claim 2, wherein: in S12, the unique serial number is bound to the collected barcode data.
4. The method for signal interaction verification between the PLC and the WCS of the upper computer as claimed in claim 1, wherein: in step S11, the data is defined and the size of the data storage area is accumulated, the accumulation range is 1-65535, and when the count exceeds the accumulation range, the process returns to 1 to start accumulation.
5. The method for signal interaction verification between the PLC and the WCS of the upper computer as claimed in claim 1, wherein: in step S12, the bound data packet is sent to the upper computer in a Socket manner.
6. The method for signal interaction verification between the PLC and the WCS of the upper computer as claimed in claim 1, wherein: in step S12, the PLC generates a time stamp and stores the time stamp in the PLC data.
CN202111535676.7A 2021-12-15 2021-12-15 Method for mutual verification of PLC and upper computer WCS signals Pending CN114253211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111535676.7A CN114253211A (en) 2021-12-15 2021-12-15 Method for mutual verification of PLC and upper computer WCS signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111535676.7A CN114253211A (en) 2021-12-15 2021-12-15 Method for mutual verification of PLC and upper computer WCS signals

Publications (1)

Publication Number Publication Date
CN114253211A true CN114253211A (en) 2022-03-29

Family

ID=80792392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111535676.7A Pending CN114253211A (en) 2021-12-15 2021-12-15 Method for mutual verification of PLC and upper computer WCS signals

Country Status (1)

Country Link
CN (1) CN114253211A (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114461A1 (en) * 2003-09-30 2005-05-26 Fujitsu Limited Method of data exchange processing for sending server and receiving server
CN1698076A (en) * 2002-03-21 2005-11-16 美国联合包裹服务公司 Telematic programming logic control unit and methods of use
CN102546106A (en) * 2011-12-28 2012-07-04 南京邮电大学 Multipath parallel transmission method facing satellite network
US20140039654A1 (en) * 2011-04-05 2014-02-06 Yamaha Corporation Information providing system, identification information resolution server and mobile terminal device
CN106444609A (en) * 2016-10-27 2017-02-22 洛阳矿山机械工程设计研究院有限责任公司 Operational method of PLC real-time operating data recording storing system
CN106941430A (en) * 2017-03-17 2017-07-11 南京务本信息科技有限责任公司 A kind of programmable precision net message construction and transmitting element based on FPGA
CN108509652A (en) * 2018-04-17 2018-09-07 山东大众益康网络科技有限公司 Data processing system and method
CN108900272A (en) * 2017-08-25 2018-11-27 杭州德泽机器人科技有限公司 Sensor data acquisition method, system and packet loss judgment method
CN109960212A (en) * 2017-12-25 2019-07-02 北京京东尚科信息技术有限公司 Task sending method and device
CN111327687A (en) * 2020-01-21 2020-06-23 香港乐蜜有限公司 Data transmission method and device, electronic equipment and storage medium
CN111614741A (en) * 2020-05-11 2020-09-01 西北工业大学 Multi-robot communication method and device based on ROS system
CN111670561A (en) * 2019-01-09 2020-09-15 深圳市大疆创新科技有限公司 Information interaction method, system and computer readable medium
CN112688993A (en) * 2020-12-15 2021-04-20 嘉兴蓝匠仓储系统软件有限公司 Storage monitoring method and system based on 2D technology
CN112953679A (en) * 2021-02-09 2021-06-11 西安电子科技大学 Control method, system and application of data transmission coprocessor in deterministic network
CN113645175A (en) * 2020-04-27 2021-11-12 北京京东乾石科技有限公司 Data communication method, device, equipment and computer readable storage medium
CN113765976A (en) * 2020-11-13 2021-12-07 北京京东乾石科技有限公司 Communication method and system

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1698076A (en) * 2002-03-21 2005-11-16 美国联合包裹服务公司 Telematic programming logic control unit and methods of use
US20050114461A1 (en) * 2003-09-30 2005-05-26 Fujitsu Limited Method of data exchange processing for sending server and receiving server
US20140039654A1 (en) * 2011-04-05 2014-02-06 Yamaha Corporation Information providing system, identification information resolution server and mobile terminal device
CN102546106A (en) * 2011-12-28 2012-07-04 南京邮电大学 Multipath parallel transmission method facing satellite network
CN106444609A (en) * 2016-10-27 2017-02-22 洛阳矿山机械工程设计研究院有限责任公司 Operational method of PLC real-time operating data recording storing system
CN106941430A (en) * 2017-03-17 2017-07-11 南京务本信息科技有限责任公司 A kind of programmable precision net message construction and transmitting element based on FPGA
CN108900272A (en) * 2017-08-25 2018-11-27 杭州德泽机器人科技有限公司 Sensor data acquisition method, system and packet loss judgment method
CN109960212A (en) * 2017-12-25 2019-07-02 北京京东尚科信息技术有限公司 Task sending method and device
CN108509652A (en) * 2018-04-17 2018-09-07 山东大众益康网络科技有限公司 Data processing system and method
CN111670561A (en) * 2019-01-09 2020-09-15 深圳市大疆创新科技有限公司 Information interaction method, system and computer readable medium
CN111327687A (en) * 2020-01-21 2020-06-23 香港乐蜜有限公司 Data transmission method and device, electronic equipment and storage medium
CN113645175A (en) * 2020-04-27 2021-11-12 北京京东乾石科技有限公司 Data communication method, device, equipment and computer readable storage medium
CN111614741A (en) * 2020-05-11 2020-09-01 西北工业大学 Multi-robot communication method and device based on ROS system
CN113765976A (en) * 2020-11-13 2021-12-07 北京京东乾石科技有限公司 Communication method and system
CN112688993A (en) * 2020-12-15 2021-04-20 嘉兴蓝匠仓储系统软件有限公司 Storage monitoring method and system based on 2D technology
CN112953679A (en) * 2021-02-09 2021-06-11 西安电子科技大学 Control method, system and application of data transmission coprocessor in deterministic network

Similar Documents

Publication Publication Date Title
CN101217429B (en) A determination method of the initiation relationship within TCP messages based on TCP timestamp options
CN105574205A (en) Dynamic log analyzing system for distributed computing environment
CN109510759A (en) A kind of Universal-purpose quick multi-protocol gateway realization system and method
CN101494572B (en) Remote management method and system for equipment alarm information
WO2003042784A3 (en) Product management system
CN105490841A (en) Terminal log grasping method, device and system
CN103297285B (en) The Performance Test System of distributed type assemblies, method and apparatus
CN1801023A (en) Multi-event sequential recording and testing system
CN107181639A (en) The monitoring method and device of a kind of communications status
CN112769939B (en) Big data reliable transmission method for real-time communication
CN108667732A (en) A kind of message forwarding method and device
CN101951300B (en) Method for realizing accurate time tick of Ethernet
CN109932966A (en) One kind being based on M-LVDS bus real-time high-efficiency data transmission method
CN104320301A (en) Intranet special line flow monitoring method and system
CN114253211A (en) Method for mutual verification of PLC and upper computer WCS signals
CN105743695A (en) Monitoring method and system based on IEC 104 protocol
CN110769443B (en) Vehicle-vehicle communication performance analysis system based on stochastic Petri network
CN109213091A (en) A kind of semiconductor chip process equipment method for monitoring state based on document analysis
CN105468502A (en) Log collection method, device and system
CN111817897A (en) Acquisition transmission monitoring system and acquisition transmission monitoring method capable of configuring gateway
CN104202389A (en) Monitoring method for storage space and running state in cloud environment and cloud storage system
CN111093227A (en) LoRaWAN-based wireless transmission data acquisition method and system
Rüngeler et al. Integration of SCTP in the OMNeT++ simulation environment
CN113840002A (en) Information processing method, system, equipment and medium for locker under weak network environment
CN101753555A (en) Network device and control method thereof

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