Moving traverse from point to point repeatedly

Moving traverse from point to point repeatedly

2 suggestions:

1. Move to positions
BASE(0)
REPEAT
  MOVEABS(position1)
  MOVEABS(position2)
UNTIL event=TRUE

2. Move to sensor position1 and position 2 are set to be beyond the sensor postion
BASE(0)
REPEAT
  MOVEABS(position1)
  WAIT UNTIL IN(1)=ON
  CANCEL
  WAIT IDLE
  MOVEABS(position2)
  WAIT UNTIL IN(2)=ON
  CANCEL
  WAIT IDLE
UNTIL event=TRUE
    • Related Articles

    • MOVEABS not ending in Target positon

      The cause the problem is that a MOVEABS takes ENDMOVE of the previous move as the start point. When we cancel the move in the MTYPE, it stops before ENDMOVE so it is not a valid start point any more. Here is a possible solution but it is not perfect. ...
    • Moves not getting to position

      We have an odd situation with an MC4N running EtherCAT drives. The issue is that axis 1 is not getting to the commanded position via MOVEABS. The command MOVEABS is where we are hanging because the move seems to cancel. We did a the test with all ...
    • AN-324 Calibrating Tool Centre Point (TCP)

      When operating a machine that is able to achieve a point with x, y, z position and u, v, w orientation, is used to add on the TCP (tool centre point) a tool. After install the tool, the system need to know where the new TCP is. This document explains ...
    • MOVEABSSEQSP type problem

      Work out how many points per second are being executed in the MOVEABSSEQSP. If more than one per msec then that is not possible even with the MOVEABSSEQ type move. The other consideration is the vector length in the buffer. The LIMIT_BUFFERED value ...
    • How do I limit movement to one direction to stop reversal of the axis?

      If it is an axis with a REP_DIST and REP_OPTION set to 1, then when the end position is “behind” the current position, add the REP_DIST to the MOVEABS target position value. IF new_position - DPOS < 0 THEN     New_position = new_position + REP_DIST ...