Read Digital Output from PMC
Reads a digital output from the PMC. Digital outputs from the PMC can be configured using Configure Digital Output from PMC.

Fieldbus Interface
PMC_ReadDigitalSignalFromPMC
Inputs
Name | Data Type | Description |
|---|
Enable | BOOL | Set enable to TRUE to execute the function block, FALSE to stop execution. |
DiID | USINT | Digital Output ID, valid range [1,128] |
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. |
Level | BOOL | TRUE: Digital Output is on. FALSE: Digital Output is off |
Conditions
Operating Conditions |
|---|
Preconditions | None |
Postconditions | The value of the specified Digital Output is provided in the output |
Description
Reads a digital output from the PMC. Digital outputs from the PMC can be configured using Configure Digital Output from PMC.