FB_SimCoE402_Inverter_VM
This simulation corresponds to an inverter axis and can be used to replace a real inverter drive by providing compatible mapping elements and emulating behavior very similar to that of a real axis.
The FB provides mapping elements for CoE interfaces of basic frequency inverters (FI) that match the interfaces implemented by the adapter FB for this drive type. Mapping is done in the same way as for the real drive unit.
Syntax:
FUNCTION_BLOCK FB_SimCoE402_Inverter_VM EXTENDS FB_SimCoE402_Inverter
VAR_INPUT
IO : FB_CoE402_InverterAdapt;
END_VAR
I/O variables
Name | Type | Direction | Description |
---|---|---|---|
EtC_Device | FB_Etc_SimDevice | Output | Simulated EtherCAT diagnostic signals. |
I/O | FB_CoE402_InverterAdapt | Input/Output | The mapping interface for the inverter axis. |
Properties
Name | Type | Access | Description |
---|---|---|---|
CycleTime | LREAL | Get, Set | Cycle time with which the simulation is executed. |
Load | LREAL | Get, Set | Here you can specify a load that is claimed by a simulated process. |
MaxTurnRate | LREAL | Get, Set | The maximum turn rate of the drive. |
MinTurnrate | LREAL | Get, Set | A minimum turn rate can be specified here. If a value > 0.0 is specified, the drive ignores set turn rates below this threshold and a dead band is created. If the default is less than 10 RPM, it is assumed that the inverter supports vector control. |
OutputFactor | LREAL | Get, Set | Multiplier for the output. |
RampTime | LREAL | Get, Set | Here the time for the ramp from zero to |
ReferenceLoad | LREAL | Get, Set | A reference value for Load. |
VectorControlled | BOOL | Get | A TRUE specifies that the actual turn rate is load independent. If FALSE, the inverter responds to a load torque with a proportional slip. The simulation assumes a slip of 0 to 50 % for a load of 0 to 100 % of the reference load. |
Methods
Name | Description |
---|---|
Cyclic() | Cycle method |
TriggerError() | A call to this method places the simulated drive into the error state. |
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) |