Jump to content

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

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead""
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%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
|-
|-

Revision as of 14:21, 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.