📄 rtuset.bak
字号:
########################################################################
# 1:baudrate(300-57600) #
# 2:databits(5-8), #
# 3:stopbits(1-2), #
# 4:parity(0:none 1:odd 2:even) #
# 5:enable(1)/disable(0) #
# 6:protocol:(0:nbb 1:lfp 2:101 3:102 4: 103 5:gps 6:dl645 #
# 7:dcmodbus 8:modbus 9:spabus 10:gst 11:ttc31x 12:dcjz #
# 13:stmodbus 14:disa) #
# 7:start_address #
# 8:end_address(1-63) #
########################################################################
SET_COM1 = 1200,8,1,0,1,14,1,1
SET_COM2 = 1200,8,1,0,1,14,1,1
SET_COM3 = 1200,8,1,0,1,14,1,1
SET_COM4 = 1200,8,1,0,1,14,1,1
SET_COM5 = 9600,8,1,0,1,4,1,5
SET_COM6 = 9600,8,1,1,1,4,1,4
SET_COM7 = 9600,8,1,0,1,4,6,13
SET_COM8 = 9600,8,1,0,1,4,14,18
SET_COM9 = 9600,8,1,0,1,4,19,26
SET_COM10= 9600,8,1,0,1,4,1,5
SET_COM11= 9600,8,1,0,1,4,3,4
SET_COM12= 9600,8,1,0,1,4,1,3
SET_COM13= 9600,8,1,0,1,4,1,5
SET_COM14= 2400,8,1,0,1,14,1,1
SET_COM15= 9600,8,1,0,1,14,2,16
SET_COM16= 9600,8,1,0,1,14,18,24
########################################################################
# NBB:1:FRM_A 2:FRM_B 3:FRM_C 4:FRM_D1 5:FRM_D2 #
# #
# #
########################################################################
PROTOCOL_COM1 = 50,0,0,12,0,6
PROTOCOL_COM2 = 10,0,0,12,0,6
PROTOCOL_COM3 = 10,0,0,12,0,0
PROTOCOL_COM4 = 10,0,0,12,3,4
PROTOCOL_COM5 = 40,3,2,4,3,4
PROTOCOL_COM6 = 40,3,2,4,3,4
PROTOCOL_COM7 = 40,3,2,4,3,4
PROTOCOL_COM8 = 40,3,2,4,3,4
PROTOCOL_COM9 = 40,3,2,4,3,4
PROTOCOL_COM10= 40,3,2,4,3,4
PROTOCOL_COM11= 40,3,2,4,3,4
PROTOCOL_COM12= 40,3,2,4,3,4
PROTOCOL_COM13= 40,3,2,4,3,4
PROTOCOL_COM14= 10,3,2,4,3,4
PROTOCOL_COM15= 10,3,2,4,3,4
PROTOCOL_COM16= 10,3,2,4,3,4
##############################################
#
#
##############################################
CHECK_TIME_PORT=0
DO_YK_PORT=0
YK_ESCAPE_TIME=30
BOARD_YX=32
BOARD_YC=0
BOARD_YM=0
BOARD_YK=8
TOTAL_YX=321
TOTAL_YC=84
TOTAL_YM=36
TOTAL_YK=20
#######################################################
#
#
#######################################################
TYPE=1 # 1:PC104 0:MIC2000
AD_BASE=0x300
DIO1_BASE=0x2e0
DIO2_BASE=0x2e4
SIO1_BASE=0x210
SIO2_BASE=0x2a0
SIO1_TOTAL=8 # ports per serial board
SIO2_TOTAL=8
SIO1_INT=10 # interrupt of serial board
SIO2_INT=12
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -