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

📄 main.~dfm

📁 利用delphi跟西门子s5系列PLC通讯
💻 ~DFM
字号:
object mainfrm: Tmainfrm
  Left = 202
  Top = 139
  Width = 696
  Height = 463
  Caption = 'mainfrm'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 424
    Top = 128
    Width = 40
    Height = 20
    Caption = #20135#37327'  '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label2: TLabel
    Left = 424
    Top = 184
    Width = 76
    Height = 20
    Caption = #25925#38556'DW1  '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label3: TLabel
    Left = 424
    Top = 216
    Width = 76
    Height = 20
    Caption = #25925#38556'DW2  '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label4: TLabel
    Left = 416
    Top = 48
    Width = 148
    Height = 20
    Caption = #36830#25509#26381#21153#22120#29366#24577'         '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object lbl_ConnState: TLabel
    Left = 568
    Top = 48
    Width = 76
    Height = 20
    Caption = #36830#25509#29366#24577'   '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label5: TLabel
    Left = 424
    Top = 280
    Width = 84
    Height = 20
    Caption = #23454#26102#25968#25454'     '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object lbl_Machine_id: TLabel
    Left = 48
    Top = 176
    Width = 126
    Height = 29
    Caption = #25104#22411#65283#26426'     '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -24
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object Label6: TLabel
    Left = 384
    Top = 88
    Width = 172
    Height = 20
    Caption = 'PLC'#36830#25509'movicon'#29366#24577'     '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object lbl_Plc2Movicon: TLabel
    Left = 568
    Top = 88
    Width = 76
    Height = 20
    Caption = #36830#25509#29366#24577'   '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object lbl_ParaChange: TLabel
    Left = 424
    Top = 328
    Width = 124
    Height = 20
    Caption = #24037#33402#21442#25968#21464#26356'       '
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    ParentFont = False
  end
  object GroupBox1: TGroupBox
    Left = 72
    Top = 16
    Width = 233
    Height = 65
    Caption = #26412#22320#25968#25454#24211#36830#25509
    TabOrder = 0
    Visible = False
  end
  object Edt_product: TEdit
    Left = 512
    Top = 128
    Width = 121
    Height = 21
    TabOrder = 1
  end
  object Edt_dw1: TEdit
    Left = 512
    Top = 184
    Width = 121
    Height = 21
    TabOrder = 2
  end
  object Edt_dw2: TEdit
    Left = 512
    Top = 216
    Width = 121
    Height = 21
    TabOrder = 3
  end
  object GroupBox2: TGroupBox
    Left = 72
    Top = 96
    Width = 233
    Height = 65
    Caption = #26381#21153#22120#25968#25454#24211#36830#25509
    TabOrder = 4
    Visible = False
  end
  object ADOCLocal: TADOConnection
    ConnectionString = 
      'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\s5\dbS51121.mdb;' +
      'Persist Security Info=False'
    Provider = 'Microsoft.Jet.OLEDB.4.0'
    Left = 88
    Top = 32
  end
  object ADOQLocal_eq: TADOQuery
    Connection = ADOCLocal
    Parameters = <>
    Left = 128
    Top = 32
  end
  object ADOQLocal_output: TADOQuery
    Connection = ADOCLocal
    Parameters = <>
    Left = 176
    Top = 32
  end
  object ADOQLocal_fault: TADOQuery
    Connection = ADOCLocal
    Parameters = <>
    Left = 216
    Top = 32
  end
  object Tm_Output: TTimer
    Interval = 10000
    OnTimer = Tm_OutputTimer
    Left = 384
    Top = 120
  end
  object Tm_Fault: TTimer
    Interval = 20000
    OnTimer = Tm_FaultTimer
    Left = 384
    Top = 184
  end
  object ADOConnServer: TADOConnection
    ConnectionString = 
      'Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security In' +
      'fo=False;Initial Catalog=MES;Data Source=671A147F71EE4DD;Use Pro' +
      'cedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workst' +
      'ation ID=SCUT-4D506F6C3A;Use Encryption for Data=False;Tag with ' +
      'column collation when possible=False'
    LoginPrompt = False
    Provider = 'SQLOLEDB.1'
    Left = 88
    Top = 112
  end
  object ADOQuery1: TADOQuery
    Connection = ADOConnServer
    Parameters = <>
    Left = 216
    Top = 112
  end
  object ADOQ_output: TADOQuery
    Connection = ADOConnServer
    Parameters = <>
    Left = 264
    Top = 112
  end
  object ADOQueryFault: TADOQuery
    Connection = ADOConnServer
    Parameters = <>
    Left = 176
    Top = 112
  end
  object ADOQueryParaChange: TADOQuery
    Connection = ADOConnServer
    Parameters = <>
    Left = 128
    Top = 112
  end
  object Tm_ConnState: TTimer
    OnTimer = Tm_ConnStateTimer
    Left = 384
    Top = 48
  end
  object Tm_NowData: TTimer
    OnTimer = Tm_NowDataTimer
    Left = 384
    Top = 272
  end
  object Tm_ParaChange: TTimer
    OnTimer = Tm_ParaChangeTimer
    Left = 384
    Top = 320
  end
  object ADOQLoacl_techpara: TADOQuery
    Connection = ADOCLocal
    Parameters = <>
    Left = 264
    Top = 32
  end
end

⌨️ 快捷键说明

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