FB_SimCoE402_Inverter_CSVM
![FB_SimCoE402_Inverter_CSVM 1:](Images/jpg/9007213571342475__Web.jpg)
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 frequency inverters that implement a servo-like architecture and that match the interfaces implemented by the adapter FB for this type of drives. Mapping is done in the same way as for the real drive unit.
Syntax:
FUNCTION_BLOCK FB_SimCoE402_Inverter_CSVM EXTENDS FB_SimCoE402_Inverter
VAR_INPUT
Outputs AT %I* : ST_CoE402_CSVM_Outputs;
Inputs AT %Q* : ST_CoE402_CSVM_Inputs;
END_VAR
I/O variables
Name | Type | Direction | Description |
---|---|---|---|
EtC_Device | FB_Etc_SimDevice | Output | Simulated EtherCAT diagnostic signals |
Outputs | ST_CoE402_CSVM_Outputs | Input | The mapping interface for the inverter outputs. |
Inputs | ST_CoE402_CSVM_Inputs | Output | The mapping interface for the inverter inputs. |
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 | The factor used to exchange turn rates with the device. |
RampTime | LREAL | Get, Set | Here the time for the ramp from zero to MaxTurnRate or vice versa is defined. |
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() | This method must be called cyclically by the application. |
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) |