Simulation of an analog output terminal

Simulation of an analog output terminal 1:

Simulation of a 4-channel analog output terminal. This FB only provides a mapping interface and does not contain an implementation.

Syntax:

FUNCTION_BLOCK FB_SimAnalogOutputElTerminal4

Simulation of an analog output terminal 2: Inputs

Name

Type

Access

Initial value

Description

Output1

INT

IN

0

The simulated output value of the 1st channel.

Output2

INT

IN

0

The simulated output value of the 2nd channel.

Output3

INT

IN

0

The simulated output value of the 3rd channel.

Output4

INT

IN

0

The simulated output value of the 4th channel.

WcState

BOOL

OUT

FALSE

The simulated Working Counter State.

InfoDataState

UINT

OUT

8

The simulated Device State.

AdsAddr

AMSADDR

OUT

 

The simulated ADS address.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher