📄 dmc.frm
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form frmMain
BorderStyle = 1 'Fixed Single
Caption = "MPC2810 运动控制卡演示"
ClientHeight = 8145
ClientLeft = 6840
ClientTop = 615
ClientWidth = 6615
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 8145
ScaleWidth = 6615
Begin VB.Timer Timer2
Enabled = 0 'False
Interval = 100
Left = 5880
Top = 5040
End
Begin VB.CommandButton cmdStartMove
Caption = "启 动(&T)"
Default = -1 'True
Height = 375
Left = 480
TabIndex = 21
Top = 5580
Width = 975
End
Begin VB.CommandButton cmdReset
Caption = "清 零(&R)"
Height = 375
Left = 5280
TabIndex = 20
Top = 5580
Width = 975
End
Begin VB.CommandButton cmdDecelStop
Caption = "缓 停(&D)"
Height = 375
Left = 3720
TabIndex = 19
Top = 5580
Width = 975
End
Begin VB.CommandButton cmdSuddenStop
Caption = "急 停(&S)"
Height = 375
Left = 2040
TabIndex = 18
Top = 5580
Width = 975
End
Begin VB.Frame framStatus
Caption = "状态显示"
Height = 2055
Left = 120
TabIndex = 0
Top = 6000
Width = 6375
Begin VB.Label labRate
Caption = "0"
Height = 255
Index = 3
Left = 5400
TabIndex = 150
Top = 690
Width = 975
End
Begin VB.Label labPos
Caption = "0"
Height = 255
Index = 3
Left = 5400
TabIndex = 149
Top = 360
Width = 975
End
Begin VB.Label Label7
Caption = "速度A"
Height = 255
Left = 4800
TabIndex = 148
Top = 690
Width = 495
End
Begin VB.Label Label2
Caption = "位置A"
Height = 255
Left = 4800
TabIndex = 147
Top = 360
Width = 495
End
Begin VB.Label labEncode
Caption = "0"
Height = 255
Index = 3
Left = 5400
TabIndex = 146
Top = 1050
Width = 975
End
Begin VB.Label Label1
Caption = "反馈A"
Height = 255
Left = 4800
TabIndex = 145
Top = 1050
Width = 495
End
Begin VB.Label Label10
Caption = "反馈Z"
Height = 255
Left = 3360
TabIndex = 23
Top = 1080
Width = 495
End
Begin VB.Label labEncode
Caption = "0"
Height = 255
Index = 2
Left = 3960
TabIndex = 22
Top = 1080
Width = 975
End
Begin VB.Label labEncode
Caption = "0"
Height = 255
Index = 1
Left = 2400
TabIndex = 17
Top = 1080
Width = 975
End
Begin VB.Label Label54
Caption = "反馈Y"
Height = 255
Left = 1800
TabIndex = 16
Top = 1080
Width = 495
End
Begin VB.Label Label55
Caption = "反馈X"
Height = 255
Left = 240
TabIndex = 15
Top = 1080
Width = 495
End
Begin VB.Label labEncode
Caption = "0"
Height = 255
Index = 0
Left = 840
TabIndex = 14
Top = 1080
Width = 975
End
Begin VB.Label labState
BorderStyle = 1 'Fixed Single
Caption = "Ready"
Height = 255
Left = 240
TabIndex = 13
Top = 1560
Width = 5895
End
Begin VB.Label labRate
Caption = "0"
Height = 255
Index = 0
Left = 840
TabIndex = 12
Top = 720
Width = 975
End
Begin VB.Label labPos
Caption = "0"
Height = 255
Index = 0
Left = 840
TabIndex = 11
Top = 390
Width = 975
End
Begin VB.Label Label3
Caption = "速度X"
Height = 255
Left = 240
TabIndex = 10
Top = 720
Width = 495
End
Begin VB.Label Label4
Caption = "位置X"
Height = 255
Left = 240
TabIndex = 9
Top = 390
Width = 495
End
Begin VB.Label Label5
Caption = "位置Z"
Height = 255
Left = 3360
TabIndex = 8
Top = 390
Width = 495
End
Begin VB.Label Label24
Caption = "速度Z"
Height = 255
Left = 3360
TabIndex = 7
Top = 720
Width = 495
End
Begin VB.Label labPos
Caption = "0"
Height = 255
Index = 2
Left = 3960
TabIndex = 6
Top = 390
Width = 975
End
Begin VB.Label labRate
Caption = "0"
Height = 255
Index = 2
Left = 3960
TabIndex = 5
Top = 720
Width = 975
End
Begin VB.Label Label27
Caption = "位置Y"
Height = 255
Left = 1800
TabIndex = 4
Top = 390
Width = 495
End
Begin VB.Label Label28
Caption = "速度Y"
Height = 255
Left = 1800
TabIndex = 3
Top = 720
Width = 495
End
Begin VB.Label labPos
Caption = "0"
Height = 255
Index = 1
Left = 2400
TabIndex = 2
Top = 390
Width = 1335
End
Begin VB.Label labRate
Caption = "0"
Height = 255
Index = 1
Left = 2400
TabIndex = 1
Top = 720
Width = 1335
End
End
Begin VB.Timer Timer1
Interval = 100
Left = 0
Top = 5760
End
Begin TabDlg.SSTab tabType
Height = 5175
Left = 120
TabIndex = 24
Top = 240
Width = 6375
_ExtentX = 11245
_ExtentY = 9128
_Version = 393216
Style = 1
Tabs = 7
Tab = 6
TabsPerRow = 4
TabHeight = 520
TabCaption(0) = "直线插补(&I)"
TabPicture(0) = "Dmc.frx":0000
Tab(0).ControlEnabled= 0 'False
Tab(0).Control(0)= "Frame8"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).Control(1)= "Frame9"
Tab(0).Control(1).Enabled= 0 'False
Tab(0).Control(2)= "Frame7"
Tab(0).Control(2).Enabled= 0 'False
Tab(0).Control(3)= "Frame10"
Tab(0).Control(3).Enabled= 0 'False
Tab(0).Control(4)= "labIMoveType"
Tab(0).Control(4).Enabled= 0 'False
Tab(0).ControlCount= 5
TabCaption(1) = "编码器反馈(&E)"
TabPicture(1) = "Dmc.frx":001C
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "cmbECountUnit"
Tab(1).Control(0).Enabled= 0 'False
Tab(1).Control(1)= "Frame17"
Tab(1).Control(1).Enabled= 0 'False
Tab(1).Control(2)= "Frame16(0)"
Tab(1).Control(2).Enabled= 0 'False
Tab(1).Control(3)= "Label14"
Tab(1).Control(3).Enabled= 0 'False
Tab(1).Control(4)= "labECountUnit"
Tab(1).Control(4).Enabled= 0 'False
Tab(1).Control(5)= "Label6"
Tab(1).Control(5).Enabled= 0 'False
Tab(1).Control(6)= "Line3"
Tab(1).Control(6).Enabled= 0 'False
Tab(1).Control(7)= "Line4"
Tab(1).Control(7).Enabled= 0 'False
Tab(1).Control(8)= "Shape2"
Tab(1).Control(8).Enabled= 0 'False
Tab(1).ControlCount= 9
TabCaption(2) = "直线运动(&L)"
TabPicture(2) = "Dmc.frx":0038
Tab(2).ControlEnabled= 0 'False
Tab(2).Control(0)= "Frame1"
Tab(2).Control(0).Enabled= 0 'False
Tab(2).Control(1)= "Frame11"
Tab(2).Control(1).Enabled= 0 'False
Tab(2).Control(2)= "Frame12"
Tab(2).Control(2).Enabled= 0 'False
Tab(2).Control(3)= "Frame13"
Tab(2).Control(3).Enabled= 0 'False
Tab(2).Control(4)= "labMMoveType"
Tab(2).Control(4).Enabled= 0 'False
Tab(2).ControlCount= 5
TabCaption(3) = "其它选项(&O)"
TabPicture(3) = "Dmc.frx":0054
Tab(3).ControlEnabled= 0 'False
Tab(3).Control(0)= "scrOMaxSpeed"
Tab(3).Control(0).Enabled= 0 'False
Tab(3).Control(1)= "chkOShowGraph"
Tab(3).Control(1).Enabled= 0 'False
Tab(3).Control(2)= "chkOShowStatus"
Tab(3).Control(2).Enabled= 0 'False
Tab(3).Control(3)= "labOMaxSpeed"
Tab(3).Control(3).Enabled= 0 'False
Tab(3).ControlCount= 4
TabCaption(4) = "往复运动(&F)"
TabPicture(4) = "Dmc.frx":0070
Tab(4).ControlEnabled= 0 'False
Tab(4).Control(0)= "Frame2"
Tab(4).Control(0).Enabled= 0 'False
Tab(4).Control(1)= "Frame4"
Tab(4).Control(1).Enabled= 0 'False
Tab(4).Control(2)= "Frame6"
Tab(4).Control(2).Enabled= 0 'False
Tab(4).Control(3)= "Frame15"
Tab(4).Control(3).Enabled= 0 'False
Tab(4).ControlCount= 4
TabCaption(5) = "变速运动(&C)"
TabPicture(5) = "Dmc.frx":008C
Tab(5).ControlEnabled= 0 'False
Tab(5).Control(0)= "scrCCurSpeed"
Tab(5).Control(0).Enabled= 0 'False
Tab(5).Control(1)= "Frame3"
Tab(5).Control(1).Enabled= 0 'False
Tab(5).Control(2)= "Label11"
Tab(5).Control(2).Enabled= 0 'False
Tab(5).Control(3)= "labCCurSpeed"
Tab(5).Control(3).Enabled= 0 'False
Tab(5).ControlCount= 4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -