SAPHIR - Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 6201 occurred at ModBusVIEWoSL.lvlib:MBV_Emission-Reception.vi

Hi experts!

I am had a problem while trying to run the example for GModbus over serial line. I followed the instruction by:

1. Run the SimpleModBusSlave.vi

2. Run the SimpleModBusClient.vi (**********MISSING*******)

3. Run the SimpleModBusMaster.vi (Try my luck ====> ERROR)

I know missing the the SimpleModBusClient.vi is the cause, but where can I locate it?

The error when SimpleModBussMaster.vi ran:

Error 6201 occured at ModBusVIEWoSL.lvlib: MBV_Emission-Reception.vi

Possible reason(s): waiting data for request 1 to slave address 1

Complete call chain:

     ModBusVIEWoSL.lvlib:MBV_Emission-Reception.vi

     ModBusVIEWoSL.lvlib:MBV_lecNBitsSortie(1).vi

     SimpleModBusMaster.vi

Thanks!!

0 Kudos
Message 1 of 2
(5,631 Views)

Hello ckkeong91,

Simple ModBusClient is missing because it's part of the GModBus over TCP toolkit.

If you want to test GModBus over serial line, you need the foolowing configuration :

  • 2 computers linked by serial line

or

  • 1 computer with 2 serial ports

or

  • 1 computer with 2 virtual port

When this is set up run a slave ("listening" on com port X) and use a master ("writing" on com port Y).

If I can be of any other assistance, please let me know and I will be happy to help.

Have a great day.

PS : could point me the instruction you are referring to in your message ?


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
0 Kudos
Message 2 of 2
(4,248 Views)