#4 How to Program PLC Timers with Arduino IDE | Arduino Sketch ⇌ PLC Ladder Programming
OnosTech OnosTech
6.52K subscribers
920 views
45

 Published On Aug 11, 2024

#arduinoPLC #arduinonano #outseal #arduinoide #timer
Join this channel membership to support the production of practical content:
   / @onostech  

PLC timer functions are replicated in the Arduino IDE. An Arduino Timer library was downloaded from GitHub and was compared with the Outseal Studio PLC instructions. The demonstrated Timer library functions are the Debounce Timer, Timer on Delay (TON), Timer off Delay (TOF), Pulse Timer (TP), and Flasher Timer. All demonstrations were with the Arduino Nano PLC with an I2C LCD to show the timer status and data.

The Arduino Nano PLC is based on the open-source hardware Outseal PLC Nano, an Outseal automation technology brand. Based on the Arduino Nano Inputs/Outputs, it has 8 fixed digital optocoupler inputs, 2 analog 0–5V or 0–20mA outputs, 6 relay outputs, 2 PWM outputs, Modbus communication, the UART port, an I2C port, and an inbuilt external memory.

Install Timers Library 0:20
Debounce Timer 00:44
Outseal Time On Delay 01:32
Arduino Timer On Delay 02:36
Timer on LCD 4:13
Time Off Delay 5:02
Pulse Timer 5:59
SPWM/Flasher 6:47

Sketches: https://github.com/onostec/PLC_Arduin...
Arduino Library: https://github.com/MatthewReed303/Ard...

Downloads
Outseal Studio: https://outseal.com/download/download...
Arduino IDE: https://www.arduino.cc/en/software

Arduino Nano PLC Overview:    • LOW-COST ARDUINO NANO PLC  
Outseal Studio:    • How to Program Outseal Arduino PLC  

J R Electrokits Arduino Nano PLC Purchase Link
https://www.jrelectrokits.com/product...

Support videos on this channel when you buy products from AliExpress using the below link(s).
1. Arduino Nano V3.0
https://s.click.aliexpress.com/e/_9jqWWa
2. Terminal Adapter Board For Arduino Nano
https://s.click.aliexpress.com/e/_9Rz1kE
3. 16mm Momentary Metal Push Button Switch
https://s.click.aliexpress.com/e/_9wgcFa
4. 16mm 24V Panel Mount LED Indicator Lamp
https://s.click.aliexpress.com/e/_AbD73O
5. I2C Liquid Crystal Display
https://s.click.aliexpress.com/e/_DBb...
https://s.click.aliexpress.com/e/_DlV...

show more

Share/Embed