emsApplication/applications/EmsShow/emsshow.ini

50 lines
775 B
INI
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

;通用设置
[general]
ver="1.0.0"
[modbus]
;1=RTU 0=TCP
type=1
;if type=1, ignore ip and port setting
ip="127.0.0.1"
port=502
com="COM20"
baund=9600
data=8
;0=None 1=Odd 2=Even
parity=0
stop=1
[slaves]
;如果从机数量多于1则从机地址slave_id以:分隔(英文冒号)
slave_id="1"
;每一个从机的配置
;由两个节组成slave_%d 和 slave_%d_function_%d
[slave_0]
;支持的功能码数量
function_code_counts=1
[slave_0_function_0]
;功能码
function_code=3
;起始地址10进制
start_addr=40001
;读取数量
quantity=10
;扫描间隔,单位ms
interval=1000
;serial_number与read_quantity的元素数量要一样
equipment_code=81
serial_number="0:1:2:3:4:5:6:7:8:9:10:11:12:13:14"
read_quantity="1:1:1:1:1:1:1:1:1:1:1:1:1:1:1"