OutputDigital

OutputDigital 1:

This class is used for digital output signals.

Syntax:

FUNCTION_BLOCK FB_OutputDigital EXTENDS FB_IoDigital

OutputDigital 2: I/O variables

Name

Type

Direction

Description

Out

BOOL

Output

Digital output signal.

OutputDigital 3: Properties

Name

Type

Access

Description

DelayOff

LREAL

Get, Set

Delay [s] of a falling edge of the digital signal.

DelayOn

LREAL

Get, Set

Delay [s] of a rising edge of the digital signal.

In

BOOL

Get, Set

Digital input value.

Invert

BOOL

Get, Set

Inverts the interpretation of the input value.

Q

BOOL

Get

Interpreted input value.

QF

BOOL

Get

Falling edge from Q.

QR

BOOL

Get

Rising edge from Q.

OutputDigital 4: Methods

Name

Description

Cyclic()

Cycle method

GetProcessValue()

Reads the terminal-specific input/output value.

SetProcessValue()

Writes the terminal-specific input/output value.

OutputDigital 5: Interfaces

Type

Description

I_IoBase

Standard interface on FB_IoBase.

I_OutputBase

Compatible standard interface for outputs.

This class implements hidden placeholders for compatibility.

I_OutputDigital

Standard interface on FB_OutputDigital.

I_IoEc

Standard interface on FB_IoEc.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.55

PC or CX (x64, x86)

Tc3_PlasticFunctions (>= v3.12.5.0)