|
发表于 2024-5-29 18:00:57
|
显示全部楼层
Hello I need help wioth modbus communication in DWIN using C51 keil code.
I tried using the sample example code C_ModBus_Serial4_source-code and also modified the host array but there are still two points that are not working for me.
1) as said D5 = 0x00 and D6D7 = 0x00 0x00 is not working so how should I achieve this functionality of a value to be working for all DWIN pages . as for now I need to write it for every page which is very tedious
2) I am using this command to read the modbus input register but this is not working ? " 0x5A, 0x01, 0x04, 0x30, 0xf4, 0x01, 0x00, 0x05, 0x50, 0x00, 0x00, 0x00,"
is anything I am missing out?
Can anyone please help . Its a bit urgent |
|