Denso RC5 Specifications Page 303

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 302
Chapter 12 Robot Control Statements
12-27
CUREXJ (Statement)
Function
Gets the current angle of an extended-joint into a floating-point variable.
Format
CUREXJ(<JntNumber>)
Explanation
CUREXJ reads an angle detected by the encoder of an extended-joint specified
by <JntNumber> into a floating-point variable. If the specified joint is in
motion, this command will get the current angle of the joint detected when this
command executes.
To get the target angle of an extended-joint, use a DESTEXJ command.
Related Terms
CURJNT, CURPOS, CURTRN, and DESTEXJ
Example
PROGRAM PRO1
DIM lf1 AS SINGLE
TAKEARM 1
DRIVEA (7,100) 'Move the 7th joint to an angle of 100 degrees.
lf1 = CUREXJ(7) 'Assign current position of 7th joint to lf1.
END
Notes
When the machine is locked (Machine Lock state), the CUREXJ command will
get not an angle detected by an encoder but a virtual angle (commanded
angle).
Page view 302
1 2 ... 298 299 300 301 302 303 304 305 306 307 308 ... 691 692

Comments to this Manuals

No comments