Download SESTILIO
Transcript
POSIZIONAMENTO POSITIONING Codifica: 120 ASCII: x Parametri: 4 Par. Cifre/Caratteri 0 1 Valori: 0:1 Direzione asse 0. 1 10 Valori: 0:4294967295 Passi da eseguire sull’asse 0. 2 1 Valori: 0:1 Direzione asse 1. 3 10 Valori: 0:4294967295 Passi da eseguire sull’asse 1. Risorse: TIMER4 Vedi anche: RAMPA MOTORE VELOCITA MOTORE CONTATORE MOTORE Ritorna: ACK Descrizione: Esegue un posizionamento su due assi nella direzione e per il numero di passi specificato. Nell’esempio sotto indicato si eseguono 1000 passi sull’asse 0 e 10000 passi sull’asse 1 con direzione opposta. Encoding: ASCII: Parameters: Par. Digits/Chars 0 1 ASCII DECIMALE 1 10 2 1 3 10 Resources: See also: 120 x 4 Values: 0:1 Direction axis 0. Values: 0:4294967295 Steps to be executed on axis 0. Values: 0:1 Direction axis 1. Values: 0:4294967295 Steps to be executed on axis 1. TIMER4 MOTOR SLOPE MOTOR SPEED MOTOR COUNTS Return: ACK Description: Executes a positioning on two axes in the direction of and by the specified number of steps. In the example below 1000 steps are excuted on axis 0 and 10000 steps on axis 1 in opposite directions. Esempio ‐ Example Riceve ‐ Receive Trasmette ‐ Transmit _0x 0 0000001000 10000010000CR ASCII _0.CR 32 48 120 48 48 48 48 48 48 48 49 DECIMAL 32 48 46 13 48 48 48 49 48 48 48 48 48 49 48 48 48 48 13 69