취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

Modbus ASCII

Hi,

 

I'm a new user of Labview so I'm quiet lost. 당황해서 웃는

 

Someone know how to use the modbus library to communicate in ASCII mode with a machine ? An example will be welcome 기쁨 이모티콘

 

Peter.

Labview 2010
0 포인트
1/8 메시지
6,609 조회수

Hi Peter Saraiva,

                      There is a thread in Labview discussion forum related to this please check.


                      http://forums.ni.com/t5/LabVIEW/modbus-ASCII-library/td-p/641292

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 포인트
2/8 메시지
6,590 조회수

Hi Danil33,

 

thank you for your answer.

 

best regards

Peter.

Labview 2010
0 포인트
3/8 메시지
6,582 조회수

Peter,

             Do you achieved what you are trying to do?

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 포인트
4/8 메시지
6,579 조회수

no I don't, I've seen the link that you sent to me but there isn't the solution.

 

I found a VI which works in ASCII mode. The writing in my device works correctly but it lag when I have to read and a error occured : Timeout , but when I click on continue I can see the answer of the device in the box.

 

Any idea ?

 

i enclose the Vi

Peter.

Labview 2010
0 포인트
5/8 메시지
6,576 조회수

Hi Peter,

 

Thanks for your program!

Labview fails with their Modbus library. It doesn't work. Your program is much easier and (most important thing) it works fine.

The problem with your error is you read too many bits. You can solve this to change ''bytes to read'' in a property node with ''number of bytes at serial port''.

 

Feromartex

 

Labview 2010

 

0 포인트
6/8 메시지
6,469 조회수

@Feromartex wrote:

Labview fails with their Modbus library. It doesn't work


It works for me.

 

In any case, you should note that this is an old thread, so presumably Peter no longer needs help with the problem.


___________________
Try to take over the world!
0 포인트
7/8 메시지
6,459 조회수

@tst wrote:

@Feromartex wrote:

Labview fails with their Modbus library. It doesn't work


It works for me.

 

In any case, you should note that this is an old thread, so presumably Peter no longer needs help with the problem.


Haha I still want to thank Peter and I want to help other people.

 

Indeed the RTU works fine but the ASCII mode doesn't work to me.

0 포인트
8/8 메시지
6,440 조회수