Basic Example

It is a program using the distance tracking function when the robot moves from P1 to P2. Dispenser is connected to output No.1 of the standard I/O.

For details on standard I/O connections, refer to the following manuals:

  • "Robot Controller RC800-A Series Manual" - Analog I/O Board
  • Robot Controller RC700 Series Manual - I/O Connector
  • "Robot Controller RC700-D Manual - I/O Connector"
  • "Robot Controller RC700-E Manual - I/O Connector"
  • "Robot Controller RC90 Series Manual - I/O Connector"
Function AIOTrackingSample
  '------------- Robot configuration -------------
  Motor On
  Power High
  SpeedS 30
  AccelS 300, 300
  Tool 1
  '------------- Motion part -------------
  Move P1                                'Move to start point
  AIO_TrackingSet 1, -1, 0, -3, 3, 0, 2  ' Sets the distance tracking function
  AIO_TrackingStart 1, 10, 0, 0          ' Starts the distance tracking function
  Move P2 !D1; On 1; D99; Off 1!         ' Move to target point, start and end of dispenser application
  AIO_TrackingEnd                        ' Ends the distance tracking function
  Motor Off
Fend