Skip to main content
Skip table of contents

Deactivate Safety Sector

This command is used to deactivate a Safety Sector by deactivating the flyways and XBots located within that Safety Sector. 

An deactivated Safety Sector will have a fence built around it to block XBots from entering the deactivated Safety Sector.

Fieldbus Interface

PMC_Sector_Deactivate

Inputs

Name

Data Type

Description

Execute

BOOL

Execution of the function block begins on a rising edge of this input.

SectorID

USINT

ID of the Safety Sector

PM_Controller

PMControllerType

Data structure that specifies which PMC to connect to. There should be only 1 instance of this variable for each connected PMC.

Outputs

Name

Data Type

Description

Ack

BOOL

Command has been accepted by the PMC when Ack = TRUE.

Done

BOOL

Execution successful. Function block is finished. (Note: Done will not become TRUE if Execute is already FALSE) 

Busy

BOOL

Function block is active and must continue to be called.

Aborted

BOOL

Command aborted by another command.

Error

BOOL

If there is an error in processing the command, then Error = TRUE, otherwise, FALSE.

ErrorID

UINT

0x0: All OK. Otherwise, please see Fieldbus Reply Codes.

Ethernet Interface

PMCRTN SectorControl(int sectorID, SECTOROPERATION sectorOperation)

Parameters

Name

Type

Description

sectorID

int

Sector ID (>0)

sectorOperation

SECTOROPERATION enum

Enum for specifying either that the sector should activate (ACTIVATE_SECTOR) or deactivate (DEACTIVATE_SECTOR)

Returns

Name

Type

Description

PMCRTN

PMCRTN enum

ALLOK (0): Command Accepted. Otherwise, please see Ethernet Reply Codes.

Conditions

Operating Conditions

Preconditions

The specified Safety Sector is in the Operation, Activating, Active_Fenced, or Inactive_Fenced state.

Postconditions

The specified Safety Sector enters the Inactive_Fenced State.
All xbots with their centre inside the Safety Sector will be deactivated and become accident xbots
Any xbots with their centre outside the province will be ignored

Description

This command is used to deactivate a Safety Sector by deactivating the flyways and XBots located within that Safety Sector. 

An deactivated Safety Sector will have a fence built around it to block XBots from entering the deactivated Safety Sector.

Typical workflow for powering off a Safety Sector that is currently on

  1. Deactivate Safety Sector to deactivate XBots (if any) inside the Safety Sector and build a fence around the Safety Sector to prevent XBots from entering the Safety Sector

  2. Get Safety Sector Status until it is in the "Inactive_Fenced" state, or wait for the Done signal of the previous "Deactivate Safety Sector" command

  3. Turn off power to Flyways in the Sector

 

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.