Skip to main content
Skip table of contents

Configure Digital Output for Zone

Configure a digital output from the PMC to turn on/off based on the number of movers in a Zone. See also Read Digital Output from PMC

  • State based - The digital output will be switched on once the specified number of movers is inside the zone and on the boundary of the zone, and off when the number of movers in/on the boundary of the zone is less than the amount specified

  • Event based - On when the number of movers increases to meet the threshold, or on when the number of movers falls below the threshold. It can be turned off using a Digital Input, see Configure Digital Input To Reset DO

Fieldbus Interface

PMC_ConfigDO2Zone

Inputs

Name

Data Type

Description

Execute

BOOL

Execution of the function block begins on a rising edge of this input.

nDO

USINT

Number of digital inputs to configure, up to 5

DoID

USINT[0..4]

Digital Output ID, valid range [1,128]

ZoneID

USINT[0..4]

IDs of the Zone to monitor. (Defined with Define Zone)

Type_

USINT[0..4]

  • Event based: 0: Rising to meet the threshold; 1: Falling below the threshold 

  • State based: 2: On when number of movers inside and on the boundary of the zone meets or exceeds the threshold, off the number of movers inside and on the boundary of the zone is below the threshold

Threshold

USINT[0..4]

The number of movers inside and on the boundary of the zone, for the output to trigger

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

Done

BOOL

Execution successful. Function block is finished. (Note: Done will not become TRUE if Execute is already FALSE) 

Busy

BOOL

Function block is active and must continue to be called.

Aborted

BOOL

Command aborted by another command.

Error

BOOL

If there is an error in processing the command, then Error = TRUE, otherwise, FALSE.

ErrorID

UINT

0x0: All OK. Otherwise, please see PMC Reply Codes.

Conditions

Operating Conditions

Preconditions

None

Postconditions

Specified Digital Output from PMC is set to monitor the number of movers in the specified zone

Description

Configure a digital output from the PMC to turn on/off based on the number of movers in a Zone. See also Read Digital Output from PMC

  • State based - The digital output will be switched on once the specified number of movers is inside the zone or on the boundary of the zone, and off when the number of movers in/on the boundary of the zone is less than the amount specified.

  • Event based - On when the number of movers meets or exceeds the threshold, or on when the number of movers falls below the threshold. It can be turned off using a Digital Input, see Configure Digital Input To Reset DO

 

 

JavaScript errors detected

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

If this problem persists, please contact our support.