Commands and functions
P.
261 of 349
Pbutton
Definition
●
Function
pbutton
(
id,page_id
)
Arguments
●
Argument
id
of data type u08. This argument must not change at the runtime of the
program.
●
Argument
page_id
of data type u08. This argument must not change at the runtime of the
program.
Effect
●
By operating the button of a web button element that refers to a page (e.g.
pbutton
or
pshifter
) with the
id
(page 265 and the following) on the web page of
page_id
, the function
assumes a value not equal to zero for the duration of one processing pass, and zero in all
other cases.
●
For a
pbutton
element, the return value when operated is 1.
●
For a
pshifter
element, the return value when operated is 1, 2, 3 or 4 (u08) depending on
the actually operated element of the web button. The return values refer to the order of the
buttons (from left to right).
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]