net_set_config 设置通信映射参数
net_set_config(entity_id u32, id_index i64,rw i64,fun String,vars String,station_id i64,addr i64,number i64,types i64,time i64)
输入参数
- entity_id 实体索引
- id_index 当前id_index
- rw 0读 1写
- fun 读写方法(“BOOL”,”STR”,”I16”,”I32”,”I64”,”U16”,”U32”,”U64”,”F32”,”F64”)
- vars 变量,功能码
- station_id 站号
- addr 地址
- number 数量
- types 类型
- time 时间
输出参数
- 无
例子
net_set_config(entity.index,1,0,"BOOL","I",1,0,14,0,0);
作者:力博特 创建时间:2025-09-27 00:26
最后编辑:力博特 更新时间:2025-11-11 18:53
最后编辑:力博特 更新时间:2025-11-11 18:53