InvDeviceBase
This class is the basis for inverter I/O elements.
Class is Abstract Since the class is defined as |
Syntax:
FUNCTION_BLOCK ABSTRACT FB_InvDeviceBase
Properties
Name | Type | Access | Description |
---|---|---|---|
ActVelocity | LREAL | Get | Current velocity of the inverter motor. |
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. |
Direction of the signals The properties essentially form the interface between the inverter and the inverter axis.
|
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_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) |