Read
④ Digital Input (Multiple port) [read_di_NchNbyte.vi]

 

Select when digital input multiple ports together

 

 


Layout of IN/OUT terminal

 


IN terminal

DiPort

Initial value: 0

[Essential]
Specify multiple port No. for digital input by array

 

DiPortNum

Initial value: 0

Specify the number of ports to perform digital input
In the case of the initial value of 0, DiPort's array size is used, so no need to specify it normally

 

Mode

Initial value: 0

Normally not connected or specified as 0
The following settings are available only for wireless I/O devices

0: Refers to the input data of the slave stored in the Gatway
1: Directly access the Terminal and refer to the input data
2: Refer to the input data of the Terminal stored in the Gatway and the elapsed time (ElapsedTime)

 

OUT terminal

DiData

Get digital input data in arGet digital input data in array

 

ElapsedTime

Gets the elapsed time (seconds) after data is stored in the Gatway when Mode=2 is set in the wireless I/O device