InvDeviceCoE402
This class is the basis for DS402-based inverters. In this context, the term CoE (CAN over EtherCAT) refers to the transmission of the CiA DS402 protocol via EtherCAT.
Class is Abstract Since the class is defined as |
Syntax:
FUNCTION_BLOCK ABSTRACT FB_InvDeviceCoE402 EXTENDS FB_InvDeviceEc
I/O variables
Name | Type | Direction | Description |
---|---|---|---|
EcStatus | Input | EtherCAT status of the inverter. | |
ControlWord | Output | Control word to the inverter. | |
StatusWord | Input | Status word of the inverter. |
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. |
Methods
Name | Description |
---|---|
Cyclic() | Cycle method |
Connect() | Connects the inverter device to the axis. |
GoError() | Simulates an error of the inverter device. |
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) |