FB_OcaGain

The function block FB_OcaGain provides properties and methods for handling OCA objects for gain adjustment.
![]() | No explicit call Since there is no code in the body of the function block, it should not be called explicitly. Instead, use the corresponding methods of the function block. |
Inheritance hierarchy
FB_OcaRoot
FB_OcaWorker
FB_OcaActuator
FB_OcaGain
Methods
Name | Definition location | Description |
---|---|---|
Local | Used to query the properties Gain, GainMAX and GainMIN of the OCA object. If the query was successful, the result is output in the properties stGain, stGainMAX and stGainMIN. | |
Local | Use this method to set the gain of an OCA object in dB. If the method was executed successfully, the result is output in the property stGain. | |
Local | If the OCA object was prompted to notify changes (using the Subscription method), this method is used to read incoming notifications. |
Properties
Name | Type | Access | Definition location | Description |
---|---|---|---|---|
stGain | Get | Local | Gain in dB | |
stGainMAX | Get | Local | Maximum gain value in dB | |
stGainMIN | Get | Local | Minimum gain value in dB |
![]() | AES70 standard The names of variables and function blocks have been adapted to the AES70 standard where possible. Information about this communication protocol can be found at www.aes.org and www.ocaalliance.com. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4022.2 or higher | PC or CX (x64, x86, ARM) | Tc3_AES70 |
See also: Example for using the function block FB_OcaGain