
Assign the logical state of a digital output
Category: Output
This block can be described by the following rule:
Figures 1, 2, and 3 show a diagram using a Digital Output block. At time of 5s, the Compare To Constant block returns true as the comparison result. When the signal received by the Digital Output block becomes different from zero, it changes the logical state of the port.

Figure 1 - Example diagram

Figure 2 - Digital port represented in the Workspace
Figure 2 shows the Digital Output 0 port connected to a Scope block. After the simulation, it is possible to see the logical state changing.

Figure 3 - Digital signal as expected in the physical port (real-world signal)
Digital Output block can write only one digital port so it is necessary to select the corresponding physical port by this parameter.
The signal received by this port sets the logical level of the physical port. If this signal is equal to 0, the signal in the physical port if 0V (FALSE), otherwise the signal in the physical port is 5V (TRUE).
About MWF
MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.
Contact Us
Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil
contact@mwf-technologies.com
© 2018-2026 MWF. All rights reserved.