通过USB连接到CP1E [英] Connect to CP1E via USB

查看:79
本文介绍了通过USB连接到CP1E的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过USB端口连接欧姆龙CP1E



我尝试过:



亲爱的每个人!

我想通过USB端口使用VB6或C ++向Omron CP1E发送数据命令,但我不知道如何启动。

你能指导我或给我示例代码连接到CP1E吗?

谢谢你提前

Connect to Omron CP1E via USB port

What I have tried:

Dear every one!
I want to send data command to Omron CP1E via USB port by using VB6 or C++ but I don't know how to start.
Could you guide me or give me sample code to connect to CP1E?
Thanks you advance

推荐答案

您应该与创建它的人交谈 - 他们应该提供技术支持,并且会比我们更了解他们的产品。如果他们不这样做,那就找另一家供应商并要求退款!



欧姆龙提供与之交谈的PC软件,他们有非常合理的技术支持: a href =https://www.ia.omron.com/support/>技术支持|欧姆龙工业自动化 [ ^ ]甚至免费电子教学课程可以帮助你。
You should talk to the people who created it - they should provide technical support and will know more about their product than we will. If they don't, then find another supplier and demand your money back!

Omron supply PC software that will talk to it, they have pretty reasonable tech support: Technical Support | OMRON Industrial Automation[^] and even do free eLearning courses which may help you.


我相信你必须从欧姆龙那里得到一个通讯库,在USB端口上与它通话。我不完全确定。我知道对于通用总线来说,除非你有供应商提供的库,否则使用USB并不是一件容易的事。



幸运的话,你会使用包含以太网端口的串行选件卡获得N系列CP1E CPU。这将允许您使用他们记录的套接字和Omron的专有协议,并提供示例代码。另一个选择是将Modbus协议与串行端口一起使用,并且也有详细记录。
I believe you have to get a communication library from Omron to speak to it on the USB port. I am not entirely certain. I do know that for a "Universal" bus, it is not very easy to work with USB unless you have a vendor-supplied library.

With luck, you will get the N series CP1E CPU with a serial option card that includes an ethernet port. That will allow you to use sockets and Omron's proprietary protocol which they have documented and there is sample code available. Another option is to use the Modbus protocol with a serial port and that is also well documented.


这篇关于通过USB连接到CP1E的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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