Skip to main content
Skip table of contents

Read PMC State

This command returns the state of the Planar Motor Controller (PMC).

Fieldbus Interface

PMC_ReadPmcState

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.

State

USINT

PMC State Description. 0: Booting; 1: Inactive; 2: Activating; 5: Operation; 7: Deactivating; 8: Error Handling; 9: Error

Conditions

Operating Conditions

Preconditions

None

Postconditions

The PMC State is provided in the output

Description

This command returns the state of the PMC. See PMC State Description.

 

 

JavaScript errors detected

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

If this problem persists, please contact our support.