Breadcrumbs

Send Digital Input to PMC

Send a digital input to the PMC. The PMC will react to the digital input as configured by Configure Digital Input to PMC.

senddi.png

Fieldbus Interface

PMC_SendDigitalSignalToPMC

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.

DoID

UINT

Digital Input ID, valid range [1,128]

Level

BOOL

TRUE: Turn Digital Input on; FALSE: Turn Digital Input off

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.

Conditions

Operating Conditions

Preconditions

None

Postconditions

The specified Digital Input is sent to the PMC

Description

Send a digital input to the PMC. The PMC will react to the digital input as configured by Configure Digital Input to PMC.