<< Prev        Next >>

VirtualFence

Function

Start or stop monitoring the virtual fence.

Syntax

VirtualFence True/False

Guaranteed Entry

True/False
Enable/Disable the virtual fence by integer type data.To enable this command, enter True or an integer other than 0. To disable this command, enter False or 0.
This stops monitoring if False is specified and starts monitoring if True.

Description

Start or stop monitoring the virtual fence.

The virtual fence function can be paused or restarted when it is active.

Related Terms

Virtual fence function

Attention

-

Example

    Move P, P0 'Move to above the workpiece position        
VirtualFence False 'Pause VirtualFence
Move L, P1 'Move to the workpiece position
'Pick the workpiece
Move L, P0 'Move to above the workpiece position
VirtualFence True 'Restart VirtualFence

<< Prev        Next >>