
Programming
48
Modero S Series Touch Panels - Configuration & Programming Manual
Page Commands (Cont.)
@PSP
Set the show effect position. Only 1 coordinate is ever needed for an effect; however, the command will specify both. This
command sets the location at which the effect will begin.
• Syntax:
"'@PSP-<popup page name>;<x coordinate>,<y coordinate>'"
• Variables:
popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.
• Example:
SEND_COMMAND Panel,"'@PSP-Popup1;100,0'"
Sets the Popup1 show effect x-coordinate value to 100 and the y-coordinate value to 0.
@PST
Set the show effect time for the specified popup page.
• Syntax:
"'@PST-<popup page name>;<show effect time>'"
• Variables:
popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.
show effect time = Given in 1/10ths of a second.
• Example:
SEND_COMMAND Panel,"'@PST-Popup1;50'"
Sets the Popup1 show effect time to 5 seconds.
PAGE
Flips to a page with a specified page name. If the page is currently active, it will not redraw the page.
• Syntax:
"'PAGE-<page name>'"
• Variables:
page name = 1 - 50 ASCII characters. Name of the page is displayed On. If left blank, the page flips back to the previous page.
• Example:
SEND_COMMAND Panel,"'PAGE-Page1'"
Flips to page1.
SEND_COMMAND Panel,"'PAGE-'"
Flips to the previous page.
PPOF
Deactivate a specific popup page on either a specified page or the current page.
If the page name is empty, the current page is
used (see example 2).
If the popup page is part of a group, the whole group is deactivated. This command works in the same way
as the ’Hide Popup’ command in TPDesign4.
• Syntax:
"'PPOF-<popup page name>;<page name>'"
• Variables:
popup page name = 1 - 50 ASCII characters. Name of the popup page.
page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.
• Example:
SEND_COMMAND Panel,"'PPOF-Popup1;Main'"
Deactivates the popup page ’Popup1’ on the Main page.
• Example:
SEND_COMMAND Panel,"'PPOF-Popup1'"
Deactivates the popup page ’Popup1’ on the current page.
PPOG
Toggle a specific popup page on either a specified page or the current page.
If the page name is empty, the current page is used
(see example 2).
Toggling refers to the activating/deactivating (On/Off) of a popup page. This command works in the same way as
the ’Toggle Popup’ command in TPDesign4.
• Syntax:
"'PPOG-<popup page name>;<page name>'"
• Variables:
popup page name = 1 - 50 ASCII characters. Name of the popup page.
page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.
• Example:
SEND_COMMAND Panel,"'PPOG-Popup1;Main'"
Toggles the popup page ’Popup1’ on the Main page from one state to another (On/Off).
• Example:
SEND_COMMAND Panel,"'PPOG-Popup1'"
Toggles the popup page ’Popup1’ on the current page from one state to another (On/Off).