LucidControl DI4DO4, User Manual (1.0)
2022/02/03
Page 28 of 47
Response Frame
Status
Length
0x00
0x00
In case of an error, the command returns the Execution Status Code documented in the
general
LucidControl User Manual
.
3.3.3
GetIo
This command reads the value or state of an input or output channel.
Input Mode
Value
Reflect
Logic input value 0 or 1
Edge Detection
Pending edge event detected value 0 or 1
Count
Counter value 0 to 65535
Tab. 8 Value of Digital Input Channel
Tab. 6 lists the digital output channel modes and how the IO value is interpreted.
Tab. 8 lists the digital input channel modes and how the IO value is interpreted.
Command
GetIo
Access
Read
Opcode
0x46
LucidIoCtrl Command Line Tool
Call (-tL)
LucidIoCtrl
–
d[COMx]
–
c[Channel]
–
tL
–
r
Return
CHn:L
n
Channel
L
Digital Value
Call (-tN)
LucidIoCtrl
–
d[COMx]
–
c[Channel]
–
tN
–
r
Return
CHn:V
n
Input Channel
V
Input Count Value
LucidIoCtrl Command Line Tool Example
Read back state of output channel 4
LucidIoCtrl
–
dCOM4
–
c4
–
tL -r [ENTER]
CH0:01
Read input channel 0 operating in Count Mode
LucidIoCtrl
–
dCOM4
–
c0
–
tN -r [ENTER]
CH0:0x0064 (100)
Request Frame
OPC
P1
P2
LEN
0x46
Channel
Value Type
0