Jump to content

Andrew Bestic

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Andrew Bestic

  • Rank
  1. Thank you, that's come in handy. Now I'm onto writing specific operands, I have gotten MB and MI working (reading and writing), ML, MF, DW (reading only). I'm not sure what the method for writing those last 3 are, I know that I have to reverse the byte order for MIs, is it similar for MLs? I'm assuming that ML is 4 hex bytes and DW is 6. I have to write this for every operand type. I'm still running through the C# in relation to those.
  2. Please ignore my unapproved post. I found some related information in BinaryMessage.cs and WriteOperand.cs. I'm not very proficient at C# but I noticed there are a lot of variables at play, making it difficult for me to narrow down an actual command string. Do you have specifics on which methods or strings I should be referring to?
  3. Thanks. Do you have any specifics on where that command is? I have Unitronics.ComDriver source but I'm not the most proficient at C# so any information on locating related methods would be hugely helpful.
  4. I'm trying to write values and I'm not sure what the binary WRITE message format is, in relation to the READ message format. I couldn't find this answered in the PDF or on the forums yet. I read a summary in the PDF that byte 12 should be changed to 68 and the write values should be appended to byte 32 (which confused me further as that's after the footer checksum). This is what I have for READ: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 24 25 26 27 28 29 | 30 31 32 stx-------------- id FE 01 00 00 00 cn 00 specific--------- lengt chksm | numbr ot FF addr- |
  • Create New...