05-15-2007 12:35 AM
Hi Wiebe..
Thanks for your answer to me.. Yes, it will be puzzle to figure it out, but I'll try.. The difficult part will be to make the UI work, cause I need to update every subvi(rooms) when changes appear, and also that I need to open each subvi to adjust paramters like temperature, night set back, week days etc..
But I will try, and thanks again for your answer..
Very best regards Benjii
05-15-2007 03:10 AM
05-15-2007 04:40 PM
Hi Again Wiebe...
I just want to thank you for your information.. The link you sent me was very useful, and when I study them I understand more and more...
Very best regards.. Benjii..
12-17-2013 03:24 AM
Dear Paul Falkenstein,
I have downloaded Modbus CRC-16 VI and trying to calculate the CRC which is to be given to a PID controller. But I am not getting a correct CRC value for my String which has hex codes. Kindly hepl me please...
The String is 010400060001 and the CRC should be D1CB. But I am getting only B8 as CRC from the Modbus CRC-16.
Another String is 0110B800030601F40000FFFF and the CRC should be D1C9. Kindly help me to get the correct CRC. I dont know what the mistake i am doing.
Thanks in advance
Dr. Jeyadheepan. K
12-17-2013 08:43 AM - edited 12-17-2013 08:43 AM
When I take your string, put it in a string control formatted for Hex display, and run it through the Modbus CRC-16. I get exactly what you expect, D1CB.
Are you sure you are entering the correct string? Are you sure you have a binary string, or is it a string of hexadecimal characters?
Rather than posting in a 6 1/2 year old thread, please start a new thread.
01-23-2014 10:22 AM - edited 01-23-2014 10:23 AM
Hi guys,,,,
I'm trying to communicate with a Freescale Microprocessor MKL15Z32VFM4.
The protocol is using the TTL-UART port of the processor and MODBUS RTU, 19200, 8 data bits, 1 startBit, 1 stop bit, parity Even.
I have some string instructions to processor as "STATUS" or "DCLEVEL", and CRC bytes, etc. and of course I have to read the return, I'm using the CRC-16.vi to get the CRC bytes.
If I send the "STATUS" (+ CRC of course) command to Microprocessor, it's suppose to send me back a U16 data (I thing from address 0x138A)
Do any body makes this one before on Labview? How Can I send the "STATUS + CRC" to microprocessor Thru serial port (I have to use a Serial to TTL-UART adapter)
I review the most of the MODBUS RTU post (and still reviewing), but I can't find anything than works.
Thank you!
01-23-2014 10:26 AM
Your commands don't sound anything like Modbus RTU. You should start a new message therad.
01-23-2014 10:35 AM
That is the specification from my Customer
----------------------------
"The xxxx communicates using MODBUS RTU Serial mode. The device operates at 19.2kBd, 8 data bits, 1 start bit, 1 stop bit and even parity. All MODBUS requests require a two (2) byte Cyclical Redundancy Check (CRC) be appended to the message and a two (2) byte CRC will be appended to the response. Note that each command must be sent in individual byte packets"
---------------------------
and they enlist the commands, one is "STATUS"
01-23-2014 10:43 AM
"STATUS" is not a modbus command. Perhaps there is a modbus register that can tell you the status of the device. But you'll only know that if they give you a full listing of the registers, addresses vs. meaning.
Start a new thread.
01-23-2014 11:06 AM
well they put the response too, :
Address |
Type |
Sizeof |
Access |
Address (Hex) |
Registers |
MCU Type |
Upper limit |
Lower limit |
Hex String |
5002 |
Uint16_t |
2 |
RO |
138A |
1 |
SRAM |
NA |
NA |
0x15,04,13,8A,00,01 |
Maybe I just need to read the address 5002? how can I do that? I have connected just one microprocessor..