CN115001995B - Method, apparatus and machine readable storage medium for processing secondary station information - Google Patents
Method, apparatus and machine readable storage medium for processing secondary station information Download PDFInfo
- Publication number
- CN115001995B CN115001995B CN202210465104.4A CN202210465104A CN115001995B CN 115001995 B CN115001995 B CN 115001995B CN 202210465104 A CN202210465104 A CN 202210465104A CN 115001995 B CN115001995 B CN 115001995B
- Authority
- CN
- China
- Prior art keywords
- state
- status
- information
- current
- secondary station
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention provides methods, apparatus, controllers and machine readable storage media for processing secondary station information. The method performed by a device deployed at the same site as a secondary station may include: receiving current state information of the slave station from the controller, wherein the current state information is used for indicating the current state of the slave station; a target status indicator corresponding to the current status of the secondary station is visually presented based on the current status information. By the embodiment of the invention, the state of the slave station can be intuitively and efficiently monitored on site.
Description
Technical Field
The present invention relates to the field of industrial automation, and in particular to a method, apparatus, controller and machine readable storage medium for processing slave station information.
Background
In industrial automation processes, devices are often deployed through a field bus network. For example, a fieldbus network may typically comprise a master station and a slave station, which may be connected by a fieldbus. The secondary stations may generally be involved in performing a particular industrial automation process, so the operational status of the secondary stations is closely related to the stable and proper operation of the industrial automation process. Thus, it is often necessary for field personnel to monitor the operational status of a secondary station, for example, even if an abnormal or malfunctioning secondary station is found, in order to perform maintenance. How to efficiently monitor slave stations in the field is one of the problems to be solved.
Disclosure of Invention
In view of this, the present invention proposes a method, apparatus, controller and machine readable storage medium for processing secondary station information, enabling intuitive and efficient monitoring of secondary station status in the field.
In one aspect, embodiments of the present invention provide a method for processing slave station information, the method being performed by a device deployed at the same site as a slave station, the method comprising: receiving current state information of the slave station from a controller, wherein the current state information is used for indicating the current state of the slave station; a target status indicator corresponding to the current status of the secondary station is visually presented based on the current status information.
In another aspect, embodiments of the present invention provide a method for processing slave station information, the method being performed by a controller, the method comprising: acquiring current status data reported by the secondary station; processing the current state data to determine current state information of the secondary station, wherein the current state information is used to indicate the current state of the secondary station and has a format that can be used by devices deployed on the same site as the secondary station; the current status information of the secondary station is transmitted to the device so that the device visually presents a target status indicator corresponding to the current status of the secondary station.
In another aspect, embodiments of the present invention provide an apparatus for processing information of a secondary station, the apparatus being deployed at the same site as the secondary station, the apparatus comprising: a receiving unit configured to receive current state information of the secondary station from a controller, wherein the current state information is used for indicating a current state of the secondary station; and a presentation unit configured to visually present a target state indicator corresponding to a current state of the secondary station based on the current state information.
In another aspect, an embodiment of the present invention provides a controller for processing slave station information, including: an acquisition unit configured to acquire current state data reported by the secondary station; a determining unit configured to process the current state data to determine current state information of the secondary station, wherein the current state information is used for indicating the current state of the secondary station and has a format that can be used by a device deployed on the same site as the secondary station; a transmitting unit configured to transmit current status information of the secondary station to the device so that the device visually presents a target status indicator corresponding to the current status of the secondary station.
In another aspect, embodiments of the present invention provide an apparatus for processing information of a secondary station, the apparatus being deployed at the same site as the secondary station, the apparatus comprising: a display screen; a memory storing executable code; at least one processor, wherein the at least one processor is in communication with the display screen and the memory, and the executable code, when executed by the at least one processor, causes the at least one processor to implement the method performed by the device as described above.
In another aspect, an embodiment of the present invention provides a controller for processing slave station information, including: a memory storing executable code; at least one processor in communication with the memory, wherein the executable code, when executed by the at least one processor, causes the at least one processor to implement the method performed by the controller as described above.
In another aspect, embodiments of the present invention provide a machine-readable storage medium storing executable code that, when executed, causes a machine to perform the above-described method performed by a device deployed on the same site as a secondary station.
In another aspect, embodiments of the present invention provide a machine-readable storage medium storing executable code that, when executed, causes a machine to implement the above-described method performed by a controller.
As can be seen from the above solution, in the embodiments of the present invention, by visually presenting a status indicator corresponding to the current status of the slave station with a device deployed at the same site as the slave station, the field personnel can intuitively and clearly determine the status of the slave station, such as in the case of an abnormality or failure of the slave station, can discover and maintain in time. Therefore, the labor cost of the on-site personnel management slave station can be greatly saved, and the management efficiency is improved.
Drawings
The above and other features and advantages of the present invention will become more apparent to those of ordinary skill in the art by describing in detail preferred embodiments thereof with reference to the attached drawings in which:
FIG. 1 is a simplified schematic diagram of an example of a scenario in which embodiments of the present invention may be applied.
Fig. 2 is a schematic flow diagram of a method for processing secondary station information, according to some embodiments.
Fig. 3 is a schematic flow chart of a method for processing secondary station information according to some embodiments.
Fig. 4A is a schematic flow chart of a process for processing secondary station information according to some embodiments.
Fig. 4B illustrates an example of a storage area for storing a value of a status bit.
Fig. 4C shows a schematic diagram of one example of preset correspondence information.
Fig. 4D shows a simplified schematic diagram of the status indicators presented for the various secondary stations.
Fig. 5 is a schematic block diagram of an apparatus for processing secondary station information in accordance with some embodiments.
Fig. 6 is a schematic block diagram of a controller for processing secondary station information in accordance with some embodiments.
Fig. 7 is a schematic block diagram of an apparatus for processing secondary station information in accordance with some embodiments.
Fig. 8 is a schematic block diagram of a controller for processing secondary station information in accordance with some embodiments.
Wherein, the reference numerals are as follows:
102: master station 104-1: slave station 104-2: slave station
104-N: slave station 106: the controller 108: apparatus and method for controlling the operation of a device
202: Receiving current state information 204: presenting a target status indicator 302: acquiring current state data
304: Determining current state information 306: current state information 402 is sent: current state data
404: Current state data 406: obtaining current state information 408: current status information
410: Presenting a status indicator M100: storage area M100.0: memory bit 0
M100.1: memory bit 1m 100.2: memory bit 2 420: decimal value
430: Representation of status indicators graph 500: device 502: receiving unit
504: The presentation unit 600: controller 602: acquisition unit
604: The determination unit 606: transmission unit 700: apparatus and method for controlling the operation of a device
702: Display screen 704: memory 706: processor and method for controlling the same
708: Communication interface 710: bus 800: controller for controlling a power supply
802: Memory 804: processor 806: communication interface
808: Bus line
Detailed Description
The present invention will be further described in detail with reference to the following examples, in order to make the objects, technical solutions and advantages of the present invention more apparent.
Currently, fieldbus networks have been widely used in industrial automation processes. In some fieldbus networks, a master station and a slave station may be included. A master station may be connected to one or more slave stations via a fieldbus. The secondary stations may generally be field devices that participate in performing industrial automation processes, while the primary station may monitor and control the secondary stations.
Various fieldbus protocols have been developed, such as the Actuator-Sensor-Interface (ASI) bus protocol. The ASI bus network may be an underlying network in a fieldbus system. In an ASI bus network, an ASI master station and an ASI slave station are typically included. An ASI master station may be understood as a master unit in an ASI bus network, which is mainly used for controlling and managing connected ASI slaves. ASI slaves may typically include various types of modules such as input/output (I/O) modules (in which case the I/O modules may further connect to sensors, actuators, etc.), security modules (such as switching devices, sensors, actuators, etc.), and other application modules, etc.
Since the status of a secondary station is closely related to the normal operation of an industrial automation process, field personnel often need to monitor the status of the secondary station in order to, for example, discover anomalies or faults of the secondary station in time, etc. Therefore, the embodiment of the invention provides a technical scheme for processing the information of the secondary station, which can realize the efficient monitoring of the secondary station on site, not only effectively save the labor cost of site personnel, but also ensure the normal operation of the industrial automation process.
Embodiments of the present invention may be applied to a variety of applicable fieldbus networks, such as the ASI bus networks described above, but embodiments of the present invention are not limited thereto.
FIG. 1 is a simplified schematic diagram of an example of a scenario in which embodiments of the present invention may be applied.
In the example of fig. 1, the master station 102 may be connected to a plurality of slave stations, such as slave stations 104-1, 104-2 through 104-N. Typically, the master station 102 may be coupled with the slave stations 104-1, 104-2 through 104-N via a Fieldbus. For example, in an ASI bus network, the master 102 may be connected to the slaves 104-1, 104-2 to 104-N via an ASI bus, in which case the master 102 may be an ASI master and the slaves 104-1, 104-2 to 104-N may be ASI slaves. It should be understood that the number of individual devices shown herein is for ease of illustration only and is not intended to limit the scope of the present invention in any way.
In addition, the master station 102 may also be in communication with a controller 106. The controller 106 may perform control and processing functions such as the master station 102 may transmit data from the slave stations 104-1, 104-2 through 104-N to the controller 106, which may be processed, diagnosed, etc. by the controller 106. In some cases, the controller 106 may also send an execution command to the master station 102 for one or more slave stations, and the master station 102 may send corresponding commands to the slave stations, causing the slave stations to perform corresponding actions.
In embodiments herein, the controller 106 may be a variety of suitable devices having processing functionality, for example, the controller 106 may be implemented by a programmable logic controller (Programmable Logic Controller, PLC), a general purpose processor, an application specific integrated circuit, or the like.
The master station 102 and the controller 106 may also be connected via a fieldbus, such as a PROFINET bus or the like. Further, while the master station 102 and the controller 106 are shown as separate devices in the example of fig. 1, in some implementations the master station 102 and the controller 106 may be integrated together. The embodiments of the present invention are not limited in this regard.
Further, a device 108 is also shown in the example of fig. 1. The device 108 may be deployed on the same site as the slave stations 104-1, 104-2 through 104-N. The device 108 may have a display function. For example, the device 108 may be a device that includes a human-machine interface, such as may be implemented as a touch screen.
In the example of fig. 1, the controller 106 may be in communication with the device 108. For example, the controller 106 may be coupled to the device 108 via a field bus, such as a PROFINET bus or the like. As will be described further below, in embodiments of the invention, the device 108 may receive information from the controller 106 regarding the current state of one or more of the secondary stations 104-1, 104-2, through 104-N, and may then visually present a state indicator indicating the current state of the secondary stations 104-1, 104-2, through 104-N. This allows field personnel to intuitively and efficiently monitor the status of each secondary station deployed in the field.
The technical scheme of the invention will be further described below in connection with specific embodiments.
Fig. 2 is a schematic flow diagram of a method for processing secondary station information, according to some embodiments. The method of fig. 2 may be performed by a device deployed at the same site as a secondary station, such as device 108 in fig. 1.
In step 202, current state information of a secondary station may be received from a controller. The current state information may be used to indicate the current state of the secondary station.
In step 204, a target state indicator corresponding to the current state of the secondary station may be visually presented based on the current state information.
It can be seen that in embodiments of the present invention, a status indicator corresponding to the current status of a secondary station is visually presented by a device deployed on the same site as the secondary station, so that a field person can intuitively and explicitly determine the status of the secondary station, such as in the event of an anomaly or failure of the secondary station, and can timely discover and maintain. Therefore, the labor cost of the on-site personnel management slave station can be greatly saved, and the management efficiency is improved.
In some embodiments, prior to step 204, a target state indicator corresponding to the current state of the secondary station may be determined among the plurality of state indicators based on the current state information and the preset correspondence information. The preset correspondence information may represent a preset correspondence relationship between the plurality of kinds of state information and the plurality of kinds of state indicators. For example, a status information may correspond to a status indicator. In this way, a target state indicator corresponding to the current state information can be selected from among a plurality of state indicators.
The various status indicators may be visually distinguishable from one another, which facilitates the field personnel to intuitively and unequivocally determine the status of the secondary station. For example, in some embodiments, the plurality of status indicators may each have a visual characteristic that is visually distinguishable, such as a different color, shape, symbol, pattern, etc., which is not limited herein.
In some embodiments, in step 204, the identity of the secondary station and a target status indicator corresponding to the current status of the secondary station may be presented in an associated manner. For example, the identity of the secondary station may be presented with a target status indicator, such as above, to the left, to the right, below, etc., the identity of the secondary station. In this way, it is easy to know directly and clearly which secondary station the status indicator corresponds to.
In some embodiments, there may be multiple secondary stations (including those described above) deployed on the same site as the device. In this case, the status indicators corresponding to the current status of each of the secondary stations may be presented visually at the same time. In particular, status indicators corresponding to individual secondary stations deployed in the field may be visually presented, and in addition, the identity of the individual secondary stations may also be presented together. In this way, it is convenient for field personnel to efficiently monitor the status of various secondary stations on the field.
Fig. 3 is a schematic flow chart of a method for processing secondary station information according to some embodiments. The method of fig. 3 may be performed by a controller, such as controller 106 in fig. 1.
In step 302, current status data reported by the secondary station may be acquired.
For example, in the example of fig. 1, the master station 102 may receive current state data from the slave station 104-1. The master station 102 may then send the current status data to the controller 106.
In step 304, the current state data may be processed to determine the current state information of the secondary station. The current state information may be used to indicate the current state of the secondary station and have a format that can be used by devices deployed on the same site as the secondary station.
In general, the current state data of the secondary station may be some raw measurement data and thus needs to be processed together to determine the current state information of the secondary station so that the current state information has a format that can be used by devices deployed in the same site as the secondary station.
In step 306, current status information of the secondary station may be transmitted to the device so that the device visually presents a target status indicator corresponding to the current status of the secondary station.
It can be seen that in an embodiment of the present invention, the current state information indicating the current state of the secondary station is obtained by processing the current state data reported by the secondary station, and has a format that can be used by a device disposed on the same site as the secondary station, so that the device can visually present a target state indicator corresponding to the current state of the secondary station based on the current state information. Thus, the field personnel can intuitively and clearly judge the state of the secondary station, and can timely find and maintain the state in case of abnormality or failure of the secondary station. Therefore, the labor cost of the on-site personnel management slave station can be greatly saved, and the management efficiency is improved.
In some embodiments, in step 302, current status data reported by a secondary station may be received from a primary station. For example, in the context of an ASI bus network, a master station and a slave station may be connected via an ASI bus. The master station may receive current status data of the slave station via the ASI bus. The master station may then send the current status data to the controller.
In some embodiments, the current state data may include values of a plurality of state bits. In this case, in step 304, the values of the plurality of status bits may be combined in a preset order, thereby obtaining current status information. For example, each status bit may have a binary value of 0 or 1. Then, the values of the status bits are combined in a preset order to obtain a decimal value. In this case, the current state information may include the decimal value.
In some embodiments, the plurality of status bits may include a first status bit, a second status bit, and a third status bit. The first status bit may indicate whether it is configured and detected on the Fieldbus, the second status bit may indicate whether it is detected but not configured on the Fieldbus, and the third status bit may indicate whether it is configured but not detected on the Fieldbus. For example, the value of each status bit may be 0 or 1, thereby indicating the corresponding status. In this context, configuration may mean that the secondary station parameters are set or configured in configuration software for the industrial automation process.
Accordingly, based on the three status bits, a variety of status information may be determined. For example, each state information may be used to indicate one of the first state, the second state, the third state, and the fourth state. The first state may represent configured and detected on the fieldbus, that is to say that the slave station is in a normal state. The second state may indicate that it is configured but not detected on the fieldbus, i.e. that the secondary station has been configured by the configuration software but is not actually connected to the fieldbus. The third state may indicate that it is detected on the fieldbus but not configured, i.e. that the slave is not configured by the configuration software but is actually connected to the fieldbus. The fourth state may indicate that it is not configured and not detected on the fieldbus, that is, that no secondary station is found on both the configuration software and the fieldbus.
As previously described, each type of status information may correspond to a type of status indicator such that devices deployed on the same site as the secondary station may present the corresponding status indicator based on the current status information of the secondary station.
For ease of understanding, the following description will be made in connection with specific examples. The following description is still made in connection with the exemplary scenario of fig. 1, and in addition, in the following example, it is assumed that the example of fig. 1 is an ASI bus network scenario. However, it should be understood that these examples do not limit the scope of the invention.
Fig. 4A is a schematic flow chart of a process for processing secondary station information according to some embodiments. In the example of fig. 4A, the secondary station 104-1 is described as an example. The procedure is similar for other secondary stations and will not be described in detail.
As previously described, assuming that the scenario of fig. 1 is an ASI bus network scenario, master 102 may be an ASI master and slave 104-1 may be an ASI slave.
In step 402, the secondary station 104-1 may transmit current state data to the primary station 102.
In the ASI bus network scenario, the current state data may include the values of three state bits. For example, the three status bits may be LPS (List of Projected Slaves) status bits, an LDS (List of DETECTED SLAVES) status bit, and an LAS (List of ACTIVATED SLAVES) status bit, respectively. The LPS status bit may indicate whether it is configured but not detected on the ASI bus. The LDS status bit may indicate whether it is detected on the ASI bus but not configured. The LAS state bit may indicate whether it is configured and detected on the ASI bus. The LPS state bit, LDS state bit, and LAS state bit have binary values of 0 or 1.
In step 404, the master 102 may transmit current state data of the slave 104-1 to the controller 106, such as transmitting respective values of the LPS state bit, the LDS state bit, and the LAS state bit to the controller 106.
In step 406, the controller 106 may process the values of the three status bits to obtain the current status information of the secondary station 104-1.
The controller 106 may combine the values of the three status bits in a preset order to obtain the current status information. For example, the controller 106 may divide a separate memory area to store the values of three status bits, such as the memory area may be one byte in size. The controller 106 may write the value of the LAS status bit to the 0 bit of the byte, the value of the LDS status bit to the 1 bit of the byte, and the value of the LPS status bit to the 2 bits of the byte. Fig. 4B illustrates an example of a storage area for storing a value of a status bit. As shown in fig. 4B, the memory region may be denoted as M100, where M100.0 may store the value of the LAS state bit, M100.1 may store the value of the LDS state bit, and M100.2 may store the value of the LPS state bit.
When the values of the LPS state bit, LDS state bit, and LAS state bit are all 1, the binary values 111, namely the decimal value 7, can be obtained by combining in the above order. In this case, the status information may include a decimal value of 7, which may indicate that the slave station is in a normal state, i.e., configured and detected on the ASI bus.
When the value of the LPS status bit is 0, the value of the LDS status bit is 1, and the value of the LAS status bit is 0, a binary value 010, namely a decimal value 2, can be obtained. In this case, the status information may include a decimal value of 2, which may indicate that the slave station is detected on the ASI bus, but not configured.
When the value of the LPS status bit is 1, the value of the LAS status bit is 0, and the value of the LDS status bit is 0, a binary value of 100, namely a decimal value of 4, may be obtained. In this case, the status information may include a decimal value of 4, which may indicate that the secondary station is configured but not detected on the ASI bus.
When the value of the LPS status bit is 0, the value of the LAS status bit is 0, and the value of the LDS status bit is 0, a binary value of 000, namely, a decimal value of 0, may be obtained. In this case, the status information may include a decimal value of 0, which may indicate that the secondary station is not configured and not detected on the ASI bus, i.e. that the secondary station is not present.
In step 408, the controller 106 may send the current status information of the secondary station 104-1 to the device 108. As previously described, the current state information may include decimal values.
In step 410, the device 108 may visually present a status indicator corresponding to the current status of the secondary station 104-1 based on the current status information and the preset correspondence information.
The preset correspondence information may include a preset correspondence relationship between the state information and the state indicator. Following the above example, assume that the status indicator is represented by a circle having a color. The settings may be as follows: a value of 2 corresponds to a yellow circle indicator, a value of 4 corresponds to a red circle indicator, a value of 7 corresponds to a green circle indicator, and a value of 0 corresponds to a gray circle indicator. Fig. 4C shows a schematic diagram of one example of preset correspondence information. As shown in FIG. 4C, column 420 may represent different decimal values and column 430 may represent status indicators corresponding to the different decimal values.
In this way, based on the decimal value included in the current state information, the device 108 may present a state indicator corresponding to the decimal value.
Of course, for other secondary stations, such as secondary stations 104-2 through 104-N, the process is similar to that described above. Thus, the device 108 may visually present the status indicators corresponding to the slave stations 104-1 through 104-N. For example, fig. 4D shows a simplified schematic diagram of status indicators for various secondary stations presented on device 108. In the example of fig. 4D, the identities of the secondary stations and their corresponding status indicators are presented together, thus enabling field personnel to intuitively monitor the status of each secondary station. In the example of fig. 4D, assuming that the slave station 104-1 is in a normal state, the slave station 104-2 is in a configured but not detected on the ASI bus, and the slave station 104-N is in a detected but not configured state on the ASI bus.
Fig. 5 is a schematic block diagram of an apparatus for processing secondary station information in accordance with some embodiments. For example, device 500 may correspond to device 108 in fig. 1.
As shown in fig. 5, the device 500 may include a receiving unit 502 and a presenting unit 504.
The receiving unit 502 may receive current state information of the secondary station from the controller. The current state information may be used to indicate the current state of the secondary station. The presentation unit 504 may visually present a target state indicator corresponding to the current state of the secondary station based on the current state information.
The respective units of the apparatus 500 may perform the respective processes described above with respect to the method embodiments, and thus, for brevity of description, specific operations and functions of the respective units of the apparatus 500 are not described herein.
Fig. 6 is a schematic block diagram of a controller for processing secondary station information in accordance with some embodiments. For example, the controller 600 may correspond to the controller 106 of fig. 1.
As shown in fig. 6, the controller 600 may include an acquisition unit 602, a determination unit 604, and a transmission unit 606.
The acquisition unit 602 may acquire current state data reported by the secondary station. The determining unit 604 may process the current state data to determine current state information of the secondary station. The current state information is used to indicate the current state of the secondary station and has a format that can be used by devices deployed on the same site as the secondary station. The transmitting unit 606 may transmit the current state information of the secondary station to the device so that the device visually presents a target state indicator corresponding to the current state of the secondary station.
The respective units of the controller 600 may perform the respective processes described above with respect to the method embodiments, and thus, for brevity of description, specific operations and functions of the respective units of the controller 600 are not described herein.
Fig. 7 is a schematic block diagram of an apparatus for processing secondary station information in accordance with some embodiments. For example, device 700 may correspond to device 108 in fig. 1.
As shown in fig. 7, the device 700 may include a display screen 702, a memory 704, and at least one processor 706. The display screen 702, the memory 704, and the at least one processor 706 may be coupled together by a bus 710.
Memory 704 may store executable code. The executable code, when executed by the at least one processor 706, may cause the at least one processor 706 to implement the corresponding processes described above with respect to the method embodiments, which are not repeated herein. For example, the processor 706 may present a status indicator corresponding to the current status of the secondary station through the display screen 702.
In addition, device 700 may also include other modules, such as a communication interface 708. The device 700 may communicate with a controller or the like through a communication interface 708. Communication interface 708 may also be coupled to bus 710. Of course, the components that the device 700 may include may depend on the specific implementation and are not described in detail herein.
Fig. 8 is a schematic block diagram of a controller for processing secondary station information in accordance with some embodiments. For example, the controller 800 may correspond to the controller 106 in fig. 1.
As shown in fig. 8, the controller 800 may include a memory 802 and at least one processor 804. The memory 802 and the at least one processor 804 may be coupled together by a bus 808. The memory 802 may store executable code. The executable code, when executed by the at least one processor 804, may cause the at least one processor 804 to implement the corresponding processes described above with respect to the method embodiments, which are not repeated herein.
In addition, the controller 800 may also include other modules, such as a communication interface 806. The controller 800 may communicate with devices (e.g., devices 500, 700, etc.) and a master station (e.g., master station 102) or the like deployed in the field via a communication interface 806. A communication interface 806 may also be coupled to bus 808. Of course, the components that the controller 800 may include may depend on the specific implementation, and are not described here again.
Embodiments of the present invention also provide a machine-readable storage medium. The machine-readable storage medium may store executable code that, when executed by a machine, causes the machine to perform the specific processes described above with respect to devices deployed on the same site as a secondary station.
Embodiments of the present invention also provide a machine-readable storage medium. The machine-readable storage medium may store executable code that, when executed by a machine, causes the machine to perform the specific processes described above with respect to the controller.
For example, the machine-readable storage medium may include, but is not limited to, random access Memory (Random Access Memory, RAM), read-Only Memory (ROM), electrically erasable programmable Read-Only Memory (EEPROM), static random access Memory (Static Random Access Memory, SRAM), hard disk, flash Memory, and the like.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.
Claims (14)
1. A method for processing slave station information, the method performed by a device deployed at the same site as a slave station, the method comprising:
Receiving current state information of the slave station from a controller, wherein the current state information is used for indicating the current state of the slave station;
Visually presenting a target state indicator corresponding to a current state of the secondary station based on the current state information;
The current state information is determined by processing the current state data reported by the slave station; the current status data includes values of a plurality of status bits including a first status bit, a second status bit, and a third status bit, wherein the first status bit indicates whether configured and detected on the fieldbus, the second status bit indicates whether configured and not detected on the fieldbus, and the third status bit indicates whether configured and not detected on the fieldbus; the determining the current state information includes:
Combining the values of the plurality of status bits according to a preset sequence to obtain the current status information; the current state information is one of a plurality of state information for indicating one of a first state, a second state, a third state and a fourth state, respectively, wherein the first state indicates configured and detected on the fieldbus, the second state indicates configured and not detected on the fieldbus, the third state indicates detected and not configured on the fieldbus, and the fourth state indicates not configured and not detected on the fieldbus.
2. The method of claim 1, comprising, prior to presenting the target state indicator:
and selecting the target state indicator from a plurality of state indicators based on the current state information and preset corresponding information, wherein the preset corresponding information is used for representing the corresponding relation between the plurality of state information and the plurality of state indicators.
3. The method of claim 2, wherein the plurality of status indicators each have a visually distinguishable visual characteristic.
4. A method according to any one of claims 1 to 3, wherein presenting the target status indicator comprises:
The identity of the secondary station and the target status indicator are presented in an associated manner.
5. A method according to any one of claims 1 to 3, wherein the secondary station is one of a plurality of secondary stations deployed on the same site as the device, the method further comprising:
A status indicator corresponding to the current status of each of the plurality of secondary stations is visually presented simultaneously.
6. A method according to any one of claims 1 to 3, wherein the slave station is an actuator-sensor-interface, ASI, slave station and the device is a device comprising a human-machine interface.
7. A method for processing secondary station information, the method being performed by a controller, the method comprising:
Obtaining current status data reported by a secondary station, the current status data comprising values of a plurality of status bits, the plurality of status bits comprising a first status bit, a second status bit, and a third status bit, wherein the first status bit indicates whether configured and detected on a fieldbus, the second status bit indicates whether detected but not configured on the fieldbus, and the third status bit indicates whether configured but not detected on the fieldbus;
Processing the current state data to determine current state information of the secondary station, wherein the current state information is used to indicate the current state of the secondary station and has a format that can be used by devices deployed on the same site as the secondary station; determining the current state information includes:
Combining the values of the plurality of status bits according to a preset sequence to obtain the current status information; the current state information is one of a plurality of state information for indicating one of a first state, a second state, a third state and a fourth state, respectively, wherein the first state represents configured and detected on the fieldbus, the second state represents configured and not detected on the fieldbus, the third state represents detected and not configured on the fieldbus, and the fourth state represents not configured and not detected on the fieldbus;
the current status information of the secondary station is transmitted to the device so that the device visually presents a target status indicator corresponding to the current status of the secondary station.
8. The method of claim 7, wherein obtaining current status data reported by the secondary station comprises:
the current status data is received from a master station, wherein the master station and the slave station are connected via an ASI bus.
9. An apparatus for processing information of a secondary station, the apparatus being deployed at the same site as the secondary station, the apparatus comprising:
A receiving unit configured to receive current state information of the secondary station from a controller, wherein the current state information is used for indicating a current state of the secondary station;
A presentation unit configured to visually present a target state indicator corresponding to a current state of the secondary station based on the current state information;
The current state information is determined by processing the current state data reported by the slave station; the current status data includes values of a plurality of status bits including a first status bit, a second status bit, and a third status bit, wherein the first status bit indicates whether configured and detected on the fieldbus, the second status bit indicates whether configured and not detected on the fieldbus, and the third status bit indicates whether configured and not detected on the fieldbus; the determining the current state information includes:
Combining the values of the plurality of status bits according to a preset sequence to obtain the current status information; the current state information is one of a plurality of state information for indicating one of a first state, a second state, a third state and a fourth state, respectively, wherein the first state indicates configured and detected on the fieldbus, the second state indicates configured and not detected on the fieldbus, the third state indicates detected and not configured on the fieldbus, and the fourth state indicates not configured and not detected on the fieldbus.
10. A controller for processing secondary station information, comprising:
An acquisition unit configured to acquire current state data reported by a secondary station, the current state data comprising values of a plurality of state bits, the plurality of state bits comprising a first state bit, a second state bit and a third state bit, wherein the first state bit indicates whether configured and detected on a fieldbus, the second state bit indicates whether detected but not configured on the fieldbus, and the third state bit indicates whether configured and not detected on the fieldbus;
a determining unit configured to process the current state data to determine current state information of the secondary station, wherein the current state information is used for indicating the current state of the secondary station and has a format that can be used by a device deployed on the same site as the secondary station; determining the current state information includes:
Combining the values of the plurality of status bits according to a preset sequence to obtain the current status information; the current state information is one of a plurality of state information for indicating one of a first state, a second state, a third state and a fourth state, respectively, wherein the first state represents configured and detected on the fieldbus, the second state represents configured and not detected on the fieldbus, the third state represents detected and not configured on the fieldbus, and the fourth state represents not configured and not detected on the fieldbus;
A transmitting unit configured to transmit current status information of the secondary station to the device so that the device visually presents a target status indicator corresponding to the current status of the secondary station.
11. An apparatus for processing information of a secondary station, the apparatus being deployed at the same site as the secondary station, the apparatus comprising:
A display screen;
a memory storing executable code;
at least one processor, wherein the at least one processor is in communication with the display screen and the memory, and the executable code, when executed by the at least one processor, causes the at least one processor to implement the method of any one of claims 1 to 6.
12. A controller for processing secondary station information, comprising:
a memory storing executable code;
at least one processor in communication with the memory, wherein the executable code, when executed by the at least one processor, causes the at least one processor to implement the method of any one of claims 7 to 8.
13. A machine-readable storage medium storing executable code that, when executed, causes a machine to implement the method of any one of claims 1 to 6.
14. A machine readable storage medium storing executable code which when executed causes a machine to implement the method of any one of claims 7 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210465104.4A CN115001995B (en) | 2022-04-29 | 2022-04-29 | Method, apparatus and machine readable storage medium for processing secondary station information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210465104.4A CN115001995B (en) | 2022-04-29 | 2022-04-29 | Method, apparatus and machine readable storage medium for processing secondary station information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115001995A CN115001995A (en) | 2022-09-02 |
CN115001995B true CN115001995B (en) | 2024-07-05 |
Family
ID=83024871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210465104.4A Active CN115001995B (en) | 2022-04-29 | 2022-04-29 | Method, apparatus and machine readable storage medium for processing secondary station information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115001995B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111786862A (en) * | 2019-04-04 | 2020-10-16 | 赛格威科技有限公司 | Control system and control method thereof and all-terrain vehicle |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1199846A1 (en) * | 2000-10-17 | 2002-04-24 | Siemens Aktiengesellschaft | Method for automaticallly configuring a device in a filed bus system |
CN102474408B (en) * | 2009-08-18 | 2015-08-26 | 皇家飞利浦电子股份有限公司 | For the method in operate wireless power station in a mobile network |
JP5372256B1 (en) * | 2011-11-15 | 2013-12-18 | 株式会社 エニイワイヤ | Input signal error detection method and slave station terminal used for that method |
CN106878131B (en) * | 2017-03-24 | 2020-06-05 | 浙江中控技术股份有限公司 | PROFIBUS coupler and data transmission method of PROFIBUS |
CN112904814B (en) * | 2021-01-16 | 2023-11-14 | 京能十堰热电有限公司 | PROFIBUS equipment on-line communication state monitoring method based on NT6000 platform |
CN113110853B (en) * | 2021-03-15 | 2023-05-30 | 杭州康吉森自动化科技有限公司 | Configuration data online downloading method and device and electronic equipment |
CN113992473A (en) * | 2021-10-29 | 2022-01-28 | 宁波弘讯科技股份有限公司 | Communication method, communication device, electronic equipment and storage medium |
-
2022
- 2022-04-29 CN CN202210465104.4A patent/CN115001995B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111786862A (en) * | 2019-04-04 | 2020-10-16 | 赛格威科技有限公司 | Control system and control method thereof and all-terrain vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN115001995A (en) | 2022-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11734213B2 (en) | Integration of multiple communication physical layers and protocols in a process control input/output device | |
US6898542B2 (en) | On-line device testing block integrated into a process control/safety system | |
US6377859B1 (en) | Maintenance interface device for a use in a process control network | |
JP4987984B2 (en) | Handheld field maintenance bus monitor | |
US8793366B2 (en) | Method and arrangement for diagnosing networks including field bus systems | |
US7693966B2 (en) | Automatic configuration of a network | |
CN108363368B (en) | Method for operating an automation system and automation system, field device and controller | |
EP2783495B1 (en) | Safety system | |
RU2004129311A (en) | CREATION OF INTEGRATED WARNINGS IN A TECHNOLOGICAL INSTALLATION | |
CN110663222B (en) | Processing process data | |
CN102684907A (en) | Port-independent topological planned real-time network | |
US10705498B2 (en) | Method and device for monitoring data processing and transmission in a security chain of a security system | |
JP2019169089A (en) | Network management apparatus, management method, management program and recording medium | |
EP3952223B1 (en) | Network management device, management method, management program, and recording medium | |
US11740604B2 (en) | Control device | |
US11196812B2 (en) | Method for establishing a network communication in an automation system | |
CN115001995B (en) | Method, apparatus and machine readable storage medium for processing secondary station information | |
CN108289050B (en) | Ring network control system and control method for transmitter | |
JP5866067B2 (en) | Programmable display | |
KR20160121015A (en) | Manufacturing process management system | |
WO2022190506A1 (en) | Management device, sensor, communication terminal, and method for controlling management device | |
JP6174768B1 (en) | Digital pressure gauge and control system | |
WO2020195502A1 (en) | Network management device, management method, management program, and recording medium | |
JP6821559B2 (en) | Field equipment with self-healing function | |
CN115151875A (en) | Programmable logic controller |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |