Digital Output

Assign the logical state of a digital output

Category: Output

Description:

This block can be described by the following rule:

  • If the signal received is 0, the signal flowing into the port is 0V (FALSE). As a consequence, 0V can be measured at the physical port.
  • If the signal received is different of 0, the signal flowing in the port is 5V (TRUE). As a consequence, 5V can be measured at the physical port.

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)

Parameters:

Digital Output block can write only one digital port so it is necessary to select the corresponding physical port by this parameter.

Ports:

Input

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).

Data Types:

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.