Chapter 12 Robot Control Statements
12-67
RESETAREA (Statement)
Function
Initializes an interference check.
Format
RESETAREA <Initializing area number>
Explanation
This statement resets the I/O set when interference was detected and makes
an interference check invalid.
When the input/output control statement directly resets an I/O even if
interference occurs again, the I/O will not be set. To check interference again,
execute the RESETAREA command to initialize, and then execute the
SETAREA command again.
Valid area numbers are from 0 to 7.
Related Terms
AREA, SETAREA, AREAPOS, AREASIZE
Example
DIM lp1 As Position
DIM lv1 As Vector
Lp1 = (10, 10, 5, 0, 9, 0, 1 )
Lv1 = (50, 10, 50 )
AREA 2, lp1, lv1, 104, 1 'Declares I/O number 104 specified by lv1 at the
'position specified by lp1 in area number 2.
SETAREA 2 'Makes the area check of number 2 valid.
RESETAREA 2 'Initializes the area check of number 2.
Notes
Since the robot is operating in a multitasking operation environment, if RESET
is instructed just after SETAREA execution to check an area, there is a
possibility that RESET may be executed prior to SETAREA due to the timing.
Comments to this Manuals