📄 ex1.frm
字号:
VERSION 4.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 6570
ClientLeft = 1140
ClientTop = 915
ClientWidth = 8310
Height = 6975
Left = 1080
LinkTopic = "Form1"
ScaleHeight = 6570
ScaleWidth = 8310
Top = 570
Width = 8430
Begin VB.Timer Timer1
Interval = 1000
Left = 1080
Top = 360
End
Begin VB.Frame inputregs
Caption = "INPUT REGS"
Height = 4575
Left = 4320
TabIndex = 8
Top = 1440
Width = 1695
Begin VB.TextBox inregsaddress
Height = 285
Left = 480
TabIndex = 9
Text = "1"
Top = 360
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 9
Left = 480
TabIndex = 20
Top = 4080
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 8
Left = 480
TabIndex = 19
Top = 3720
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 7
Left = 480
TabIndex = 18
Top = 3360
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 6
Left = 480
TabIndex = 17
Top = 3000
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 5
Left = 480
TabIndex = 16
Top = 2640
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 4
Left = 480
TabIndex = 15
Top = 2280
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 3
Left = 480
TabIndex = 14
Top = 1920
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 2
Left = 480
TabIndex = 13
Top = 1560
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 1
Left = 480
TabIndex = 12
Top = 1200
Width = 735
End
Begin VB.Label inputreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 0
Left = 480
TabIndex = 11
Top = 840
Width = 735
End
End
Begin VB.Frame Frame4
Caption = "HOLDING REGS"
Height = 4575
Left = 6360
TabIndex = 4
Top = 1440
Width = 1455
Begin VB.TextBox holdingregsaddress
Height = 285
Left = 360
TabIndex = 7
Text = "1"
Top = 360
Width = 855
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 9
Left = 360
TabIndex = 29
Top = 4080
Width = 735
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 8
Left = 360
TabIndex = 28
Top = 3720
Width = 735
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 7
Left = 360
TabIndex = 27
Top = 3360
Width = 735
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 6
Left = 360
TabIndex = 26
Top = 3000
Width = 735
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 5
Left = 360
TabIndex = 25
Top = 2640
Width = 735
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 4
Left = 360
TabIndex = 24
Top = 2280
Width = 735
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 3
Left = 360
TabIndex = 23
Top = 1920
Width = 735
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 2
Left = 360
TabIndex = 22
Top = 1560
Width = 735
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 1
Left = 360
TabIndex = 21
Top = 1200
Width = 735
End
Begin VB.Label holdingreg
Alignment = 2 'Center
Caption = "0000"
Height = 255
Index = 0
Left = 360
TabIndex = 10
Top = 840
Width = 735
End
End
Begin VB.Frame Frame2
Caption = "COILS"
Height = 4575
Left = 2520
TabIndex = 3
Top = 1440
Width = 1455
Begin VB.CheckBox coilstatus
Enabled = 0 'False
Height = 255
Index = 9
Left = 600
TabIndex = 50
Top = 4080
Width = 255
End
Begin VB.CheckBox coilstatus
Enabled = 0 'False
Height = 255
Index = 8
Left = 600
TabIndex = 49
Top = 3720
Width = 255
End
Begin VB.CheckBox coilstatus
Enabled = 0 'False
Height = 255
Index = 7
Left = 600
TabIndex = 48
Top = 3360
Width = 255
End
Begin VB.CheckBox coilstatus
Enabled = 0 'False
Height = 255
Index = 6
Left = 600
TabIndex = 47
Top = 3000
Width = 255
End
Begin VB.CheckBox coilstatus
Enabled = 0 'False
Height = 255
Index = 5
Left = 600
TabIndex = 46
Top = 2640
Width = 255
End
Begin VB.CheckBox coilstatus
Enabled = 0 'False
Height = 255
Index = 4
Left = 600
TabIndex = 45
Top = 2280
Width = 255
End
Begin VB.CheckBox coilstatus
Enabled = 0 'False
Height = 255
Index = 3
Left = 600
TabIndex = 44
Top = 1920
Width = 255
End
Begin VB.CheckBox coilstatus
Enabled = 0 'False
Height = 255
Index = 2
Left = 600
TabIndex = 43
Top = 1560
Width = 255
End
Begin VB.CheckBox coilstatus
Enabled = 0 'False
Height = 255
Index = 1
Left = 600
TabIndex = 42
Top = 1200
Width = 255
End
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -