LucidControl DI4DO4, User Manual (1.0)
2022/02/03
Page 33 of 47
LucidIoCtrl
–
dCOM4
–
c0
–
ginDi0Value [ENTER]
inDi0Value=0
3.4.1.2
inDi0Mode
This IO Configuration parameter configures the operation mode of the input.
Parameter
inDi0Mode
Access
Read / Write
Address
0x1500
Values
Input Mode
Byte
Mode
0x00
inactive
0x01
reflect
0x10
risingEdge
0x11
fallingEdge
0x20
count
Default Value
0x00
Parameter Type
1 Byte unsigned
LucidIoCtrl Command Line Tool
Parameter Name
inDi0Mode
Parameter Values
Mode
Call (Set)
LucidIoCtrl
–
d[COMx]
–
c[Channel]
–
sinDi0Mode=[Mode] {-p}
{--default}
Call (Get)
LucidIoCtrl
–
d[COMx]
–
c[Channel]
–
ginDi0Mode
LucidIoCtrl Command Line Tool Example
Set operation mode of input channel 0 to Count Mode and make the setting persistent.
LucidIoCtrl
–
dCOM4
–
c0
–
sinDi0Mode=count
–
p [ENTER]
Read the operation mode of input channel 0
LucidIoCtrl
–
dCOM4
–
c0
–
ginDi0Mode [ENTER]
inDi0Mode=count
3.4.1.3
inDi0Flags
This IO Configuration Parameter groups configuration settings which are represented by
one bit.
Parameter
inDi0Flags
Access
Read / Write
Address
0x1501
Values
Bit Parameters
Bit Parameter
Bit Postion
inDi0AddCounter
Bit 0
inDi0ResetCounterOnRead
Bit 1
inDi0Inverted
Bit 2
Default Value
0x00
Parameter Type
1 Byte unsigned
The parameter
inDi0Flags
cannot be accessed directly by using the Command Line Tool.
The Bit Parameters can be used instead.