自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(45)
  • 收藏
  • 关注

原创 ET 200SP:overview

SIMATIC ET 200SP is a scalable and highly flexible distributed I/O system for connecting process signals to a higher-level controller via a fieldbus.The SIMATIC ET 200SP distributed I/O system is installed on a mounting rail. It consists of:● CPU/interf

2020-11-04 16:23:55 412 1

原创 Programming basics: Block calls

Principles of block callsFor your blocks to be executed in the user program, they need to be called from another block.When one block calls another block, the instructions of the called block are executed. Only when execution of the called block has bee

2020-10-29 10:15:49 351

原创 Memory areas

Basics of a memory resetA memory reset on the CPU is possible only in "STOP" mode.When memory is reset, the CPU is changed to an "initial status". This means:● An existing online connection between the PG/PC and the CPU is disconnected.● The content o

2020-10-24 13:09:51 324

原创 Mode of operation of S7-1500 CPUs

Basics of the operating modes of S7-CPUsOperating modes describe the states of the CPU. The following operating modes are possible:● STARTUP● RUN● STOP● HOLDIn these operating modes, the CPU can communicate via the PN/IE interface, for example.If

2020-10-24 10:07:54 237

原创 Hardware and network editor

The hardware and network editor opens when you double-click on the "Devices and Networks" entry in the project tree. The hardware and network editor is the integrated development environment for configuring, networking and assigning parameters to devices a

2020-10-21 19:21:08 208 1

原创 G120C: Installing the inverter

Mounting positionProtection against condensation or electrically conductive contaminationProtect the device, e.g. by installing it in a control cabinet with degree of protection IP54. Further measures may be necessary for particularly critical operati

2020-09-15 20:29:37 382

原创 G120C: EMC-compliant setup of the machine or plant

4.1 EMC-compliant setup of the machine or plantThe inverter is designed for operation in industrial environments where strong electromagnetic fields are to be expected.Reliable and disturbance-free operation is only guaranteed for EMC-compliant installa

2020-09-15 20:00:13 417

原创 G120C: Description

3.1 Scope of delivery inverters FSAA ... FSCThe delivery comprises at least the following components:● A ready to run inverter with loaded firmware.● 1 set of terminal strips for connecting the inputs and outputs● 1 set of shield plates, including mou

2020-09-15 19:20:46 198

原创 Programming basics: Blocks in the user program

摘自Programming the PLC1.1 Operating system and user programThe following figure shows the interaction of the operating system and the user program:Operating system (OS)The tasks of the operating system, for example, include the following:● Proces

2020-09-14 17:44:06 311

转载 Stop Categories

摘自https://machinerysafety101.com/2010/09/27/emergency-stop-categories/Stop CategoriesThe stop categories discussed here are not exclusive to emergency stop functions. They areSTOPfunctions and may be used for normal stopping functions as well as the ..

2020-07-27 20:59:22 320

转载 Safe Drive Control including Safe Torque Off (STO)

摘自https://machinerysafety101.com/2017/07/03/safe-drive-control-sto/Since we are controllingmachinery, safety is always aconcern. In the 1990’s when Istarted designing machinery with motor drives, dealing with safety concerns usually meant adding asui...

2020-07-27 20:31:21 764

原创 S7-1200和S7-1500转换操作

CONVERT:转换值“转换值”指令将读取参数 IN 的内容,并根据指令框中选择的数据类型对其进行转换。转换值将在 OUT 输出处输出。如果满足下列条件之一,则使能输出 ENO 的信号状态为“0”:使能输入 EN 的信号状态为“0”。 执行过程中发生溢出之类的错误。ROUND:取整可以使用“取整”指令将输入 IN 的值四舍五入取整为最接近的整数。该指令将输入 IN 的值解释为浮点数,并转换为一个 DINT 数据类型的整数。如果输入值恰好是在一个偶数和一个奇数之间,则选择偶数。指令结果

2020-07-18 13:59:21 3260

原创 S7-1200和S7-1500数学函数

CALCULATE:计算可以使用“计算”指令定义并执行表达式,根据所选数据类型计算数学运算或复杂逻辑运算。可以从指令框的“???”下拉列表中选择该指令的数据类型。根据所选的数据类型,可以组合某些指令的函数以执行复杂计算。将在一个对话框中指定待计算的表达式,单击指令框上方的“计算器”图标可打开该对话框。表达式可以包含输入参数的名称和指令的语法。不能指定操作数名称和操作数地址。在初始状态下,指令框至少包含两个输入(IN1 和 IN2)。可以扩展输入数目。在功能框中按升序对插入的输入编号。使用输入

2020-07-18 09:03:50 1866

原创 驾考科目一:安全行车和文明驾驶

停车位颜色为白色的泊位,表示此停车位为收费停车位。 颜色为黄色的泊位,表示此停车位为专属停车位。 颜色为蓝色的泊位,表示此停车位为免费停车位。高速公路匝道高速公路匝道是高速公路出口或入口靠右侧的一条道路。一般在150到200米。入口处匝道过后是加速车道,出口处匝道紧接在减速道之后。匝道内车速一般要求低于40km/h,加速车道内应迅速加速至60km/h以上。在匝道上不准超车,掉头,停车和倒车。灯光变化车辆在平面路上行驶,灯光距离不变;在一般的弯道,灯光由路中移到路侧;上坡时灯光由高变低。

2020-07-15 21:32:53 851

原创 驾考科目一:道路交通安全法律、法规和规章

牵引故障机动车应当遵守下列规定:被牵引的机动车除驾驶人外不得载人,不得拖带挂车。 被牵引的机动车宽度不得大于牵引机动车的宽度。 使用软连接牵引装置时,牵引车与被牵引车之间的距离应当大于四米,小于十米。酒后驾驶饮酒后驾驶机动车的,处暂扣6个月机动车驾驶证,并处1000元以上2000元以下罚款。因饮酒后驾驶机动车被处罚,再次饮酒后驾驶机动车的,处十日以下拘留,并处1000元以上2000元以下罚款,吊销机动车驾驶证。醉酒驾驶机动车的,吊销机动车驾驶证,依法追究刑事责任,五年内不得重新取得机动车驾

2020-07-15 19:27:50 1498

原创 S7-1200和S7-1500比较操作

CMP ==:等于可以使用“等于”指令判断第一个比较值(<操作数 1>)是否等于第二个比较值(<操作数 2>)。如果满足比较条件,则指令返回逻辑运算结果 1。如果不满足比较条件,则指令返回 0。在指令上方的操作数占位符中指定第一个比较值(<操作数 1>)。在指令下方的操作数占位符中指定第二个比较值(<操作数 2>)。如果启用了 IEC 检查,则要比较的操作数必须属于同一数据类型。如果未启用 IEC 检查,则操作数的宽度必须相同。比较浮点数

2020-07-08 20:45:10 3043

原创 梯形图中常闭常开触点的选择

梯形图编程中一个触点应该选择常闭还是常开,对于输出线圈的常开常闭触点较好判断,而对输入DI信号的常开常闭触点的选择比较让人困惑。DI信号在梯形图中的常开常闭触点:梯形图中常开触点输出与DI信号一致,即PLC接收到DI输入为1,梯形图中常开触点为1。常闭触点则与输入信号相反,输入信号为1时,梯形图中常闭触点为0,即不导通。注意,梯形图中常开常闭触点与实际输入的常开常闭触点无关。上图为电机正反转正转的梯形图。思路:以KM_Forward=1为目标。1. start按钮,常开触点接到PLC。工

2020-07-04 10:55:48 10442

原创 S7-1200和S7-1500计数器操作

CTU:加计数可以使用“加计数”指令,递增输出 CV 的值。如果输入 CU 的信号状态从“0”变为“1”(信号上升沿),则执行该指令,同时输出 CV 的当前计数器值加 1。每检测到一个信号上升沿,计数器值就会递增,直到达到输出 CV 中所指定数据类型的上限。达到上限时,输入 CU 的信号状态将不再影响该指令。可以查询 Q 输出中的计数器状态。输出 Q 的信号状态由参数 PV 决定。如果当前计数器值大于或等于参数 PV 的值,则将输出 Q 的信号状态置位为“1”。在其它任何情况下,输出 Q 的信号状态

2020-07-01 18:59:14 6671

原创 S7-1200和S7-1500定时器操作

TP:生成脉冲使用“生成脉冲”(Generate pulse) 指令,可以将输出 Q 置位为预设的一段时间。当输入 IN 的逻辑运算结果 (RLO) 从“0”变为“1”(信号上升沿)时,启动该指令。指令启动时,预设的时间 PT 即开始计时。无论后续输入信号的状态如何变化,都将输出 Q 置位由 PT 指定的一段时间。PT 持续时间正在计时时,即使检测到新的信号上升沿,输出 Q 的信号状态也不会受到影响。可以扫描 ET 输出处的当前时间值。该定时器值从 T#0s 开始,在达到持续时间值 PT 后结束

2020-06-30 22:02:40 7113

原创 S7-1200和S7-1500位逻辑指令

---| |---:常开触点常开触点的激活取决于相关操作数的信号状态。当操作数的信号状态为“1”时,常开触点将关闭,同时输出的信号状态置位为输入的信号状态。当操作数的信号状态为“0”时,不会激活常开触点,同时该指令输出的信号状态复位为“0”。两个或多个常开触点串联时,将逐位进行“与”运算。串联时,所有触点都闭合后才产生信号流。常开触点并联时,将逐位进行“或”运算。并联时,有一个触点闭合就会产生信号流。---| / |---: 常闭触点常闭触点的激活取决于相关操作数的信号状态。当操作数的信

2020-06-29 21:43:52 3391

原创 CPU的三种工作模式

。。。

2020-06-29 20:26:01 2320

原创 S7-1200 PLC的编程

1.创建新项目。2. 添加新设备。3.定义设备属性。4.定义变量。5.梯形图编程。6. 编译。7. 下载。

2020-06-29 19:25:50 1442

原创 S7-1200变量地址

TIA Portal软件默认使用IEC 61131-3标准。其变量地址用特殊字母序列来指示,字母序列的起始用%符号,跟随一个范围前缀和一个数据前缀(数据类型)表示数据长度,最后是用数字序列表示存储器的位置。其中范围前缀为I,Q,M。长度前缀为X(单个位),B(字节,8位),W(字,16位),D(双字,32位)。如:%MB7, %MW1, %I0.0...

2020-06-28 21:35:22 5540

原创 S7-1200 PLC的常见扩展模块

信号板(SB):仅可为CPU提供几个附加的I/O点。SB安装在CPU的前端。信号板为西门子S7-1200 PLC所特有。信号模块(SM):可提供附加的数字或模拟I/O点,连接在CPU的右侧。通信模块(CM):为CPU提供附加的通信端口(RS232或RS485)。连接在CPU的左侧。...

2020-06-28 19:00:04 9985 1

转载 DCS系统的电缆布设和接地

摘自http://www.360doc.com/showweb/0/0/915000054.aspx引言  集散控制系统通过I/O信号电缆与工业现场的变送器、执行机构相连接,通过工业通信网络实现与分散在现场的控制设备之间的数据通信。合理有序的布设现场各种电缆,并有效的实施接地技术将有利于提高DCS系统的抗干扰能力,减小系统对外界的影响,提高系统运行的安全性和可靠性。而在电缆布设和安装中,正确地接地既能保障人身安全和设备(DCS部件)安全,又能抑制外来干扰,同时也抑制设备对外界产生的干扰,保证DCS系

2020-05-27 19:49:43 1396

转载 winCC 7.3:S7-1200和S7-1500的通信驱动

摘自http://www.ad.siemens.com.cn/service/elearning/course/1507.htmlwinCC 7.3与S7-1200和S7-1500的通信变量的循环读取 绝对寻址 符号寻址 装载AS变量(变量和报警)

2020-05-11 19:52:02 2143

转载 OpenCV: Adding a Trackbar to our applications!

摘自https://docs.opencv.org/4.2.0/da/d6a/tutorial_trackbar.htmlWell, it is time to use some fancy GUI tools. OpenCV provides some GUI utilities (highguimodule) for you. An example of this is aTrackb...

2020-02-23 15:18:47 113

转载 OpenCV: Canny Edge Detector

摘自https://docs.opencv.org/4.2.0/da/d5c/tutorial_canny_detector.html摘自https://docs.opencv.org/4.2.0/dd/d1a/group__imgproc__feature.html#ga04723e007ed888ddf11d9ba04e2232deTheCanny Edge detectorwas...

2020-02-22 21:41:22 315

转载 OpenCV: Laplace Operator

摘自https://docs.opencv.org/4.2.0/d5/db5/tutorial_laplace_operator.html摘自https://docs.opencv.org/4.2.0/d4/d86/group__imgproc__filter.html#gad78703e4c8fe703d479c1860d76429e6Sobel Operator isbased on...

2020-02-22 21:03:01 182

转载 OpenCV: Sobel Derivatives

摘自https://docs.opencv.org/4.2.0/d2/d2c/tutorial_sobel_derivatives.html摘自https://docs.opencv.org/4.2.0/d4/d86/group__imgproc__filter.html#gacea54f142e81b6758cb6f375ce782c8dIn anedge, the pixel int...

2020-02-22 20:29:55 247

转载 Histograms - 2: Histogram Equalization

摘自https://docs.opencv.org/4.2.0/d5/daf/tutorial_py_histogram_equalization.htmlConsider an image whose pixel values are confined to some specific range of values only. You need to stretch this histog...

2020-02-22 11:15:30 312

转载 Histograms - 1 : Find, Plot, Analyze !!!

摘自https://docs.opencv.org/4.2.0/d1/db7/tutorial_py_histogram_begins.htmlHistogram gives you an overall idea about the intensity distribution of an image.By looking at the histogram of an image, you...

2020-02-22 10:12:09 166

转载 Smoothing Images

摘自https://docs.opencv.org/4.2.0/d4/d13/tutorial_py_filtering.html2D Convolution ( Image Filtering )As in one-dimensional signals, images also can be filtered with various low-pass filters (LPF), h...

2020-02-21 17:59:30 263

转载 Image Thresholding

摘自https://docs.opencv.org/4.2.0/d7/d4d/tutorial_py_thresholding.htmlSimple ThresholdingThe functioncv.thresholdis used to apply the thresholding. The first argument is the source image, whichsh...

2020-02-21 15:59:02 383

转载 Changing Colorspaces

摘自https://docs.opencv.org/4.2.0/df/d9d/tutorial_py_colorspaces.htmlChanging Color-spaceThere are more than 150 color-space conversion methods available in OpenCV. But we will look into only two: B...

2020-02-21 15:06:40 145

转载 Arithmetic Operations on Images

摘自https://docs.opencv.org/4.2.0/d0/d86/tutorial_py_image_arithmetics.htmlImage AdditionYou can add two images with the OpenCV function,cv.add(), or simply by the numpy operation res = img1 + img2...

2020-02-21 13:26:11 132

转载 Basic Operations on Images

摘自https://docs.opencv.org/4.2.0/d3/df2/tutorial_py_basic_ops.htmlAlmost all the operations in this section are mainly related to Numpy rather than OpenCV.Accessing and Modifying pixel valuesYou ...

2020-02-21 12:18:36 115

转载 Getting Started with Images

摘自https://docs.opencv.org/4.2.0/dc/d2e/tutorial_py_image_display.htmlRead an imageUse the functioncv.imread()to read an image. The image should be in the working directory or a full path of imag...

2020-02-21 11:28:06 133

转载 Introduction to OpenCV-Python Tutorials

摘自https://docs.opencv.org/4.2.0/d0/de3/tutorial_py_intro.htmlOpenCV-Python is the Python API for OpenCV, combining the best qualities of the OpenCV C++ API and the Python language.Python can be ea...

2020-02-21 09:10:50 157

转载 接口,协议和鸭子类型

摘自《流畅的Python》10.3协议和鸭子类型;杂谈:把协议当作非正式的接口;11.1 Python文化中的接口和协议Python中除了抽象基类,每个类都有接口:类实现或继承的公开属性(方法或数据属性),包括特殊方法,如__getitem__ 或__add__。按照定义,受保护的属性和私有属性不在接口中:即便“受保护的”属性也只是采用命名约定实现的(单个前导下划线);私有属性可以轻松地...

2020-02-18 16:39:24 210

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除