自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (11)
  • 收藏
  • 关注

原创 基于模型的PLC程序设计四 上升沿和RS触发器处理

控制描述有时在状态机中需要处理信号的上升沿或下降沿,状态机自带事件触发,可以用来模拟沿触发,但生成的PLC程序很啰嗦,所以呢,我们自己在状态机中写个沿触发。下面是控制要求的描述:直接上图,在传送带上每隔一定距离有一块灰色样品,需要每5样品抽取一个,按下Start按钮后,传送带移动,当CapSensor传感器,计数器计数,当计数到5时,传送带停止,汽缸Cylinder伸出,伸出到位信号PistonO...

2017-06-08 22:02:15 3501

原创 基于模型的PLC程序设计三 层次状态机

这次我们再在前面的例子上加深一步,写个含有父状态的状态机,同时用ST语言描述。控制描述有一个电机,按下启动按钮后低速启动,按下加速按钮后切换成高速,按下减速按钮后再切换成低速,如果按停止按钮,直接停止。用状态机描述如下: 这个状态机我们简要说明一下。和上一篇有点不一样。包换了一个父状态running,在running里含有两个子状态runSlow和runFast,分别通过按钮speed_up、s

2017-05-19 07:27:29 3951

原创 基于模型的PLC程序设计二 启保停电路

我们先写个简单的,然后在复杂一点的。控制要求如下按下start按钮,电机启动,按下stop按钮,电机停止。下图是它的状态机。默认状态是电机处于stop状态,按钮start_button按钮后,状态转换至run状态,表示电机运行。 程序一共用到一下变量:两个输入start_button, stop_button 和一个输出 run一个状态变量states 表示当前状态两个常量来表示stop

2017-05-17 19:09:30 3299

原创 基于模型的PLC程序设计一 状态机介绍

状态机的一般概念状态机是UML中的概念,在嵌入式开发中应用很广,但在PLC编程中基本没有流行。它和PLC编程中的SFC概念很相似,但远比它强大。下面是一张用matlab画的状态机,包含了大部分基本元素。这里我简要解释一下,具体可以参考《Stateflow逻辑系统建模》作者:张威。圆角的框框是一个状态,这里一共有五个状态,分别是Ready、Run、M1、M12、M2。在Ready上方,有一条线,一

2017-05-16 20:02:10 5358 2

果壳中的C# C#5.0权威指南 第二部分

一共两个,这是第二部分。

2017-06-09

果壳中的C# C#5.0权威指南 第一部分

高清扫描版

2017-06-09

Java语言程序设计(基础篇 原书第10版)

Java语言程序设计(基础篇 原书第10版)

2017-05-11

WinPLC-Analyzer

西门子plc调试软件,功能强大。具体https://www.mhj-tools.com/winplc-analyzer/ 直接看网页。 先安装软件,然后用文件夹中的破解覆盖。本人亲自破解,只此一家。分数高了点。 With WinPLC-Analyzer you can record signals of a S7-PLC (S7-300, S7-400, S7-1200) or S5-PLC (Simatic S5 series). You can record signals like input, output, flags, data, timer and counter. If you want, you can define a Trigger with S7-STL code. Then you can use this trigger to control the recording or to create a user message. When using S7-300, S7-400 you can also record cyclic exact. This means, that a short program will be transfered into the PLC. This ensures that you see every single edge in the recording. Without modifying the PLC progam you can record "scan exact". That means you can define the sampling rate in ms. With the special recording type "Offline recording", you can record the data within the PLC (without the PC connected). The next day you can transfer the results to your WinPLC-Analyzer project. Additional to the normal trend data, you can define "Snapshots". A "Snapshot" is a range of additional data, that will be stored, if a trigger event is raised. WinPLC-Analyzer also stores the data of the "i-stack" in case of a unexpected "PLC-Stop". Then you can examine the reasons for the PLC-Stop even after days. All software driver are included in the licence of WinPLC-Analyzer. You don't have to pay for every single driver separatly. To access a PLC over TCP/IP you don't need any other software or driver. Only if you want to use a SIEMENS Interface, the driver of it must be installed on the PC.

2017-02-01

cppReference2016

cpp reference 2016,最近的文档。

2017-02-01

Rapid GUI Programming with Python and Qt

The Insider's Best-Practice Guide to Rapid PyQt 4 GUI Development Whether you're building GUI prototypes or full-fledged cross-platform GUI applications with native look-and-feel, PyQt 4 is your fastest, easiest, most powerful solution. Qt expert Mark Summerfield has written the definitive best-practice guide to PyQt 4 development. With Rapid GUI Programming with Python and Qt you'll learn how to build efficient GUI applications that run on all major operating systems, including Windows, Mac OS X, Linux, and many versions of Unix, using the same source code for all of them. Summerfield systematically introduces every core GUI development technique: from dialogs and windows to data handling; from events to printing; and more. Through the book's realistic examples you'll discover a completely new PyQt 4-based programming approach, as well as coverage of many new topics, from PyQt 4's rich text engine to advanced model/view and graphics/view programming. Every key concept is illuminated with realistic, downloadable examples—all tested on Windows, Mac OS X, and Linux with Python 2.5, Qt 4.2, and PyQt 4.2, and on Windows and Linux with Qt 4.3 and PyQt 4.3. Coverge includes Python basics for every PyQt developer: data types, data structures, control structures, classes, modules, and more Core PyQt GUI programming techniques: dialogs, main windows, and custom file formats Using Qt Designer to design user interfaces, and to implement and test dialogs, events, the Clipboard, and drag-and-drop Building custom widgets: Widget Style Sheets, composite widgets, subclassing, and more Making the most of Qt 4.2's new graphics/view architecture Connecting to databases, executing SQL queries, and using form and table views Advanced model/view programming: custom views, generic delegates, and more Implementing online help, internationalizing applications, and using PyQt's networking and multithreading facilities

2016-01-12

PyQt 4.11.4最新版

PyQt Class Reference Portions of this documentation have been adapted from the documentation provided with Qt 4.8.7. This document is not an official document from The Qt Company, but is provided with The Qt Company's permission. Because this is based on the Qt C++ documentation it still contains C++ code fragments, broken links etc. These will be fixed in future releases.

2016-01-12

EPLAN Electric P8 Reference Handbook 3 edition

EPLAN Electric P8 Reference Handbook 3 edition。 eplan官方教材,高清版,英文。

2015-03-12

空空如也

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

TA关注的人

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