beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 89

background image

6 - 53

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(b) Example

(c) Control conditions

Designation of calculation result storing address (APSH#XXXX)

The ROT instruction calculates the number of steps the rotating unit should rotate,
the number of steps of the position one step before the target position, or the position
one step before the target position. The result of calculation is stored in the designated
address.

Designation of target position address (APSH#XXXX)

• Designate the address where the target position is stored: for example, the address

where the T command is output from the NC.

Designation of preset position address (APSHXXXX)

• Designate the address where the present position data are stored: for example, the

address of the counter where the position of the rotating unit is stored.

Designation of the initial value of the position number of the rotating unit (RNO)