橋平礼の電験三種合格講座

過去50年分以上の電験三種の問題を解いて分かった、電験三種は今も昔も変わりません。過去問を解きながら合格を目指しましょう。

MENU

GO-AHEADの書籍(Sequence Control with Arduino UNO and OpenPLC)

 


Sequence Control with Arduino UNO and OpenPLC

f:id:hashi-rei-channel:20210813114926j:plain

Sequence Control with Arduino UNO and OpenPLC Amazon Kindle版

 

 The Arduino has been on the market for more than 10 years, which is quite a long history for this field. The Arduino UNO's CPU is the ATmega328P. There are various types of Arduino on the market, such as Arduino Micro, which has a smaller CPU (ATmega32U4) and smaller size compared to UNO, Arduino Mega, which has more memory and I/O compared to UNO, and Arduino Due, which has a high spec ARM core.

 In this book, for those who are introduced to OpenPLC, we will experiment with the OpenPLC simulator, with a breadboard using Arduino UNO, and we will build and experiment with an elevator. The Arduino UNO has 5 digital inputs, 4 digital outputs, 6 analog inputs and 3 analog outputs, so it is a bit limited, but you can easily learn sequence control.

 After using Arduino for the first time, I was able to build an elevator experimental device in about a week, so I can say that Arduino is one of the most suitable CPU boards as a first step to learn IoT. OpenPLC is free and relatively easy to use, but there is very little explanation and almost no information when you search for it. For this reason, this book is a good place to start learning sequence control with Arduino+OpenPLC. To see the lift in action, please visit the youtube video "Re: Arduino-openPLC version starting from age 50-elevator experiment".

 


1.Introduction ・・・・・5

2.Arduino UNO ・・・・・7
 2.1 Arduino UNO
 2.2 Install OpenPLC software
 (1) Install the OpenPLC editor
 (2) Download the Arduino runtime software
 (3) Download the Arduino IDE
 (4) Writing the Arduino firmware
 (5) Install the host program on Windows

3.How to use the OpenPLC Editor ・・・・・35
 3.1 Experiment with a program simulator that lights up LEDs with a switch
 3.2 Circuit where LED lights up with a switch

4.Basic sequence circuits ・・・・・53
(1) make and break contacts
(2) Basic logic circuits
(3) Sequence basic circuit
 Example (1)
 Example (2)


5.Devices used in the experiment ・・・・・69
 (1) CDS cell
 (2) Motor driver
 (3) Reed switch
 (4) Photo coupler


6. Sequence Control with OpenPLC ・・・・・72
 (1) Self-hold circuit (stop priority circuit)
 (2) Circuits that repeat ON/OFF
   (Chapter 4, Example 1)
 (3) A circuit that turns on after a certain time
   (Chapter 4, Example 2)
 (4) Periodic operation circuit
 (5) Circuit that lights up
   when the button is pressed 10 times
 (6) Circuit of analog input
 (7) Circuit of analog output
 (8) Analog input/output circuits
 (9) Motor control

7. Construction and experiments of the
  elevator test equipment. ・・・・・113
 7.1 Construction of the elevator equipment
   and experiments
(1) Experimental circuit
(2) Experimental apparatus
 ①elevator car section
 ②Body section
 7.2 Elevator control experiment
<Example of experiment-1>
<Example of experiment-2>
<Example of experiment-3>
<Example of experiment-4>

Appendix (Elevator experimental apparatus design drawing) ・・・・・131

References ・・・・・133