@@ -37,6 +37,9 @@ def __init__(
3737 ) -> None :
3838 """Subcontroller for a SECoP command.
3939
40+ This class is automatically added as a subcontroller by
41+ :py:obj:`SecopModuleController` for command-type parameters.
42+
4043 Args:
4144 connection: The connection to use.
4245 module_name: The module in which this command is defined.
@@ -134,8 +137,8 @@ def __init__(
134137 ) -> None :
135138 """FastCS controller for a SECoP module.
136139
137- Instances of this class are added as subcontrollers by
138- :py:obj:`SecopController`.
140+ This class is automatically added as a subcontroller by
141+ :py:obj:`SecopController` for each present SECoP module .
139142
140143 Args:
141144 connection: The connection to use.
@@ -217,6 +220,29 @@ class SecopController(Controller):
217220 def __init__ (self , settings : IPConnectionSettings , quirks : SecopQuirks | None = None ) -> None :
218221 """FastCS Controller for a SECoP node.
219222
223+ The intended usage is via :py:obj:`fastcs.control_system.FastCS`:
224+
225+ .. code-block:: python
226+
227+ from fastcs_secop import SecopController, SecopQuirks
228+ from fastcs.control_system import FastCS
229+
230+ controller = SecopController(
231+ settings=IPConnectionSettings(ip="127.0.0.1", port=1234),
232+ quirks=SecopQuirks(...),
233+ )
234+
235+ transports = [...]
236+
237+ fastcs = FastCS(
238+ controller,
239+ transports,
240+ )
241+ fastcs.run()
242+
243+ See Also:
244+ :ref:`example_ca_ioc` and :ref:`example_pva_ioc` for examples of full configurations
245+
220246 Args:
221247 settings: The communication settings (e.g. IP address, port) at which
222248 the SECoP node is reachable.
0 commit comments