DeltaSerialAscii 属性 |
DeltaSerialAscii 类型公开以下成员。
名称 | 说明 | |
---|---|---|
AddressStartWithZero |
获取或设置起始的地址是否从0开始,默认为True (继承自 ModbusRtu。)Gets or sets whether the starting address starts from 0. The default is True | |
BaudRate |
当前连接串口信息的波特率 (继承自 DeviceSerialPort。)Baud rate of current connection serial port information | |
BroadcastStation |
获取或是设置当前广播模式对应的站号,广播模式意味着不接收设备方的数据返回操作,默认为 -1,表示不使用广播模式。 (继承自 ModbusRtu。)Gets or sets the station number corresponding to the current broadcast mode. Broadcast mode means that the data return operation of the device is not received. The default value is -1, indicating that broadcast mode is not used. | |
ByteTransform |
当前的数据变换机制,当你需要从字节数据转换类型数据的时候需要。 (继承自 DeviceCommunication。)The current data transformation mechanism is required when you need to convert type data from byte data. | |
CommunicationPipe | (继承自 DeviceSerialPort。) | |
ConnectionId |
当前连接的唯一ID号,默认为长度20的guid码加随机数组成,方便列表管理,也可以自己指定 (继承自 BinaryCommunication。)The unique ID number of the current connection. The default is a 20-digit guid code plus a random number. | |
Crc16CheckEnable |
获取或设置是否启用CRC16校验码的检查功能,默认启用,如果需要忽略检查CRC16,则设置为 false 即可。 (继承自 ModbusRtu。)Gets or sets whether to enable the check function of CRC16 check code. It is enabled by default. If you need to ignore the check of CRC16, you can set it to false. | |
DataFormat |
获取或设置数据解析的格式,可选ABCD, BADC,CDAB,DCBA格式,对int,uint,float,double,long,ulong类型有作用 (继承自 ModbusRtu。)Get or set the format of the data analysis, optional ABCD, BADC, CDAB, DCBA format, effective for int, uint, float, double, long, ulong type | |
EnableWriteMaskCode |
获取或设置当前掩码写入的功能码是否激活状态,设置为 false 时,再执行写入位时,会通过读字,修改位,写字的方式来间接实现。 (继承自 ModbusRtu。)When the function code is set to false, and then the write bit is executed, it will be indirectly implemented by reading, modifying the bit, and writing the word. | |
IsClearCacheBeforeRead |
是否在发送数据前清空缓冲数据,默认是false (继承自 DeviceSerialPort。)Whether to empty the buffer before sending data, the default is false | |
IsStringReverse |
字符串数据是否按照字来反转,默认为False (继承自 ModbusRtu。)Whether the string data is reversed according to words. The default is False. | |
LogNet |
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出 (继承自 BinaryCommunication。)The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG | |
PortName |
当前连接串口信息的端口号名称 (继承自 DeviceSerialPort。)The port name of the current connection serial port information | |
ReceiveEmptyDataCount |
获取或设置连续接收空的数据次数,在数据接收完成时有效,每个单位消耗的时间为SleepTime。 (继承自 DeviceSerialPort。)Obtain or set the number of consecutive times to receive empty data, which is valid when the data is received, and the time consumed by each unit is SleepTime | |
ReceiveTimeOut |
获取或设置接收服务器反馈的时间,如果为负数,则不接收反馈 (继承自 BinaryCommunication。)Gets or sets the time to receive server feedback, and if it is a negative number, does not receive feedback | |
RtsEnable |
获取或设置一个值,该值指示在串行通信中是否启用请求发送 (RTS) 信号。 (继承自 DeviceSerialPort。)Gets or sets a value indicating whether the request sending (RTS) signal is enabled in serial communication. | |
SendBeforeHex |
获取或设置在发送通信报文前追加发送的字节信息,HEX格式,通常用于lora组网时,需要携带 00 00 00 02 四个字节的站地址功能。 (继承自 BinaryCommunication。)Obtain or set the byte information sent before sending communication packets, HEX format, usually used for LORA networking, you need to carry 00 00 00 02 four-byte station address function. | |
Series |
获取或设置当前的台达PLC的系列信息,默认为 DVP 系列 Get or set the current series information of Delta PLC, the default is DVP series | |
SleepTime |
获取或设置在正式接收对方返回数据前的时候,需要休息的时间,当设置为0的时候,不需要休息。 (继承自 BinaryCommunication。)Get or set the time required to rest before officially receiving the data from the other party. When it is set to 0, no rest is required. | |
Station |
获取或者重新修改服务器的默认站号信息,当然,你可以再读写的时候动态指定,例如地址 "s=2;100", 更详细的例子可以参考DEMO界面上的地址示例。 (继承自 ModbusRtu。)Get or re-modify the server's default station number information, of course, you can dynamically specify when reading and writing, such as the address "s=2; 100", a more detailed example can refer to the DEMO interface address example. | |
StationCheckMacth |
获取或设置当前是否启用站号检查的功能,默认启用,读写数据时将进行站号确认操作,如果需要忽略站号,则设置为 false 即可。 (继承自 ModbusRtu。)Gets or sets whether the station ID check function is enabled. It is enabled by default. When reading or writing data, the station ID is confirmed. | |
WordLength |
一个字单位的数据表示的地址长度,西门子为2,三菱,欧姆龙,modbusTcp就为1,AB PLC无效 (继承自 DeviceCommunication。)The address length represented by one word of data, Siemens is 2, Mitsubishi, Omron, modbusTcp is 1, AB PLC is invalid |