Digital I/O Sample


This is a sample for digital input/output using the click timing of DncButton.

 

■Screen Image

 

 

■How to use

  1. When you press the [Data Input], the data of the input port 0 is displayed on the lamp and the label.

  2. When you press the [Data Output], the data entered in the text box will be output to output port 0.

  3. To change the device settings, click the [DncDaq Setting] button.

 

■Device setting

Item

Description

Device Name

DIO000

Digital Filter

Unused

I/O Direction

Unused

 

■Input Task setting 0

Item

Description

Device

DIO000

Access type

DigitalPort

Input port

0

Target

DncTextBox

Timing

When clicking DncButton (for input)

 

■Input Task setting 1

Item

Description

Device

DIO000

Access type

DigitalPort

Input port

0

Target

DncLamp

Timing

When clicking DncButton (for input)

 

■Output Task setting

Item

Description

Device

DIO000

Access type

DigitalPort

Output port

0

Source

DncTextBox

Timing

When clicking DncButton (for output)