Skip to content

Commit 64ab3b7

Browse files
authored
Small fixes on user manual and symbolic link addition (#1918)
1 parent 2bdebfa commit 64ab3b7

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md

+1-9
Original file line numberDiff line numberDiff line change
@@ -2018,16 +2018,8 @@ LL LL LL LL LL HH LL LL LL LL LL LL LL LL LL LL
20182018

20192019
![Digital Input wiring example](assets/limit-switch.gif)
20202020

2021-
***General note:
2022-
The library supports the OptaController.getExpansionNum()
2021+
***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.***
20232022

2024-
This function always returns the number of expansions discovered during the last discovery / assign I2C address process.
2025-
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.
2026-
2027-
To know if an expansion is missing, register a callback using setFailedCommCb(cb) (available on all the Expansion classes).
2028-
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.
2029-
2030-
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.***
20312023
#### Analog
20322024

20332025
<table>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../hardware/07.opta/opta-family/opta/tutorials/17.opta-expansions-plc-ide/

0 commit comments

Comments
 (0)