Commands and functions
P.
214 of 349
Sleep - passive mode
Definition
●
Function
sleep
(
status
)
Arguments
●
1 argument
status
of data type b01.
Effect
●
If the input's value is
OFF
, the Enertex® EibPC sends outbound EIB telegrams and UDP
packets to their respective output queue. If the input's value is
ON
, outbound EIB
telegrams and UDP packets are discarded, i.e. they are not sent to their respective output
queue. Data which are already located in an output queue are not discarded and are
written to the bus or the Ethernet in case of the availability of the respective interface.
Data type result (Return)
●
none
Example: Put the Enertex® EibPC to passive mode
You want to put an Enertex® EibPC to passive mode through the group address 2/5/6 (b01).
Implementation in the user program:
if '2/5/6'b01 then sleep(EIN) else sleep(AUS) endif
Note:
This function is helpful when testing a program in an existing system without actually writing to the
bus. Without disrupting users or the program of another Enertex® EibPC, new programs can be
tested (the web server can be accessed in the usual way). If the Enertex® EibPC is in passive mode,
its internal program runs normally, i.e. variables are being calculated, states changed, the web server
adjusted, etc.
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]