InverterCoE402_CSVM

InverterCoE402_CSVM 1:

This class can be used for DS402 inverters in CyclicSynchronousVelocityMode.

Syntax:

FUNCTION_BLOCK FB_InverterCoE402_CSVM EXTENDS FB_InvDeviceCoE402

InverterCoE402_CSVM 2: I/O variables

Name

Type

Direction

Description

EcStatus

FB_IoEcAdsUni

Input

EtherCAT status of the inverter.

TargetVelocity

DINT

Output

Target velocity of the inverter.

PositionActual

DINT

Input

Actual position of the inverter.

VelocityActual

DINT

Input

Actual velocity of the inverter.

TorqueActual

INT

Input

Current torque.

ControlWord

U_CoE402_ControlWord

Output

Control word to the inverter.

StatusWord

U_CoE402_StatusWord

Input

Status word of the inverter.

InverterCoE402_CSVM 3: Properties

Name

Type

Access

Description

ActVelocity

LREAL

Get

Current velocity of the inverter motor.

OutputFactor

LREAl

Get, Set

Multiplier for the velocity output.

TorqueFactor

LREAL

Get, Set

Multiplier for interpretation of the actual torque.

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_CSVM 4: Methods

Name

Description

Cyclic()

Cycle method

Connect()

Connects the inverter device to the axis.

GoError()

Simulates an error of the inverter device.

InverterCoE402_CSVM 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)