680 lines
33 KiB
C#
680 lines
33 KiB
C#
namespace Test_S7
|
|
{
|
|
partial class TestMainForm
|
|
{
|
|
/// <summary>
|
|
/// Variabile di progettazione necessaria.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Pulire le risorse in uso.
|
|
/// </summary>
|
|
/// <param name="disposing">ha valore true se le risorse gestite devono essere eliminate, false in caso contrario.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Codice generato da Progettazione Windows Form
|
|
|
|
/// <summary>
|
|
/// Metodo necessario per il supporto della finestra di progettazione. Non modificare
|
|
/// il contenuto del metodo con l'editor di codice.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.txtIP = new System.Windows.Forms.TextBox();
|
|
this.lblIP = new System.Windows.Forms.Label();
|
|
this.cbCpuType = new System.Windows.Forms.ComboBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtMemArea = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtMemSize = new System.Windows.Forms.TextBox();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.btnReadChar = new System.Windows.Forms.Button();
|
|
this.btnReadString = new System.Windows.Forms.Button();
|
|
this.btnReadDWord = new System.Windows.Forms.Button();
|
|
this.btnReadWord = new System.Windows.Forms.Button();
|
|
this.btnReadReal = new System.Windows.Forms.Button();
|
|
this.btnReadByte = new System.Windows.Forms.Button();
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.txtOut = new System.Windows.Forms.TextBox();
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.txtSlot = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtRack = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
this.tslConn = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar();
|
|
this.tslRTime = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|
this.btnCharWrite = new System.Windows.Forms.Button();
|
|
this.btnNumWriteReal = new System.Windows.Forms.Button();
|
|
this.btnStrWrite = new System.Windows.Forms.Button();
|
|
this.btnNumWriteB = new System.Windows.Forms.Button();
|
|
this.btnNumWriteDW = new System.Windows.Forms.Button();
|
|
this.btnNumWriteW = new System.Windows.Forms.Button();
|
|
this.txtWriteVal2 = new System.Windows.Forms.TextBox();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.txtWriteVal1 = new System.Windows.Forms.TextBox();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.txtWriteAddr2 = new System.Windows.Forms.TextBox();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.txtWriteAddr1 = new System.Windows.Forms.TextBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.groupBox3.SuspendLayout();
|
|
this.statusStrip1.SuspendLayout();
|
|
this.groupBox4.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// txtIP
|
|
//
|
|
this.txtIP.Location = new System.Drawing.Point(64, 19);
|
|
this.txtIP.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtIP.Name = "txtIP";
|
|
this.txtIP.Size = new System.Drawing.Size(99, 20);
|
|
this.txtIP.TabIndex = 0;
|
|
this.txtIP.Text = "127.0.0.1";
|
|
this.txtIP.TextChanged += new System.EventHandler(this.txtIP_TextChanged);
|
|
//
|
|
// lblIP
|
|
//
|
|
this.lblIP.AutoSize = true;
|
|
this.lblIP.Location = new System.Drawing.Point(12, 21);
|
|
this.lblIP.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.lblIP.Name = "lblIP";
|
|
this.lblIP.Size = new System.Drawing.Size(51, 13);
|
|
this.lblIP.TabIndex = 1;
|
|
this.lblIP.Text = "IP ADDR";
|
|
//
|
|
// cbCpuType
|
|
//
|
|
this.cbCpuType.FormattingEnabled = true;
|
|
this.cbCpuType.Items.AddRange(new object[] {
|
|
"S7200",
|
|
"S7300",
|
|
"S7400",
|
|
"S71200",
|
|
"S71500"});
|
|
this.cbCpuType.Location = new System.Drawing.Point(64, 50);
|
|
this.cbCpuType.Margin = new System.Windows.Forms.Padding(2);
|
|
this.cbCpuType.Name = "cbCpuType";
|
|
this.cbCpuType.Size = new System.Drawing.Size(99, 21);
|
|
this.cbCpuType.TabIndex = 2;
|
|
this.cbCpuType.Text = "S7300";
|
|
this.cbCpuType.SelectedIndexChanged += new System.EventHandler(this.cbCpuType_SelectedIndexChanged);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(5, 52);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(56, 13);
|
|
this.label1.TabIndex = 3;
|
|
this.label1.Text = "CPU Type";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(7, 19);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(64, 13);
|
|
this.label2.TabIndex = 5;
|
|
this.label2.Text = "MEM AREA";
|
|
//
|
|
// txtMemArea
|
|
//
|
|
this.txtMemArea.Location = new System.Drawing.Point(117, 16);
|
|
this.txtMemArea.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtMemArea.Name = "txtMemArea";
|
|
this.txtMemArea.Size = new System.Drawing.Size(89, 20);
|
|
this.txtMemArea.TabIndex = 4;
|
|
this.txtMemArea.Text = "DB700.DBB0";
|
|
this.txtMemArea.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
this.txtMemArea.TextChanged += new System.EventHandler(this.txtMemArea_TextChanged);
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(7, 54);
|
|
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(90, 13);
|
|
this.label3.TabIndex = 7;
|
|
this.label3.Text = "MEM SIZE BYTE";
|
|
//
|
|
// txtMemSize
|
|
//
|
|
this.txtMemSize.Location = new System.Drawing.Point(117, 52);
|
|
this.txtMemSize.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtMemSize.Name = "txtMemSize";
|
|
this.txtMemSize.Size = new System.Drawing.Size(89, 20);
|
|
this.txtMemSize.TabIndex = 6;
|
|
this.txtMemSize.Text = "52";
|
|
this.txtMemSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
this.txtMemSize.TextChanged += new System.EventHandler(this.txtMemSize_TextChanged);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox1.Controls.Add(this.btnReadChar);
|
|
this.groupBox1.Controls.Add(this.btnReadString);
|
|
this.groupBox1.Controls.Add(this.btnReadDWord);
|
|
this.groupBox1.Controls.Add(this.btnReadWord);
|
|
this.groupBox1.Controls.Add(this.btnReadReal);
|
|
this.groupBox1.Controls.Add(this.btnReadByte);
|
|
this.groupBox1.Controls.Add(this.textBox1);
|
|
this.groupBox1.Controls.Add(this.txtMemArea);
|
|
this.groupBox1.Controls.Add(this.txtMemSize);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Location = new System.Drawing.Point(351, 10);
|
|
this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
|
|
this.groupBox1.Size = new System.Drawing.Size(290, 97);
|
|
this.groupBox1.TabIndex = 8;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Memoria: READ param";
|
|
//
|
|
// btnReadChar
|
|
//
|
|
this.btnReadChar.Location = new System.Drawing.Point(104, 74);
|
|
this.btnReadChar.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnReadChar.Name = "btnReadChar";
|
|
this.btnReadChar.Size = new System.Drawing.Size(76, 20);
|
|
this.btnReadChar.TabIndex = 12;
|
|
this.btnReadChar.Text = "R Char[]";
|
|
this.btnReadChar.UseVisualStyleBackColor = true;
|
|
this.btnReadChar.Click += new System.EventHandler(this.btnReadChar_Click);
|
|
//
|
|
// btnReadString
|
|
//
|
|
this.btnReadString.Location = new System.Drawing.Point(10, 74);
|
|
this.btnReadString.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnReadString.Name = "btnReadString";
|
|
this.btnReadString.Size = new System.Drawing.Size(76, 20);
|
|
this.btnReadString.TabIndex = 11;
|
|
this.btnReadString.Text = "R String";
|
|
this.btnReadString.UseVisualStyleBackColor = true;
|
|
this.btnReadString.Click += new System.EventHandler(this.btnReadString_Click);
|
|
//
|
|
// btnReadDWord
|
|
//
|
|
this.btnReadDWord.Location = new System.Drawing.Point(209, 53);
|
|
this.btnReadDWord.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnReadDWord.Name = "btnReadDWord";
|
|
this.btnReadDWord.Size = new System.Drawing.Size(76, 20);
|
|
this.btnReadDWord.TabIndex = 10;
|
|
this.btnReadDWord.Text = "R DWord";
|
|
this.btnReadDWord.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage;
|
|
this.btnReadDWord.UseVisualStyleBackColor = true;
|
|
this.btnReadDWord.Click += new System.EventHandler(this.btnReadDWord_Click);
|
|
//
|
|
// btnReadWord
|
|
//
|
|
this.btnReadWord.Location = new System.Drawing.Point(209, 32);
|
|
this.btnReadWord.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnReadWord.Name = "btnReadWord";
|
|
this.btnReadWord.Size = new System.Drawing.Size(76, 20);
|
|
this.btnReadWord.TabIndex = 10;
|
|
this.btnReadWord.Text = "R Word";
|
|
this.btnReadWord.UseVisualStyleBackColor = true;
|
|
this.btnReadWord.Click += new System.EventHandler(this.btnReadWord_Click);
|
|
//
|
|
// btnReadReal
|
|
//
|
|
this.btnReadReal.Location = new System.Drawing.Point(209, 74);
|
|
this.btnReadReal.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnReadReal.Name = "btnReadReal";
|
|
this.btnReadReal.Size = new System.Drawing.Size(75, 20);
|
|
this.btnReadReal.TabIndex = 9;
|
|
this.btnReadReal.Text = "R Real";
|
|
this.btnReadReal.UseVisualStyleBackColor = true;
|
|
this.btnReadReal.Click += new System.EventHandler(this.btnReadReal_Click);
|
|
//
|
|
// btnReadByte
|
|
//
|
|
this.btnReadByte.Location = new System.Drawing.Point(209, 11);
|
|
this.btnReadByte.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnReadByte.Name = "btnReadByte";
|
|
this.btnReadByte.Size = new System.Drawing.Size(76, 20);
|
|
this.btnReadByte.TabIndex = 9;
|
|
this.btnReadByte.Text = "R Byte";
|
|
this.btnReadByte.UseVisualStyleBackColor = true;
|
|
this.btnReadByte.Click += new System.EventHandler(this.btnReadByte_Click);
|
|
//
|
|
// textBox1
|
|
//
|
|
this.textBox1.BackColor = System.Drawing.SystemColors.Menu;
|
|
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.textBox1.Location = new System.Drawing.Point(9, 36);
|
|
this.textBox1.Margin = new System.Windows.Forms.Padding(2);
|
|
this.textBox1.Multiline = true;
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.Size = new System.Drawing.Size(197, 16);
|
|
this.textBox1.TabIndex = 8;
|
|
this.textBox1.Text = "Indicare tipo memoria e size del tipo";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox2.AutoSize = true;
|
|
this.groupBox2.Controls.Add(this.txtOut);
|
|
this.groupBox2.Location = new System.Drawing.Point(9, 165);
|
|
this.groupBox2.Margin = new System.Windows.Forms.Padding(2);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Padding = new System.Windows.Forms.Padding(2);
|
|
this.groupBox2.Size = new System.Drawing.Size(632, 371);
|
|
this.groupBox2.TabIndex = 9;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Risultati";
|
|
//
|
|
// txtOut
|
|
//
|
|
this.txtOut.BackColor = System.Drawing.SystemColors.Desktop;
|
|
this.txtOut.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txtOut.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtOut.ForeColor = System.Drawing.Color.Yellow;
|
|
this.txtOut.Location = new System.Drawing.Point(2, 15);
|
|
this.txtOut.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtOut.Multiline = true;
|
|
this.txtOut.Name = "txtOut";
|
|
this.txtOut.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.txtOut.Size = new System.Drawing.Size(628, 354);
|
|
this.txtOut.TabIndex = 0;
|
|
this.txtOut.Text = "...";
|
|
//
|
|
// groupBox3
|
|
//
|
|
this.groupBox3.Controls.Add(this.textBox2);
|
|
this.groupBox3.Controls.Add(this.label6);
|
|
this.groupBox3.Controls.Add(this.txtSlot);
|
|
this.groupBox3.Controls.Add(this.label5);
|
|
this.groupBox3.Controls.Add(this.txtRack);
|
|
this.groupBox3.Controls.Add(this.label4);
|
|
this.groupBox3.Controls.Add(this.cbCpuType);
|
|
this.groupBox3.Controls.Add(this.txtIP);
|
|
this.groupBox3.Controls.Add(this.lblIP);
|
|
this.groupBox3.Controls.Add(this.label1);
|
|
this.groupBox3.Location = new System.Drawing.Point(9, 10);
|
|
this.groupBox3.Margin = new System.Windows.Forms.Padding(2);
|
|
this.groupBox3.Name = "groupBox3";
|
|
this.groupBox3.Padding = new System.Windows.Forms.Padding(2);
|
|
this.groupBox3.Size = new System.Drawing.Size(336, 97);
|
|
this.groupBox3.TabIndex = 10;
|
|
this.groupBox3.TabStop = false;
|
|
this.groupBox3.Text = "Parametri PLC";
|
|
//
|
|
// textBox2
|
|
//
|
|
this.textBox2.BackColor = System.Drawing.SystemColors.Menu;
|
|
this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.textBox2.Location = new System.Drawing.Point(240, 31);
|
|
this.textBox2.Margin = new System.Windows.Forms.Padding(2);
|
|
this.textBox2.Multiline = true;
|
|
this.textBox2.Name = "textBox2";
|
|
this.textBox2.Size = new System.Drawing.Size(91, 44);
|
|
this.textBox2.TabIndex = 7;
|
|
this.textBox2.Text = "S7-1200/S7-1500: 0/0\r\nS7-300/S7-400: 0/2\r\nSlot > 0 se eth ext";
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(236, 11);
|
|
this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(91, 13);
|
|
this.label6.TabIndex = 6;
|
|
this.label6.Text = "Note Rack / Slot:";
|
|
//
|
|
// txtSlot
|
|
//
|
|
this.txtSlot.Location = new System.Drawing.Point(201, 50);
|
|
this.txtSlot.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtSlot.Name = "txtSlot";
|
|
this.txtSlot.Size = new System.Drawing.Size(32, 20);
|
|
this.txtSlot.TabIndex = 5;
|
|
this.txtSlot.Text = "2";
|
|
this.txtSlot.TextChanged += new System.EventHandler(this.txtSlot_TextChanged);
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(167, 52);
|
|
this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(25, 13);
|
|
this.label5.TabIndex = 4;
|
|
this.label5.Text = "Slot";
|
|
//
|
|
// txtRack
|
|
//
|
|
this.txtRack.Location = new System.Drawing.Point(201, 19);
|
|
this.txtRack.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtRack.Name = "txtRack";
|
|
this.txtRack.Size = new System.Drawing.Size(32, 20);
|
|
this.txtRack.TabIndex = 5;
|
|
this.txtRack.Text = "0";
|
|
this.txtRack.TextChanged += new System.EventHandler(this.txtRack_TextChanged);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(167, 21);
|
|
this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(33, 13);
|
|
this.label4.TabIndex = 4;
|
|
this.label4.Text = "Rack";
|
|
//
|
|
// statusStrip1
|
|
//
|
|
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.tslConn,
|
|
this.toolStripStatusLabel1,
|
|
this.toolStripProgressBar1,
|
|
this.tslRTime});
|
|
this.statusStrip1.Location = new System.Drawing.Point(0, 540);
|
|
this.statusStrip1.Name = "statusStrip1";
|
|
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 10, 0);
|
|
this.statusStrip1.Size = new System.Drawing.Size(652, 22);
|
|
this.statusStrip1.TabIndex = 11;
|
|
this.statusStrip1.Text = "statusStrip1";
|
|
//
|
|
// tslConn
|
|
//
|
|
this.tslConn.Name = "tslConn";
|
|
this.tslConn.Size = new System.Drawing.Size(59, 17);
|
|
this.tslConn.Text = "Conn: ND";
|
|
//
|
|
// toolStripStatusLabel1
|
|
//
|
|
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
|
this.toolStripStatusLabel1.Size = new System.Drawing.Size(10, 17);
|
|
this.toolStripStatusLabel1.Text = "|";
|
|
//
|
|
// toolStripProgressBar1
|
|
//
|
|
this.toolStripProgressBar1.Name = "toolStripProgressBar1";
|
|
this.toolStripProgressBar1.Size = new System.Drawing.Size(75, 16);
|
|
//
|
|
// tslRTime
|
|
//
|
|
this.tslRTime.Name = "tslRTime";
|
|
this.tslRTime.Size = new System.Drawing.Size(32, 17);
|
|
this.tslRTime.Text = "...ms";
|
|
//
|
|
// groupBox4
|
|
//
|
|
this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox4.Controls.Add(this.btnCharWrite);
|
|
this.groupBox4.Controls.Add(this.btnNumWriteReal);
|
|
this.groupBox4.Controls.Add(this.btnStrWrite);
|
|
this.groupBox4.Controls.Add(this.btnNumWriteB);
|
|
this.groupBox4.Controls.Add(this.btnNumWriteDW);
|
|
this.groupBox4.Controls.Add(this.btnNumWriteW);
|
|
this.groupBox4.Controls.Add(this.txtWriteVal2);
|
|
this.groupBox4.Controls.Add(this.label9);
|
|
this.groupBox4.Controls.Add(this.txtWriteVal1);
|
|
this.groupBox4.Controls.Add(this.label8);
|
|
this.groupBox4.Controls.Add(this.txtWriteAddr2);
|
|
this.groupBox4.Controls.Add(this.label10);
|
|
this.groupBox4.Controls.Add(this.txtWriteAddr1);
|
|
this.groupBox4.Controls.Add(this.label7);
|
|
this.groupBox4.Location = new System.Drawing.Point(9, 105);
|
|
this.groupBox4.Margin = new System.Windows.Forms.Padding(2);
|
|
this.groupBox4.Name = "groupBox4";
|
|
this.groupBox4.Padding = new System.Windows.Forms.Padding(2);
|
|
this.groupBox4.Size = new System.Drawing.Size(632, 58);
|
|
this.groupBox4.TabIndex = 12;
|
|
this.groupBox4.TabStop = false;
|
|
this.groupBox4.Text = "Memoria: WRITE param";
|
|
//
|
|
// btnCharWrite
|
|
//
|
|
this.btnCharWrite.Location = new System.Drawing.Point(548, 32);
|
|
this.btnCharWrite.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnCharWrite.Name = "btnCharWrite";
|
|
this.btnCharWrite.Size = new System.Drawing.Size(79, 24);
|
|
this.btnCharWrite.TabIndex = 12;
|
|
this.btnCharWrite.Text = "W Char[]";
|
|
this.btnCharWrite.UseVisualStyleBackColor = true;
|
|
this.btnCharWrite.Click += new System.EventHandler(this.btnCharWrite_Click);
|
|
//
|
|
// btnNumWriteReal
|
|
//
|
|
this.btnNumWriteReal.Location = new System.Drawing.Point(258, 13);
|
|
this.btnNumWriteReal.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnNumWriteReal.Name = "btnNumWriteReal";
|
|
this.btnNumWriteReal.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
|
this.btnNumWriteReal.Size = new System.Drawing.Size(64, 19);
|
|
this.btnNumWriteReal.TabIndex = 11;
|
|
this.btnNumWriteReal.Text = "W Real";
|
|
this.btnNumWriteReal.UseVisualStyleBackColor = true;
|
|
this.btnNumWriteReal.Click += new System.EventHandler(this.btnNumWriteReal_Click);
|
|
//
|
|
// btnStrWrite
|
|
//
|
|
this.btnStrWrite.Location = new System.Drawing.Point(548, 9);
|
|
this.btnStrWrite.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnStrWrite.Name = "btnStrWrite";
|
|
this.btnStrWrite.Size = new System.Drawing.Size(79, 24);
|
|
this.btnStrWrite.TabIndex = 10;
|
|
this.btnStrWrite.Text = "W String";
|
|
this.btnStrWrite.UseVisualStyleBackColor = true;
|
|
this.btnStrWrite.Click += new System.EventHandler(this.btnStrWrite_Click);
|
|
//
|
|
// btnNumWriteB
|
|
//
|
|
this.btnNumWriteB.Location = new System.Drawing.Point(193, 13);
|
|
this.btnNumWriteB.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnNumWriteB.Name = "btnNumWriteB";
|
|
this.btnNumWriteB.Size = new System.Drawing.Size(64, 19);
|
|
this.btnNumWriteB.TabIndex = 10;
|
|
this.btnNumWriteB.Text = "W Byte";
|
|
this.btnNumWriteB.UseVisualStyleBackColor = true;
|
|
this.btnNumWriteB.Click += new System.EventHandler(this.btnNumWriteB_Click);
|
|
//
|
|
// btnNumWriteDW
|
|
//
|
|
this.btnNumWriteDW.Location = new System.Drawing.Point(258, 32);
|
|
this.btnNumWriteDW.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnNumWriteDW.Name = "btnNumWriteDW";
|
|
this.btnNumWriteDW.Size = new System.Drawing.Size(64, 19);
|
|
this.btnNumWriteDW.TabIndex = 10;
|
|
this.btnNumWriteDW.Text = "W DWord";
|
|
this.btnNumWriteDW.UseVisualStyleBackColor = true;
|
|
this.btnNumWriteDW.Click += new System.EventHandler(this.btnNumWriteDW_Click);
|
|
//
|
|
// btnNumWriteW
|
|
//
|
|
this.btnNumWriteW.Location = new System.Drawing.Point(193, 32);
|
|
this.btnNumWriteW.Margin = new System.Windows.Forms.Padding(2);
|
|
this.btnNumWriteW.Name = "btnNumWriteW";
|
|
this.btnNumWriteW.Size = new System.Drawing.Size(64, 19);
|
|
this.btnNumWriteW.TabIndex = 10;
|
|
this.btnNumWriteW.Text = "W Word";
|
|
this.btnNumWriteW.UseVisualStyleBackColor = true;
|
|
this.btnNumWriteW.Click += new System.EventHandler(this.btnNumWriteW_Click);
|
|
//
|
|
// txtWriteVal2
|
|
//
|
|
this.txtWriteVal2.Location = new System.Drawing.Point(430, 29);
|
|
this.txtWriteVal2.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtWriteVal2.Name = "txtWriteVal2";
|
|
this.txtWriteVal2.Size = new System.Drawing.Size(108, 20);
|
|
this.txtWriteVal2.TabIndex = 8;
|
|
this.txtWriteVal2.Text = "SAMUELEL";
|
|
this.txtWriteVal2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(427, 14);
|
|
this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(29, 13);
|
|
this.label9.TabIndex = 9;
|
|
this.label9.Text = "STR";
|
|
//
|
|
// txtWriteVal1
|
|
//
|
|
this.txtWriteVal1.Location = new System.Drawing.Point(116, 29);
|
|
this.txtWriteVal1.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtWriteVal1.Name = "txtWriteVal1";
|
|
this.txtWriteVal1.Size = new System.Drawing.Size(65, 20);
|
|
this.txtWriteVal1.TabIndex = 8;
|
|
this.txtWriteVal1.Text = "987654321";
|
|
this.txtWriteVal1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(115, 14);
|
|
this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(32, 13);
|
|
this.label8.TabIndex = 9;
|
|
this.label8.Text = "NUM";
|
|
//
|
|
// txtWriteAddr2
|
|
//
|
|
this.txtWriteAddr2.Location = new System.Drawing.Point(329, 29);
|
|
this.txtWriteAddr2.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtWriteAddr2.Name = "txtWriteAddr2";
|
|
this.txtWriteAddr2.Size = new System.Drawing.Size(88, 20);
|
|
this.txtWriteAddr2.TabIndex = 6;
|
|
this.txtWriteAddr2.Text = "DB701.DBB0";
|
|
this.txtWriteAddr2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Location = new System.Drawing.Point(326, 13);
|
|
this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(47, 13);
|
|
this.label10.TabIndex = 7;
|
|
this.label10.Text = "ADDR 2";
|
|
//
|
|
// txtWriteAddr1
|
|
//
|
|
this.txtWriteAddr1.Location = new System.Drawing.Point(4, 29);
|
|
this.txtWriteAddr1.Margin = new System.Windows.Forms.Padding(2);
|
|
this.txtWriteAddr1.Name = "txtWriteAddr1";
|
|
this.txtWriteAddr1.Size = new System.Drawing.Size(93, 20);
|
|
this.txtWriteAddr1.TabIndex = 6;
|
|
this.txtWriteAddr1.Text = "DB701.DBB0";
|
|
this.txtWriteAddr1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(4, 14);
|
|
this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(47, 13);
|
|
this.label7.TabIndex = 7;
|
|
this.label7.Text = "ADDR 1";
|
|
//
|
|
// TestMainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(652, 562);
|
|
this.Controls.Add(this.groupBox4);
|
|
this.Controls.Add(this.statusStrip1);
|
|
this.Controls.Add(this.groupBox3);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Margin = new System.Windows.Forms.Padding(2);
|
|
this.Name = "TestMainForm";
|
|
this.Text = "SIEMENS S7 TEST";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.groupBox3.ResumeLayout(false);
|
|
this.groupBox3.PerformLayout();
|
|
this.statusStrip1.ResumeLayout(false);
|
|
this.statusStrip1.PerformLayout();
|
|
this.groupBox4.ResumeLayout(false);
|
|
this.groupBox4.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox txtIP;
|
|
private System.Windows.Forms.Label lblIP;
|
|
private System.Windows.Forms.ComboBox cbCpuType;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txtMemArea;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtMemSize;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.TextBox txtOut;
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
private System.Windows.Forms.TextBox txtSlot;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox txtRack;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
private System.Windows.Forms.Button btnReadByte;
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
private System.Windows.Forms.ToolStripStatusLabel tslConn;
|
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
|
private System.Windows.Forms.ToolStripProgressBar toolStripProgressBar1;
|
|
private System.Windows.Forms.ToolStripStatusLabel tslRTime;
|
|
private System.Windows.Forms.GroupBox groupBox4;
|
|
private System.Windows.Forms.Button btnStrWrite;
|
|
private System.Windows.Forms.Button btnNumWriteW;
|
|
private System.Windows.Forms.TextBox txtWriteVal2;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.TextBox txtWriteVal1;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.TextBox txtWriteAddr1;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TextBox txtWriteAddr2;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.Button btnReadString;
|
|
private System.Windows.Forms.Button btnReadWord;
|
|
private System.Windows.Forms.Button btnReadDWord;
|
|
private System.Windows.Forms.Button btnReadReal;
|
|
private System.Windows.Forms.Button btnNumWriteB;
|
|
private System.Windows.Forms.Button btnNumWriteDW;
|
|
private System.Windows.Forms.Button btnNumWriteReal;
|
|
private System.Windows.Forms.Button btnCharWrite;
|
|
private System.Windows.Forms.Button btnReadChar;
|
|
}
|
|
}
|
|
|