Download Print this page

Omron NS Reference Manual page 36

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
MOVEPOPW
Applicable versions
Format
Function
Return Value
Example
Reference
When setting macro "MOVEPOPW" for ON/OFF button, Word button, Command button and
Multifunction Object on a pop-up screen and moving the pop-up screen, select "Touch Off Timing". If
"Touch On Timing" is selected, the status of the object will be pressed.
Moves pop-up window
System version 2 or higher
MOVEPOPW(n,x,y)
Moves top left of the pop-up window for screen number "n" to the specified
coordinates (x, y).
Setting range for "n" is 0 to 3999. If the value outside of the range or screen
number that does not exist is specified, return value "-1" will be returned. There is
no restriction on setting the value for "x, y". However, set the value for the
coordinate of x and y in order that the objects are displayed inside of the screen.
Part of the screen or whole screen may be deleted depending on the set value.
0: Completed normally
-1: Specified no page
$W0=MOVEPOPW(10, 140, 160);
'Moving pop-up screen page number 10 to the specified position (140, 160), then
return "0" to $W0. 'If pop-up screen is not displayed, return "-1" to $W0.
16

Advertisement

loading

This manual is also suitable for:

Ns-series