09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example<br />

Syntax<br />

VAR num motor_angle3;<br />

motor_angle3 := ReadMotor(\MecUnit:=robot, 3);<br />

The current motor angle of the third axis of the robot is stored in motor_angle3.<br />

ReadMotor’(’<br />

[’\’MecUnit ’:=’ < variable (VAR) of mecunit>’,’]<br />

[Axis ’:=’ ] < expression (IN) of num><br />

’)’<br />

A function with a return value of the data type num.<br />

Related information<br />

Described in:<br />

Reading the current joint angle Functions - CJointT<br />

9-ReadMotor-2 <strong>RAPID</strong> Reference Manual

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!