12-29-2014 06:43 AM
Hello everybody,
I'm trying to move a project from a cRIO 9114 platform to a cRIO9068, the reason is for a heavy difference in terms of CPU power, memory, FPGA performance etc..
On real time side I deploy a TCP modbus server, and I publish just I16 data.
The problem comes when the program try to write a negative value in a variable binded on modbus. That variable is in the same format (I16), so the program could write negative values between 0 and -32768, but everytime the modbus force the value to zero.
I tested the modbus also with "NI Distribuited System Manager 2014" but still cannot write negative values on I16, but I can if I consider data as I32!!!
(see enclosed files)
Moreover I deployed a modbus server on my PC and in this case all goes right.
Some more information:
I'm working with labView 14.0f1.
On cRIO are installed "Labview RealTIme 14.0.0" and "Modbus I/O server 14.0.0".
I tested the feature on three different cRIO 9068 with same result.
I'm thinking that's something wrong with cRIO 9068, can somebody help me?
Thank you
MZ
Solved! Go to Solution.
01-02-2015 09:20 AM
Hi Marcello,
I was able to reproduce the issue on cRIO 9068 and it look like a CAR (corrective action request). I've already open a Corrective Action Request (CAR ID 511039) in order to report the problem in NI R&D.
Did you try to implement MODBUS Slave on PC ana MODBUS Master on cRIO? I've tryed and it works even with I16 data types.
I hope this will help you.
Kind regards.
Claudio Cupini
NI ITALY
Technical Support
01-07-2015 01:23 AM - edited 01-07-2015 01:32 AM
How can we know when a CAR is solved?
01-07-2015 01:27 AM
Thank you very much Claudio for your support, I have been thought from the start that was very strange behaviour, now I will wait for CAR development.
About my application I need to put modbus slave on cRIO side, because it must comunicate with a 3rd party device that implements only modbus master on his own side.
Actually I have fix the problem temporaly publishing I16 data (labView side) on I32 addresses (modbus side).
How can I track the CAR?
Grazie ancora
MZ
01-07-2015 06:19 AM
marcello.zoppetti wrote:
How can I track the CAR?
Just watch for it in the new release notes for a version of LabVIEW and the patches. NI does not make their bug reports public.