Difference between revisions of "Component: Zigbee (EB051, XBEE) (XBEE) (Wireless)"
From Flowcode Help
Jump to navigationJump to search(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Zigbee.fcfx FC_Comp_Source_Zigbee.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Zigbee.fcfx FC_Comp_Source_Zigbee.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
+ | |||
+ | |||
Line 545: | Line 549: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Latest revision as of 13:13, 7 February 2023
Author | Matrix Ltd. |
Version | 1.5 |
Category | Wireless |
Contents
- 1 Zigbee (EB051, XBEE) component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 ConnectFromLibrary
- 5.2 ConnectToAddress
- 5.3 ConnectToAll
- 5.4 ConnectToCoordinator
- 5.5 ConnectToName
- 5.6 EnterCommandMode
- 5.7 ExitCommandMode
- 5.8 GetATResponse
- 5.9 GetSignalLevel
- 5.10 InitNetwork
- 5.11 MIAC_Module_GetData
- 5.12 MIAC_Module_Message
- 5.13 MIAC_Module_PushData
- 5.14 NodeConfigureSleep
- 5.15 NodeWake
- 5.16 ReadATResponse
- 5.17 ReadAddressFromBuffer
- 5.18 ReadNameFromBuffer
- 5.19 ReceiveChar
- 5.20 RestartNetwork
- 5.21 ScanBuffer
- 5.22 ScanNetwork
- 5.23 SendATCommand
- 5.24 SendChar
- 5.25 StoreParams
- 6 Property reference
Zigbee (EB051, XBEE) component
Zigbee component designed to work with the XBEE range of modules from Digi. Provides a very simple interface to allow Zigbee mesh networks and communications. Also available in the form of the EB051 Zigbee E-block. Can also be used with Zigbee MIAC Addon module
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Zigbee.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Zigbee.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ConnectFromLibrary
![]() |
ConnectFromLibrary |
Attempts to connect the data channel to a known device on the network. | |
![]() |
Mode |
![]() |
Device |
![]() |
Return |
ConnectToAddress
![]() |
ConnectToAddress |
Attempts to connect the data channel to a specific device address on the network. | |
![]() |
Address |
![]() |
Return |
ConnectToAll
![]() |
ConnectToAll |
Attempts to connect the data channel to all devices on the network. | |
![]() |
Return |
ConnectToCoordinator
![]() |
ConnectToCoordinator |
Attempts to connect the data channel to the network coordinator node. | |
![]() |
Return |
ConnectToName
![]() |
ConnectToName |
Attempts to connect the data channel to a named device on the network. | |
![]() |
Name |
![]() |
Return |
EnterCommandMode
![]() |
EnterCommandMode |
Moves from data mode into command mode by sending the special characters | |
![]() |
Return |
ExitCommandMode
![]() |
ExitCommandMode |
Returns from command mode to allow data to be sent and received | |
![]() |
Return |
GetATResponse
![]() |
GetATResponse |
Waits for a response from the Zigbee module. If the Logging parameter is set then the response is stored in memory allowing the software to read the reply. | |
![]() |
Logging |
![]() |
Return |
GetSignalLevel
![]() |
GetSignalLevel |
Returns the signal strength of the last signal received | |
![]() |
Return |
InitNetwork
![]() |
InitNetwork |
Initialises the Zigbee module and attempts to setup or join the network | |
![]() |
Return |
MIAC_Module_GetData
![]() |
MIAC_Module_GetData |
![]() |
Index |
![]() |
Return |
MIAC_Module_Message
![]() |
MIAC_Module_Message |
![]() |
CAN_ID |
![]() |
CMD_ID |
![]() |
Return |
MIAC_Module_PushData
![]() |
MIAC_Module_PushData |
![]() |
Data |
![]() |
Return |
NodeConfigureSleep
NodeWake
![]() |
NodeWake |
Wakes up the local Zigbee module from sleep mode. | |
![]() |
Return |
ReadATResponse
![]() |
ReadATResponse |
Reads a single byte from the received AT command response. | |
![]() |
idx |
Specified the byte index in the buffer. Range 0-15 | |
![]() |
Return |
ReadAddressFromBuffer
![]() |
ReadAddressFromBuffer |
Reads a byte from a 16-bit Zigbee device address | |
![]() |
Device |
![]() |
Idx |
![]() |
Return |
ReadNameFromBuffer
![]() |
ReadNameFromBuffer |
Returns a byte from the 8-Byte name | |
![]() |
Device |
The Device name to collect. Range: 0-7 | |
![]() |
Idx |
The index position of the name. Range: 0-7 | |
![]() |
Return |
ReceiveChar
![]() |
ReceiveChar |
Attempt to receive a byte from the Zigbee module. | |
![]() |
nTimeout |
![]() |
Return |
RestartNetwork
![]() |
RestartNetwork |
Attempts to restart the network | |
![]() |
Return |
ScanBuffer
![]() |
ScanBuffer |
Returns a binary list of matched identifier names | |
![]() |
Compare_Str |
![]() |
Length |
![]() |
Return |
ScanNetwork
SendATCommand
![]() |
SendATCommand |
Transmits a string of values to the Zigbee module. | |
![]() |
Command |
Transmits a command to the Zigbee module followed by a carriage return | |
![]() |
Return |
SendChar
![]() |
SendChar |
Transmits a byte value to the Zigbee module. | |
![]() |
Byte |
Data byte to transmit. Range 0-255 | |
![]() |
Return |
StoreParams
![]() |
StoreParams |
Stores the current register set into the Zigbee module's non volatile memory | |
![]() |
Return |