Saturday, September 26, 2020

PLC one-shot low level (OSL) ladder diagram instruction

A one-shot low level (OSL) instruction is a normally output true instruction. Whenever its input is false then it output false for a PLC scan cycle.

The one shot low level instruction symbol

For more details let see its timing diagram.
The OSL timing diagram

This instruction is useful in the case that the user needs to trigger the action on the falling to low level of the input signal.

In the following example, we create a sample monitoring of this instruction. Whenever the user switch the input contact to the ground, the contact makes a input false signal to the OSL. This OSL again trigger a low level pulse of one PLC scan cycle of 10 mS.



PLC one-shot low level (OSL) ladder diagram instruction
The OSL ladder diagram example

The output coil Y0 is normally output true in the overall PLC program. The output coil Y1 outputs true when there's nothing happen.

PLC one-shot low level (OSL) ladder diagram instruction
Circuit Diagram



Click here to download the zip file of this working 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)