Chapter 14 Multitasking Control Statements
14-21
GIVEVIS (Statement)
Function
Releases visual process priority.
Format
GIVEVIS
Explanation
This statement releases visual process priority on the µVISION board
optionally installed in the robot controller. With this, another task can obtain
visual process priority. Without a µVISION board installed, an error will occur if
the GIVEVIS command is executed.
If an attempt is made to execute the GIVEVIS command although another task
has already obtained visual process priority, an error will occur.
Note: Robot control priority is automatically released in the
following cases. Therefore, it may be possible to ignore the
GIVEVIS command.
•
••
• If an END command is executed (Except for an END
command at the end of the program called)
•
••
• If a KILL command is executed
•
••
• If the robot controller is initialized with the teach pendant or
I/O
Related Terms
TAKEARM, GIVEARM, TAKEVIS
Example
DEFINT Li1, Li2 'Obtains visual process priority.
TAKEVIS
VISSCREEN 1, 0, 1
VISCLS
FORLi1=0TO255
Li2 = VISREFTABLE (1, Li1) 'Obtains data from table 1.
VISLOC 10, 10 'Sets the display position.
VISDEGCHAR 1, 1, 2 'Sets the display character.
VISPRINT ”Data”; Li1; ”=”; Li2 'Displays.
NEXT Li1
GIVEVI 'Releases visual process priority.
Comments to this Manuals