导入MbusTCP库方式

<< 点击显示目录 >>

主页  ModbusTCP库使用说明 > 例程与用例 >

导入MbusTCP库方式

导入MbusTCP库

当在AS中使用MbusTCP库实现Modbus TCP通讯时,用户不需要在AS中对client和server端进行任何配置(不必使能Activate Modbus communication,不需要配置ModbusTcp_any等),只需要导入MbusTCP库即可通过程序实现Modbus TCP通讯,导入MbusTCP库步骤为:

 

① 导入路径为Existing Libraries

clip0017

 

② 从已有程序中导入MbusTCP库

clip0018

或者从下载得到的压缩包,解压后指向对应的位置进行选择。

clip0026

 

③ 完成导入

clip0019