connect()
Description
Establishes a connection between this gateway and a ModbusMasterNode
object, which corresponds to a channel and node number.
Syntax
gateway.connect(node)
Parameters
gateway
: ModbusGateway
object.
node
: ModbusMasterNode
object, which corresponds to a channel and node number.
Return
bool
: If successful, return true
, otherwise return false
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|
See Also
Library Reference Main Page
The text of the 86Duino reference material follows the Creative Commons Attribution-Share Alike 3.0 License. The code examples in the reference material have been released into the public domain.