如何使用C#进行步进电机控制 [英] How Do I Stepper Motor Control Using C#

查看:1319
本文介绍了如何使用C#进行步进电机控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我,我不知道如何编写C#代码...

Please help me, i don't know how can i write C# codes...

推荐答案

karantinan:
karantinan:

我不知道如何编写C#代码...

i don't know how can i write C# codes...

那么你没有一个改变。使用运动系统进行体面编程(步进电机是最简单的)需要深入了解现代编程的许多领域:OOP,线程,面向事件的编程,UI,时序等等。



如果不知道编写C#代码的人,你知道它的哪一部分?你需要对C#编程绝对有信心,因为没有它,之前提到的一切都没有任何意义。你将不得不深入学习所有这些领域,也许还有很多更简单的项目。



另外,你应该明白有很多非常不同的动作系统在工作不同的水平。首先,您需要了解制造商文档。或者说,第二,在学习整个编程领域之后。



-SA

Then you don't have a single change. Decent programming using a motion systems (stepping motors are the easiest though) requires deep understanding of very many fields of modern programming: OOP, threading, event-oriented programming, UI, timing, and a lot more.

What part of it do you know, if even don't know who to write C# code? You need to be absolutely confident with C# programming, because without it, everything mentioned before would not make any sense at all. You will have to learn all these fields in depth, perhaps on much, much simpler projects.

Also, you should understand that there are many very different motions systems working on different levels. First of all, you need to learn the manufacturer documentation. Or, rather, second first, after learn the whole programming field.

—SA


通常您无法使用 C#直接控制步进电机。

相反,您通常使用微控制器来控制电机,然后使用 C#使 PC 与微控制器通信。您可以找到很多此类解决方案的示例,只需使用Google搜索
Usually you cannot directly control a stepper motor using C#.
Instead you typically use a microcontroller to control the motor and then use C# to make the PC communicate with the microcontroller. You may find a lot of examples of this kind of solution, just Googling for.


这篇关于如何使用C#进行步进电机控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆