Difference between revisions of "Component: Webserver (EB023 v1) (E-blocks 1)"
From Flowcode Help
Jump to navigationJump to searchLine 49: | Line 49: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 55: | Line 57: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===SetOutValue=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 78: | Line 81: | ||
+ | ===Send_Embedded_HTML_Page4=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 91: | Line 95: | ||
+ | ===Send_Embedded_HTML_Page3=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 104: | Line 109: | ||
+ | ===Send_Embedded_HTML_Page2=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 117: | Line 123: | ||
+ | ===Send_Embedded_HTML_Page1=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 130: | Line 137: | ||
+ | ===GetInValue=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 148: | Line 156: | ||
+ | ===CreateServerSocket=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 176: | Line 185: | ||
+ | ===IncRxPtr=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 194: | Line 204: | ||
+ | ===CheckSocketActivity=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 207: | Line 218: | ||
+ | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:53, 3 February 2023
Author | Matrix TSL |
Version | 2.0 |
Category | E-blocks 1 |
Contents
Webserver component
Webserver component designed to work with the NM7010A module from Wiznet, as used in the version 1 EB023 E-block. Provides a very simple interface to allow webpages to be hosted from hardware or simulation.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WebServer_EB023-00-1_EB.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_WebServer_EB023-00-1_EB.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
SetOutValue
![]() |
SetOutValue |
Set the value of an outbound substitution string | |
![]() |
index |
![]() |
value |
![]() |
Return |
Send_Embedded_HTML_Page4
![]() |
Send_Embedded_HTML_Page4 |
![]() |
Return |
Send_Embedded_HTML_Page3
![]() |
Send_Embedded_HTML_Page3 |
![]() |
Return |
Send_Embedded_HTML_Page2
![]() |
Send_Embedded_HTML_Page2 |
![]() |
Return |
Send_Embedded_HTML_Page1
![]() |
Send_Embedded_HTML_Page1 |
![]() |
Return |
GetInValue
![]() |
GetInValue |
Returns the string value of a Request parameter | |
![]() |
index |
![]() |
Return |
CreateServerSocket
![]() |
CreateServerSocket |
Creates a listening socket on the selected channel and port ready to accept incoming web page requests. | |
![]() |
Channel |
![]() |
Port_Hi |
![]() |
Port_Lo |
![]() |
Return |
IncRxPtr
![]() |
IncRxPtr |
![]() |
Channel |
![]() |
Return |
CheckSocketActivity
![]() |
CheckSocketActivity |
Checks for activity on the server socket and serves out the webpages to any requesting parties. | |
![]() |
Return |
Initialise