DTEVERY
Function Block - Generate a pulse signal with long period.
Inputs
Input |
Data type |
Description |
RUN |
BOOL |
Enabling command. |
DAYS |
DINT |
Period : number of days. |
TM |
TIME |
Rest of the period (if not a multiple of 24h). |
Outputs
Output |
Data type |
Description |
Q |
BOOL |
Pulse signal. |
Remarks
This block provides a pulse signal with a period of more than 24h. The period is expressed as:
DAYS * 24h + TM
For instance, specifying DAYS=1 and TM=6h means a period of 30 hours.
ST Language
MyDTEVERY is a declared instance of DTEVERY function block.
MyDTEVERY (RUN, DAYS, TM);
Q := MyDTEVERY.Q;
FBD Language
LD Language
|
DTEVERY |
IEC 61131-3 Automation platform > Programming - Reference guide > Advanced operations > Real Time Clock management functions > DTEVERY |
Created with the Personal Edition of HelpNDoc: Free help authoring environment