To write a specific byte from a Integer variable, need to make a script with this syntax
$integervariablename->Bx= 1
In the following example, we write "1" in the byte 3 of the variable cmd
$integervariablename->Bx= 1
In the following example, we write "1" in the byte 3 of the variable cmd