0% found this document useful (0 votes)
35 views

The Sensor Array Checks Many Features Simultaneously. To Enable All of The Data To Be Easily Handled, It Can Be Made Into A Data Word

The sensor array checks multiple inputs simultaneously. To make the large amount of data easier to handle, the inputs from eleven sensors can be organized into a single data word. By moving the status of the sensor inputs into a data word, the program handling the data becomes much simpler compared to analyzing each of the eleven sensors individually. Each sensor input is directly mapped to its corresponding bit position within the data word.

Uploaded by

avandetq15
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

The Sensor Array Checks Many Features Simultaneously. To Enable All of The Data To Be Easily Handled, It Can Be Made Into A Data Word

The sensor array checks multiple inputs simultaneously. To make the large amount of data easier to handle, the inputs from eleven sensors can be organized into a single data word. By moving the status of the sensor inputs into a data word, the program handling the data becomes much simpler compared to analyzing each of the eleven sensors individually. Each sensor input is directly mapped to its corresponding bit position within the data word.

Uploaded by

avandetq15
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Assess Multiple Inputs Condition

The sensor array checks many features simultaneously. To enable all of the
data to be easily handled, it can be made into a data word.

Assess Multiple Inputs Condition

Assess Multiple Inputs Condition


If the data from the eleven sensors (identified SNS1 to 11) was analyzed
using basic programming techniques the program would become very complex
and very long. By moving the status of the sensors, i.e. the status of the inputs
X000 to X012 into a single data word (EX. D030) the program handling
becomes much easier.
When moving bit patterns into a data words, care should be taken to ensure
the source bit data is supplied in blocks of four devices. The K* portion of
K3X000 specifies how many blocks of four will be read or referred to as
source data. X000 identifies the head address of where the source data starts;
therefore in the example K3X000, 12 bit devices are indentified starting from
X000 (they will end at X013).
Each bit device moved into a data word is directly mapped to its equivalent
position within the data word.
Hence, X005 is offset 6 places from X000 therefore bit 5 (b5) inside the data
word would be used. Bit 5 is also 6 places from the head address bit 0 (b0).

You might also like