楼主最近还看过
是支持modbus,但是要求是上位机用C#写tcp/ip的tcpclient端,plc做下位机写tcpserver端用c的socket库,功能程序都已经写好transfer到plc里,现在要做个上下位的通讯。上位机客户端发命令,下位机做服务器端接收并解析后给反馈信息给上位机。automation studio里有ASTCP库和ethsocket库,感觉好像要用ASTCP。知道您好像特别熟悉贝加莱PLC,可不可以向您请教请教这方面的知识?因为要做,又不是特别懂,先谢了。
在AS3.0 有具体例子,主要看帮助,帮助的例子越来越多!
Executable examples are available for this project in the form of a package.
Theme | Description | Package name |
---|---|---|
TCP Communication | Example of simple TCP client/server communication. A section of data is exchanged between two controllers via the Ethernet interface. | LibAsTCP1_ST |
The sample package can be inserted into the Automation Studio project by the name of the package.
Executable examples are available for this project in the form of a package.
Theme | Description | Package name |
---|---|---|
UDP Communication | Example of simple TCP client/server communication. A section of data is exchanged between two controllers via the Ethernet interface. | LibAsUDP1_ST |
The sample package can be inserted into the Automation Studio project by the name of the package