04-08-2015 03:35 AM
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!!
04-08-2015 05:25 AM
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 :
or
or
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 ?