there is a string called crc - we would like to communicate with an instrument supporting modbus rtu in hyper link - hence we are in need to know about the crc string - any body can help me out???
The Cyclical Redundancy Check (CRC) field is two bytes, containing a 16-bit binary value.
The CRC is started by first preloading a 16-bit register to all 1's. Then a process begins of applying successive eight-bit bytes of the message to the current contents of the register. Only the eight bits of data in each character are used for generating the CRC. Start and stop bits, and the parity bit, do not apply to the CRC.
During generation of the CRC, each eight-bit character is exclusive ORed with the register contents. The result is shifted in the direction of the least significant bit (LSB), with a zero filled into the most significant bit (MSB) position. The LSB is extracted and examined. If the LSB was a 1, the register is then exclusive ORed with a preset, fixed value. If the LSB was a 0, no exclusive OR takes place.
This process is repeated until eight shifts have been performed. After the last (eighth) shift, the next eight-bit character is exclusive ORed with the register's current value, and the process repeats for eight more shifts as described above. The final contents of the register, after all the characters of the message have been applied, is the CRC value.
Using Hyperlink to communicate to a Modbus Master is going to take a lot of time and effort in my opinion. There are a number of programs that can communicate and interrogate Modbus masters and slaves. ModbusView is available at "www.oceancontrols.com.au/modview.htm":http:// www.oceancontrols.com.au/modview.htm .
I don't think you understand Modbus RTU. This is a binary protocol, not ASCII/string based. Hyperlink is not going to work. You'll need an actual application written in VB, C, etc.