??? 05/12/09 13:15 Read: times |
#165261 - Command Processor Responding to: ???'s previous message |
Hi Richard, I have to recive 8 command, 4 are simply command (only 1 character) and 4 are complex command. These commands are sending by Software that run in a PC with the next format
The simples command are Run(R)Stop(S)ClockWise(C)Anticlokwise(A), and complex comand are, Set Point(V100 where "V" indicate that is a velocity value)Proportional(P1.5 where P indicate that is a Proportional value) Integral (I0.002 where "I" indicate that is a Proportional value) and Derivative(D0.01 where "D" indicate that is a Proportional value). Well that hay need is a function that can proccess these commands and convert it to float, integer or well in a event. Note: To convert to float or integer I will use "atof" and "atoi" Thank you!!! |