10 lines
756 B
XML
10 lines
756 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- 通信通道配置 (x86) -->
|
|
<!-- Channel: saddr=短地址(dc信号名 sys.ch.<saddr>_if) -->
|
|
<!-- Forward: from_saddr→to_saddr 数据流, app=绑定应用 -->
|
|
<Root>
|
|
<Channel mode="tcp_server" idx="0" saddr="tcp_s0" desc="维护软件TCP转发隧道" bind="self_ptl" local_ip="198.120.0.100" local_port="2404"/>
|
|
<Channel mode="tcp_server" idx="1" saddr="tcp_s1" desc="IEC 101/104 TCP服务器" bind="" local_ip="192.168.80.250" local_port="2404"/>
|
|
<Channel mode="uart" idx="0" saddr="uart0" desc="连接STM32的串口" bind="self_ptl" device="/dev/ttyS3" baud="115200" data_bit="8" stop_bit="1" parity="N"/>
|
|
<!-- <Forward from_saddr="tcp_s0" to_saddr="uart0" app="forward"/> -->
|
|
</Root> |