From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saphir modbus Error 6200 occurred at MBV_Emission-Reception

I am trying to get the Saphir modbus serial to function for more than 30 seconds.  Starts up fine but then after 30 seconds I get this error. 

 

Error 6200 occurred at MBV_Emission-Reception

 

Possible reason(s):

decoding data for request 16 to slave address 1


Complete call chain:
ModBusVIEWoSL.lvlib:MBV_Emission-Reception.vi
ModBusVIEWoSL.lvlib:MBV_ecrNmotsSortie(16).vi
modbus_plc_logic_with_saphir.vi
TAC_System_V100_Final_with_saphir_modbus.vi

 

Seems to be on the write holding.

0 Kudos
Message 1 of 3
(2,313 Views)

Are you using one of the following toolkits: https://decibel.ni.com/content/groups/saphir-toolkit to communicate with the Saphir device?

 

Or is this a customized VI? It's hard to understand what is going on in your program when I am not sure what is happening or what VI you are using.

0 Kudos
Message 2 of 3
(2,303 Views)

Hello Trinity32244,

I'm just finding out your message. Hope it's not to late. I encourage you to post question for support on our NI Community group.

Anyway, the error repported is related to a CRC/LRC issue (see p26 od ModBusVIEW documentation). In other word, the frame receive by your master seems to be dammaged. This could be due to electrical interferences in the environement or other hardware related issue. How many devices are linked on your serial network?

Try to decrease the baudrate or manage the error in order to retry the communication after the error occurs.

 

Regards, 


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

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