PanasonicMewtocolOverTcpWrite 方法 |
名称 | 说明 | |
---|---|---|
WriteT(T) |
写入支持Hsl特性的数据,返回是否写入成功,该特性为HslDeviceAddressAttribute,详细参考api文档说明 (继承自 DeviceCommunication。)Write data that supports the Hsl attribute, and return whether the write was successful. The attribute is HslDeviceAddressAttribute, please refer to the api documentation for details. | |
Write(String, Double) |
写入double数据,返回是否成功 (继承自 DeviceCommunication。)Write double data, return whether the write was successful | |
Write(String, Double) |
写入double数组,返回是否成功 (继承自 DeviceCommunication。)Write double array, return whether the write was successful | |
Write(String, Int16) |
写入short数据,返回是否成功 (继承自 DeviceCommunication。)Write short data, returns whether success | |
Write(String, Int16) |
写入short数组,返回是否成功 (继承自 DeviceCommunication。)Write short array, return whether the write was successful | |
Write(String, Int32) |
写入int数据,返回是否成功 (继承自 DeviceCommunication。)Write int data, return whether the write was successful | |
Write(String, Int32) |
写入int[]数组,返回是否成功 (继承自 DeviceCommunication。)Write int array, return whether the write was successful | |
Write(String, Int64) |
写入long数据,返回是否成功 (继承自 DeviceCommunication。)Write long data, return whether the write was successful | |
Write(String, Int64) |
写入long数组,返回是否成功 (继承自 DeviceCommunication。)Write long array, return whether the write was successful | |
Write(String, Single) |
写入float数据,返回是否成功 (继承自 DeviceCommunication。)Write float data, return whether the write was successful | |
Write(String, Single) |
写入float数组,返回是否成功 (继承自 DeviceCommunication。)Write float array, return whether the write was successful | |
Write(String, String) |
写入字符串信息,编码为ASCII (继承自 DeviceCommunication。)Write string information, encoded as ASCII | |
Write(String, UInt16) |
写入ushort数据,返回是否成功 (继承自 DeviceCommunication。)Write ushort data, return whether the write was successful | |
Write(String, UInt16) |
写入ushort数组,返回是否成功 (继承自 DeviceCommunication。)Write ushort array, return whether the write was successful | |
Write(String, UInt32) |
写入uint数据,返回是否成功 (继承自 DeviceCommunication。)Write uint data, return whether the write was successful | |
Write(String, UInt32) |
写入uint[]数组,返回是否成功 (继承自 DeviceCommunication。)Write uint array, return whether the write was successful | |
Write(String, UInt64) |
写入ulong数据,返回是否成功 (继承自 DeviceCommunication。)Write ulong data, return whether the write was successful | |
Write(String, UInt64) |
写入ulong数组,返回是否成功 (继承自 DeviceCommunication。)Write ulong array, return whether the write was successful | |
Write(String, Boolean) |
往指定的地址写入bool数据,地址举例:SR0.0 X0.0 Y0.0 R0.0 L0.0 (重写 DeviceCommunicationWrite(String, Boolean).)Write bool data to the specified address. Example address: SR0.0 X0.0 Y0.0 R0.0 L0.0 | |
Write(String, Boolean) |
往指定的地址写入 Boolean 数组,地址举例 X0.0 Y0.0 R0.0 L0.0,
起始的位地址必须为16的倍数,写入的 Boolean 数组长度也为16的倍数。 (重写 DeviceCommunicationWrite(String, Boolean).)Write the Boolean array to the specified address, address example: SR0.0 X0.0 Y0.0 R0.0 L0.0, the starting bit address must be a multiple of 16. Boolean The length of the array is also a multiple of 16. | |
Write(String, Byte) |
将数据写入到指定的地址里去,地址示例:D0 F0 K0 T0 C0, 地址支持携带站号的访问方式,例如:s=2;D100 (重写 DeviceCommunicationWrite(String, Byte).)Write data to the specified address, address example: D0 F0 K0 T0 C0, the address supports carrying station number information, for example: s=2;D100 | |
Write(String, Boolean) |
将Bool数组值写入到指定的离散地址里,一个地址对应一个bool值,地址数组长度和值数组长度必须相等,地址支持X,Y,R,T,C,L, 举例:R1.0, X2.0, R3.A Write the Bool array value to the specified discrete address, one address corresponds to one bool value, the length of the address array and the length of the value array must be equal, the address supports X, Y, R, T, C, L, for example: R1.0, X2.0, R3.A | |
Write(String, String, Int32) |
写入指定长度的字符串信息,如果超出,就截断字符串,如果长度不足,那就补0操作,编码为ASCII (继承自 DeviceCommunication。)Write string information of the specified length. If it exceeds the value, the string is truncated. If the length is not enough, it is filled with 0 and the encoding is ASCII. | |
Write(String, String, Encoding) |
写入字符串信息,需要指定的编码信息 (继承自 DeviceCommunication。)Write string information, need to specify the encoding information | |
Write(String, String, Int32, Encoding) |
写入指定长度的字符串信息,如果超出,就截断字符串,如果长度不足,那就补0操作,编码为指定的编码信息 (继承自 DeviceCommunication。)Write string information of the specified length. If it exceeds the value, the string is truncated. If the length is not enough, then the operation is complemented with 0 , you should specified the encoding information |