Sample Program


 

We provide the basic usage and skill in the sample programs.
Because the sample programs are made as simply as possible, you need to make good use of these for programming.

 

Folder structure

The sample program folder is configured as follows in the installed location.
 

User Directory/contec/daq-libmb-lnx

      |

      |________samples

                 |

                 |_______jp

                         |_______inc                                Include files

                         |_______gcc                                gcc version

                         |       |_______tcpmaster               ModbusTCP Master Communication CUI Sample

                         |       |_______rtumaster               ModbusRTU Master Communication CUI Sample

                         |_______python                           python version

                                 |_______tcpmaster               ModbusTCP Master Communication CUI Sample

                                 |_______rtumaster               ModbusRTU Master Communication CUI Sample