本文介绍了如何连接MELSEC PLC(FX3U)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用MFC或VB从远程端连接PLC?我非常感兴趣的是如何连接,如何阅读和写谁...



我需要什么样的PLC模块? FX3U-ENET-ADP ??



如果可以,请给我示例代码给我,我将非常感谢你。



谢谢

How to connect my PLC from remote side using MFC or VB? I am very interested for part of how to connect , how to read and who to write...

and what's PLC modules I need ?? FX3U-ENET-ADP??

if you can , please give me example code to me,I will very appreciate you.

thanks

推荐答案

Dim _FX_COM As New ACTPCCOMLib.ActFXCPU
_FX_COM.ActBaudRate = 115200
_FX_COM.ActControl = 7
_FX_COM.ActCpuType = 520 'FX3U
_FX_COM.ActTimeOut = 100
_FX_COM.open

Dim value as short = 123

_FX_COM.w_write("D100", value)


这篇关于如何连接MELSEC PLC(FX3U)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 08:24