Page 1 of 1

Modebus Slave Help!

Posted: Mon Apr 22, 2019 9:01 am
by seokgi
Hi!
I am making a MODBUS Slave program using RS-485.
I edit the incoming data to the RS-232 and put it in the Modbus Slave address, and then take the data through RS-485 from another SCADA program.
I tried several examples and it does not work.
I need help.
I upload a program I made. I do not know what went wrong.

I always appreciate your help.

Re: Modebus Slave Help!

Posted: Mon Apr 22, 2019 9:56 am
by viktor_au
Hello seokgi

Can you say please the reason of having the disabled:

Re: Modebus Slave Help!

Posted: Mon Apr 22, 2019 10:00 am
by seokgi
It was not working well and I set it to disable.

Re: Modebus Slave Help!

Posted: Mon Apr 22, 2019 11:55 am
by viktor_au
Can you try this:

Re: Modebus Slave Help!

Posted: Mon Apr 22, 2019 12:33 pm
by seokgi
Yes. I tried it. But not work

Re: Modebus Slave Help!

Posted: Mon Apr 22, 2019 11:17 pm
by viktor_au
What is the code results when RX_485 = 0 or RX-485 = 255?

Re: Modebus Slave Help!

Posted: Tue Apr 23, 2019 3:22 am
by seokgi
result is 0000100001 repeat

thank you

Re: Modebus Slave Help!

Posted: Tue Apr 23, 2019 11:01 am
by seokgi
Solved.
Max12387 problem.
Thank you every body!