Skip to main content
Skip table of contents

Activate Power Sector

This command is used to activate a Power Sector by activating the XBots located within that Power Sector. 

An activated Power Sector will have a fence built around it to block XBots from entering or leaving the Power Sector until the Recover Power Sector command is called.

Auto Driving and Auto Driving Velocity commands cannot be used in an Active_Fenced Power Sector.

Fieldbus Interface

PMC_Sector_Activate

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 to activate  

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 Inactive state. No XBots located on the Sector boundary.

Postconditions

The specified Power Sector enters the Activating state

Description

This command is used to activate a Power Sector by activating the XBots located within that Power Sector. 

An activated Power Sector will have a fence built around it to block XBots from entering or leaving the Power Sector until the Recover Power Sector command is called.

Auto Driving and Auto Driving Velocity commands cannot be used in an Active_Fenced Power Sector.

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

  1. Turn on power to Flyways in the Sector

  2. Get Power Sector Status until it is in the "Inactive_Fenced" state (go to step 3), or "Active_Fenced" (go to step 5) state

  3. Activate Power Sector to activate XBots inside the Power Sector.

  4. Get Power Sector Status until it is in the "Active_Fenced" state

  5. Recover Power Sector to remove the fence around the Power Sector

 

 

JavaScript errors detected

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

If this problem persists, please contact our support.