Basics 05: Expanding PLC IOs with OpenPLC Slave Devices

  Рет қаралды 21,491

OpenPLC

OpenPLC

Күн бұрын

Пікірлер: 33
@sparkyy0007
@sparkyy0007 8 ай бұрын
Excellent explanation. Thanks for this project.
@kennyking6325
@kennyking6325 Жыл бұрын
Excellent Friends, would you look at this! It is truly wonderful
@Austiego5000
@Austiego5000 2 жыл бұрын
Love the functionality! Keep up the good work!
@bandilecandrian6223
@bandilecandrian6223 2 жыл бұрын
Good content this helped in my final year project.
@giginmathew1
@giginmathew1 11 ай бұрын
Good job this is useful for project reducing cost and programming in ladder logic
@kennyking6325
@kennyking6325 Жыл бұрын
Friends, With plc5 addressing location 126:5 would be node 1, chassis 2, slot 6, terminal 5 . Those units were gigantic! Thank you
@remiguillonbony6528
@remiguillonbony6528 2 жыл бұрын
Hey ! Great video ! Is it possible to make the Rapsberry/Arduino system you presented at 24:33 independent from the host PC ? For example, have the OpenPLC runtime running on the Raspberry and the Arduino connected on it too, while using an battery as power supply ?
@openplc
@openplc 2 жыл бұрын
The system is totally independent from the PC. In that case, the host is actually the Raspberry Pi itself. The PC is used only to create the PLC program and upload it to the Pi. The usb cable you see connected to the Pi is used only for power.
@EpicCalamar
@EpicCalamar 2 жыл бұрын
Ooh I see, I thought there were two cables both connected to the PC. I didn’t catch that it was a single cable looping on itself ^^ Thanks !
@RobertL1999
@RobertL1999 2 ай бұрын
Very interesting. Couple of questions: are there any sort of status bits being reported for each of the slave devices? Can you upload programs to the slaves from the master? If you were to write a more complex program on the slave, could you communicate and manipulate its available tags?
@ahmadsakr4831
@ahmadsakr4831 2 жыл бұрын
What about shift register for inputs and outputs? I already used this Way in ldmicro , I expanded io pins to many shift registers pins only by using only 3 pins from AVR microcontroller for information ldmicro is for programming microcontroller by ladder (AVR,pic,arm,Arduino and esp)
@selahattinemreduman106
@selahattinemreduman106 2 жыл бұрын
Hi, a have a question. For example can i use 2 pcs Esp32 for this method?
@openplc
@openplc 2 жыл бұрын
Yes, you can
@delackels1649
@delackels1649 2 жыл бұрын
Would it be possible to connect a USB Zigbee add-on radio and use it for inputs and outputs? Would you nee to write custom drivers or is there something already made?
@openplc
@openplc Жыл бұрын
If you can make your Zigbee module talk Modbus then yes, you can
@DGEsA
@DGEsA Жыл бұрын
My question is do you have a handbook about of using openplc editor I'm interested in how to use the analog inputs in my Arduino UNO
@ahmadsakr4831
@ahmadsakr4831 2 жыл бұрын
What about shift register for inputs and outputs I used this Way in ldmicro ,I can expand Io pins using many shift registers For information ldmicro is for programming microcontroller by ladder
@openplc
@openplc 2 жыл бұрын
Shift registers are a “hardware-way” to expand IO. It is common to find them internally on many commercial PLCs. This is a more “external/software” way to expand IO using off the shelf devices. But anyway, OpenPLC can support shift registers as well, as long as the IO driver is written on a PLC block :) It might come on future versions of the Editor
@satierkumaa
@satierkumaa Жыл бұрын
How do I make a canbus available in the ladder diagram?
@Elka_mp
@Elka_mp 2 жыл бұрын
Interesting Can open plc monitor IOs states from editor(online)?
@openplc
@openplc 2 жыл бұрын
Not yet. This is a feature that will come in the future
@lorenzocastelli3552
@lorenzocastelli3552 Жыл бұрын
There is a problem with the Arduino Mega. By adding Arduino Mega as slave we should have: 24 Discrete Inputs 24 Coils 8 Input Registers 0 Holding Register - Read 12 Holding Register - Write Instead they are automatically taken 24 Discrete Inputs 16 Coils 16 input registers 0 Holding Register - Read 12 Holding Register - Write I tried to manually add the device but every time I get the error message: "Please fill out all the fields before saving!"
@TomLeg
@TomLeg 2 жыл бұрын
"slave" devices is outdated terminology, considered racist. You'll notice that the SPI protocol has renamed its MOSI and MISO leads, which used to be "Master In Slave Out" and vice versa, to PICO and POCI, "Peripheral IN, Controller OUT" and vice versa. You might want to consider updating your terminology, too.
@nilscarstensen3844
@nilscarstensen3844 2 жыл бұрын
Good to see wokeness finally arriving in harsh industrial environments. jk You will read the word slave in almost every industrial bus (CANopen, EtherCat, DeviceNet, Profibus, Modbus, aso.) documentation / software /wiki article. So i don’t think it’s that outdated ;-)
@TomLeg
@TomLeg 2 жыл бұрын
@@nilscarstensen3844 so maybe SPI is leading the way, but it isn't an excuse for others to lag.
@nilscarstensen3844
@nilscarstensen3844 2 жыл бұрын
@@TomLeg change will take a while. It will really suck doing troubleshooting with a customer while using another terminology than him and the software-tool he’s using.
@christianb6046
@christianb6046 2 жыл бұрын
Changing that word is not going to make the world less racist.
@sasquatch5863
@sasquatch5863 2 жыл бұрын
What a troll 🤣
Basics 06: Communicate with OpenPLC Runtime using Python
23:23
Basics 03: Programming an Arduino Board with OpenPLC
16:55
OpenPLC
Рет қаралды 77 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 27 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 21 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 56 МЛН
Basics 07: Connecting OpenPLC to an HMI (ScadaBR)
28:59
OpenPLC
Рет қаралды 29 М.
Basics 04: OpenPLC on Raspberry Pi with Modbus
20:48
OpenPLC
Рет қаралды 42 М.
Getting Started With the Hailo AI Kit For Raspberry Pi 5
14:53
Expat Professor
Рет қаралды 10 М.
Turn your Pico into a 400MHz 24 Channel Logic Analyser
25:26
Happy Little Diodes
Рет қаралды 48 М.
Google unveils 'mind-boggling' quantum computing chip | BBC News
5:53
who is this even for?? (Raspberry Pi 500)
16:55
NetworkChuck
Рет қаралды 100 М.
What is an Open PLC?
6:01
RealPars
Рет қаралды 35 М.
Why build an entire computer on breadboards?
28:43
Ben Eater
Рет қаралды 3,1 МЛН
How to build a MINIATURE Spectrometer  for the Raspberry Pi
17:09
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 27 МЛН