Sign in to follow this  
Followers 0
smario

twido master with 2 slave

3 posts in this topic

I'm trying to establish communication between a Twido working as a master and two generic Modbus devices (PM710) working as slaves, but I have problems using the EXCHx and MSGx functions. I can only send the first message to the first Modbus device using the EXCHx function. After this, the value of MSGx.D never goes back to one and so the next message using another EXCHx function can't be sent. It keeps sending the first message and receiving an answer from the same slave over and over again. I configured it in the same way it's described in the TwidoSuite V2.0 Programming Software Online Help in the in the description of the Exchange Control Function Block (%MSGx) Transmission of Several Successive Messages. Can anyone please explain me how to Twido acts as a master and sends multiple messages to slaves? Thanks in advance.

Share this post


Link to post
Share on other sites
Hi smario, I did such project using TCP/IP, i did a counter that after every end of reading promotes it's value and i reset it after i read the last device. Hope its not late and i could help you, Good luck and best regards, Greg.

Share this post


Link to post
Share on other sites
Hi Smario, are you using the port 1 (RS485) of the twido controller? If you make the communication cable yourself did you jump the pin 5 and 6 on the minidin? can you show what is inside your exch.x ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0