Skip to main content
Skip table of contents

Read XBot IDs

This command will obtain an array of XBot IDs in the system.

image-20250102-172342.png

Fieldbus Interface

PMC_ReadXbotIDs 

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.

NumXbots

USINT

Number of XBots in the system

Xbot_IDs

USINT[0..77]

Array of the XBots IDs in the system

Conditions

Operating Conditions

Preconditions

None

Postconditions

The array of XBot IDs is updated

Description

This command will obtain an array of XBot IDs in the system. Note that the array of XBot IDs and number of XBots are not cleared (reset to 0) once Enable is FALSE.

 

 

JavaScript errors detected

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

If this problem persists, please contact our support.