Breadcrumbs

Read PMC State

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

readpmcstate.png

Fieldbus Interface

PMC_ReadPmcState

Inputs

Name

Data Type

Description

Enable

BOOL

Set to TRUE to enable the function block. It will continuously obtain the most up-to-date value(s) until reset to FALSE.

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 have been successfully read. FALSE: unable to obtain output values.

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.