Chapter 4. Interaction between WESCL and HTML-browser

Table of Contents
HTML-browser to WESCL communication
WESCL to HTML-browser communication
Compile WESCL programs

The internal cgi-bin program called wescl makes it possible to interchange data between WESCL and HTML-browser.

HTML-browser to WESCL communication

All WESCL registers can be remote-controlled by HTML browser using the invocation of the cgi-bin wescl with parameters (the parameter's syntax must conform to the RFC 1738):


 wescl?register_name=variable

or


 wescl?register_name1=variable1&register_name2=variable2

Example 4-1. Setting register by HTML-browser


 http://webembed/wescl?M0=123&B1=-456&A0=Hello%20I'm%20WESCL!
M0 is set to 123, B1 is set to -456 and "Hello I'm WESCL!" string is assigned to A0.