DAN_FC302_VFD
Danfoss VLT AutomationDrive FC 302 fieldbus driver — FC-profile control-word assembly, status decode, signed N2 reference scaling and edge-sequenced fault reset.
When to use it
Use DAN_FC302_VFD when a Danfoss VLT FC 302 (or FC 301) is commanded over PROFINET, PROFIBUS, EtherNet/IP or Modbus with par. 8-10 Control Word Profile = [0] FC profile, and the PLC program needs start/stop, direction, speed reference and drive diagnostics without hand-assembling the telegram.
Interface
The published port signature. This is the whole of what the block exposes to your program — the implementation body is not shown here and ships with the download.
Inputs
| Port | Type | Unit |
|---|---|---|
| ENABLE | BOOL | — |
| RUN | BOOL | — |
| DIR | BOOL | — |
| SPD_REF | REAL | % of ref span |
| SEL_RAMP_2 | BOOL | — |
| STATUS_WORD | WORD | — |
| MAV_RAW | INT | — |
| COMM_OK | BOOL | — |
| COMM_TMO | TIME | — |
| CMD_COAST | BOOL | — |
| CMD_DC_BRAKE | BOOL | — |
| CMD_QUICK_STOP | BOOL | — |
| CMD_FREEZE_REF | BOOL | — |
| FAULT_RST | BOOL | — |
| RST_PULSE_T | TIME | — |
| AUTO_RESTART | BOOL | — |
Outputs
| Port | Type | Unit |
|---|---|---|
| CTRL_WORD | WORD | — |
| MRV_RAW | INT | — |
| SPEED_PCT | REAL | % of ref span |
| SPD_ACT | REAL | % of ref span |
| READY | BOOL | — |
| RUNNING | BOOL | — |
| AT_SPEED | BOOL | — |
| DRV_STATE | USINT | — |
| START_INHIBIT | BOOL | — |
| FAULT_CODE | UINT | — |
| ALM_TRIPPED | BOOL | — |
| ALM_WARNING | BOOL | — |
| ALM_TLG_STALE | BOOL | — |
| ALM_NOT_BUS_CTRL | BOOL | — |
| ALM_DC_LINK | BOOL | — |
| ALM_TORQUE_LIMIT | BOOL | — |
| ALM_THERMAL | BOOL | — |
IEC 61499 event interface
EI INIT, REQ·EO INITO, CNF
Supervised control write
DAN_FC302_VFD commands a real actuator. It is written to sit underneath your own interlock, permissive and protection logic — not to replace it. Commission it as you would any control block you wrote yourself.
Validation evidence
- Tests
- 18
- Simulated scans
- 183
- Simulator
- v0.1.0
Complete IEC 61131-3 implementation with a published test suite that runs on the vplant simulator. The counts above are that suite, executed on this build.
- Conforms to IEC 61131-3
- Conforms to IEC 61499
Download DAN_FC302_VFD — free
Create a free Ri Tech account to download the block. You get the Structured Text body, the Rockwell Add-On Instruction (.L5X), the Schneider Control Expert DFB (.XDB), PLCopen XML, the IEC 61499 function block type (.fbt) and the datasheet.
Every block in the catalogue is free to download, in every format, with no purchase and no card. Browsing needs no account at all; downloading needs a signed-in one, so the block lands in your library and re-downloads whenever you need it.
Source is never published on this page. The implementation is released to a signed-in Ri Tech account — free of charge, but never anonymously.