Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

XMC4500 Modbus

$
0
0
Hi everybody,

I'm a beginner with Infineon microcontrollers and Modbus. I'm trying to acquire data from a XMC 4500 with serial Modbus protocol (9600 8 N 1); I also use a USB-RS232 converter and a Modbus Master program.
I know that read only variables are stored in registers 0x100 to 0x1FF and read/write variables from 0x200 to 0x2FF. When I try to read them with specific functions I can't see anything except of zeros, while registers should contain a certain value. But in registers from 0 to 9 I read random values.
Am I doing something wrong? Does anybody ever dealt with this problem and knows how to manage it?

Apologize me if the question may sound stupid, but I can't get through it.

Thanks in advance for any advice.

Andrea.

Viewing all articles
Browse latest Browse all 9892

Trending Articles