Modebus Slave Help!

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
seokgi
Posts: 164
Joined: Fri Jan 13, 2012 4:21 am
Location: South KOREA
Has thanked: 18 times
Been thanked: 16 times
Contact:

Modebus Slave Help!

Post 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.
Attachments
PRT2COM_Test1.fcfx
(21.47 KiB) Downloaded 174 times

viktor_au
Posts: 342
Joined: Fri Jan 26, 2018 12:30 pm
Location: South Australia
Has thanked: 44 times
Been thanked: 60 times
Contact:

Re: Modebus Slave Help!

Post by viktor_au »

Hello seokgi

Can you say please the reason of having the disabled:
Attachments
disabled-2.jpg
disabled-2.jpg (58.36 KiB) Viewed 3474 times

seokgi
Posts: 164
Joined: Fri Jan 13, 2012 4:21 am
Location: South KOREA
Has thanked: 18 times
Been thanked: 16 times
Contact:

Re: Modebus Slave Help!

Post by seokgi »

It was not working well and I set it to disable.

viktor_au
Posts: 342
Joined: Fri Jan 26, 2018 12:30 pm
Location: South Australia
Has thanked: 44 times
Been thanked: 60 times
Contact:

Re: Modebus Slave Help!

Post by viktor_au »

Can you try this:
Attachments
enabled_1.jpg
enabled_1.jpg (36.06 KiB) Viewed 3467 times

seokgi
Posts: 164
Joined: Fri Jan 13, 2012 4:21 am
Location: South KOREA
Has thanked: 18 times
Been thanked: 16 times
Contact:

Re: Modebus Slave Help!

Post by seokgi »

Yes. I tried it. But not work

viktor_au
Posts: 342
Joined: Fri Jan 26, 2018 12:30 pm
Location: South Australia
Has thanked: 44 times
Been thanked: 60 times
Contact:

Re: Modebus Slave Help!

Post by viktor_au »

What is the code results when RX_485 = 0 or RX-485 = 255?

seokgi
Posts: 164
Joined: Fri Jan 13, 2012 4:21 am
Location: South KOREA
Has thanked: 18 times
Been thanked: 16 times
Contact:

Re: Modebus Slave Help!

Post by seokgi »

result is 0000100001 repeat

thank you

seokgi
Posts: 164
Joined: Fri Jan 13, 2012 4:21 am
Location: South KOREA
Has thanked: 18 times
Been thanked: 16 times
Contact:

Re: Modebus Slave Help!

Post by seokgi »

Solved.
Max12387 problem.
Thank you every body!

Post Reply