title: Balluff BIS M-410 Write To Tag
body: <p>I want to write numeric data to the RFID Tag with Balluff BIS M-410 series Tag Reader and Writer. I can read data from the Tag but i can't write to the RFID Tag. The steps is here. It from Balluff pdf. </p>
  
  <p><a href="https://i.stack.imgur.com/t5SC7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t5SC7.png" alt="enter image description here"></a></p>
  
  <p>And my function is here : </p>
  
  <pre><code>public void WriteTag()
  {
      byte[] b = new byte[17];
  
      b[0] = 0x02; //command header
      b[1] = 0x011; //command size
      b[2] = 0x0006;  // command id
  
      b[3] = 0x0000;
      b[4] = 0x0000;   //Start Adres
  
      b[5] = 0x0000;
      b[6] = 0x0006;  //Lenght
  
      b[7] = 0x007D;
      b[8] = 0x007D; //timeout value
  
      b[9] = 0x0001;
      b[10] = 0x0002;
      b[11] = 0x0003;
      b[12] = 0x0004;
      b[13] = 0x0005;
      b[14] = 0x0006;
  
      b[15] = 255;
      b[16] = 255;
  
      serialPort1.Write(b, 0, 17);
  }
  </code></pre>