CEM_MIX_RATIO_TRIM
Applies up to three quality corrections to the shares of a two- to four-feeder recipe: paired components move, one balance component takes the opposite, every share inside its approved limits, the shares always add up to 100 %.
When to use it
Use CEM_MIX_RATIO_TRIM when a raw mill or blending system is fed by two to four weigh feeders in proportion to a base recipe and laboratory corrections (lime saturation factor, silica modulus, alumina modulus) must move the shares without breaking the sum or the approved limits; one instance per mill, four components and three corrections at most.
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 | — |
| N_COMP | INT | — |
| BASE_1 | REAL | % |
| BASE_2 | REAL | % |
| BASE_3 | REAL | % |
| BASE_4 | REAL | % |
| BIAS_1 | REAL | % |
| BIAS_2 | REAL | % |
| BIAS_3 | REAL | % |
| BIAS_OK_1 | BOOL | — |
| BIAS_OK_2 | BOOL | — |
| BIAS_OK_3 | BOOL | — |
| TRIM_ON | BOOL | — |
| USE_BASE | BOOL | — |
| PAIR_1 | INT | — |
| PAIR_2 | INT | — |
| PAIR_3 | INT | — |
| BAL_COMP | INT | — |
| MIN_PCT_1 | REAL | % |
| MIN_PCT_2 | REAL | % |
| MIN_PCT_3 | REAL | % |
| MIN_PCT_4 | REAL | % |
| MAX_PCT_1 | REAL | % |
| MAX_PCT_2 | REAL | % |
| MAX_PCT_3 | REAL | % |
| MAX_PCT_4 | REAL | % |
| RATIO_RATE | REAL | %/min |
Outputs
| Port | Type | Unit |
|---|---|---|
| RATIO_1 | REAL | fraction |
| RATIO_2 | REAL | fraction |
| RATIO_3 | REAL | fraction |
| RATIO_4 | REAL | fraction |
| TRIM_1 | REAL | % |
| TRIM_2 | REAL | % |
| TRIM_3 | REAL | % |
| TRIM_4 | REAL | % |
| TRIM_ACTIVE | BOOL | — |
| USING_BASE | BOOL | — |
| MOVING | BOOL | — |
| AT_LIMIT | BOOL | — |
| LIMITED_COMP | INT | — |
| ALM_TRIM_LIMIT | BOOL | — |
| ALM_BIAS_LOST | BOOL | — |
| ALM_CFG_ERR | BOOL | — |
IEC 61499 event interface
EI INIT, REQ·EO INITO, CNF
Validation evidence
- Tests
- 11
- Simulated scans
- 3025
- 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 CEM_MIX_RATIO_TRIM — 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 it ships, 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.