SHCLRMODEL
(Statement)

Delete a registered model.

SHCLRMODEL <model number>

<model number>
Designates the model number to delete (0 to 99).

-
If the model number designated does not exist, nothing is executed.
-
For this instruction, a µVision board (option) is required.
-
During execution of this instruction, do not power off the controller. If you do so, the controller will recognize in the next powering-on sequence that it has not been normally terminated, so it will initialize the vision-related information.

VISSCREEN 1,0,1
|
|
VISCLS 0
|
|
SHCLRMODEL 1
|
'Delete registered model 1
|
I1 = SHREFMODEL(1,0)
|
|
VISLOC 10,10
|
|
IF I1 = -1 THEN VISPRINT "Deletion completed." ELSE VISPRINT "Deletion failed."
|