public class OmronCipNet extends AllenBradleyNet
ArraySegment, PortSlotWordLengthAlienSession, isPersistentConn, IsSocketError, isUseAccountCertificate, LogMsgFormatBinary, simpleHybirdLockCoreSocket, fileCacheSize, LogNet, TokenLogNet| 构造器和说明 |
|---|
OmronCipNet()
Instantiate a communication object for a OmronCipNet PLC protocol
|
OmronCipNet(String ipAddress,
int port)
Specify the IP address and port to instantiate a communication object for a OmronCipNet PLC protocol
|
| 限定符和类型 | 方法和说明 |
|---|---|
OperateResultExOne<byte[]> |
Read(String address,
short length)
Read data information, data length for read array length information
|
OperateResultExOne<double[]> |
ReadDouble(String address,
short length)
读取PLC的double类型的数组 -> An array that reads the double type of the PLC
|
OperateResultExOne<float[]> |
ReadFloat(String address,
short length)
读取PLC的float类型的数组 -> An array that reads the float type of the PLC
|
OperateResultExOne<short[]> |
ReadInt16(String address,
short length)
读取PLC的short类型的数组 -> Read an array of the short type of the PLC
|
OperateResultExOne<int[]> |
ReadInt32(String address,
short length)
读取PLC的int类型的数组 -> An array that reads the int type of the PLC
|
OperateResultExOne<long[]> |
ReadInt64(String address,
short length)
读取PLC的long类型的数组 -> An array that reads the long type of the PLC
|
OperateResultExOne<String> |
ReadString(String address,
short length,
String encoding)
读取PLC的string类型的数据 -> read plc string type value
|
OperateResultExOne<int[]> |
ReadUInt16(String address,
short length)
读取PLC的ushort类型的数组 -> Read an array of the ushort type of the PLC
|
OperateResultExOne<long[]> |
ReadUInt32(String address,
short length)
读取PLC的int类型的数组 -> An array that reads the int type of the PLC
|
String |
toString()
返回表示当前对象的字符串
|
OperateResult |
Write(String address,
byte value)
向PLC中写入byte数据,返回是否写入成功
|
OperateResult |
Write(String address,
double[] values)
Writes an array of double to the PLC to return whether the write was successful
|
OperateResult |
Write(String address,
float[] values)
Writes an array of float to the PLC to return whether the write was successful
|
OperateResult |
Write(String address,
int[] values)
向PLC中写入int数组,返回是否写入成功 -> Writes an int array to the PLC to return whether the write was successful
|
OperateResult |
Write(String address,
long[] values)
Writes an array of long to the PLC to return whether the write was successful
|
OperateResult |
Write(String address,
short[] values)
向PLC中写入short数组,返回是否写入成功 -> Writes a short array to the PLC to return whether the write was successful
|
OperateResult |
Write(String address,
String value)
向PLC中写入string数据,返回是否写入成功,针对的是ASCII编码的数据内容
|
BuildReadCommand, BuildReadCommand, BuildWriteCommand, BuildWriteCommand, BuildWriteCommand, ExtraOnDisconnect, getArraySegment, getMessageRouter, GetNewNetMessage, getPortSlot, getSessionHandle, getSlot, InitializationOnConnect, PackCommandService, PackCommandWithHeader, Read, Read, ReadBool, ReadBool, ReadBoolArray, ReadByte, ReadCipFromServer, ReadPlcType, ReadSegment, ReadString, ReadTag, setArraySegment, setMessageRouter, setPortSlot, setSlot, Write, WriteTag, WriteTagReadCustomer, ReadDouble, ReadFloat, ReadInt16, ReadInt32, ReadInt64, ReadString, ReadString, ReadUInt16, ReadUInt32, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, WriteCustomer, WriteUnicodeString, WriteUnicodeStringAccountCertificate, ConnectClose, ConnectServer, ConnectServer, ExtraAfterReadFromCoreServer, GetAvailableSocket, getByteTransform, getConnectionId, getConnectTimeOut, getIpAddress, getPort, getReceiveTimeOut, getSleepTime, IpAddressPing, ReadFromCoreServer, ReadFromCoreServer, ReadFromCoreServer, setByteTransform, setConnectionId, setConnectTimeOut, setIpAddress, SetLoginAccount, SetPersistentConnection, setPort, setReceiveTimeOut, setSleepTime, UnpackResponseContentCheckRemoteToken, CloseSocket, CreateSocketAndConnect, CreateSocketAndConnect, CreateSocketAndConnect, ReadStream, Receive, Receive, Receive, ReceiveAndCheckBytes, ReceiveByMessage, ReceiveByMessage, ReceiveBytesContentFromSocket, ReceiveBytesContentFromSocket, ReceiveCommandLineFromSocket, ReceiveCommandLineFromSocket, ReceiveCommandLineFromSocket, ReceiveCommandLineFromSocket, ReceiveFrameWebSocketPayload, ReceiveHslMessage, ReceiveMqttMessage, ReceiveRedisCommand, ReceiveRedisCommandString, ReceiveStringArrayContentFromSocket, ReceiveStringArrayContentFromSocket, ReceiveStringContentFromSocket, ReceiveStringContentFromSocket, ReceiveWebSocketPayload, Send, Send, SendAccountAndCheckReceive, SendBaseAndCheckReceive, SendBytesAndCheckReceive, SendStreamToSocket, SendStringAndCheckReceive, SendStringAndCheckReceive, ThreadPoolCheckTimeOut, WriteStream, WriteStreamFromSocketclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitReadFromCoreServerConnectClose, getConnectionId, setConnectionIdpublic OmronCipNet()
public OmronCipNet(String ipAddress, int port)
ipAddress - PLC IpAddressport - PLC Portpublic OperateResultExOne<byte[]> Read(String address, short length)
AllenBradleyNetRead 在接口中 IReadWriteNetRead 在类中 AllenBradleyNetaddress - Address format of the nodelength - In the case of arrays, the length of the arraypublic OperateResultExOne<short[]> ReadInt16(String address, short length)
AllenBradleyNetReadInt16 在接口中 IReadWriteNetReadInt16 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodelength - 数组长度 -> Array lengthpublic OperateResultExOne<int[]> ReadUInt16(String address, short length)
AllenBradleyNetReadUInt16 在接口中 IReadWriteNetReadUInt16 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodelength - 数组长度 -> Array lengthpublic OperateResultExOne<int[]> ReadInt32(String address, short length)
AllenBradleyNetReadInt32 在接口中 IReadWriteNetReadInt32 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodelength - 数组长度 -> Array lengthpublic OperateResultExOne<long[]> ReadUInt32(String address, short length)
AllenBradleyNetReadUInt32 在接口中 IReadWriteNetReadUInt32 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodelength - 数组长度 -> Array lengthpublic OperateResultExOne<float[]> ReadFloat(String address, short length)
AllenBradleyNetReadFloat 在接口中 IReadWriteNetReadFloat 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodelength - 数组长度 -> Array lengthpublic OperateResultExOne<long[]> ReadInt64(String address, short length)
AllenBradleyNetReadInt64 在接口中 IReadWriteNetReadInt64 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodelength - 数组长度 -> Array lengthpublic OperateResultExOne<double[]> ReadDouble(String address, short length)
AllenBradleyNetReadDouble 在接口中 IReadWriteNetReadDouble 在类中 AllenBradleyNetaddress - 起始地址 节点的名称 -> Name of the nodelength - 数组长度 -> Array lengthpublic OperateResultExOne<String> ReadString(String address, short length, String encoding)
AllenBradleyNetReadString 在类中 AllenBradleyNetaddress - Name of the nodelength - Array lengthencoding - Result data with result infopublic OperateResult Write(String address, short[] values)
AllenBradleyNetWrite 在接口中 IReadWriteNetWrite 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodevalues - 实际数据 -> Actual datapublic OperateResult Write(String address, int[] values)
AllenBradleyNetWrite 在接口中 IReadWriteNetWrite 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodevalues - 实际数据 -> Actual datapublic OperateResult Write(String address, float[] values)
AllenBradleyNetWrite 在接口中 IReadWriteNetWrite 在类中 AllenBradleyNetaddress - Name of the nodevalues - Actual datapublic OperateResult Write(String address, long[] values)
AllenBradleyNetWrite 在接口中 IReadWriteNetWrite 在类中 AllenBradleyNetaddress - Name of the nodevalues - Actual datapublic OperateResult Write(String address, double[] values)
AllenBradleyNetWrite 在接口中 IReadWriteNetWrite 在类中 AllenBradleyNetaddress - Name of the nodevalues - Actual datapublic OperateResult Write(String address, String value)
AllenBradleyNetWrite 在接口中 IReadWriteNetWrite 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodevalue - 实际数据 -> Actual datapublic OperateResult Write(String address, byte value)
AllenBradleyNetWrite 在类中 AllenBradleyNetaddress - 节点的名称 -> Name of the nodevalue - 实际数据 -> Actual datapublic String toString()
AllenBradleyNettoString 在类中 AllenBradleyNetCopyright © 2022. All rights reserved.