📄 frmmain1.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form FrmMain1
AutoRedraw = -1 'True
Caption = "Modbus RTU msb.sf@163.com"
ClientHeight = 8685
ClientLeft = 165
ClientTop = 735
ClientWidth = 9105
FillStyle = 4 'Upward Diagonal
Icon = "FrmMain1.frx":0000
LinkTopic = "Form1"
ScaleHeight = 8685
ScaleWidth = 9105
StartUpPosition = 3 'Windows Default
Begin VB.Timer Timer3
Enabled = 0 'False
Interval = 1000
Left = 2520
Top = 0
End
Begin VB.Timer Timer2
Enabled = 0 'False
Interval = 1000
Left = 1800
Top = 0
End
Begin VB.TextBox Text6
Height = 495
Left = 4800
TabIndex = 55
Top = 120
Width = 3855
End
Begin VB.CommandButton Command1
Caption = "下一页"
Height = 495
Left = 3480
TabIndex = 54
Top = 120
Width = 1095
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 1000
Left = 960
Top = 0
End
Begin VB.Frame Frame7
Caption = "写寄存器M10.0"
Height = 2415
Left = 4560
TabIndex = 47
Top = 6120
Width = 4455
Begin VB.TextBox TextBitNumW
Height = 375
Left = 2160
TabIndex = 57
Text = "0"
Top = 720
Width = 495
End
Begin VB.CommandButton CmdWriteB1
Caption = "open"
Enabled = 0 'False
Height = 375
Left = 3120
TabIndex = 56
Top = 600
Width = 975
End
Begin VB.CommandButton CmdWriteB0
Caption = "close"
Enabled = 0 'False
Height = 375
Left = 3120
TabIndex = 51
Top = 1560
Width = 975
End
Begin VB.ComboBox CobWBNumber
Enabled = 0 'False
Height = 315
Left = 1560
TabIndex = 50
Text = "Combo6"
Top = 1680
Width = 975
End
Begin VB.TextBox TextAddWB
Height = 375
Left = 1560
TabIndex = 49
Text = "4000"
Top = 720
Width = 495
End
Begin VB.TextBox Text12
Alignment = 1 'Right Justify
BorderStyle = 0 'None
Height = 285
Left = 1080
TabIndex = 48
Text = "V"
Top = 765
Width = 495
End
Begin VB.Label Label21
Caption = "."
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2040
TabIndex = 58
Top = 720
Width = 135
End
Begin VB.Label Label19
Caption = "长度:"
Height = 375
Left = 240
TabIndex = 53
Top = 1680
Width = 735
End
Begin VB.Label Label18
Caption = "起始地址:"
Height = 375
Left = 240
TabIndex = 52
Top = 720
Width = 975
End
End
Begin VB.Frame Frame6
Caption = "读寄存器M10.0"
Height = 2415
Left = 120
TabIndex = 40
Top = 6120
Width = 4335
Begin VB.TextBox TextBitNumR
Height = 375
Left = 2280
TabIndex = 61
Text = "0"
Top = 480
Width = 495
End
Begin VB.TextBox Text9
Alignment = 1 'Right Justify
BorderStyle = 0 'None
Height = 285
Left = 1200
TabIndex = 60
Text = "V"
Top = 525
Width = 495
End
Begin VB.TextBox TextAddRB
Height = 375
Left = 1680
TabIndex = 59
Text = "3000"
Top = 480
Width = 495
End
Begin VB.ComboBox CobRBNumber
Height = 315
Left = 1560
TabIndex = 43
Text = "Combo6"
Top = 1200
Width = 975
End
Begin VB.TextBox TextDataRB
Height = 495
Left = 1560
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 42
Top = 1680
Width = 2415
End
Begin VB.CommandButton CmdReadB
Caption = "read"
Enabled = 0 'False
Height = 375
Left = 3000
TabIndex = 41
Top = 1200
Width = 975
End
Begin VB.Label Label22
Caption = "."
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2160
TabIndex = 62
Top = 480
Width = 135
End
Begin VB.Label Label17
Caption = "起始地址:"
Height = 375
Left = 240
TabIndex = 46
Top = 600
Width = 975
End
Begin VB.Label Label16
Caption = "长度:"
Height = 375
Left = 240
TabIndex = 45
Top = 1200
Width = 975
End
Begin VB.Label Label15
Caption = "返回值:"
Height = 375
Left = 240
TabIndex = 44
Top = 1800
Width = 975
End
End
Begin VB.Frame Frame4
Caption = "写寄存器VD"
Height = 2415
Left = 4560
TabIndex = 31
Top = 3720
Width = 4455
Begin VB.TextBox Text8
Alignment = 1 'Right Justify
BorderStyle = 0 'None
Height = 285
Left = 1080
TabIndex = 36
Text = "VD"
Top = 405
Width = 495
End
Begin VB.TextBox TextAddWD
Height = 375
Left = 1560
TabIndex = 35
Text = "30"
Top = 360
Width = 975
End
Begin VB.ComboBox CobWDNumber
Enabled = 0 'False
Height = 315
Left = 1560
TabIndex = 34
Text = "Combo6"
Top = 1200
Width = 975
End
Begin VB.TextBox TextDataD
Height = 495
Left = 1560
TabIndex = 33
Text = "25.5"
Top = 1800
Width = 2535
End
Begin VB.CommandButton CmdWriteVD
Caption = "write"
Enabled = 0 'False
Height = 375
Left = 3120
TabIndex = 32
Top = 1200
Width = 975
End
Begin VB.Label Label14
Caption = "起始地址:"
Height = 375
Left = 240
TabIndex = 39
Top = 360
Width = 975
End
Begin VB.Label Label13
Caption = "长度:"
Height = 375
Left = 240
TabIndex = 38
Top = 1200
Width = 735
End
Begin VB.Label Label12
Caption = "数据:"
Height = 375
Left = 240
TabIndex = 37
Top = 1920
Width = 735
End
End
Begin VB.Frame Frame3
Caption = "读寄存器VD"
Height = 2415
Left = 120
TabIndex = 22
Top = 3720
Width = 4335
Begin VB.TextBox Text5
Alignment = 1 'Right Justify
BorderStyle = 0 'None
Height = 285
Left = 1080
TabIndex = 27
Text = "VD"
Top = 600
Width = 495
End
Begin VB.TextBox TextAddRD
Height = 375
Left = 1560
TabIndex = 26
Text = "6"
Top = 555
Width = 975
End
Begin VB.ComboBox CobRDNumber
Height = 315
Left = 1560
TabIndex = 25
Text = "Combo6"
Top = 1200
Width = 975
End
Begin VB.TextBox TextDataRD
Height = 495
Left = 1560
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 24
Top = 1680
Width = 2415
End
Begin VB.CommandButton CmdReadVD
Caption = "read"
Enabled = 0 'False
Height = 375
Left = 3000
TabIndex = 23
Top = 1200
Width = 975
End
Begin VB.Label Label11
Caption = "起始地址:"
Height = 375
Left = 240
TabIndex = 30
Top = 600
Width = 975
End
Begin VB.Label Label10
Caption = "长度:"
Height = 375
Left = 240
TabIndex = 29
Top = 1200
Width = 975
End
Begin VB.Label Label9
Caption = "返回值:"
Height = 375
Left = 240
TabIndex = 28
Top = 1800
Width = 975
End
End
Begin VB.Frame Frame2
Caption = "写寄存器VW"
Height = 2295
Left = 4560
TabIndex = 4
Top = 1320
Width = 4455
Begin VB.CommandButton CmdWriteVW
Caption = "write"
Enabled = 0 'False
Height = 375
Left = 3120
TabIndex = 20
Top = 1080
Width = 975
End
Begin VB.TextBox TextDataW
Height = 495
Left = 1560
TabIndex = 18
Text = "0"
Top = 1680
Width = 2535
End
Begin VB.ComboBox CobWWNumber
Enabled = 0 'False
Height = 315
Left = 1560
TabIndex = 17
Text = "Combo6"
Top = 1080
Width = 975
End
Begin VB.TextBox TextAddWW
Height = 375
Left = 1560
TabIndex = 16
Text = "20"
Top = 480
Width = 975
End
Begin VB.TextBox Text4
Alignment = 1 'Right Justify
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -