1 / 20

Data communication of GTR8x

Data communication of GTR8x. RS-485 Interface. Connection UART configuration Protocol format. GTR8x Controller. Master device. RS-485. RS-485 Interface. Connection. RS-485 Interface. UART configuration 9600 bps No parity 9 data bits

treva
Download Presentation

Data communication of GTR8x

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data communication of GTR8x

  2. RS-485 Interface • Connection • UART configuration • Protocol format

  3. GTR8x Controller Master device RS-485 RS-485 Interface • Connection

  4. RS-485 Interface • UART configuration • 9600 bps • No parity • 9 data bits The leading 8 bits information defines as “Address”, when the 9th bit sets to 1, and it defines as “Data” when the 9th bit sets to 0. • 1 stop bit

  5. RS-485 Interface • Protocol format Master Device XOR GTR8x Controller Tx FID: 0x6F RS-485 Rx XOR

  6. RS-232 Interface • Connection • RS-232 configuration • Protocol format

  7. GTR8x Controller Master device RS-232 RS-232 MTR-1 RS-232 Interface • Connection

  8. RS-232 Interface • RS-232 configuration • 19200 bps • No parity • 8 data bits • 2 stop bit

  9. RS-232 Interface Master Device • Protocol format FID: 0x6F XOR XOR RS-232 Rx GTR8x Controller RS-485 Tx MTR-1

  10. Ex: R-S Voltage readout • Voltage ratio readout RS-485 GTR8x Controller XOR 0x6F RS-232 RS-485 GTR8x Controller MTR-1 Master Device

  11. Ex: R-S Voltage readout • Voltage ratio readout (Continue) RS-485 GTR8x Controller XOR 0x6F RS-232 RS-485 GTR8x Controller MTR-1 Master Device

  12. Ex: R-S Voltage readout • Voltage ratio readout (Continue) Ratio = 0.01 Look up Table 0x04

  13. Ex: R-S Voltage readout • Voltage ratio readout (Continue)

  14. Ex: R-S Voltage readout • R-S voltage low byte readout RS-485 GTR8x Controller XOR 0x6F RS-232 RS-485 GTR8x Controller MTR-1 Master Device

  15. Ex: R-S Voltage readout • R-S voltage low byte readout (Continue) RS-485 GTR8x Controller XOR 0x6F RS-232 RS-485 GTR8x Controller MTR-1 Master Device

  16. Ex: R-S Voltage readout • R-S voltage high byte readout RS-485 GTR8x Controller XOR 0x6F RS-232 RS-485 GTR8x Controller MTR-1 Master Device

  17. Ex: R-S Voltage readout • R-S voltage high byte readout (Continue) RS-485 GTR8x Controller XOR 0x6F RS-232 RS-485 GTR8x Controller MTR-1 Master Device

  18. Ex: R-S Voltage readout • R-S voltage calculate • Combine R-S voltage low byte and high byte • 0x55F0 = 256 * 85 + 240 = 22000 • Multiply voltage ratio • 22000 * 0.01 = 220 (Volt)

  19. Ex: Program demo • Program by Borland C++ Builder 5.0 • Program by Visual Basic 6.0

  20. Data communication of GTR8x Q & A

More Related