From e8fa2118894047655bcf6873be21777f78a91b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Caro=20Linares?= Date: Mon, 6 May 2024 14:59:42 +0200 Subject: [PATCH] Small fixes on user manual and symbolic link addition --- .../opta/tutorials/01.user-manual/content.md | 10 +--------- .../plc-ide/tutorials/17.opta-expansions-plc-ide | 1 + 2 files changed, 2 insertions(+), 9 deletions(-) create mode 120000 content/software/plc-ide/tutorials/17.opta-expansions-plc-ide diff --git a/content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md b/content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md index 3d8b4636a9..6f2baee287 100644 --- a/content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md +++ b/content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md @@ -2018,16 +2018,8 @@ LL LL LL LL LL HH LL LL LL LL LL LL LL LL LL LL ![Digital Input wiring example](assets/limit-switch.gif) -***General note: -The library supports the OptaController.getExpansionNum() +***General note: The library supports the OptaController.getExpansionNum(). This function always returns the number of expansions discovered during the last discovery / assign I2C address process. Since the discovery process is NOT performed if an expansion is removed or powered down, the value returned by this function DOES NOT change in case of the removal of one Expansion. To know if an expansion is missing, register a callback using setFailedCommCb(cb) (available on all the Expansion classes). The callback will be called any time an I2C expected answer is not received by the controller, allowing the user to know that expansion is missing. No "heartbeat" function is provided to understand if an expansion is missing since having an expansion and not regularly communicating with it is not a behavior meant by design.*** -This function always returns the number of expansions discovered during the last discovery / assign I2C address process. -Since the discovery process is NOT performed if an expansion is removed or powered down, the value returned by this function DOES NOT change in case of the removal of one Expansion. - -To know if an expansion is missing, register a callback using setFailedCommCb(cb) (available on all the Expansion classes). -The callback will be called any time an I2C expected answer is not received by the controller, allowing the user to know that expansion is missing. - -No "heartbeat" function is provided to understand if an expansion is missing since having an expansion and not regularly communicating with it is not a behavior meant by design.*** #### Analog diff --git a/content/software/plc-ide/tutorials/17.opta-expansions-plc-ide b/content/software/plc-ide/tutorials/17.opta-expansions-plc-ide new file mode 120000 index 0000000000..79c4039dd3 --- /dev/null +++ b/content/software/plc-ide/tutorials/17.opta-expansions-plc-ide @@ -0,0 +1 @@ +../../../hardware/07.opta/opta-family/opta/tutorials/17.opta-expansions-plc-ide/ \ No newline at end of file