IF_Counter - General Information

Overview

Type:

Interface

Available as of:

V1.0.0.0

Inherits from:

-

Versions:

Current version

Task

Interface for accessing the values and functions of a counter of the FB_Infeed POU

Description

Measuring the motion of a belt

A counter of the FB_Infeed POU can be linked to a belt to measure the motion of the belt over a period of time.

Methods

Name

Description

Connect

Links a counter to a belt

Disconnect

Disconnects a counter from the belt

Properties

Name

Data type

Accessing

Description

lrPosition

LREAL

Read/Write

The position of the counter can be set any time. If the counter is linked to a belt, the position is changed according to the motion of the belt.

udiBeltId

UDINT

Read

The number of the belt to which the counter is linked. If the counter is not linked to any belt, 0 is returned.