LucidControl DI4DO4, User Manual (1.0) 2022/02/03
Page 2 of 47
Table of Content
1Introduction................................................................................................................................................. 4
2Setup and Installation.............................................................................................................................. 4
2.1 Safety Information............................................................................................................................. 5
2.2 Configurations .................................................................................................................................... 6
2.3 Interface and Connection ............................................................................................................... 7
2.3.1 USB Connection ......................................................................................................................... 7
2.3.2 IO Connection............................................................................................................................. 7
2.3.2.1 Digital Input Channels..................................................................................................... 7
2.3.2.2 Digital Output Channels ................................................................................................. 8
2.4 Setup of Hard- and Software......................................................................................................... 9
2.4.1 Windows ....................................................................................................................................... 9
2.4.2 Linux ............................................................................................................................................... 9
2.4.3 LucidIoCtrl Command Line Tool........................................................................................... 9
2.4.4 First Steps ..................................................................................................................................... 9
3Module Operation...................................................................................................................................11
3.1 Digital Input Channel Processing...............................................................................................11
3.1.1 Real-time Considerations .....................................................................................................11
3.1.2 Input Signal Value Inversion................................................................................................11
3.1.3 Operation Modes ....................................................................................................................11
3.1.3.1 Reflect Mode.....................................................................................................................12
3.1.3.2 Edge Detection.................................................................................................................13
3.1.3.2.1 Rising Edge Detection Mode.................................................................................14
3.1.3.2.2 Falling Edge Detection Mode................................................................................14
3.1.3.3 Count Mode ......................................................................................................................14
3.1.3.3.1 Count Mode Options................................................................................................16
3.2 Digital Output Channel Processing...........................................................................................18
3.2.1 Output Signal Value Inversion ............................................................................................18
3.2.2 Timing Limits.............................................................................................................................18
3.2.3 Operation Modes ....................................................................................................................19
3.2.3.1 Reflect Mode.....................................................................................................................19
3.2.3.2 Duty-Cycle Mode and PWM .......................................................................................19
3.2.3.3 On-Off Mode ....................................................................................................................21
3.3 Commands .........................................................................................................................................24
3.3.1 SetIo .............................................................................................................................................24
3.3.2 SetIoGroup.................................................................................................................................25
3.3.3 GetIo.............................................................................................................................................28
3.3.4 GetIoGroup ................................................................................................................................30
3.4 Parameters..........................................................................................................................................32
3.4.1 Digital Input Channels ...........................................................................................................32
3.4.1.1 inDi0Value..........................................................................................................................32
3.4.1.2 inDi0Mode .........................................................................................................................33
3.4.1.3 inDi0Flags...........................................................................................................................33