#1 Introduction to Arduino Sketch ⇌ PLC Ladder Programming

Опубликовано: 21 Июль 2024
на канале: OnosTech
5,842
143

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

PLC ladder-style programming is done with the Arduino IDE as the IEC 611331-3 standard structured text PLC programming language. The inputs and outputs of the Arduino PLC were configured and mapped to the Outseal PLC Nano pinout. The standard PLC scan cycle was replicated to form the bare minimum sketch in the Arduino IDE with functions to configure the input/output, read the input status, execute the program instructions and write to the output pins. Basic programming functions were demonstrated with the Arduino Nano PLC produced by J R Electrokits.

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.

Circuit Connection 01:13
PLC Scan Cycle 02:15
Arduino PLC Scan Cycle 02:44
Outseal Ladder Logic 05:24
Instructions in Series 07:04
Instructions in Parallel 07:40
Retaining Contact 08:04
Set-Reset/Latch-Unlatch 09:08

Sketches: https://github.com/onostec/PLC_Arduin...

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