登录
首页 » Others » win7+vs2015下编译成功的modbus上位机(应用libmodbus)包括所用调试工具和资料.rar

win7+vs2015下编译成功的modbus上位机(应用libmodbus)包括所用调试工具和资料.rar

于 2021-11-25 发布
0 216
下载积分: 1 下载次数: 2

代码说明:

在win7下采用vs2015编程的modbus上位机程序,c++程序,下载后可直接运行,对使用libmodbus入门有很大帮助,在此基础上可参考libmodbus例程及其它资料实现modbus tcp编程。含libmodbus的使用方法、虚拟串口工具及一本modbus入门书籍。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • 模块封装(三维PCB封装库)AD用PCB封装库
    模块封装(三维PCB封装库)AD用PCB封装库,作者主页下有全套的三维PCB封装库,欢迎大家下载使用。文件为作者千辛万苦整理的,请大家自用,不要随意传播,谢谢!~
    2020-11-28下载
    积分:1
  • ST FOC 5.0说明书 快速入门 SDK v5.0.pdf
    ST FOC 5.0说明书 配合 开源库 https://download.csdn.net/download/hxinstar/10322042使用UM2374List of tablesList of tablesTable 1. List of acronymsTable 2Document revision history..23UM2374 Rey 13/24List of figuresUM2374List of figuresFigure 1. ST MC Workbench -Icon and installation folder treeFigure 2. ST MC Workbench-GUI expanded top viewFigure 3. ST Motor Profiler-GUI889Figure 5. ST Motor Profiler-SM-PMSM parameters exampleFigure 4. ST Motor Profiler- Hardware setup list examples1011Figure 6. ST Motor Profiler-l-PMSM parameters exampleFigure 7. ST Motor Profiler-Measurement results12Figure 8. ST Motor Profiler-Save window13Figure 9. ST MC Workbench - New Project window14Figure 10. ST MC Workbench -New Project Info window14Figure 11. ST MC Workbench -Project Settings15Figure 12. ST MC Workbench-Project Settings window.15Figure 13. ST MC Workbench -Project generation button16Figure 14. ST MC Workbench -Workspace selectionFigure 15. ST MC Workbench -Project generation build infoFigure19. ST MC Workbench- Use of the motor control and monitoring.∴、∴,"…,,∴…….17Figure 16. IDE-MC Project view example18Figure 17. STMC Workbench-Motor monitoring button.19Figure 18. ST MC Workbench -Motor monitoring GUI204/24UM2374 Rey 1/UM2374General informationGeneral informationThe Mc sDK is used for the development of motor-control applications running on STM3232-bit microcontrollers based on the arm Cortex-M processorTable 1 presents the definition of acronyms that are relevant for a better understanding ofthis documentTable 1. List of acronymsAcronymDescriptionGUIGraphical user interfaceIDEIntegrated development environmentFOCField-oriented controlFWFirmwareMotor controlMC WBMotor control Workbench(STMicroelectronics sw tool)MPMotor Profiler(STMicroelectronics software tool)PMSMPermanent-magnet synchronous motorPWMPulse-width modulationSDKSoftware development kitVCVector controlMore information about ST MC Workbench is provided in the stm32 motor control SDKv5.0toolsusermanual(um2380)availableatwww.st.comarmUM2374 Rey 15/24Motor control ecosystem setupUM23742Motor control ecosystem setupA suitable ST Motor Control ecosystem environment includesA PC running the needed Mc software toolsA third-party IDEa third-party ANSI C-compilerA JTAG/SWD interface for debugging and programmingAn STMicroelectronics application board with one of the STM32 microcontrollerssupported. It drives the power stage and featuresPWM outputs to gate driverADC channels to measure currentsDC bus voltageA three-phase PMsM motol· A power supplyRefer to the STM32 motor control software development kit(Mc sDk data brief(DB3548)atwww.st.comandtothereleasenoteformoredetails2.1Software tool setupThe STMicroelectronics motor-control ecosystem runs on a pc with Windows7The following Pc software tools are correctly installedST MC Workbench (v5.0.0 or later)STM32CubeMX(v4 24.0 or later)ST-LINK/2(v4.0.0 or later)Any supported IDEIAR Embedded Workbench@ for Arm(v7.80.4Keil MDK tools (v5.24.2 or later)Ac6 System Workbench(v2.3.0 or later)(a)Refer to the respective user manuals for proper installation. STMicroelectronics documentsareavailablefromtheinternetsiteatwwwst.comSTM32 motor control SDK v5.0 tools user manual (UM2380STM32 CubeMX for STM32 configuration and initialization c code generation usermanual (UM1718)STM32 ST-LINK utility software description user manual(UM0892)The AC6 tool framework is not supported in SDK v5.0 but in later versions6/24UM2374 Rey 1/UM2374Motor control ecosystem setup22Hardware setupThe connection of the STMicroelectronics application board to the pc requires a USBType-A connector. Refer to the description of the application board for details on the USBcableA dedicated description card is delivered with each STMicroelectronics application board forproper installation For more details, refer to the user manual of the board available atwww.st.comThe selected hardware can be one of the three setups· The complete MC KitOne of the complete inverter boardsAny STM32 evaluation board combined with one of the ST evaluation power stagesthat include the mc connectorUM2374 Rey 17/24Getting StartedUM23743Getting StartedWarning: Check that the board is correctly configured for the motorcontrol application and supplied with the expected inputvoltageNoteRefer to the user manual of the related hardware to setup the correct configuration, voltagerange, serial communication capabilities, and programming/debugging interface3.1Hardware connectionConnect a uSb cable between the pc and the stmicroelectronics application board andthe JTAG/SWD programming cable if it is different from the USB cable3.2Motor profilingLaunch the ST MC Workbench software tool either byclicking on its iconrunning it directly from the installation folder treeBoth ways of launching the ST MC Workbench are illustrated in Figure 1Figure 1. ST MC Workbench- Icon and installation folder treeI STMicroelectrorics感FOC SDKLv.3.0MotorControlv500WorkBenchST Motor Control Workbenchd ST Motor profileren the st motor profiler tool either byUsing its dedicated button in the St Mc Workbench GUl as illustrated in Figure 2Running it directly from the installation folder tree as illustrated in Figure 1Figure 2. ST MC Workbench-GUl expanded top viewFile Tools Help Documet ta ionNew ProjectLoad Project4 About HelpMotor ProfilRcGert ProJEcts己tdbrsDRpower board8/24UM2374 Rey 1/UM2374Getting StartedClick on the Select Boards button to display the list of supported boards as shown onFigure 3 and select the STMicroelectronics application board setup. Figure 4 on page 10presents examples from this listNoteThe ST Motor Profiler tool may be used only with ST hardware in the list of supportedsetups.Figure 3. ST Motor Profiler-GUI2 ST Motor Profile.l:e augmentedMotor ProfilersPole pairsPe row to detecbeed and Current /mitsMaκSpet1600FPMn7 Select Board∧pk02530pkMagnetic: SM-PMSN○-NSMMechanIcal mode lO CenElectrical modelOW000UM2374 Rey 19/24Getting StartedUM2374Figure 4. ST Motor Profiler-Hardware setup list examplesE ST Motor ProfiY Hideabsolete boarde arch Control board by narSe arch power boac bv nareControl boardower BoardxCancelHide boards with warningNUCLEO-F302R8X-NUCLEO-HMOTM1 3shNUCLEO-F302R8X-NUCLEO-HMOBM1 3shT2F302R8T6L6230PDSTM32F302R8T6STL22ON6FT●Acf8m:m3SELNRV2 Emiol connectorC Product Web PageG Product Web PageC Product Web PageC Product Web PageNUCLEO-F303RESTEVAL-IPMO5F 3ShNUCLEO.F303RESTEVAL-IPM108 3sh●Aiv命Ativ● Ac livSn Ngor ombreI connectorST-LINKV2C Product Web PageC Product Web PageC Product Web PageC Product Web PageClick on the sTmicroelectronics hardware setup to select it and configure the st motorProfiler toolAs an example, Figure 4 shows the selection of the P-NUCLEO-IHM001 motor controlNucleo pack with NucLEo-F302R8 and X-NUCLEO-IHMO7M1After hardware setup selection, fill in the parameter fields with the motor informationThe number of pole pairs of the motor(mandatory fieldThe Max Speed of the motor(optional field)by default, the st Motor Profiler tool searches for the maximum allowed speedmatching the motor and the hardware setup usedThe Max Current allowed by the motor(optional field)By default, it is the maximum peak current deliverable by the hardware setupThe nominal dC bus voltage used by the hardware setup(optional field)By default, it is the power supply stage as either the bus voltage for low voltageapplications(DC voltage), or the RMs value for high voltage application(Ac voltage)The magnetic built-in type(mandatory field)By default, the SM-PMSM is selectedThe Ld/Lq ratio(mandatory field only when l-PMSM built-in is selected as shown inFigure 6 on page 1110/24UM2374 Rey 1/
    2020-11-29下载
    积分:1
  • 开关电源中的磁性元件.pdf
    一本很详尽的磁件书,里面的例子使用 【核心代码】目 录第一章 磁的基本概念………………………………………………………………………11.1 磁的基本现象 …………………………………………………………………………………11.2 电流与磁场…………………………………………………………………………………… 11.3 磁的单位和电磁基本定律………………………………………………………………… 2 1.3.1 磁感应强度(B-磁通密度) ……………………………………………………………………3 1.3.2 磁通……………………………………………………………………………………………3 1.3.3 磁导率µ和磁场强度 H ………………………………………………………………………3 1.3.4 安培环路定律………………………………………………………………………………… 4 1.3.5 电磁感应定律………………………………………………………………………………… 5 1.3.6 电磁能量关系 …………………………………………………………………………………6 本章要点 7第二章 电路中的磁性元件…………………………………………………………………82.1 自感……………………………………………………………………………………………82.2 互感……………………………………………………………………………………………82.2.1 线圈之间的互感 ………………………………………………………………………………92.2.2 互感系数………………………………………………………………………………………92.2.3 互感电动势……………………………………………………………………………………92.2.4 互感电路………………………………………………………………………………………102.3 变压器…………………………………………………………………………………………122.3.1 变压器空载……………………………………………………………………………………132.3.2 变压器负载状态………………………………………………………………………………132.3.3 变压器等效电路………………………………………………………………………………14 本章要点…………………………………………………………………………………………15第三章 磁路和电感计算………………………………………………………………… 173.1 磁路的概念…………………………………………………………………………………173.2 磁路的欧姆定律 ……………………………………………………………………………173.3 磁芯磁场和磁路 ……………………………………………………………………………193.3.1 无气隙磁芯磁场 ………………………………………………………………………………193.3.2 E 型磁芯磁场和等效磁路……………………………………………………………………213.3.3 气隙磁导的计算 ………………………………………………………………………………233.4 电感计算………………………………………………………………………………………273.4.1 导线和无磁芯线圈的电感计算-经验公式…………………………………………………283.4.2 磁芯电感………………………………………………………………………………………33 本章要点……………………………………………………………………………………………35第四章 软磁材料………………………………………………………………………………364.1 磁性材料的磁化………………………………………………………………………………364.2 磁材料的磁化曲线……………………………………………………………………………364.2.1 磁性物质磁化过程和初始磁化曲线 …………………………………………………………364.2.2 饱和磁滞回线和基本参数……………………………………………………………………374.3 磁芯损耗………………………………………………………………………………………38 4.3.1 磁化能量和磁滞损耗 Ph………………………………………………………………………384.3.2 涡流损耗 Pe ……………………………………………………………………………………394.3.3 剩余损耗 Pc ……………………………………………………………………………………404.4 磁化曲线的测量和显示……………………………………………………………………… 414.4.1 测试原理和电路 ……………………………………………………………………………… 414.4.2 磁化曲线的显示 …………………………………………………………………………… 424.5 相对磁导率µr……………………………………………………………………………………434.5.1 最大磁导率μm…………………………………………………………………………………434.5.2 初始磁导率μI …………………………………………………………………………………434.5.3 增量磁导率µ∆………………………………………………………………………………… 434.5.4 有效磁导率μe…………………………………………………………………………………444.5.5 幅值磁导率µa …………………………………………………………………………………444.6 常用软磁材料 ………………………………………………………………………………… 464.6.1 对软磁材料的要求 …………………………………………………………………………… 464.6.2 合金磁材料 ……………………………………………………………………………………464.6.3 磁粉芯…………………………………………………………………………………………514.6.4 软磁铁氧体材料……………………………………………………………………………… 524.7 软磁材料的选用原则 ……………………………………………………………………………56 本章要点 ……………………………………………………………………………………………56第五章 变换器中磁芯的工作要求……………………………………………………………585.1 Ⅰ类工作状态-Buck 变换器滤波电感磁芯……………………………………………………585.2 Ⅱ类工作状态-正激变换器变压器 ……………………………………………………………605.3 Ⅲ类工作状态-推挽型变换器中变压器 …………………………………………………… 625.3.1 输出交流时逆变器中的变压器 ………………………………………………………………635.3.2 SPWM 交流输出滤波电感 ………………………………………………………………… 655.3.3 直流输出时变压器的工作状态 ……………………………………………………………… 665.4 准Ⅲ工作状态-磁放大器磁芯工作状态………………………………………………………685.4.1 磁放大器原理 …………………………………………………………………………………685.4.2 实际应用举例 …………………………………………………………………………………69本章要点 ………………………………………………………………………………………70第六章 线圈 ………………………………………………………………………………………716.1 集肤效应…………………………………………………………………………………………716.2 线圈磁场和邻近效应…………………………………………………………………………736.3 变压器线圈的漏感……………………………………………………………………………746.3.1 典型变压器磁芯的漏感分析…………………………………………………………………746.3.2 其他结构的漏磁……………………………………………………………………………… 766.3.3 减少漏磁的主要方法-线圈交错绕…………………………………………………………766.4 邻近效应对多层线圈影响………………………………………………………………………766.4.1 多层线圈………………………………………………………………………………………776.4.2 线圈的并联……………………………………………………………………………………806.4.3 无源损耗………………………………………………………………………………………816.5 线圈结构…………………………………………………………………………………………826.5.1 绝缘、热阻和电流密度………………………………………………………………………826.5.2 计算有效值电流 ………………………………………………………………………………856.5.3 窗口充填系数 kw ………………………………………………………………………………866.5.4 电路拓扑………………………………………………………………………………………87 6.6 线圈间电容和端部电容…………………………………………………………………………87 本章要点………………………………………………………………………………………89第七章 功率变压器设计 ………………………………………………………………………907.1 变压器设计一般问题……………………………………………………………………………907.1.1 变压器功能……………………………………………………………………………………907.1.2 变压器的寄生参数及其影响…………………………………………………………………907.1.3 温升和损耗 ……………………………………………………………………………………997.1.4 充填系数………………………………………………………………………………………927.1.5 电路拓扑………………………………………………………………………………………927.1.6 频率……………………………………………………………………………………………927.1.7 占空度………………………………………………………………………………………937.1.8 匝数和匝比选取………………………………………………………………………………947.1.9 磁通偏移………………………………………………………………………………………967.1.10 磁芯选择……………………………………………………………………………………977.2 变压器设计基本步骤………………………………………………………………………101第八章 电感和反激变压器设计……………………………………………………………1068.1 应用场合 ………………………………………………………………………………………1068.1.1 输出滤波电感(Buck)…………………………………………………………………………1068.1.2 Boost 和 Boost/Buck 电感 ……………………………………………………………………1078.1.3 反激变压器…………………………………………………………………………………1088.1.4 耦合滤波电感………………………………………………………………………………1098.2 损耗和温升……………………………………………………………………………………1118.3 磁芯……………………………………………………………………………………………1118.3.1 磁芯气隙……………………………………………………………………………………1118.3.2 散磁引起的损耗……………………… … … ………………………………………………1128.3.3 扩大电感磁通摆幅…………………… … … ………………………………………………1138.3.4 磁芯材料和形状………………………………………………………………………………1148.3.5 决定磁芯尺寸………………………………………………………………………………1148.4 电感计算………………………………………………………………………………………1158.4.1 气隙磁芯电感………………………………………………………………………………1168.4.2 磁粉芯和恒导磁芯电感……………………………………………………………………1168.4.3 利用电感系数 AL计算电感…………………………………………………………………1168.5 电感设计………………………………………………………………………………………1168.5.1 设计步骤……………………………………………………………………………………1168.5.2 举例-Buck 输出滤波电感…………………………………………………………………1188.5.3 反激变压器电感设计………………………………………………………………………120第九章 特殊磁性元件…………………………………………………………………………1299.1 电流互感器……………………………………………………………………………………1299.1.1 交流互感器…………………………………………………………………………………1299.1.2 脉冲直流互感器………………………………………………………………………………1329.2 磁调节器和尖峰抑制器设计…………………………………………………………………1359.2.1 矩形磁芯基本特性……………………………………………………………………………1359.2.2 磁放大器设计…………………………………………………………………………………1369.2.3 噪声抑制磁芯…………………………………………………………………………………138第十章 附录………………………………………………………………………………………14110.1 单位制和转换关系……………………………………………………………………………14110.2 导线数据………………………………………………………………………………………14210.2.1 漆包线规格、绝缘和耐压…………………………………………………………………14210.2.2 英制导线规格及公制转换…………………………………………………………………14310.2.3 电工铜带……………………………………………………………………………………14410.3 铁氧体………………………………………………………………………………………14510.3.1 国产铁氧体材料特性………………………………………………………………………14510.3.2 铁氧体尺寸规格……………………………………………………………………………14510.3.3 国内外铁氧体材料对照……………………………………………………………………15610.4 磁粉芯………………………………………………………………………………………15610.4.1 磁粉芯的主要性能和规格…………………………………………………………………15610.4.2 磁粉芯电感估算……………………………………………………………………………15610.4.3 国内外磁粉芯规格…………………………………………………………………………15710.5 矩形磁滞回线磁芯……………………………………………………………………………15810.5.1 非晶合金……………………………………………………………………………………15810.5.2 噪声抑制器件………………………………………………………………………………15910.5.3 矩形磁滞回线铁氧体磁芯…………………………………………………………………15910.6 绝缘 …………………………………………………………………………………………15910.6.1 线圈端部处理 -留边距离 Z、端空距离 d………………………………………………16010.6.2 内层绝缘(线圈骨架到磁芯)、绕组间绝缘 ………………………………………………16010.6.3 线圈的裹覆、端封和灌注方式的选择……………………………………………………16110.6.4 出头绝缘距离………………………………………………………………………………16110.6.5 工艺…………………………………………………………………………………………16110.7 磁性元件相关标准……………………………………………………………………………16210.7.1 国家标准……………………………………………………………………………………16210.7.2 部分国际标准………………………………………………………………………………164
    2020-12-10下载
    积分:1
  • LabVIEW调用库函数节点.rar
    本文件介绍labview中,如何直接使用调用库函数节点调用c语言的方法。相比公式节点,调用库函数节点,能够使用更复杂的计算。
    2021-05-06下载
    积分:1
  • 凸透镜轴上成像的相差(matlab模拟)
    凸透镜轴上成像的相差(matlab模拟)使用:在matlab命令行下输入lens_imaging后回车参数:根据提示输入,单位厘米例如:s1(物距)=30 n(折射率)=1.46 r1(左球面半径)=10 r2(右球面半径)=-10 R(透镜半径)=5 m(光线条数)=8
    2020-12-02下载
    积分:1
  • SIM868芯片详细资料
    希姆通公司sim868芯片的资料,下载后可以自己解压看.基本的详细资料
    2020-11-06下载
    积分:1
  • Boyd凸优化资料(含中英文课本教材、习、PPT、Matlab习
    Boyd凸优化资料(内含中英文课本教材、习题、PPT、Matlab习题)建议大家配合官网上的视频食用,效果更佳哟~
    2020-11-05下载
    积分:1
  • TLC1543 AD转换序 51单片机通用
    TLC1543 AD转换程序 51单片机通用,内含完善注释,调用即可
    2021-05-07下载
    积分:1
  • 新英格兰10机39节点psasp带单线图暂稳数据压缩包
    PSASP 7.1格式,包括单线图和潮流暂稳数据。潮流结果和IEEE文档完全一致。暂稳数据经过校核没有错误,但是没有励磁数据,因为文档中的模型无法直接换算为PSASP模型。需要励磁参数的同学可以查找“新英格兰10机39节点标准测试系统数据”这个文档自己换算。
    2020-12-05下载
    积分:1
  • 数值分析 最小二乘拟合
    在MATLAB上实现最小二乘拟合 有详细注释
    2020-11-30下载
    积分:1
  • 696518资源总数
  • 104569会员总数
  • 24今日下载