Jump to content

Component: WLAN (EB069, WIZ610wi) (Misc): Difference between revisions

From Flowcode Help
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(4 intermediate revisions by the same user not shown)
Line 62: Line 62:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''CheckForPageRequests'''
| width="90%" class="mtx-class-macrohead" | '''CheckForPageRequests'''
|-
|-
| colspan="2" | To be called periodically. Returns non-zero if a request has been processed 
| colspan="2" | To be called periodically. Returns non-zero if a request has been processed 
Line 76: Line 76:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ConnectToSSID'''
| width="90%" class="mtx-class-macrohead" | '''ConnectToSSID'''
|-
|-
| colspan="2" | Attempts to connect to the given SSID and Key values. Returns 0 if successful. 
| colspan="2" | Attempts to connect to the given SSID and Key values. Returns 0 if successful. 
Line 100: Line 100:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''DisableCommandMode'''
| width="90%" class="mtx-class-macrohead" | '''DisableCommandMode'''
|-
|-
| colspan="2" | Exits command mode 
| colspan="2" | Exits command mode 
Line 114: Line 114:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''EnableCommandMode'''
| width="90%" class="mtx-class-macrohead" | '''EnableCommandMode'''
|-
|-
| colspan="2" | Enables command mode. Must be called before commands are issued. 
| colspan="2" | Enables command mode. Must be called before commands are issued. 
Line 128: Line 128:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetInValue'''
| width="90%" class="mtx-class-macrohead" | '''GetInValue'''
|-
|-
| colspan="2" | Returns the string value of a Request parameter 
| colspan="2" | Returns the string value of a Request parameter 
Line 147: Line 147:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetReply'''
| width="90%" class="mtx-class-macrohead" | '''GetReply'''
|-
|-
| colspan="2" | Returns the last received response to a command. 0 = OK 1 = FAIL_ERR 2 = STX_ERR 3 = CMD_ERR 4 = PARAM_ERR 5 = ETX_ERR 6 = SERIAL 255 = TOUT 
| colspan="2" | Returns the last received response to a command. 0 = OK 1 = FAIL_ERR 2 = STX_ERR 3 = CMD_ERR 4 = PARAM_ERR 5 = ETX_ERR 6 = SERIAL 255 = TOUT 
Line 161: Line 161:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise'''
| width="90%" class="mtx-class-macrohead" | '''Initialise'''
|-
|-
| colspan="2" | Initialise the device with the property data. Returns 0 if successful 
| colspan="2" | Initialise the device with the property data. Returns 0 if successful 
Line 175: Line 175:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadConnectionStatus'''
| width="90%" class="mtx-class-macrohead" | '''ReadConnectionStatus'''
|-
|-
| colspan="2" | Checks the connection status. Returns 0 if not connected, 1 if connected. 
| colspan="2" | Checks the connection status. Returns 0 if not connected, 1 if connected. 
Line 189: Line 189:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReceiveIncoming'''
| width="90%" class="mtx-class-macrohead" | '''ReceiveIncoming'''
|-
|-
| colspan="2" | Returns the received data string 
| colspan="2" | Returns the received data string 
Line 203: Line 203:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SendCommand'''
| width="90%" class="mtx-class-macrohead" | '''SendCommand'''
|-
|-
| colspan="2" | Sends the given command and returns the reply status. (See GetReply for return values) 
| colspan="2" | Sends the given command and returns the reply status. (See GetReply for return values) 
Line 222: Line 222:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SendString'''
| width="90%" class="mtx-class-macrohead" | '''SendString'''
|-
|-
| colspan="2" | Sends the given Text.  Appends a CR/LF pair of characters it CrLf is true. 
| colspan="2" | Sends the given Text.  Appends a CR/LF pair of characters it CrLf is true. 
Line 246: Line 246:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Send_Embedded_HTML_Page1'''
| width="90%" class="mtx-class-macrohead" | '''Send_Embedded_HTML_Page1'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 260: Line 260:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Send_Embedded_HTML_Page2'''
| width="90%" class="mtx-class-macrohead" | '''Send_Embedded_HTML_Page2'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 274: Line 274:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Send_Embedded_HTML_Page3'''
| width="90%" class="mtx-class-macrohead" | '''Send_Embedded_HTML_Page3'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 288: Line 288:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Send_Embedded_HTML_Page4'''
| width="90%" class="mtx-class-macrohead" | '''Send_Embedded_HTML_Page4'''
|-
|-
| colspan="2" |  
| colspan="2" |  
Line 302: Line 302:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetOutValue'''
| width="90%" class="mtx-class-macrohead" | '''SetOutValue'''
|-
|-
| colspan="2" | Set the value of an outbound substitution string 
| colspan="2" | Set the value of an outbound substitution string 
Line 327: Line 327:
{| class="mtx-class-macrotable wikitable"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | IP Address
| width="90%" class="mtx-class-propfolder" | IP Address
|-
|-
|-
|-
Line 355: Line 355:
| colspan="2" | Fourth number in IP address - e.g. 192.168.1.xxx 
| colspan="2" | Fourth number in IP address - e.g. 192.168.1.xxx 
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Subnet Mask
| width="90%" class="mtx-class-propfolder" | Subnet Mask
|-
|-
|-
|-
Line 379: Line 379:
| colspan="2" | Fourth number in Subnet mask - e.g. 255.255.255.xxx   
| colspan="2" | Fourth number in Subnet mask - e.g. 255.255.255.xxx   
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Gateway IP
| width="90%" class="mtx-class-propfolder" | Gateway IP
|-
|-
|-
|-
Line 403: Line 403:
| colspan="2" | Fourth number from IP address used as the gateway to the internet e.g. 192.168.1.xxx 
| colspan="2" | Fourth number from IP address used as the gateway to the internet e.g. 192.168.1.xxx 
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
| width="90%" class="mtx-class-propfolder" | Connections
|-
|-
|-
|-
Line 457: Line 457:
| colspan="2" | Controls if we are assigning IPs to any joing wifi devices or if we are using a fixed IP based system. 
| colspan="2" | Controls if we are assigning IPs to any joing wifi devices or if we are using a fixed IP based system. 
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | DHCP Pool Start IP Address
| width="90%" class="mtx-class-propfolder" | DHCP Pool Start IP Address
|-
|-
|-
|-
Line 481: Line 481:
| colspan="2" | Minimum IP address that can be generated for a joining device under DHCP. 
| colspan="2" | Minimum IP address that can be generated for a joining device under DHCP. 
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | DHCP Pool End IP Address
| width="90%" class="mtx-class-propfolder" | DHCP Pool End IP Address
|-
|-
|-
|-
Line 525: Line 525:
| colspan="2" | The amount of power to use when transmitting signals to other wifi devices. 
| colspan="2" | The amount of power to use when transmitting signals to other wifi devices. 
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | HTML Source
| width="90%" class="mtx-class-propfolder" | HTML Source
|-
|-
|-
|-

Latest revision as of 14:37, 13 July 2026

Author Matrix Ltd.
Version 1.3
Category Misc


WLAN (EB069, WIZ610wi) component

Wireless LAN component designed to work with the WIZ610wi module from Wiznet. Provides a very simple interface to allow webpages to be hosted from hardware or simulation. Also available in the form of the EB069 E-block.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_WLAN.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_WLAN.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

CheckForPageRequests

CheckForPageRequests
To be called periodically. Returns non-zero if a request has been processed 
- BYTE Return


ConnectToSSID

ConnectToSSID
Attempts to connect to the given SSID and Key values. Returns 0 if successful. 
- STRING SSID
 
- STRING Key
 
- BYTE Return


DisableCommandMode

DisableCommandMode
Exits command mode 
- VOID Return


EnableCommandMode

EnableCommandMode
Enables command mode. Must be called before commands are issued. 
- VOID Return


GetInValue

GetInValue
Returns the string value of a Request parameter 
- BYTE index
Index of the request paramter, starting at zero. 
- STRING Return


GetReply

GetReply
Returns the last received response to a command. 0 = OK 1 = FAIL_ERR 2 = STX_ERR 3 = CMD_ERR 4 = PARAM_ERR 5 = ETX_ERR 6 = SERIAL 255 = TOUT 
- BYTE Return


Initialise

Initialise
Initialise the device with the property data. Returns 0 if successful 
- BYTE Return


ReadConnectionStatus

ReadConnectionStatus
Checks the connection status. Returns 0 if not connected, 1 if connected. 
- BYTE Return


ReceiveIncoming

ReceiveIncoming
Returns the received data string 
- STRING Return


SendCommand

SendCommand
Sends the given command and returns the reply status. (See GetReply for return values) 
- STRING Command
 
- BYTE Return


SendString

SendString
Sends the given Text. Appends a CR/LF pair of characters it CrLf is true. 
- STRING Text
 
- BYTE CrLf
 
- VOID Return


Send_Embedded_HTML_Page1

Send_Embedded_HTML_Page1
 
- VOID Return


Send_Embedded_HTML_Page2

Send_Embedded_HTML_Page2
 
- VOID Return


Send_Embedded_HTML_Page3

Send_Embedded_HTML_Page3
 
- VOID Return


Send_Embedded_HTML_Page4

Send_Embedded_HTML_Page4
 
- VOID Return


SetOutValue

SetOutValue
Set the value of an outbound substitution string 
- BYTE index
 
- STRING value
 
- VOID Return


Property reference

Properties
IP Address
IP 0
First number in IP address - e.g. xxx.168.1.1  
IP 1
Second number in IP address - e.g. 192.xxx.1.1  
IP 2
Third number in IP address - e.g. 192.168.xxx.1  
IP 3
Fourth number in IP address - e.g. 192.168.1.xxx 
Subnet Mask
Mask 0
First number in Subnet mask - e.g. xxx.255.255.0  
Mask 1
Second number in Subnet mask - e.g. 255.xxx.255.0  
Mask 2
Third number in Subnet mask - e.g. 255.255.xxx.0  
Mask 3
Fourth number in Subnet mask - e.g. 255.255.255.xxx  
Gateway IP
Gateway 0
First number from IP address used as the gateway to the internet e.g. xxx.168.1.1 
Gateway 1
Second number from IP address used as the gateway to the internet e.g. 192.xxx.1.1 
Gateway 2
Third number from IP address used as the gateway to the internet e.g. 192.168.xxx.1 
Gateway 3
Fourth number from IP address used as the gateway to the internet e.g. 192.168.1.xxx 
Connections
Trigger
WLAN module trigger pin connection 
Reset
WLAN module reset pin connection 
UART
WLAN module UART channel selection 
Tx
WLAN module UART data transmit pin. Connects to receive pin on WLAN module. 
Rx
WLAN module UART data receive pin. Connects to transmit pin on WLAN module. 
SSID
Wireless network identifier string 
SSID Broadcast
Decides if the network is detectable by a nearby Wifi device. 
Server Port
Port number which is being monitored by the server, for starndard webpages port 80 is the default. To specify a non standard port you can enter the custom port number in the URL after a colon like this. 192.168.1.1:8080 - here we use 8080 as an alternative port. 
WLAN Mode
Decides if the WLAN module is configured as a end device (connects to another wifi router) Or as an access point (allowing other wifi devices to connect to it) 
DHCP
Controls if we are assigning IPs to any joing wifi devices or if we are using a fixed IP based system. 
DHCP Pool Start IP Address
Start IP 0
Minimum IP address that can be generated for a joining device under DHCP. 
Start IP 1
Minimum IP address that can be generated for a joining device under DHCP. 
Start IP 2
Minimum IP address that can be generated for a joining device under DHCP. 
Start IP 3
Minimum IP address that can be generated for a joining device under DHCP. 
DHCP Pool End IP Address
End IP 0
Maximum IP address that can be generated for a joining device under DHCP. 
End IP 1
Maximum IP address that can be generated for a joining device under DHCP. 
End IP 2
Maximum IP address that can be generated for a joining device under DHCP. 
End IP 3
Maximum IP address that can be generated for a joining device under DHCP. 
Security
Decides if the security if untouched or reset to open. Security settings can be assigned using the Wiznet control web interface which is built into the modules. 
Channel
Configures the Wifi data channel, setting to auto will allow the device to scan for the best channel for your area and the surounding wifi devices. 
Data Rate
The data rate to try and acheive with the wifi connection. 
Tx Power
The amount of power to use when transmitting signals to other wifi devices. 
HTML Source
Max Web Pages
Maximum number of individual webpages we can serve up with the component. 
Web Page Timeout
Number of cycles to try and send / receive a webpage before timing out. 
Name Page 1
HTML name of webpage 1 
HTML Page 1
HTML content for webpage 1 
Name Page 2
HTML name of webpage 2 
HTML Page 2
HTML content for webpage 2 
Name Page 3
HTML name of webpage 3 
HTML Page 3
HTML content for webpage 3  
Name Page 4
HTML name of webpage 4 
HTML Page 4
HTML content for webpage 4 
Label
Text label used to help identify the component on the panel.