Updated Value conversion (markdown)

FalcoGoodbody
2020-09-09 23:18:29 +02:00
parent 35f415b81a
commit ee35f20841

@@ -91,8 +91,7 @@ private byte[] ConvertStringToByteArray(string myString)
// use the helper function to convert myString into S7-String and write it to the plc
// write the string into DataBlock 204, startAddress 0
byte[] byteArray;
byteArray = ConvertStringToByteArray(myString);
byte[] byteArray = ConvertStringToByteArray(myString);
plc.WriteBytes(DataType.DataBlock, 204, 0, byteArray);
```