取消
显示结果 
搜索替代 
您的意思是: 

LabVIEW Modbus HELP!

已解决!
转到解答

Did you add the resistors because the diagram in the reference showed resistors or because the controller manufacturer said they needed to be added?  Typically, you won't need to add the resistors, as they are built in to the hardware.  Some controllers have the ability to turn them on or off so you can daisy chain multiple devices together.

 

0 项奖励
11 条消息(共 22 条)
2,183 次查看

Hi,

 

I added the resistor, because it was in the wiring guide. But I forgot to write, that I did try the communication without the resistor and again got no answer.

 

Marc

CLD
0 项奖励
12 条消息(共 22 条)
2,180 次查看
Do you have a link to the user manual of the controller.  I fnot, can you give me the part number so I can look it up.
0 项奖励
13 条消息(共 22 条)
2,177 次查看

Matthew Kelton wrote:
Do you have a link to the user manual of the controller.  I fnot, can you give me the part number so I can look it up.

I had only the German version, therefore I had to Google a little bit. I found it here in English:

 

http://instrumentation-central.com/WestManual/6100PlusManual.pdf

 

Marc

CLD
0 项奖励
14 条消息(共 22 条)
2,164 次查看

So, I am assuming you have LabVIEW setup to match the parameters setup on p42 of the manual you linked to.  If you're just using the defaults in the manual, you may wish to confirm via the controller that the settings match what you have in LabVIEW.  If you are trying to write a register value, make sure you have the write enable on p 43 turned on.  Make sure you are using the right address.  The controller doesn't respond to address 0.

 

Also note on p93 and p99 that some serial settings are not changeable and differ between using Modbus and ASCII.

 

I don't see anywhere where the termination is mentioned, so I am not sure what to tell you about the termination resistor.

0 项奖励
15 条消息(共 22 条)
2,161 次查看

Your assumptions are right. I did set up LabVIEW according to the handbook and the pages you mentioned. I did connect the TXD+ and TXD- pins according to p26 (TXD+ to 12 and TXD- to 11).

 

Do have any other ideas?

 

Oh, and thanks for your help. It is very appreciated!

 

Marc

CLD
0 项奖励
16 条消息(共 22 条)
2,159 次查看

That might be your problem.  You still need to connect the RX+/-.  Refer to here.  It's from the Quick Reference Guide, but explains the wiring:

 

 


 In 2-wire transmission (half- duplex), TXD+ and RXD+ on the master are wired together to TXD+ and RXD+ on the slave(s). TXD- and RXD- on the master are wired together to TXD- and RXD- on the slave(s).

 


17 条消息(共 22 条)
2,154 次查看

Matthew Kelton wrote:

That might be your problem.  You still need to connect the RX+/-.  Refer to here.  It's from the Quick Reference Guide, but explains the wiring:

 

 


 In 2-wire transmission (half- duplex), TXD+ and RXD+ on the master are wired together to TXD+ and RXD+ on the slave(s). TXD- and RXD- on the master are wired together to TXD- and RXD- on the slave(s).

 



 

Well, thanks!

 

This looks like it could solve my problem! I will try it as soon as possible and will post my results here. But it could take until next year, because I have no access to a controller at the moment 😞

 

Marc

CLD
0 项奖励
18 条消息(共 22 条)
2,152 次查看

Matthew Kelton wrote:

That might be your problem.  You still need to connect the RX+/-.  Refer to here.  It's from the Quick Reference Guide, but explains the wiring:

 

 


 In 2-wire transmission (half- duplex), TXD+ and RXD+ on the master are wired together to TXD+ and RXD+ on the slave(s). TXD- and RXD- on the master are wired together to TXD- and RXD- on the slave(s).

 



 

Hi,

 

many thanks to you. I got my hands on a controller today. The communication with the it is now working.

 

How do I mark your message as a solution?

 

Mary Christmas

Marc

CLD
0 项奖励
19 条消息(共 22 条)
2,108 次查看
You should see solution icons on the right side of the repsonses to the thread.  Just click on the icon in the answer you consider the solution.
0 项奖励
20 条消息(共 22 条)
2,100 次查看