Skip to main content
Skip table of contents

Auto Refresh

When using a Fieldbus interface to connect to the PMC, this function block ensures all necessary function blocks are updated; it should be called once per cycle.

Fieldbus Interface

PMC_AutoRefresh

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.

Conditions

Operating Conditions

Preconditions

None

Postconditions

Function blocks are updated

Description

When using a Fieldbus interface to connect to the PMC, this function block ensures all necessary function blocks are updated; it should be called once per cycle.

  • Some function blocks in the library require cyclic calls to be updated properly

  • Call the provided function block every cycle to ensure all necessary function blocks are updated

  • This function block returns immediately, so other function blocks can be called in the same cycle

 

 

JavaScript errors detected

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

If this problem persists, please contact our support.