Introduction PLC PROTO MODULE
-
The purpose of this lesson
Hi! Today we will get acquainted with a unique module for M5. Meet - PLC PROTO. This module is designed to work with the load (for example: starter control of the gasoline generator) (Fig. 1).
Figure 1
It is necessary to consider all the contents of the standard set PLC PROTO MODULE. Deal with components.
Short help
RS - 485 is the physical layer standard for the asynchronous interface. Regulates the electrical parameters of a half-duplex multipoint differential communication line of the "common bus" type.
The standard became very popular and became the basis for the creation of a whole family of industrial networks widely used in industrial automation.The RS-485 standard uses one twisted pair of wires for data transmission and reception, sometimes accompanied by a shielding braid or a common wire.
Data transmission is carried out by means of differential signals. The voltage difference between the conductors of one polarity means a logical unit, the difference between the other polarity-zero (Fig. 1.1).
Figure 1.1
The RS-485 standard specifies only the electrical and temporal characteristics of the interface.
RS-485 standard does not specify: parameters of signal quality (acceptable level of distortion, reflection in long lines), types of connectors and cables, galvanic isolation of communication line, exchange Protocol.Up to 32 transceivers in one network segment. Maximum length of one network segment: 1200 meters. Only one transmitter can be active at a time.
The maximum number of nodes in the network — 256, taking into account the main amplifiers.
Characteristic exchange rate/communication line length: 62.5 kbit/s 1200 m (one twisted pair), 375 kbit/s 500 m (one twisted pair), 500 kbit/s, 1000 kbit/s, 2400 kbit/s 100 m (two twisted pair), 10000 kbit/s 10 m.More information on the Wiki: https://en.wikipedia.org/wiki/RS-485
List of components for the lesson
- A standard set PLC PROTO MODULE.
Let's start!
Step 1. Open the box!
Wow! So many things.. and there are stickers ;) (Fig. 2).
Figure 2. The contents of the kit PROTO PLC MODULE
Step 2. PROTO yellow PCB? Σ(O_O)
By default, the circuit Board of this module has a power supply circuit based on LM2596 (i.e. the input is supplied with an unstable DC voltage from 9 to 24 V, and the output is stable 5 V. In addition, there are plugs on the Board type 3.96 one for six contacts, the second for four contacts. There is also a connector for connecting the power supply, for example. Led, as without it? and he is. There is still a bus connector MBUS, how else to connect M5? (Fig. 3 - 3.1).
Figure 3. Top view of PLC module PCB
Figure 3.1. Bottom view of PLC module PCB
Step 3. Current sensor and its friend RS485 づ ◕ ‿ ◕) づ
The kit comes with a tiny PCB with two chips: ACS712-5A (current sensor up to 5 A) and SP3485 (data transmitter interface RS485).
Figure 4. PCB with current sensor and RS485 interface
Pay attention to the contacts (Fig. 4.1).
Figure 4.1. Pin assignment on the printed circuit Board of the device
Step 4. Housing
The module body is made of grey plastic. On one side there is an inscription in large print PLC. On the other side there are slots for contacts and conductors (Fig. 5).
Figure 5. A side view of the housing module PLC
On the reverse side of the case there are two holes for fixing the module on the M5. There is another hole with a metal thread to fix the module on the DIN rail. In the center there is a large optional slot (Fig. 5.1).
Figure 5.1. A rear view of the housing module PLC
Step 6. The connectors are there - they need a couple
Comes with plug in cable connector 3.96. And shortened contacts (hmm.. what are they?) (Fig. 6).
Figure 6.
In order to insert the wires into the type 3.96 plugs, use bootlace ferrals (Fig. 6.1). Ten of them.
Figure 6.1. Ferrals or Bootlace ferrals
Step 7. DIN-rail
DIN rail is required to attach the module to any surface. First, the device is mounted on a black sliding platform, then the platform is mounted on a DIN rail (Fig. 7 - 7.1).
Figure 7. DIN-rail and a sliding platform on it
Figure 7.1. The module is mounted on a DIN rail
Step 8. Fastener
The kit includes: two elongated screws M5, four screws, one nut and one magnet ring. In order to screw in the screws, three hexagons of different sizes are supplied (Fig. 8).
Figure 8.
Final step
On this review of the standard PLC PROTO module is completed. Soon we will learn how to use it.
-
DIMI those "Special Nozzels" are called Ferrals or Bootlace ferrals after the things that go on the end of boot and shoelaces.
-
-
Hello,
Is there a ladder logic program that can work with this module?
Thanks!
-
@jrankinen Hi
Sorry but this is not a Programmable Logic Controller or PLC in the usual way that terminology is used, so no ladder diagram software available, need to program in C/C++ -
@malbro now, there is available 4diac for all M5 Stack which have PSRAM.
meaning the Fire and the S3.so real PLC Programming is possible.
-
BTW: all Photos are gone here.
Google Search still finds the Photos.
but in the Post they are gone. -
In other tutorials, it is also happening.
I tried with Chrome and Edge browsers.
It would be great to be able to download a PDF with the class.