Digital 1 Bit Output [SimpleDo]

 

It is the simplest example of digital output.

When executed after the switch ON/OFF operation, in the initial state, the state of bit 0 (the first output terminal) can be changed.


Front Panel

 


Block Diagram

 


Sample Explanation

Please refer to this sample when adding digital output processing to existing application.
In addition to digital devices, it can also be used with analog devices and counter devices. Please refer to the following.

To perform digital input/output with an analog device, select [AIO device] with the [Channel setting] selector.
Also note that the device name (DeviceName) is [AIOxxx] instead of [DIOxxx].

To perform general-purpose digital input/output of the counter device, select [CNT device] or [CNT bus master device] with the selector of [Channel setting].
Also note that the device name (DeviceName) will be [CNTxxx] in this case too.

Additionally, in the case of a counter device, the channel number is specified for DoBit.