HOLDT_B (38)


HOLDT_B (38)

ID                          38

 

 

Application:

PLC

SIM

 

Group:  TIMERS AND COUNTERS

 

Short description:

Signal delay function with external change of timer value and memory of the current state.

 

Inputs (3):

no.

type

impulse

mark

notes

1

B

no

IN

Binary input no. 1

2 I no preset Zadana wartość timera [ms]
3 B no reset Binary input no. 2

 

Outputs (2):

no.

type

impulse

mark

notes

1

B

no

OUT

Binary output no. 1
2 I no time Current timer value [ms]

 

Settings: none

Function operation:

The HOLDT_B function delays the transmission of the signal. When a high state is given to the IN input, the function starts a counter whose initial value is 0. When the counter reaches the value set by the user at the preset input and the IN input is high, the OUT output appears high and is held until the appearance of a high state on the reset input. The appearance of a low state on the IN input stops the counter operation and stores its value. The reappearance of the high state on the IN input starts the counter from the remembered value. When the status on the IN and reset inputs is high, the counter is not working and its value is 0. The time output returns the current timer value.

R registers and M markers used: none