02-27-2018 06:23 AM
Hey,
I try to communicate with a temperature control via VISA. I have problems to understand the received message. The answer to my input string (:070310000001) was :0783096D. I thought 83 stands for the "Function Code" and 09 for the "Exception Code", but I can not find what exactly is the meaning of this.
The process value should normally be something about 21°C (room temperature).
Thanks for help!
Solved! Go to Solution.
02-27-2018 07:58 AM
There are modbus libraries available to use so that you don't have to code your own.
02-27-2018 08:01 AM
Also this one, which is newer.
02-27-2018 08:11 AM
Thanks for your fast answer!
I want to use the VISA ressources in Labview. Is it possible to combine them?
02-27-2018 08:33 AM
Yes. Those Modbus libraries use the VISA resources.
02-27-2018 08:58 AM
I tried the example: MB_Master Simple Serial. I made all approaches, but there still comes a error message: 1073807339.
Shouldn´t it work with this example?
I am a total beginner with Labview and Modbus, so I am happy about every help!
02-27-2018 09:05 AM
@StefanieWernet wrote:
I tried the example: MB_Master Simple Serial. I made all approaches, but there still comes a error message: 1073807339.
-1073807339 is a timeout error. Perhaps your instrument is not setup to talk over the serial bus?
02-27-2018 09:15 AM
The instrument communicated via a different program with me, so in my opinion there should be no problem.
I have the correct VISA Ressource and Slave ID. Where else can be the problem?
02-27-2018 09:47 AM
Don't know. Post some code so we can see what you did.
Perhaps your serial settings are wrong. Maybe your slave address is wrong even though you think it is correct.
02-27-2018 09:54 AM
Going back to my starting problem with the modbus code:
I think it is a Modbus exception code with 09. In all the lists of exceptions codes (e.g.: http://www.simplymodbus.ca/exceptions.htm), there is always 01 till 08 and then 0A (10), but no 09.
Can someone explain this to me?