OutputCoE408

OutputCoE408 1:

This class can be used for a DS408 based hydraulic valve. In this context, the term CoE (CAN over EtherCAT) refers to the transmission of the CiA DS408 protocol via EtherCAT.

Syntax:

FUNCTION_BLOCK FB_OutputCoE408 EXTENDS FB_OutputBase

OutputCoE408 2: I/O variables

Name

Type

Direction

Description

WcState

BIT

Input

Working Counter State

ControlWord

U_CoE408_ControlWord

Output

Union for the control word of the valve.

SpoolSetValue

INT

Output

Setpoint for the valve coil.

StatusWord

U_CoE408_StatusWord

Input

Union for the status word of the valve.

SpoolActualValue

INT

Input

Check signal for the position of the valve coil.

AdsAddr

AMSADDR

Input

ADS address of the I/O element for asynchronous communication.

Toggle

BIT

Input

Bit switching with the update rate of the mapping.

InfoDataState

UINT

Input

Numerical information on the state of the EtherCAT slave (see State).

OutputCoE408 3: Methods

Name

Description

Cyclic()

Cycle method

GetChannelState()

Reads the status word of the output element.

GetControlword()

Reads the control word of the output element.

GetProcessFeedback()

Reads the check signal of the output element.

SetChannelState()

Writes the channel state of the output element.

SetControlword()

Writes the control word of the output element.

SetProcessFeedback()

Writes the check signal of the output element.

GetProcessIoStatus()

Reads the EtherCAT status of the input/output element.

SetProcessIoStatus()

Writes the EtherCAT status of the input/output element.

GetProcessValue()

Reads the terminal-specific input/output value.

SetProcessValue()

Writes the terminal-specific input/output value.

OutputCoE408 4: Interfaces

Type

Description

I_IoBase

Standard interface on FB_IoBase.

I_OutputCoE408

Standard interface on FB_OutputCoE408.

I_OutputBase

Standard interface on FB_OutputBase.

I_IoEcAds

Standard interface on FB_IoEcAds.

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)