mbusSlaveConfigAddress (Function) |
Top Previous Next |
This function is used to change the primary address of a wired M-Bus slave.
Input: handle : SYSHANDLE A handle to the connection
new_addr : INT (1..250) The new address to use.
pri_addr : INT default -1 The primary address for the slave to configure. Use -1 to use the secondary address instead.
sec_addr : STRING The secondary address for the slave to configure. Used if the primary address is -1.
Returns: INT
Declaration: FUNCTION mbusSlaveConfigAddress : INT;
Example: INCLUDE rtcu.inc
|