DTEvery

 Function BlockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. - Generate a pulseClosed When the step gets activated, the action is activated for a single execution, and possibly once again when the step is deactivated. signal with long periodClosed Motor systems having a reciprocating or oscillating motor that operates synchronously with the periodicity of the source which supplies the electrical energy. The period of execution of a pipe is the time spent between two successive computations of set values for the same pipe. The period of execution of a pipe is specified by the PERIOD parameter of the input pipe block..

Inputs

Input

Data Type

Range

Unit

Default

Description

Run

BOOL

TRUE, FALSE

N/A

No default

When TRUE, the signal generation is enabledClosed Enable signal for the drive, Hardware-Enable with 24V signal to X8, Software-Enable command by setup Software, fieldbus or permanently set. Both are required for enabling the drive..

Days

DINT

1 to 65536

Days

No default

Period : number of days.

TM

Time

0 to 86,399,999

Milliseconds

No default

Rest of the period (if not a multiple of 24h).

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

TRUE, FALSE

N/A

Pulse signal.

Remarks

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

(* MyDTEVERY is a declared instance of DTEVERY function block. *)
MyDTEVERY (RUN, DAYS, TM);
Q := MyDTEVERY.Q;

See Also