Commands and functions
P.
196 of 349
Cycle timer - cycle
Definition
●
Function
cycle
(
mm,ss
) with:
mm:
minutes (0...255)
ss:
seconds (0..59)
Arguments
●
2 arguments
mm,ss
of the data type u08
Effect
mm:ss
t
Return
●
The return value is periodically set to 1b01 for one processing cycle, otherwise it is 0b01.
The repetition time is defined in mm:ss (minutes:seconds).
Data type result (Return)
●
Data type b01
Example: Cycle
Always after 1 minutes and 5 seconds a, read request is to be sent to the address "Light1-
0/0/1".
Implementation in the user program:
if cycle(01,05) then read("Light1-0/0/1") endif
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]