All Downloads are FREE. Search and download functionalities are using the official Maven repository.

HslCommunication.Profinet.AllenBradley.AllenBradleyMicroCip Maven / Gradle / Ivy

Go to download

一个工业物联网的底层架构框架,专注于底层的技术通信及跨平台,跨语言通信功能,实现各种主流的PLC数据读写,实现modbus的各种协议读写等等

There is a newer version: 3.7.0
Show newest version
package HslCommunication.Profinet.AllenBradley;

/**
 * AB PLC的cip通信实现类,适用Micro800系列控制系统
* AB PLC's cip communication implementation class, suitable for Micro800 series control system */ public class AllenBradleyMicroCip extends AllenBradleyNet { /** * 实例化一个默认的对象 */ public AllenBradleyMicroCip( ){ } /** * 指定IP地址及端口来实例化一个对象,其中端口号默认为 44818 * @param ipAddress IP地址 * @param port 端口 */ public AllenBradleyMicroCip( String ipAddress, int port ){ super(ipAddress, port); } protected byte[] PackCommandService( byte[] portSlot, byte[]... cips ) { return AllenBradleyHelper.PackCleanCommandService( portSlot, cips ); } public String toString( ) { return "AllenBradleyMicroCip[" + getIpAddress() + ":" + getPort() + "]"; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy