- 174 -
Chapter 9. Standard Input/ Output Signal
7) STEP operation (absolute coordinate movement)
This is manual operation to move from the current position to an absolute coordinate.
If the input contact X1.2 is entered, then the X axis and Y axis moves to the L110 and L111
number respectively at a L112 velocity.
LOADP X1.2
SET M0.5
RST M87.C Æ M87.C[I1] X axis absolute position setup
RST M87.D Æ M87.D[I2] Y axis absolute position setup
SET M87.E Æ M87.E[S1] X axis setup bit
SET M87.F Æ M87.F[S2] Y axis setup bit
LOAD M0.5
AND NOT M50.A Æ M50.A[STP] STEP mode state bit
OUT M80.A Æ M80.A[STP] STEP mode commanding bit
LOADP M0.5
GET L110 M81 Æ
A command to set the L110 value into the M81 and M82 of X axis target position
GET L111 M83 Æ A command to set the L111 value into the M83 and M84 of Y axis target position
GET L112 M85 Æ A command to set the L112 value into the M85 and M86 of step velocity
LOAD M0.5
AND M50.A Æ M50.A[STP] STEP mode state bit
AND NOT M50.6 Æ M50.6[MR1] X axis motor movement output bit
AND NOT M50.7 Æ M50.7[MR2] Y axis motor movement output bit
OUT M80.2 Æ M80.2[ST] STEP movement commanding bit
LOAD M50.6 Æ M50.6[MR1] X axis motor movement output bit
OR M50.7 Æ M50.7[MR2] Y axis motor movement output bit
OR M80.1 Æ M80.1[ERS] External RESET signal
RST M0.5
The above functions can be replace by a PLC motion related application command as follows:
LOAD X1.0
STEP L110 L112