PLBWEB_Menu Keyword


     PLBWEB_MENU={ '~' | HtmlFileName | PlcProgName }

 

This keyword defines the default behavior that occurs as the runtime terminates after a PL/B Web program stops execution normally by shutting down.

 

The ‘SETMODE *PlbWebMenuUrl’ instruction can be also be used.

 

 If this keyword is not specified in the PLBWEBSRV.INI file or the keyword is assigned to be null, the default behavior causes the last PL/B Web Client URL to be executed again which is the same behavior as a browser reload\refresh action.

 

The assigned keyword string is defined as follows:

PLBWEB_MENU=
In this case, the last PL/B Web Client URL that was used to invoke the logon operation is executed again with the same behavior as a browser reload\refresh action.
PLBWEB_MENU=~
In this case, the PL/B Web runtime initiates the execution of the ‘plbwebclose.html’ Web page when the runtime terminates after a PL/B program shuts down.
PLBWEB_MENU={HtmlFileName}
In this case, the PL/B Web runtime initiates the execution of an user defined Web page specified by {HtmlFileName}. The {HtmlFileName} Web page file MUST be located in the directory specified by the PLBWEB_ ROOT keyword.

     Examples:

     PLBWEB_MENU=UserClose.html

     PLBWEB_MENU=index.html

PLBWEB_MENU={PlcProgName}
In this case, the PL/B Web runtime initiates the execution of the PL/B program specified by {PlcProgName}. This causes the browser client to logon to the PL/B Web Server to execute the specified PL/B program.

     Example:

     PLBWEB_MENU=answer.plc

 

 

See Also: PLBWEBSRV Keywords, Server Command Line



PL/B Web Server ADMIN_MAINLOGON ADMIN_PORTNUM