Pin =85to265VAC 85TO370VDC F:47TO 440HZ负载5V@0.9APout:4.5W...效率68%..,,,选BBN型号EI30X10.5....铁芯为Z11,,求线径和圈数
2014-08-09 15:17
你好,我使用PIC18F67 J60控制器,尝试实现Modbus TCP/IP。为此,我使用TCP/IP Lite堆栈。该控制器将作为一个远程服务器,并将具有一些DI,其状态将被发送到PC,将充当客户端。最初,我实现了堆栈,并测试了演示服务器和Client。C文件,并能够成功地与TeCPPIPdemo.JAR文件建立通信。NT的Modbus TCP协议,我对TCPyServelDimo.c文件做了微小的更改,而不是回送所接收的任何内容,控制器将返回的响应发送给匹配的Modbus查询。我需要从微控制器查询每200到300毫秒的数据。从最初的响应中,我没有得到来自控制器的响应。只有当我在PC端增加轮询时间(到3秒以上)时,我才能接收到每个查询的连续响应。但是即使在这种情况下,PC在控制器响应之前多次重试(这是使用WiReSARK进行的)。我想知道我的需求是否可以使用这个控制器和这个堆栈来执行,如果需要的话,我需要做什么来加快PIC方面的TCP处理。样例代码,如果需要,WiRESHARK PICS。我现在使用PIC-OLIMEX开发板测试这个。 以上来自于百度翻译 以下为原文 Hi, I'm using PIC18F67J60 controller and trying to implement Modbus TCP/IP. I am using the TCP/IP Lite Stack for this purpose. The controller will act as a Remote Server and will have some DI whose status will be sent to a PC that will act as the Client. Initially I implemented the Stack and tested the demo server and client .c files and was able to successfully establish communication with the TCPIP_Demo.jar file. To implement the Modbus TCP protocol, I made minor changes to the tcp_server_demo.c file and instead of echoing back whatever is received, the controller sends back response to a matching Modbus query. I need to query the data from the microcontroller every 200 - 300 ms. When I poll at this speed from PC, apart from an initial response I get no more responses from the controller. Only when I increase the polling time on PC side (to above 3 seconds) I'm able to receive continuous response for each query. But even in that case, the PC retries multiple times before the controller responds (this was observed using Wireshark). I would like to know if my requirement can be executed using this controller and this stack, and if so what I need to do to speed up the TCP handling on the PIC side. I can provide the sample code, wireshark pics if required. I'm currently testing this using the PIC-OLIMEX development board.
2018-09-26 16:24
主动网络的基本思想是将程序注入数据包,使程序和数据一起随数据包在网络上传输;网络的中间节点运行数据包中的程序,利用中间节点的计算能力,对数据包中的数据进行一定的处理;从而将传统网络中“存储——转发”的处理模式改变为“存储——计算——转发”的处理模式。
2019-09-20 09:00
什么是GNU Radio? 开放的软件无线电平台有什么优势?
2019-08-02 08:13
很多嵌入式设计必须要保证能够正确的工作。出现故障会导致对人或者财产造成不可挽回的损失。直到最近,通过仔细的设计和硬件可靠性才解决了这一问题:如果软件和逻辑正确,没有硬件失效,系统会正常工作。但是,今天,我们生活在计算机网络空间暗战的年代。如果您的系统要工作,那您就必须假设从烦人的黑客到犯罪团伙,甚至是大肆耗费***资金的实验室的所有人都会攻击它。为能够保护您的系统,您必须确定您能够信任什么——最终,是谁。这不是一个简单的任务,还有人认为,甚至是不可能实现的任务。但是,您必须去做。
2019-07-17 07:53