InputCoE_Polling

InputCoE_Polling 1:

This class implements a virtual input for an asynchronous CoE value from an EtherCAT device that is read via ADS. This function can be used for cyclic reading of internal terminal information (such as the internal temperature).

Syntax:

FUNCTION_BLOCK FB_InputCoE_Polling EXTENDS FB_IoBase

InputCoE_Polling 2: Properties

Name

Type

Access

Description

InputScale

DINT

Get, Set

Reserved (compatibility with I_InputBase)

FB_InputCoE_Polling

Config

I_CoEParameter

Get

Information on the parameter to be read: address, data type, memory type, validation

Device

I_IoEcAds

Get, Set

The ADS address information is used from the device transferred here.

PollingInterval

LREAL

Get, Set

Time interval at which the asynchronous value is updated.

InputCoE_Polling 3: Methods

Name

Description

Cyclic()

Cycle method

FB_InputCoE_Polling

GetChannelState()

Reserved (compatibility with I_InputBase)

SetChannelState()

Reserved (compatibility with I_InputBase)

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.

InputCoE_Polling 4: Interfaces

Type

Description

I_IoBase

Standard interface on FB_IoBase.

I_InputCoE_Polling

Standard interface on FB_InputCoE_Polling.

I_InputBase

Compatible interface for general inputs.

I_IoEcAds

Standard interfaces for ADS-capable I/O devices.

I_IoEc

Standard interfaces for EtherCAT-capable I/O devices.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.55

PC or CX (x64, x86)

Tc3_PlasticFunctions (>= v12.6.1.0)