Several ways to write one-button start and stop of Siemens SMART200PLC

Publisher:JoyfulHeartedLatest update time:2024-07-30 Source: elecfansKeywords:Siemens Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

In production, due to factors such as installation environment, cost control, and ease of operation, one-button start and stop control will be used, such as motor control, valve control, etc. Today I will talk to you about several common writing methods. For the sake of intuitiveness and popularity, we use LAD (ladder diagram) to write it.


1.) One-button start and stop by bit command:

wKgaomSwoyuAf1XGAACEkw1ezaY852.jpg

(One-button start and stop by bit command)

Program Description:

When the M10.0 button is pressed, M10.0 connects a scan cycle. In the first scan cycle, the normally open Q0.0

The contact is disconnected, the M10.1 coil loses power, the rising edge of M10.0 connects Q0.0 to energize, and the motor starts;

In the second scanning cycle, the normally open point of Q0.0 is closed, but the rising edge of M10.0 is disconnected, the M10.1 coil loses power, the Q0.0 coil loses power, and the motor stops.

2.) Bit Instructions

wKgaomSwoyuARcP1AAEamwC-n-g844.jpg

(One-button start and stop by bit command)

Program Description:

When M10.2 is pressed for the first time, the rising edge of the M10.3 coil is turned on and it is energized; within the same scan cycle, M10.3 is turned on and the Q0.1 coil is energized. It is turned on once within a scan cycle and is self-locking, realizing single-button start. In network 3, M10.2 is pressed again, the M10.3 coil is energized, the M10.3 normally closed point is disconnected, and the Q0.1 coil loses power, realizing single-button stop.

3.) One-button start and stop (set/reset)

wKgZomSwoyuAWS1qAAE0z4SIvco655.jpg

(Reset/set one-button start and stop)

Program Description:

Press button M10.4, it connects the first scanning cycle, Q0.2 coil is energized and set to 1; press M10.4 again, Q0.2 coil is reset to 0; .5 is used as the auxiliary point of one-button start and stop, and the state of Q0.2 coil is consistent, and M10.5 is used as the normally closed point in the start network 1, and the normally open point of M10.5 is used in the stop network 2.

4.) One-button start and stop (position priority)

wKgaomSwoyuABGvZAAB3F2evaEc370.jpg

(One-button start and stop setting priority)

Program Description:.

Press M10.6, the rising edge of M10.6 generates a scan cycle, the normally closed point of Q0.3 is connected, the SR triggers S1 and R are turned on, the S1 terminal is set first, Q0.3 is set, Q0.3 normally open is closed, the motor starts, and the normally closed point of Q0.3 is disconnected.

5.) One-button start and stop (reset priority)

wKgZomSwoyuAQtePAACeTbZ_FY8332.jpg

(One-button start/stop reset priority)

Program Description:

Press M10.7, and in the first scanning cycle, Q0.4 is turned on, and the normally open and normally closed terminals of Q0.4 are connected in series to the S and R1 ports respectively, forming an interlock, that is, only one port is turned on in one scanning cycle.

6.) One-button start and stop (counter)

wKgZomSwoyuAIyQWAADEEgFbt9s606.jpg

(One-button start and stop counter)

Program Description:

Press M11.1, counter C0 counts to 1, and the current value of the counter in network 2 is compared with the number 1, which is exactly equal to 1, the Q0.5 coil is energized, and the motor starts; press M11.1 again, counter C0 counts to 2, and since the counter PV value is 2, the counter CO is reset, and the value of C0 is not equal to the current value 1, the Q0.5 coil loses power, and the motor stops.

When the current value of the counter is equal to 1, Q0.5 is turned on.

7.) One-button start and stop (addition)

wKgaomSwoyuAa4IoAACwYdN5dN8178.jpg

(One-button start and stop addition)

Program Description:

Press the M11.2 button, VW4 is added to 1, and the result is stored in VW4; the value of VW4 is compared with the number 1, and they are exactly equal, so the Q0.6 coil is energized and the motor is powered on and started; when M11.2 is pressed again, the value of VW4 is compared with the number 2, and they are exactly equal, so the VW4 data is cleared and the motor stops.

8.) One-button start and stop (logic inversion)

wKgaomSwoyuAMPgGAACDKQDxZpQ934.jpg

(One-button start and stop logic is reversed)

Program Description:

The initial value of VB2 is 2#00000000. After pressing button M11.5, VB2 is inverted and the VB2 value is 2#11111111. At this time, VB2 low bit V2.0 is connected. Press M11.5 again, VB2 is inverted and the VB2 result is 2#00000000. At this time, VB2 low bit V2.0 loses power, and the cycle continues. V2.0 controls Q2.0. When it is energized, Q2.0 is connected, otherwise, Q2.0 is disconnected.

The above are the common one-button start and stop writing methods, of course there are more than these.


Keywords:Siemens Reference address:Several ways to write one-button start and stop of Siemens SMART200PLC

Previous article:Introduction to Siemens S7-GRAPH programming language
Next article:Motor control circuit diagram explanation and interpretation of the working mode of motor control circuit diagram

Recommended ReadingLatest update time:2024-11-23 09:16

PLC digital signal and analog signal
In recent years, with the development of industrial technology and science, PLC has gradually replaced traditional relay distribution cabinets, AC contactor distribution cabinets, etc. due to its small size, centralized control, intelligence and automation, and has been widely used in industrial control and producti
[Embedded]
PLC digital signal and analog signal
Siemens S7-1200 analog conversion
In PLC programming, the most common thing is to convert the analog signal on site into the actual engineering value, such as converting the current or voltage signal of the field transmitter such as 0~20mA/4~20mA/0~10V into 0~10MPa, 0~100℃ and other engineering values. For Siemens S7-300/400, you can use FC105/FC106
[Embedded]
Siemens S7-1200 analog conversion
Application Case Analysis of Siemens S7-1500
S7-1500CPU generally does not have high-speed pulse counting, so a high-speed counting module must be selected. The most commonly used module is TMcount2X24, which provides two 24V high-speed pulse acquisition signals. Two high-speed pulse acquisition channels are a bit rare in general project applications.
[Embedded]
Application Case Analysis of Siemens S7-1500
How to set power-off retention in Siemens S7-200plc
How to set power-off retention for Siemens S7-200 series plc. There are two data MW100 and MW102 that need to be saved. How to set them? A: Just change MW100 and MW102 to the data in MB0~MB13. This value is fixed. Set it in the data save in the system, and then download it to the PLC. However, this is maintaine
[Embedded]
Design of PLC backplane bus protocol interface chip based on single chip microcomputer and CPLD (Part 1)
Abstract: A set of PLC backplane bus protocol interface chips based on CPLD is designed. The protocol chip can distinguish the periodic data and non-periodic data of the PLC backplane bus. The process of designing the state machine, protocol frame controller, and FIFO controller using Verilog HDL language is introduce
[Analog Electronics]
Design of PLC backplane bus protocol interface chip based on single chip microcomputer and CPLD (Part 1)
Siemens PLC working mode
Siemens PLC has two basic working modes: STOP and RUN. You can directly control the STOP and RUN of PLC by manually changing the mode switch on the PLC CPU module. When the PLC operating system detects a major error, the CPU will be forced to change from RUN mode to STOP mode. As long as the major error e
[Embedded]
Siemens STEP7 programming software sets component properties
Once the components have been arranged in the station window, the dialog box for changing the default properties (parameters or addresses) is always opened in the following way: Double-click the component, or select the menu command Edit Object Properties. Right mouse button: Move the cursor over a
[Embedded]
Siemens Satellite Power Protection System Adopts ADI Digital Isolation Technology
2011-02-15 10:00 BEIJING, Feb. 15, 2011 /PRNewswire-Asia/ -- Analog Devices, Inc. (ADI) will provide its highly integrated iCoupler® digital isolation solutions for Siemens Aerospace's PowerSCOE™ system, an advanced satellite power protection system that shuts down thousands of kilowatts of power in satellites
[Power Management]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号