IReadWriteMc 属性 |
IReadWriteMc 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ByteTransform |
当前的数据变换机制,当你需要从字节数据转换类型数据的时候需要。 (继承自 IReadWriteDevice。)The current data transformation mechanism is required when you need to convert type data from byte data. | |
ConnectionId |
当前连接的唯一ID号,默认为长度20的guid码加随机数组成,方便列表管理,也可以自己指定 (继承自 IReadWriteNet。)The unique ID number of the current connection. The default is a 20-digit guid code plus a random number. | |
EnableWriteBitToWordRegister |
是否开启支持写入位到字寄存器的功能,该功能先读取字寄存器的字数据,然后修改其中的位,再写入回去,可能存在脏数据的风险 Whether to enable supporting the function of writing bit-to-word registers, which first reads the word data of the word register, then modifies the bits in it, and then writes back, there may be a risk of dirty data | |
LogNet |
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出 (继承自 IReadWriteNet。)The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG | |
McType |
当前的MC协议的格式类型 The format type of the current MC protocol | |
NetworkNumber |
网络号,通常为0 Network number, usually 0 | |
NetworkStationNumber |
网络站号,通常为0 Network station number, usually 0 | |
PLCNumber |
PLC编号,如果是本站信息,则是 0xFF 值,其他站则根据实际的情况指定。 The PLC number, if it is the information of this station, is the 0xFF value, and other stations are specified according to the actual situation. | |
TargetIOStation |
请求目标模块的IO编号,默认是管理CPU,也就是 0x03FF 的值,如果需要访问其他的非管理CPU的时候,请参考手册进行配置相关的值 The IO number of the target module is the default management CPU, that is, the value of 0x03FF, if you need to access other non-management CPUs, please refer to the manual to configure the relevant values |