There are only two valid states for digital input/output peripherals, which are commonly represented by On and Off, High and Low, Open and Off, and On and Off. For example, the on and off states of a relay contact, the on and off states of an indicator light, etc. Storing the status information of a digital input/output peripheral only requires one binary bit. The vast majority of MCU programmable I/O pins can output high and low levels, and the level status of these I/O pins and corresponding interface circuits can control the status of digital output peripherals. Therefore, binary bits “1” and “0” are used inside the MCU to represent the status of digital output peripherals, respectively. At the same time, the state of digital input peripherals can be obtained by reading the level of the MCU’s I/O pins, and this state can be saved using Boolean variables.
类似文章
Can Dcs achieve all the functions of PLC?
DCS (Distributed Co…
What is Distributed Control System (DCS)?
distributed control…
Characteristics of Distributed Control System (DCS)
Distributed Control…
What is the principle of digital input and output
Digital input and o…
There are several types of hydraulic servo systems
There are various c…
Is the motion controller more advanced than PLC?
The hardware compos…