<< Prev        Next >>

ID : 2287

VirtualFence

Function

Start or stop monitoring the virtual fence.

This command is available in Ver.1.12.* or higher.

Syntax

VirtualFence True/False[, Model ID]

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.
Model ID (Ver.2.0.* or higher)
Specify a model ID to enable/disable the monitoring state by integer type data (-1 to 999). If "-1" is entered, all models are set to the monitoring target. This is an optional value. If this entry is omitted, all models are enabled/disabled the virtual fence, regardless of the model ID-assigned or not.

Description

Start or stop monitoring the virtual fence.

Without specifying a model ID, in the state of VirtualFence activated, the monitoring function itself of the virtual fence is able to be valid/invalid to specifying.

With specifying a model, in the state of VirtualFence activated, the monitoring function of the virtual fence can be temporarily stopped or restarted.

Enable/Disable Setting to Monitoring Function Itself of Virtual Fence (Not specify a model ID)

    VirtualFence False

VirtualFence True

Enable/Disable Setting to Monitoring to the Target Model (Specify a model ID)

    VirtualFence False, 0
VirtualFence False, 1

VirtualFence True, 0
VirtualFence True, 1

Examples of Errors

When disable the monitoring function, even if the monitoring to the target model is valid, that monitoring won't be executed.

    VirtualFence False

VirtualFence True, 0
VirtualFence True, 1

Attention

-

Example

    Move P, P0 'Move to above the workpiece position         
VirtualFence False 'Once stop VirtualFence
Move L, P1 'Move to the workpiece position
'Grip a work piece Move P, P0 'Move to above the workpiece position
VirtualFence True 'Restart VirtualFence

ID : 2287

<< Prev        Next >>