Thursday, September 24, 2020

PLC turn-off delay Tdoff ladder diagram instruction

Referring to the timer delay related instructions in the PLC ladder diagram instructions, we are now discussing about another timer delay called turn-off delay (Tdoff). 

Turn-off delay instruction symbol

When ever the input to this instruction changes from false to true, it will output true for a specific delay time. The input high time must greater or equal to the PLC cycle time.

PLC turn-off delay Tdoff ladder diagram instruction
Timing diagram for Turn-off delay instruction

Let see a very simple example. I use an input contact to turn on an output coil for 10 seconds.



PLC turn-off delay Tdoff ladder diagram instruction
Turn-off delay ladder diagram instruction example

We configure the Tdoff instruction as below.

The delay time is set to 10000 mS or 10 second.

It's convenience to add a one-shot rising to the rung to prevent the rung become true while the input contact X0 is in a long press duration.

The remanding open-circuit rungs are just an example of cutting the rungs. 



For a serious PLC programmer they always need to test the program in both hardware and software. However, we already know that the overall program is completedly work. So It's not necessary to test this program in another software simulation and in the hardware.

PLC turn-off delay Tdoff ladder diagram instruction
Schematic diagram

Click here to download the zip file of this ladder diagram example.


No comments:

Post a Comment

Labels

ADC (10) Analog (14) Arduino (12) Atmega16 (19) Audio (2) AVR (20) Charger (1) Cortex-M0 (1) Counter (10) CPLD (25) Digital I/O (22) Display (34) EEPROM (2) Environment Sensor (1) esp8266 (2) Experiment Board (10) I2C (4) Interrupt (7) LCD (1) LDmicro (29) measurement and instrumentation (7) Microchip Studio (3) MikroC (1) One-Shot (3) OpAmp (1) PCB (31) PIC16 Microcontrollers (16) PIC16F877A (2) PIC16F887 MikroC (22) PLC (35) PWM (11) Regulator (1) RTC (2) Sensor (8) Shift Registers (5) SPI (5) Timer (34) UART (2) ultra-sonic sensor (1) USB (1) VHDL (21) xc8 (1) XC95108 (9) XC9536 (15) XC9572 (1) Xilinx (23) Xilinx ISE (22)