Skip to main content
Skip table of contents

Deactivate Power Sector

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

An deactivated Power Sector will have a fence built around it to block XBots from entering the deactivated Power 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 Power 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 PMC Reply Codes.

Conditions

Operating Conditions

Preconditions

The specified Power Sector is in the Operation, Active_Fenced, or Inactive_Fenced state. No XBots are located on the Sector Boundary or about to enter the Sector Boundary (cannot stop before the Sector Boundary).

Postconditions

The specified Power Sector enters the Inactive_Fenced State.

Description

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

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

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

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

  2. Get Power Sector Status until it is in the "Inactive_Fenced" state, or wait for the Done signal of the previous "Deactivate Power 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.