Skip to main content
Skip table of contents

Read Number of Incoming XBots

This command is used to get the number of incoming XBots since the last time Get Incoming XBots command is called. As soon as Get Incoming XBots is called, nXbots will be set to 0.

Fieldbus Interface

PMC_ReadNumIncomingXbots 

Inputs

Name

Data Type

Description

Enable

BOOL

Set enable to TRUE to execute the function block, FALSE to stop execution.

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

Valid

BOOL

TRUE: output values are valid. FALSE: output values are invalid.

nXbots

USINT

Number of incoming XBots

Conditions

Operating Conditions

Preconditions

None

Postconditions

Number of incoming XBots since last Get Incoming XBots call is obtained

Description

This command is used to get the number of incoming XBots since the last time Get Incoming XBots command is called. As soon as Get Incoming XBots is called, nXbots will be set to 0.

 

JavaScript errors detected

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

If this problem persists, please contact our support.