beautypg.com

3 ) programming example – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 349

background image

5.10 System Function Instructions

5.10.12 Read Motion Register (MOTREG-R)

5-280

( 3 ) Programming Example

In the following programming example, the Machine Coordinate System Feedback Position in IL8096 for axis number
2 on circuit number 1 is read.
Set the following items to read the feedback position and store it in DL00002.

• Axis-Inf = 0102 hex (circuit 1, axis 2)
• Register address = 0016 hex
• Mode = 0001 hex (monitor parameter, double-length integer)

The same result can be achieved by directly specifying the register address and storing data in DL00002 with the
STORE instruction.

Equivalent

This manual is related to the following products: