Author Topic: Twido Modbus Communication  (Read 5166 times)

Tasha

  • Guest
Twido Modbus Communication
« on: March 26, 2008, 08:40:38 PM »
Hi everyone

I am trying to establish communication between a Twido working as a master and two generic modbus devices 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 send. 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 send me an example so I can see the way the message transmission is configured.

Thanks in advance

Natasha