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

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

MENU

GO-AHEADの書籍(Creating and experimenting with a relay PLC using openplc and raspberry pi)

 


Creating and experimenting with a relay PLC using openplc and raspberry pi

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

Creating and experimenting with a relay PLC using openplc and raspberry pi
 Amazon Kindle
 

 In this book, I focused on building a circuit to turn Raspberry Pi into a relay PLC and how to use OpenPLC. It also explains how to build and control an elevator experimental equipment, which is an applied experimental equipment for sequences. Using this book, you can learn the basics of sequence control.

 If you have a Raspberry Pi 4, you can teach remotely, and you can also use VNC to control the screen from a remote location, in case you want to conduct the experiment in another room on the same LAN. VNC (Virtual Network Computing) is the ability to call up the screen of another computer to your own computer and control it from your own computer. This is different from a VPN (Virtual Private Network). By using OpenPLC for this, learning sequence control can be done without a PC. Let's learn the basics of controlling sequences with Raspberry Pi 4+OpenPLC.


1.Introduction ・・・・・5

2.Raspberry Pi・・・・・6
 2.1 Raspberry Pi4 Model B
 2.2 Installing the OS for Raspberry Pi
(1) Downloading the OS
(2) Connection to USB, HDMI
(3) Setting up the OS
(4) USB memory
(5) Copying the screen
(6) When you want to connect to a wired LAN
 (7)Update GPIO firmware
 2.3 Install OpenPLC on Raspberry Pi
 (1)Install the OpenPLC editor
 (2)Installing Runtime
 (3)Checking operation


3.Elements for the experiment ・・・・・51
 3.1 Electronic Elements
(1)LED
 (2)Relay 941H-C-5D
 (3)Transistor Array TD62083AP
 (4)Reed switch
 (5)Diode
 (6)Terminal
 (7)Pin Socket
 (8)Universal circuit board
 (9)Photo Coupler
 3.2 Operational experiments

4.Creating the Experimental Equipment ・・・・・60
 4.1 Circuit of the Experimental Equipment
 4.2 Creating the Experimental Equipment

5.Basic sequence circuit ・・・・・68
(1) Contact a, contact b
 (2) Basic Logic Circuit
 (3)Basic sequence circuit
 Example (1)
 Example (2)

6. sequence control by OpenPLC ・・・・・84
 (1) Self-hold circuit (stop priority circuit)
 (2) A circuit that repeats ON/OFF(Chapter 5, Example 1)
 (3) Circuit that turns ON after a certain time (Chapter 5, Example 2)
 (4) Periodic motion circuit
 (5) Circuit that turns on when a button is pressed 10 times
 (6) Competitive Quick Push Game
 (7) Roulette game

7.Construction and experiments of elevator experimental equipment・・・・・113
 7.1 Construction of elevator experimental equipment
 (1) Experimental circuit
 (2) Experimental equipment
 ①elevator car section
 ②Body section
 7.2 Elevator Control Experiment
 <Experimental circuit-1>
 <Experimental circuit-2>
 <Experimental circuit-3>
 <Experimental circuit-4>

8.VNC・・・・・130
 8.1 Setting up VNC on Raspberry Pi
 8.2 Setting up VNC on the computer
 8.3 Remote connection

Appendix (Elevator experimental equipment design drawing)・・・・・143

References・・・・・145