07-21-2023 02:21 AM
I have one Heidenhain ND 287 device. When i try to send data over VISA Serial communication, it shows time out error when trying to read.
NI MAX also shows time out error. But when manually press the Print button, it works. The command for Print button is <ESC>F0002<CR>.
STX Command is CTRL B. What could be issue in my code/
Solved! Go to Solution.
07-21-2023 08:13 AM
According to the manual it uses XON-XOFF protocol
So in your code the Flow Control should be as follows , try changing this and see if works.
07-24-2023 01:07 AM
Hi LVNinja,
Thank you for your support .I a still getting the error. Even the Test panel Query is giving me an error.
Attached is my test Vi. If i press the Print button manually, it reads the position. so i believe i am having some command issues.
02-25-2024 10:50 PM
I have the same problem as you, how did you solve it?
02-25-2024 11:12 PM
Hi @Juancfaz,
Please make sure you use the RS232 serial communication. I have used the RS232 to USB communication cable instead of USB cable and it worked. "02" in hexadecimal works as CTRL+B which is the command to return the position.
02-27-2024 09:16 AM
Could you explain to me in general terms how you concluded that passing 02 hexadecimal is equal to CONTROL+B and could you give me your .vi code please, thank you.
02-28-2024 07:54 PM
Hi
Please refer to the ASCII chart.
You can use Serial communication Vi available. Make sure the settings matches with the serial settings(baud rate, bits and parity bit etc.) of ND287.