⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cup_connection.dfm

📁 一般OPTO22工业控制器主要用于IO控制,用途比较广泛而其上位机一般使用DELPHI平台或C平台进行建模和控制,该程序实现了OPTO和DELPHI平台下上位机之间模拟量数字量的传输,并以得到实际应用
💻 DFM
字号:
object Form1: TForm1
  Left = 293
  Top = 56
  Width = 579
  Height = 650
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 192
    Top = 8
    Width = 200
    Height = 19
    Caption = #19982#25511#21046#22120#24314#31435#32593#32476#36830#25509
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -19
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
  end
  object GroupBox1: TGroupBox
    Left = 16
    Top = 40
    Width = 289
    Height = 129
    Caption = #36830#25509#21442#25968#37197#32622
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 0
    object Label2: TLabel
      Left = 32
      Top = 24
      Width = 98
      Height = 14
      Caption = #25511#21046#22120'IP'#22320#22336#65306
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
    end
    object Label3: TLabel
      Left = 32
      Top = 72
      Width = 64
      Height = 16
      Caption = #31471#21475#21495#65306
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
    end
    object IP_Address: TEdit
      Left = 32
      Top = 40
      Width = 129
      Height = 24
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = 'Times New Roman'
      Font.Style = []
      ParentFont = False
      TabOrder = 0
      Text = '202.204.195.57'
    end
    object Connect: TButton
      Left = 184
      Top = 40
      Width = 73
      Height = 25
      Caption = #36830'  '#25509
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
      TabOrder = 1
      OnClick = ConnectClick
    end
    object Disconnect: TButton
      Left = 184
      Top = 88
      Width = 73
      Height = 25
      Caption = #26029'  '#24320
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
      TabOrder = 2
      OnClick = DisconnectClick
    end
    object Port_Number: TEdit
      Left = 32
      Top = 88
      Width = 129
      Height = 22
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
      TabOrder = 3
      Text = '2001'
    end
  end
  object GroupBox2: TGroupBox
    Left = 16
    Top = 176
    Width = 289
    Height = 113
    Caption = #36830#25509#29366#24577
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 1
    object Label4: TLabel
      Left = 24
      Top = 24
      Width = 70
      Height = 14
      Caption = #38169#35823#20449#24687#65306
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
    end
    object Error_Message: TMemo
      Left = 24
      Top = 40
      Width = 241
      Height = 57
      Lines.Strings = (
        '')
      TabOrder = 0
    end
    object OptoSnapIoMemMapX1: TOptoSnapIoMemMapX
      Left = 0
      Top = 72
      Width = 32
      Height = 32
      ControlData = {00030000D8130000D8130000}
    end
  end
  object GroupBox3: TGroupBox
    Left = 320
    Top = 40
    Width = 233
    Height = 81
    Caption = #27169#25311#36755#20837
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 2
    object Label5: TLabel
      Left = 16
      Top = 24
      Width = 56
      Height = 16
      Caption = #36890#36947'0-1'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
    end
    object Label6: TLabel
      Left = 16
      Top = 56
      Width = 56
      Height = 16
      Caption = #36890#36947'0-2'
    end
    object AnaModule0_1: TEdit
      Left = 96
      Top = 16
      Width = 113
      Height = 24
      ReadOnly = True
      TabOrder = 0
    end
    object AnaModule0_2: TEdit
      Left = 96
      Top = 48
      Width = 113
      Height = 24
      TabOrder = 1
    end
  end
  object GroupBox4: TGroupBox
    Left = 320
    Top = 136
    Width = 233
    Height = 97
    Caption = #27169#25311#37327#36755#20986
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 3
    object Label7: TLabel
      Left = 8
      Top = 24
      Width = 56
      Height = 16
      Caption = #36890#36947'6-1'
    end
    object Label8: TLabel
      Left = 8
      Top = 64
      Width = 56
      Height = 16
      Caption = #36890#36947'6-2'
    end
    object AnaModule6_1: TEdit
      Left = 72
      Top = 24
      Width = 97
      Height = 24
      TabOrder = 0
    end
    object AnaModule6_1_set: TButton
      Left = 184
      Top = 24
      Width = 41
      Height = 25
      Caption = #20889#20837
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
      TabOrder = 1
      OnClick = AnaModule6_1_setClick
    end
    object AnaModule6_2: TEdit
      Left = 72
      Top = 64
      Width = 97
      Height = 24
      TabOrder = 2
    end
    object AnaModule6_2_set: TButton
      Left = 184
      Top = 64
      Width = 41
      Height = 25
      Caption = #20889#20837
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
      TabOrder = 3
      OnClick = AnaModule6_2_setClick
    end
  end
  object GroupBox5: TGroupBox
    Left = 16
    Top = 296
    Width = 289
    Height = 97
    Caption = #25968#23383#37327#36755#20837
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 4
    object Label9: TLabel
      Left = 8
      Top = 32
      Width = 40
      Height = 16
      Caption = #36890#36947'8'
    end
    object Label10: TLabel
      Left = 8
      Top = 72
      Width = 56
      Height = 16
      Caption = #36890#36947'8-1'
    end
    object HDD32_DigInMod8_States: TEdit
      Left = 72
      Top = 24
      Width = 201
      Height = 24
      TabOrder = 0
    end
    object HDD32_DigInMod8_0_State: TEdit
      Left = 72
      Top = 64
      Width = 209
      Height = 24
      TabOrder = 1
    end
  end
  object GroupBox6: TGroupBox
    Left = 320
    Top = 240
    Width = 241
    Height = 153
    Caption = #21464#37327#25805#20316
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 5
    object Label11: TLabel
      Left = 8
      Top = 24
      Width = 104
      Height = 16
      Caption = #35835#21462'64BIT'#21464#37327
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
    end
    object Label12: TLabel
      Left = 8
      Top = 88
      Width = 136
      Height = 16
      Caption = #35835#21462#31532#20116#20010'INT'#21464#37327
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
    end
    object ScratchbitRead: TEdit
      Left = 8
      Top = 48
      Width = 225
      Height = 24
      TabOrder = 0
    end
    object ScratchRead_intN: TEdit
      Left = 8
      Top = 112
      Width = 225
      Height = 24
      TabOrder = 1
    end
  end
  object GroupBox7: TGroupBox
    Left = 16
    Top = 400
    Width = 545
    Height = 89
    Caption = #25805#20316
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = #26999#20307'_GB2312'
    Font.Style = []
    ParentFont = False
    TabOrder = 6
    object Label13: TLabel
      Left = 8
      Top = 24
      Width = 98
      Height = 14
      Caption = #20889#31532'5'#20010'bit'#21464#37327
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #26999#20307'_GB2312'
      Font.Style = []
      ParentFont = False
    end
    object Label14: TLabel
      Left = 8
      Top = 56
      Width = 72
      Height = 16
      Caption = #20889#20840'64BIT'
    end
    object Label15: TLabel
      Left = 88
      Top = 56
      Width = 16
      Height = 16
      Caption = 'Ox'
    end
    object Label16: TLabel
      Left = 288
      Top = 16
      Width = 64
      Height = 16
      Caption = #31532'5'#20010'int'
    end
    object Label17: TLabel
      Left = 296
      Top = 56
      Width = 56
      Height = 16
      Caption = #36830#32493'str'
    end
    object ScratchWrite_bitN_set: TButton
      Left = 112
      Top = 16
      Width = 57
      Height = 25
      Caption = #32622#39640
      TabOrder = 0
      OnClick = ScratchWrite_bitN_setClick
    end
    object CcratchWrite_bitN_clear: TButton
      Left = 184
      Top = 16
      Width = 57
      Height = 25
      Caption = #28165#38646
      TabOrder = 1
      OnClick = CcratchWrite_bitN_clearClick
    end
    object ScratchbitWrite: TEdit
      Left = 104
      Top = 48
      Width = 129
      Height = 24
      TabOrder = 2
    end
    object ScratchbitWrite_set: TButton
      Left = 240
      Top = 48
      Width = 49
      Height = 25
      Caption = #20889#20837
      TabOrder = 3
      OnClick = ScratchbitWrite_setClick
    end
    object ScratchWrite_IntN: TEdit
      Left = 360
      Top = 16
      Width = 129
      Height = 24
      TabOrder = 4
    end
    object ScratchWrite_IntN_set: TButton
      Left = 496
      Top = 16
      Width = 41
      Height = 25
      Caption = #20889#20837
      TabOrder = 5
      OnClick = ScratchWrite_IntN_setClick
    end
    object Str1: TEdit
      Left = 360
      Top = 56
      Width = 129
      Height = 24
      TabOrder = 6
    end
    object ScratchWrite_CNStr_set: TButton
      Left = 496
      Top = 56
      Width = 41
      Height = 25
      Caption = #20889#20837
      TabOrder = 7
      OnClick = ScratchWrite_CNStr_setClick
    end
  end
  object GroupBox8: TGroupBox
    Left = 16
    Top = 496
    Width = 545
    Height = 49
    Caption = '4'#36335'DI'
    TabOrder = 7
    object Label18: TLabel
      Left = 16
      Top = 24
      Width = 30
      Height = 13
      Caption = #27169#22359'4'
    end
    object DigModule4: TEdit
      Left = 64
      Top = 16
      Width = 177
      Height = 21
      TabOrder = 0
    end
  end
  object GroupBox9: TGroupBox
    Left = 16
    Top = 552
    Width = 545
    Height = 57
    Caption = '4'#36335'DO'
    TabOrder = 8
    object Label19: TLabel
      Left = 8
      Top = 24
      Width = 48
      Height = 13
      Caption = #21333#28857#36755#20986
    end
    object Label20: TLabel
      Left = 264
      Top = 24
      Width = 48
      Height = 13
      Caption = #25972#20307#36755#20986
    end
    object Edit1: TEdit
      Left = 72
      Top = 16
      Width = 177
      Height = 21
      TabOrder = 0
      Text = 'Edit1'
    end
    object Edit2: TEdit
      Left = 328
      Top = 16
      Width = 201
      Height = 21
      TabOrder = 1
      Text = 'Edit2'
    end
  end
  object Timer1: TTimer
    OnTimer = Timer1Timer
    Left = 40
    Top = 8
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -