08-31-2006 11:24 AM
08-31-2006 11:32 AM - edited 08-31-2006 11:32 AM
Message Edited by Dennis Knutson on 08-31-2006 10:33 AM
08-31-2006 01:09 PM
Thanks Dennis. That did the trick.
John
05-14-2008 02:12 PM
05-15-2008 11:47 AM
Hello Dennis
I seek how to send a frame with a visa write with the structure [STX] [ADDRESS] [INDEX] [value] [CHECKBLOC] [ETX]
Example: 02303138443041343303
02 ==> STX
3031 ==> ADDRESS (01 decimal)
3844 ==> INDEX (141 decimal)
3041 ==> VALUE OF KP (15 decimal)
3433 ==> CHECK BLOCK (sum)
03 ==> ETX
but I send the actual number screen and convert ascii the 1st problem that I must control the value in the frame that is to say I can change the value and the second problem that the CHECK BLOCK is the sum and address of the index and value ie 30 +31 + 38 +44 +30 +41
I really on your help
05-15-2008 04:23 PM
02-01-2011 04:23 PM
YOU ARE THE MAN!!! Thanks for the insight. (saved me some precious time)
06-01-2011 11:42 AM
Has anyone used this library successfully? I've modified it a bit so it will communicate with my device, and it seems that most of the functions work. Except, of course, for the one I actually need.
I'm trying to run the "Set Set Point" function. I've double-checked the manual, and it seems to be sending the correct command, but instead of changing it, it merely returns the current setpoint.
I'd be grateful for any suggestions.
mike
06-01-2011 11:56 AM
Let me amend my previous question in case it can help anyone else. The routine does actualy work, it's just making a decimal error (is sending a value 10x too high). That's fixable. If the value sent is > 1/10 of the max range (e.g. >20 for my controller) the device can't use it, so it just retruns the cruuent setpoint.