A signal acquisition method, device and system
A signal acquisition and signal technology, which is applied in the direction of program control and electrical program control in the sequence/logic controller, can solve the problems of missing signal acquisition, unable to correctly record the current state of the sensor, and unable to collect the effective signal state of the sensor, etc., to achieve Avoid missing effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] In this embodiment, a signal acquisition method is shown, using an AND gate controller.
[0032] See figure 1 , which shows a flow chart of the signal acquisition method provided by the present application, which may include the following steps:
[0033] Step S11: When it is detected that the signal to be detected has changed from an invalid state to a valid state, generate a virtual network signal corresponding to the signal to be detected.
[0034] In this embodiment, the invalid state and valid state of the signal to be checked are defined by the door controller, such as: the infrared sensor is used to detect whether there is an obstacle intruding into the dangerous area by mistake, and the "blocked" definition of the infrared sensor In the valid state, the infrared sensor returns to the "unblocked" state after the obstacle leaves, and "unblocked" defines the invalid state. In the present invention, all valid states are represented by "1", and all invalid states ar...
Embodiment 2
[0046] In this example, in figure 1 On the basis of the signal acquisition method shown, another signal acquisition method is extended, please refer to figure 2 , can include the following steps:
[0047] Step S21: When it is detected that the signal to be detected has changed from an invalid state to a valid state, generate a virtual network signal corresponding to the signal to be detected.
[0048] Step S22: Mark the state of the virtual network signal as a valid state.
[0049] Step S23: storing the virtual network signal and the state of the virtual network signal.
[0050] Step S24: When receiving the signal state acquisition command from the host computer, send the virtual network signal and the state of the virtual network signal to the host computer, so that the host computer can correctly record the signal to be detected state.
[0051] Step S21 to step S24 are the same as step S11 to step S14 shown in the first embodiment, and will not be repeated here.
[0052]...
Embodiment 3
[0055] Corresponding to the signal collection method shown in Embodiment 1, this embodiment shows a signal collection device, please refer to image 3 , The signal collection device includes: a generation unit 31 , a marking unit 32 , a storage unit 33 and a sending unit 34 .
[0056] The generating unit 31 is configured to generate a virtual network signal corresponding to the signal to be detected when it is detected that the signal to be detected has jumped from an invalid state to a valid state.
[0057] The marking unit 32 is configured to mark the state of the virtual network signal as a valid state.
[0058] The storage unit 33 is configured to store the virtual network signal and the state of the virtual network signal.
[0059] The sending unit 34 is configured to send the virtual network signal and the state of the virtual network signal to the host computer when receiving a signal state acquisition command from the host computer, so that the host computer can corre...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


