InverterCoE402_VM

InverterCoE402_VM 1:

This class can be used for DS402 inverters in VelocityMode.

Syntax:

FUNCTION_BLOCK FB_InverterCoE402_VM EXTENDS FB_InvDeviceCoE402

InverterCoE402_VM 2: I/O variables

Name

Type

Direction

Description

EcStatus

FB_IoEcAdsUni

Input

EtherCAT status of the inverter.

TurnRate

INT

Output

Set speed for the inverter.

OutputRate

INT

Input

Actual speed of the inverter.

LoadActual

INT

Input

Current load of the inverter motor.

ControlWord

U_CoE402_ControlWord

Output

Control word to the inverter.

StatusWord

U_CoE402_StatusWord

Input

Status word of the inverter.

InverterCoE402_VM 3: Properties

Name

Type

Access

Description

ActVelocity

LREAL

Get

Current velocity of the inverter motor.

TolStandstill

LREAL

Get, Set

Tolerance with which the current velocity is interpreted as standstill.

Connected

BOOL

Get

[INTERNAL] Class has been connected to an axis.

EnableN

BOOL

Get, Set

Negative directional enable of the axis.

EnableP

BOOL

Get, Set

Positive directional enable of the axis.

EnablePower

BOOL

Get, Set

Power enable of the axis.

EnableSupply

BOOL

Get, Set

Supply enable of the axis.

Error

BOOL

Get

Inverter is in error state.

ErrorID

UDINT

Get

Error code of the inverter error.

Load

LREAL

Get

Moad of the inverter.

PowerEnabled

BOOL

Get

Feedback of the power enable of the inverter.

Reset

BOOL

Get, Set

Reset signal of the axis.

Reseted

BOOL

Get, Set

Feedback of the successful reset.

SetVelocity

LREAL

Get, Set

Set velocity of the axis.

Stop

BOOL

Get, Set

Stop signal of the axis for possible stop functions of the inverter.

Stopped

BOOL

Get

Feedback of the successful stop of the inverter.

SupplyEnabled

BOOL

Get

Feedback of the supply enable of the inverter.

InverterCoE402_VM 4: Methods

Name

Description

Cyclic()

Cycle method

Connect()

Connects the inverter device to the axis.

GoError()

Simulates an error of the inverter device.

InverterCoE402_VM 5: Interfaces

Type

Description

I_InvDeviceBase

Standard interface on FB_InvDeviceBase

Defines the interface to the axis.

I_InverterCoE402

Standard interface on FB_InvDeviceCoE402.

I_InvDeviceBaseDev

Extended interface on FB_InvDeviceBase.

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)