... | ... | @@ -58,7 +58,7 @@ The `cdsFiltCtrl` block adds two additional inputs and 1 additional output. |
|
|
| Cin | Control input. A bitfield containing controls bits for the filter provided by the realtime logic, instead of EPICS channels like in the `cdsFilt` case. |
|
|
|
| Mask | Local control (LC) bitfield mask. This specifies the control bits that are controlled by the models realtime logic, instead of EPICS channels like in the `cdsFilt` case.|
|
|
|
| Val | The output sample, same as `cdsFilt`. |
|
|
|
| Ctrl | The current commanded control state of the filter module. This include the state from the EPICS channels overridden by any control bits provided to Cin and masked by the Mask input. |
|
|
|
| Ctrl | The current commanded control state of the filter module. This includes the state from the EPICS channels overridden by any control bits provided to Cin and masked by the Mask input. |
|
|
|
|
|
|
#### Cin/Mask Explanation
|
|
|
When valid bits are set in the Mask input, the filter module will use the corresponding bits from the Cin input instead of the normal `_SW1` and `_SW2` EPICS channels. This allows the realtime model to control a subset of the filters control flags. When these options are controlled in this manner, we call it being under "local control". The medm screens will draw a yellow "LC" by elements displayed on the filter screen that are being masked (corresponding bits high in Mask input).
|
... | ... | @@ -79,14 +79,19 @@ The `cdsFiltCtrl2` is the same as the `cdsFiltCtrl` part, except for some rename |
|
|
| --------- | -------- |
|
|
|
| Input | Input sample, same as `cdsFilt`. |
|
|
|
| CtrlIn | Control input. A bitfield containing controls bits for the filter provided by the realtime logic, instead of EPICS channels like in the `cdsFilt` case. |
|
|
|
| Mask | Local control (LC) bitfield mask. This specifies the control bits that are controlled by the models realtime logic, instead of EPICS channels like in the `cdsFilt` case.|
|
|
|
| OffsetIn | An offset value that should be used when masked and enabled with CtrlIn. |
|
|
|
| GainIn | A Gain value that should be used when masked and enabled with CtrlIn. |
|
|
|
| RampIN | A TRAMP value that should be used when masked and enabled with CtrlIn |
|
|
|
| Val | The output sample, same as `cdsFilt`. |
|
|
|
| Ctrl | The current commanded control state of the filter module. This include the state from the EPICS channels overridden by any control bits provided to Cin and masked by the Mask input. |
|
|
|
| Mask | Local control (LC) bitfield mask. This specifies the control bits that are controlled by the model's realtime logic, instead of EPICS channels like in the `cdsFilt` case.|
|
|
|
| OffsetIn | An offset value that should be used when masked and enabled with Mask/CtrlIn. |
|
|
|
| GainIn | A Gain value that should be used when masked and enabled with Mask/CtrlIn. |
|
|
|
| RampIN | A TRAMP value that should be used when masked and enabled with Mask/CtrlIn |
|
|
|
| Output | The output sample, same as `cdsFilt`. |
|
|
|
| CtrlOut | The current commanded control state of the filter module. This includes the state from the EPICS channels overridden by any control bits provided to Cin and masked by the Mask input. |
|
|
|
| OffsetOut | The offset currently being used by the filter module. This will be the OffsetIn if that option is masked by the Mask input and the EPICS channel `_OFFSET` if not. |
|
|
|
| GainOut | The Gain currently being used by the filter module. This will be the GainIn if that option is masked by the Mask input and the EPICS channel `_GAIN` if not. |
|
|
|
| RampOut | The offset currently being used by the filter module. This will be the RampIn if that option is masked by the Mask input and the EPICS channel `_TRAMP` if not. |
|
|
|
|
|
|
#### CtrlIn and Mask Explanation
|
|
|
> 
|
|
|
|
|
|
This is the same bit order as the `cdsFiltCtrl`, however there are now three additional most significant bits that mask/control if the module should use the offset, gain and ramp provided by the realtime model instead of the EPICS inputs.
|
|
|
|
|
|
|