Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

UART Channel8 PE-HMI1

$
0
0

Hi,

I am using the PE-HMI1, when I setup the system to use the "green" connector where the RS232/485/422 system runs on "channel 5" as RS232, all works fine.

However on the PMOD-A pins 2,3 and 5, TXD8, RXD8 and ground, and change the setup in the code to use channel 8 for UART, then I still receive my data, but now it is 2's complimented and sent in little-endian, I think, in other words reversed.

So lets say I send a byte - 0x02, this would be 0000 0010,

but on my receiving device (PC) I have received 1011 1111 (0xBF),

I saw in the S7G2 Manual that you can change the mode of transfer from LSB to MSB ect, but cannot find how to do this on the framework config, can someone please assist in getting this to work for me.


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>