RTU_ALL_AI/config/CHANNEL/channel_cfg.json

30 lines
862 B
JSON

{
"channels": [
{
"key": "serial_ftu",
"type": "uart",
"device": "/dev/ttyS1",
"baudrate": 115200,
"data_bits": 8,
"stop_bits": 1,
"parity": "N",
"desc": "FTU串口 — 帧内容分路 (ICP67 dev=0/IEC→转发源, dev=1→self_ptl)"
},
{
"key": "tcp_master",
"type": "tcp_server",
"local_ip": "0.0.0.0",
"local_port": 2404,
"desc": "主站通道 (libiec直管, 不走com_router路由)"
}
],
"forward_rules": [
{
"listen_ip": "0.0.0.0",
"listen_port": 2405,
"target_channel": "serial_ftu",
"desc": "维护软件直连FTU透传"
}
]
}