Difference between revisions of "Component: Webserver (WIZ810MJ) (Comms: Networking)"
From Flowcode Help
Jump to navigationJump to search| Line 77: | Line 77: | ||
| ''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 537: | Line 539: | ||
| | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
| |} | |} | ||
| − | |||
| − | |||
Revision as of 12:22, 3 February 2023
| Author | Matrix Ltd. | 
| Version | 2.0 | 
| Category | Comms: Networking | 
Contents
- 1 Webserver (WIZ810MJ) component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 CheckSocketActivity
- 5.2 CreateServerSocket
- 5.3 GetInValue
- 5.4 IncRxPtr
- 5.5 Initialise
- 5.6 MIAC_Module_GetData
- 5.7 MIAC_Module_Message
- 5.8 MIAC_Module_PushData
- 5.9 MIAC_Module_SetData
- 5.10 Send_Embedded_HTML_Page1
- 5.11 Send_Embedded_HTML_Page2
- 5.12 Send_Embedded_HTML_Page3
- 5.13 Send_Embedded_HTML_Page4
- 5.14 SetOutValue
- 5.15 WM_CH_CR
- 5.16 WM_CH_IR
- 5.17 WM_CH_MR
- 5.18 WM_CH_PORT
- 5.19 WM_CH_RX_RSR
- 5.20 WM_CH_SR
- 5.21 WM_CH_TX_WR
- 5.22 WM_RXMEM
- 5.23 WM_TXMEM
 
- 6 Property reference
Webserver (WIZ810MJ) component
Webserver component designed to work with the WIZ810MJ module from Wiznet, as used in the version 2 EB023 E-block and MIAC System Industrial Addon. 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_temp/WebServer_WIZ810MJ.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/WebServer_WIZ810MJ.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
CheckSocketActivity
|   | CheckSocketActivity | 
| Checks for activity on the server socket and serves out the webpages to any requesting parties. | |
|  - BYTE | Return | 
CreateServerSocket
|   | CreateServerSocket | 
| Creates a listening socket on the selected channel and port ready to accept incoming web page requests. | |
|  - BYTE | Channel | 
|  - UINT | Port | 
|  - BYTE | Return | 
GetInValue
|   | GetInValue | 
| Returns the string value of a Request parameter | |
|  - BYTE | index | 
|  - STRING | Return | 
IncRxPtr
|   | IncRxPtr | 
|  - BYTE | Channel | 
|  - VOID | Return | 
Initialise
MIAC_Module_GetData
|   | MIAC_Module_GetData | 
|  - BYTE | Index | 
|  - BYTE | Return | 
MIAC_Module_Message
|   | MIAC_Module_Message | 
|  - UINT | CAN_ID | 
|  - UINT | CMD_ID | 
|  - BYTE | Return | 
MIAC_Module_PushData
|   | MIAC_Module_PushData | 
|  - BYTE | Data | 
|  - VOID | Return | 
MIAC_Module_SetData
|   | MIAC_Module_SetData | 
|  - BYTE | Count | 
|  - BYTE | D0 | 
|  - BYTE | D1 | 
|  - BYTE | D2 | 
|  - BYTE | D3 | 
|  - BYTE | D4 | 
|  - BYTE | D5 | 
|  - 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 | 
WM_CH_CR
|   | WM_CH_CR | 
|  - BYTE | ch | 
|  - UINT | Return | 
WM_CH_IR
|   | WM_CH_IR | 
|  - BYTE | ch | 
|  - UINT | Return | 
WM_CH_MR
|   | WM_CH_MR | 
|  - BYTE | ch | 
|  - UINT | Return | 
WM_CH_PORT
|   | WM_CH_PORT | 
|  - BYTE | ch | 
|  - UINT | Return | 
WM_CH_RX_RSR
|   | WM_CH_RX_RSR | 
|  - BYTE | ch | 
|  - UINT | Return | 
WM_CH_SR
|   | WM_CH_SR | 
|  - BYTE | ch | 
|  - UINT | Return | 
WM_CH_TX_WR
|   | WM_CH_TX_WR | 
|  - BYTE | ch | 
|  - UINT | Return | 
WM_RXMEM
|   | WM_RXMEM | 
|  - BYTE | ch | 
|  - UINT | Return | 
WM_TXMEM
|   | WM_TXMEM | 
|  - BYTE | ch | 
|  - UINT | Return | 








